fix: llm model wrongly required when runner is not local-agent (#1386)

This commit is contained in:
Junyan Qin (Chin)
2025-05-12 14:16:17 +08:00
committed by GitHub
parent f2e1ae432c
commit 13d36412dd
4 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class ModelManager:
for model in self.model_list:
if model.name == name:
return model
raise ValueError(f'无法确定模型 {name} 的信息,请在元数据中配置')
raise ValueError(f'无法确定模型 {name} 的信息')
async def get_model_by_uuid(self, uuid: str) -> entities.LLMModelInfo:
"""通过uuid获取模型"""