Remove AI and twilio dependencies#84
Merged
Merged
Conversation
There was a problem hiding this comment.
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/aiandtaskmaster/twiliomodules (agents, webhooks/websocket endpoints, model/tools, and Redis checkpointer). - Removed related configuration wiring from
taskmaster/app.pyand environment settings fromtaskmaster/settings.py. - Dropped
langchain*,langgraph, andtwiliofrompyproject.tomland 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.