|
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. |
|---|
|
|
| ai-hub/app/app.py |
|---|
| ai-hub/app/config.py |
|---|
| ai-hub/app/core/pipelines/code_changer.py |
|---|
| ai-hub/app/core/pipelines/code_reviewer.py |
|---|
| ai-hub/app/core/pipelines/dspy_rag.py 100644 → 0 |
|---|
| ai-hub/app/core/pipelines/file_selector.py |
|---|
| ai-hub/app/core/pipelines/question_decider.py |
|---|
| ai-hub/app/core/pipelines/rag_pipeline.py 0 → 100644 |
|---|
| ai-hub/app/core/pipelines/utils.py |
|---|
| ai-hub/app/core/providers/factory.py |
|---|
| ai-hub/app/core/providers/llm/general.py |
|---|
| ai-hub/app/core/services/rag.py |
|---|
| ai-hub/app/core/services/utils/code_change.py |
|---|
| ai-hub/app/core/services/workspace.py |
|---|
| ai-hub/requirements.txt |
|---|
| ai-hub/tests/core/pipelines/test_dspy_rag.py 100644 → 0 |
|---|
| ai-hub/tests/core/pipelines/test_rag_pipeline.py 0 → 100644 |
|---|
| ai-hub/tests/core/providers/test_factory.py |
|---|
| ai-hub/tests/core/services/test_rag.py |
|---|
| ai-hub/tests/core/vector_store/test_embedder_factory.py |
|---|
| ai-hub/tests/test_app.py |
|---|
| ai-hub/tests/test_config.py |
|---|
| deploy_remote.sh |
|---|