support gpt-4o (#773)

### What problem does this PR solve?
#771 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
KevinHuSh
2024-05-15 11:16:08 +08:00
committed by GitHub
parent 77b1520b66
commit aa1c915d6e
6 changed files with 20 additions and 7 deletions

View File

@ -194,7 +194,7 @@ def list_app():
res = {}
for m in llms:
if model_type and m["model_type"] != model_type:
if model_type and m["model_type"].find(model_type)<0:
continue
if m["fid"] not in res:
res[m["fid"]] = []