The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(webhook): drop INDEXED BY hints from finalization recovery query
teknium132811730acc8
diff --git a/gateway/platforms/webhook_ingress.py b/gateway/platforms/webhook_ingress.pyindex cde918a4f1c..4b96c6a03ba 100644--- a/gateway/platforms/webhook_ingress.py+++ b/gateway/platforms/webhook_ingress.py@@ -101,9 +101,8 @@ async def recover_webhook_finalizations(authority):from hermes_state_runtime import RuntimeStoreError, get_session_admissionrows = authority.db._read_all("""- SELECT a.admission_id FROM sessions AS s INDEXED BY idx_sessions_source- JOIN session_admissions AS a INDEXED BY session_admissions_pending- ON a.target_session_id=s.id+ SELECT a.admission_id FROM sessions AS s+ JOIN session_admissions AS a ON a.target_session_id=s.idWHERE s.source='webhook' AND s.ended_at IS NULLAND a.status='terminal' AND a.generation IS NOT NULLAND json_extract(a.payload_json, '$.native_text_v1.source.platform')='webhook'