extensions/openai: +Array input (batched) , +Fixes (#3309)
This commit is contained in:
parent
40038fdb82
commit
9ae0eab989
3 changed files with 70 additions and 64 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue