Fix: reduce model verify cost (#18191)

### Summary

As title.
This commit is contained in:
Lynn
2026-08-13 12:11:56 +08:00
committed by GitHub
parent 401f943ca3
commit 7edce6810e
2 changed files with 22 additions and 21 deletions

View File

@@ -865,6 +865,7 @@ async def verify_api_key(provider_id_or_name: str, api_key: str | dict, base_url
model_verify_result[llm["llm_name"]] = ModelVerifyStatusEnum.FAIL.value
if any_passed:
msg = ""
break
else:
msg = msg or "No model passed verification"