Skip to content

Remove AI and twilio dependencies#84

Merged
andres-javier-lopez merged 3 commits into
mainfrom
remove-ai-dependencies
Mar 14, 2026
Merged

Remove AI and twilio dependencies#84
andres-javier-lopez merged 3 commits into
mainfrom
remove-ai-dependencies

Conversation

@andres-javier-lopez
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the AI assistant and Twilio/WhatsApp integration from the Taskmaster backend, including their runtime dependencies and associated test coverage.

Changes:

  • Deleted the taskmaster/ai and taskmaster/twilio modules (agents, webhooks/websocket endpoints, model/tools, and Redis checkpointer).
  • Removed related configuration wiring from taskmaster/app.py and environment settings from taskmaster/settings.py.
  • Dropped langchain*, langgraph, and twilio from pyproject.toml and removed AI/Twilio-related tests/fixtures.

Reviewed changes

Copilot reviewed 27 out of 32 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
taskmaster/twilio/utils.py Removes Twilio message send/split utilities.
taskmaster/twilio/errors.py Removes Twilio-specific exception types.
taskmaster/twilio/dependencies.py Removes FastAPI DI for Twilio client.
taskmaster/twilio/client.py Removes Twilio REST client factory.
taskmaster/tests/tools/test_task_tools.py Removes tests for AI task tools.
taskmaster/tests/conftest.py Removes AI/Twilio-related fixtures and dependency overrides.
taskmaster/tests/chatbot/test_chatbot_messages.py Removes WhatsApp webhook + message splitting tests.
taskmaster/tests/chatbot/test_chat_agent.py Removes tests for AI chat agent creation/streaming.
taskmaster/settings.py Removes OpenAI/Twilio environment variables from settings.
taskmaster/app.py Stops importing/including AI routers.
taskmaster/ai/tools/init.py Removes AI tool definitions and tool registry.
taskmaster/ai/model.py Removes OpenAI chat model wrapper.
taskmaster/ai/interfaces/ws.py Removes websocket chat interface.
taskmaster/ai/interfaces/webhooks.py Removes WhatsApp webhook interface.
taskmaster/ai/errors.py Removes AI module base error type.
taskmaster/ai/dependencies.py Removes agent dependency injection wiring.
taskmaster/ai/demo/endpoint.py Removes demo endpoint.
taskmaster/ai/demo/dependencies.py Removes demo agent DI.
taskmaster/ai/demo/assistant.py Removes demo assistant implementation.
taskmaster/ai/demo/init.py Removes demo package exports.
taskmaster/ai/checkpoint/redis.py Removes Redis-backed langgraph checkpoint saver.
taskmaster/ai/assistants/whatsapp.py Removes WhatsApp agent composition.
taskmaster/ai/assistants/web.py Removes web chat agent composition.
taskmaster/ai/assistants/chat_agent.py Removes core chat agent graph logic.
taskmaster/ai/init.py Removes AI package exports.
pyproject.toml Removes AI/Twilio dependencies from Poetry config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread taskmaster/settings.py
@andres-javier-lopez andres-javier-lopez merged commit 1a27dda into main Mar 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants