feat: remove dspy dependency and refactor to litellm
- Removed dspy from requirements.txt.
- Refactored GeneralProvider to use LiteLLM directly.
- Converted all DSPy modules (RAG, Question Decider, Code Changer, Reviewer) to plain Python classes.
- Updated Service layer to handle explicit provider passing.
- Fixed unit tests and verified production deployment.
1 parent c0eec56 commit c366e71d84b5c606f09e0fd0d5f54f139e05a0ac
@Antigravity AI Antigravity AI authored 3 hours ago
Showing 23 changed files
View
ai-hub/app/app.py
View
ai-hub/app/config.py
View
ai-hub/app/core/pipelines/code_changer.py
View
ai-hub/app/core/pipelines/code_reviewer.py
View
ai-hub/app/core/pipelines/dspy_rag.py 100644 → 0
View
ai-hub/app/core/pipelines/file_selector.py
View
ai-hub/app/core/pipelines/question_decider.py
View
ai-hub/app/core/pipelines/rag_pipeline.py 0 → 100644
View
ai-hub/app/core/pipelines/utils.py
View
ai-hub/app/core/providers/factory.py
View
ai-hub/app/core/providers/llm/general.py
View
ai-hub/app/core/services/rag.py
View
ai-hub/app/core/services/utils/code_change.py
View
ai-hub/app/core/services/workspace.py
View
ai-hub/requirements.txt
View
ai-hub/tests/core/pipelines/test_dspy_rag.py 100644 → 0
View
ai-hub/tests/core/pipelines/test_rag_pipeline.py 0 → 100644
View
ai-hub/tests/core/providers/test_factory.py
View
ai-hub/tests/core/services/test_rag.py
View
ai-hub/tests/core/vector_store/test_embedder_factory.py
View
ai-hub/tests/test_app.py
View
ai-hub/tests/test_config.py
View
deploy_remote.sh