Commit Graph

3 Commits

Author SHA1 Message Date
Krishna Kumar
23b2d6b52e Revert "Remove council_query tool to force stage-by-stage usage"
This reverts commit 93a70bb195.
2025-12-17 22:02:35 -06:00
Krishna Kumar
93a70bb195 Remove council_query tool to force stage-by-stage usage
The all-in-one council_query tool returned everything as a single blob,
preventing the iOS app from displaying individual model responses as
separate content blocks. By removing it, the agent must now use:

- council_stage1_collect (individual responses)
- council_stage2_rank (peer rankings)
- council_stage3_synthesize (final synthesis)

Each stage call generates a separate tool_result, enabling granular
display in the UI.
2025-12-16 15:18:21 -06:00
Krishna Kumar
153dcff69d Add MCP server for council integration
- Add mcp_server package with 7 tools proxying to FastAPI:
  - council_query (full 3-stage process)
  - council_stage1_collect, stage2_rank, stage3_synthesize
  - council_conversation_create, list, get
- Add individual stage endpoints to FastAPI (/api/council/stage1, stage2, stage3)
- Update council models to use valid OpenRouter identifiers
- Add mcp>=1.0.0 dependency
2025-12-16 12:54:29 -06:00