extensions/openai: +Array input (batched) , +Fixes (#3309)

This commit is contained in:
matatonic 2023-08-01 21:26:00 -04:00 committed by GitHub
parent 40038fdb82
commit 9ae0eab989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 64 deletions

View file

@ -120,7 +120,7 @@ class Handler(BaseHTTPRequestHandler):
resp = OAImodels.list_models(is_legacy)
else:
model_name = self.path[len('/v1/models/'):]
resp = OAImodels.model_info()
resp = OAImodels.model_info(model_name)
self.return_json(resp)