mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Fix owned_by retrieval in Api class to use provider directly
This commit is contained in:
parent
1d4c708726
commit
1ddf666da4
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ class Api:
|
|||
"id": provider,
|
||||
"object": "model",
|
||||
"created": 0,
|
||||
"owned_by": getattr(Provider.__map__.get(provider), "label", provider),
|
||||
"owned_by": provider,
|
||||
"image": provider in image_models,
|
||||
"vision": provider in vision_models,
|
||||
"audio": provider in audio_models,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue