Skip to content

Commit 3a18aee

Browse files
lilyz-aiclaude
andcommitted
fix: use fully-qualified schema in recover_hf_syncs SQL query
The endpoints table lives in hosted_model_inference schema; bare 'FROM endpoints' would fail at runtime. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 493d1cb commit 3a18aee

File tree

1 file changed

+1
-1
lines changed
  • model-engine/model_engine_server/api

1 file changed

+1
-1
lines changed

model-engine/model_engine_server/api/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ async def recover_hf_syncs():
347347
result = await session.execute(
348348
text(
349349
"SELECT DISTINCT endpoint_metadata->'_llm'->>'model_name' AS model_name "
350-
"FROM endpoints "
350+
"FROM hosted_model_inference.endpoints "
351351
"WHERE (endpoint_metadata->'_llm'->>'hf_weights_syncing')::boolean = true"
352352
)
353353
)

0 commit comments

Comments
 (0)