We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dca0ba + 4cb4f70 commit a25ba8eCopy full SHA for a25ba8e
optillm.py
@@ -729,7 +729,7 @@ def proxy_models():
729
client = default_client
730
731
# Fetch models using the OpenAI client and return the raw response
732
- models_response = client.models.list()
+ models_response = client.models.list().json()
733
734
logger.debug('Models retrieved successfully')
735
return models_response, 200
0 commit comments