Teknium
b9a5e6e247
fix: use camelCase structuredContent attr, prefer structured over text
...
- The MCP SDK Pydantic model uses camelCase (structuredContent), not
snake_case (structured_content). The original getattr was a silent no-op.
- When structuredContent is present, return it AS the result instead of
alongside text — the structured payload is the machine-readable data.
- Move test file to tests/tools/ and fix fake class to use camelCase.
- Patch _run_on_mcp_loop in tests so the handler actually executes.
2026-04-07 18:00:01 -07:00
..
2026-04-07 08:40:22 -04:00
2026-04-07 17:28:37 -07:00
2026-03-17 02:33:12 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-04-07 01:00:02 -07:00
2026-04-01 04:18:50 -07:00
2026-04-07 17:19:07 -07:00
2026-04-07 17:28:23 -07:00
2026-03-25 19:47:58 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 17:28:23 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 17:28:23 -07:00
2026-04-07 11:41:26 -07:00
2026-04-07 13:36:38 -07:00
2026-03-25 19:47:58 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-02-23 02:11:33 -08:00
2026-04-02 12:40:03 +11:00
2026-04-07 10:25:31 -07:00
2026-04-07 18:00:01 -07:00
2026-04-07 13:36:38 -07:00
2026-03-27 15:28:19 -07:00
2026-03-18 02:55:30 -07:00
2026-03-11 20:02:36 -07:00
2026-04-05 12:46:07 -07:00
2026-03-26 19:38:04 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-03-27 15:28:19 -07:00
2026-04-07 10:25:31 -07:00
2026-03-25 15:54:28 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 11:41:26 -07:00
2026-03-25 19:47:58 -07:00
2026-04-07 13:36:38 -07:00
2026-03-31 08:48:54 +09:00
2026-04-07 17:59:16 -07:00
2026-04-07 13:36:38 -07:00
2026-03-23 15:40:42 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00