Fix Stage 1 field name consistency - use 'response' instead of 'content'

The MCP server was reading 'content' but the deployed API returns 'response'
for Stage 1 results. This caused empty responses in the iOS app.
This commit is contained in:
Krishna Kumar
2025-12-30 04:28:24 -06:00
parent 3f2915629e
commit 2119b7bf23
2 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ async def council_query(
"type": "council_response",
"model": model_id,
"model_display_name": get_display_name(model_id),
"response": resp.get("content", ""),
"response": resp.get("response", "") or resp.get("content", ""),
"stage": 1
})