fix: update model prefix in litellm_ai_handler and adjust dependencies in requirements.txt

This commit is contained in:
mrT23 2025-08-08 09:34:31 +03:00
parent 9a2ba2d881
commit f3287a9f67
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD
2 changed files with 7 additions and 2 deletions

View file

@ -300,7 +300,7 @@ class LiteLLMAIHandler(BaseAiHandler):
"reasoning_effort": 'minimal', "reasoning_effort": 'minimal',
"allowed_openai_params": ["reasoning_effort"], "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 # Currently, some models do not support a separate system and user prompts

View file

@ -1,16 +1,19 @@
aiohttp==3.10.2
anthropic>=0.52.0 anthropic>=0.52.0
#anthropic[vertex]==0.47.1 #anthropic[vertex]==0.47.1
atlassian-python-api==3.41.4 atlassian-python-api==3.41.4
azure-devops==7.1.0b3 azure-devops==7.1.0b3
azure-identity==1.15.0 azure-identity==1.15.0
boto3==1.33.6
certifi==2024.8.30 certifi==2024.8.30
dynaconf==3.2.4 dynaconf==3.2.4
fastapi==0.115.6
GitPython==3.1.41 GitPython==3.1.41
google-cloud-aiplatform==1.38.0 google-cloud-aiplatform==1.38.0
google-generativeai==0.8.3 google-generativeai==0.8.3
google-cloud-storage==2.10.0 google-cloud-storage==2.10.0
Jinja2==3.1.2 Jinja2==3.1.2
litellm[proxy]==1.75.2 litellm==1.73.6
loguru==0.7.2 loguru==0.7.2
msrest==0.7.1 msrest==0.7.1
openai>=1.55.3 openai>=1.55.3
@ -22,7 +25,9 @@ retry==0.9.2
starlette-context==0.3.6 starlette-context==0.3.6
tiktoken==0.8.0 tiktoken==0.8.0
ujson==5.8.0 ujson==5.8.0
uvicorn==0.22.0
tenacity==8.2.3 tenacity==8.2.3
gunicorn==23.0.0
pytest-cov==5.0.0 pytest-cov==5.0.0
pydantic==2.8.2 pydantic==2.8.2
html2text==2024.2.26 html2text==2024.2.26