mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
fix: update model prefix in litellm_ai_handler and adjust dependencies in requirements.txt
This commit is contained in:
parent
9a2ba2d881
commit
f3287a9f67
2 changed files with 7 additions and 2 deletions
|
|
@ -300,7 +300,7 @@ class LiteLLMAIHandler(BaseAiHandler):
|
|||
"reasoning_effort": 'minimal',
|
||||
"allowed_openai_params": ["reasoning_effort"],
|
||||
}
|
||||
model = model.replace('_thinking', '') # remove _thinking suffix
|
||||
model = 'openai/'+model.replace('_thinking', '') # remove _thinking suffix
|
||||
|
||||
|
||||
# Currently, some models do not support a separate system and user prompts
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
aiohttp==3.10.2
|
||||
anthropic>=0.52.0
|
||||
#anthropic[vertex]==0.47.1
|
||||
atlassian-python-api==3.41.4
|
||||
azure-devops==7.1.0b3
|
||||
azure-identity==1.15.0
|
||||
boto3==1.33.6
|
||||
certifi==2024.8.30
|
||||
dynaconf==3.2.4
|
||||
fastapi==0.115.6
|
||||
GitPython==3.1.41
|
||||
google-cloud-aiplatform==1.38.0
|
||||
google-generativeai==0.8.3
|
||||
google-cloud-storage==2.10.0
|
||||
Jinja2==3.1.2
|
||||
litellm[proxy]==1.75.2
|
||||
litellm==1.73.6
|
||||
loguru==0.7.2
|
||||
msrest==0.7.1
|
||||
openai>=1.55.3
|
||||
|
|
@ -22,7 +25,9 @@ retry==0.9.2
|
|||
starlette-context==0.3.6
|
||||
tiktoken==0.8.0
|
||||
ujson==5.8.0
|
||||
uvicorn==0.22.0
|
||||
tenacity==8.2.3
|
||||
gunicorn==23.0.0
|
||||
pytest-cov==5.0.0
|
||||
pydantic==2.8.2
|
||||
html2text==2024.2.26
|
||||
|
|
|
|||
Loading…
Reference in a new issue