feat: 在消息查询中添加工具执行时长字段,增强消息记录功能
This commit is contained in:
parent
590ea9abb0
commit
025c355c7d
@ -1416,7 +1416,7 @@ impl SessionStore {
|
||||
let conn = self.conn.lock().expect("session db mutex poisoned");
|
||||
let mut stmt = conn.prepare(
|
||||
"
|
||||
SELECT id, role, content, system_context, reasoning_content, media_refs_json, created_at, tool_call_id, tool_name, tool_calls_json
|
||||
SELECT id, role, content, system_context, reasoning_content, media_refs_json, created_at, tool_call_id, tool_name, tool_calls_json, tool_duration_ms
|
||||
FROM messages
|
||||
WHERE topic_id = ?1
|
||||
ORDER BY seq ASC
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user