8 Commits

Author SHA1 Message Date
Krishna Kumar
274e1e5273 Add iOS JSON capture utility 2025-12-30 06:05:36 -06:00
Krishna Kumar
2119b7bf23 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.
2025-12-30 04:28:24 -06:00
Krishna Kumar
2b2207035c Fix ResponseValidationError: change response field to content
FastAPI validation was failing because stage1 results used 'response'
field but Pydantic expected 'content'. Changed field name in:
- stage1_collect_responses: returns content instead of response
- stage2_collect_rankings: references result['content']
- stage3_synthesize_final: references result['content']
- MCP server: reads resp.get("content", "") for content_blocks
2025-12-30 03:54:02 -06:00
Krishna Kumar
8f05b67887 Add content_blocks to council_query for structured UI display
- Add content_blocks array to council_query return with model responses
  and synthesis result for rendering as UI cards
- Add MODEL_DISPLAY_NAMES mapping and get_display_name helper for
  user-friendly model names in the UI
- Update Python version to 3.13 for compatibility
- Refactor FastAPI endpoints for cleaner error handling
2025-12-20 08:35:12 -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
karpathy
87b4a178ec a bit more progressive update and single turn 2025-11-22 15:24:47 -08:00
karpathy
827bfd3d3e Label maker add 2025-11-22 15:08:53 -08:00
karpathy
eb0eb26f4c v0 2025-11-22 14:27:53 -08:00