[autofix.ci] apply automated fixes (attempt 2/3)

This commit is contained in:
autofix-ci[bot] 2026-03-24 15:13:58 +00:00 committed by GitHub
parent 2d4e760800
commit e65246b90e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -161,9 +161,7 @@ class DatasetListApi(DatasetApiResource):
item["embedding_model_provider"] = str( # pyrefly: ignore[unsupported-operation]
ModelProviderID(item["embedding_model_provider"]) # pyrefly: ignore[bad-index]
)
item_model = (
f"{item['embedding_model']}:{item['embedding_model_provider']}" # pyrefly: ignore[bad-index]
)
item_model = f"{item['embedding_model']}:{item['embedding_model_provider']}" # pyrefly: ignore[bad-index]
if item_model in model_names:
item["embedding_available"] = True # type: ignore
else: