runstone
7df7fd9235
feat(ai): add tool result collapsible UI and fix agent mode prompt
...
AiAssistant.vue:
- Tool call steps now support click-to-expand/collapse for SQL args
and results (expandedSteps set); chevron rotates on open
- Remove fixed-open result display (was always visible, no toggle)
- Max result height raised to 48 (max-h-48) with scroll
ai.ts (buildModePromptLines agent branch):
- Replace vague "prioritize SQL" hint with explicit tool-use
instruction: must call execute_query, not just emit SQL text
- List available tools (list_tables, get_columns, execute_query,
get_sample_data) so LLM knows what it can call
- Clarify allowed statement types for execute_query
2026-06-12 18:27:28 +08:00
..
2026-06-12 10:34:37 +08:00
2026-06-09 10:12:56 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-12 18:27:28 +08:00
2026-06-10 08:37:18 +08:00
2026-06-12 17:42:23 +08:00
2026-06-10 08:37:18 +08:00
2026-05-28 21:25:43 +08:00
2026-05-19 15:56:34 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-06-12 08:48:50 +08:00
2026-05-22 10:42:28 +08:00
2026-06-10 08:37:18 +08:00
2026-06-11 19:35:08 +08:00
2026-06-05 12:41:19 +08:00
2026-05-18 12:27:44 +08:00
2026-05-18 02:35:39 +08:00
2026-06-12 10:34:37 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-09 13:03:11 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-12 10:34:37 +08:00
2026-05-20 16:10:14 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 14:37:53 +08:00
2026-06-07 01:00:34 +08:00
2026-06-10 14:26:50 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 22:12:44 +08:00
2026-06-10 22:12:44 +08:00
2026-06-10 22:12:44 +08:00
2026-06-06 19:03:21 +08:00
2026-05-18 02:35:39 +08:00
2026-06-10 22:12:44 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 14:37:53 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 22:12:44 +08:00
2026-06-03 11:07:04 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 16:39:24 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-02 00:33:58 +08:00
2026-06-10 14:37:53 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-06-11 18:56:38 +08:00
2026-06-10 08:37:18 +08:00
2026-06-04 23:20:15 +08:00
2026-06-12 01:20:11 +08:00
2026-05-21 00:08:47 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 22:12:44 +08:00
2026-06-06 19:03:21 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-06-10 08:37:18 +08:00
2026-06-08 20:09:27 +08:00
2026-05-18 02:35:39 +08:00
2026-06-10 04:34:45 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-06-12 17:42:23 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 18:19:53 +08:00
2026-06-10 10:25:06 +08:00
2026-06-06 09:15:09 +08:00
2026-06-02 11:09:48 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-05-22 14:28:40 +08:00
2026-05-18 02:35:39 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-20 18:54:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 11:16:29 +08:00
2026-06-11 11:28:43 +08:00
2026-06-12 00:20:17 +08:00
2026-06-10 08:37:18 +08:00
2026-06-09 10:12:56 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-29 00:56:42 +08:00
2026-06-11 10:53:54 +08:00
2026-06-02 10:27:08 +08:00
2026-06-10 08:37:18 +08:00
2026-06-01 12:49:31 +08:00
2026-06-11 11:12:05 +08:00
2026-06-11 12:52:47 +08:00
2026-06-10 08:37:18 +08:00
2026-06-11 22:55:24 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 12:27:26 +08:00
2026-06-10 08:37:18 +08:00
2026-06-05 14:30:25 +08:00
2026-06-11 12:52:47 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-11 22:55:16 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-06-11 10:47:42 +08:00
2026-06-11 11:12:05 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-12 00:20:17 +08:00
2026-05-19 16:08:11 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-03 21:04:19 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00
2026-06-11 12:52:47 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 16:17:59 +08:00
2026-06-12 12:29:46 +08:00
2026-06-12 12:29:46 +08:00
2026-06-10 08:37:18 +08:00
2026-06-11 22:13:27 +08:00
2026-06-10 08:37:18 +08:00
2026-06-12 17:42:23 +08:00
2026-05-18 02:35:39 +08:00
2026-06-10 08:37:18 +08:00
2026-06-11 12:52:47 +08:00
2026-06-10 08:37:18 +08:00
2026-05-18 02:35:39 +08:00
2026-05-18 02:35:39 +08:00
2026-05-23 01:28:52 +08:00
2026-06-10 08:37:18 +08:00
2026-06-10 08:37:18 +08:00