mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Test APIs and fix bugs (#41)
This commit is contained in:
@ -75,7 +75,7 @@ def list():
|
||||
llms = LLMService.get_all()
|
||||
llms = [m.to_dict() for m in llms if m.status == StatusEnum.VALID.value]
|
||||
for m in llms:
|
||||
m["available"] = m.llm_name in mdlnms
|
||||
m["available"] = m["llm_name"] in mdlnms
|
||||
|
||||
res = {}
|
||||
for m in llms:
|
||||
|
||||
Reference in New Issue
Block a user