Skip to content

Commit ad5c477

Browse files
author
吴糖可乐
committed
feat: token stats time range filter & subagent toggle
1 parent 935b84e commit ad5c477

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/crates/core/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ hostname = { workspace = true }
106106

107107
# QR code generation
108108
qrcode = { workspace = true }
109-
image = { workspace = true }
110109

111110
# WebSocket client
112111
tokio-tungstenite = { workspace = true }

src/crates/core/src/agentic/coordination/coordinator.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl ConversationCoordinator {
173173
agent_type: String,
174174
skip_tool_confirmation: bool,
175175
) -> BitFunResult<()> {
176-
self.start_dialog_turn_internal(session_id, user_input, None, turn_id, agent_type)
176+
self.start_dialog_turn_internal(session_id, user_input, None, turn_id, agent_type, skip_tool_confirmation)
177177
.await
178178
}
179179

@@ -191,6 +191,7 @@ impl ConversationCoordinator {
191191
Some(image_contexts),
192192
turn_id,
193193
agent_type,
194+
false,
194195
)
195196
.await
196197
}
@@ -202,6 +203,7 @@ impl ConversationCoordinator {
202203
image_contexts: Option<Vec<ImageContextData>>,
203204
turn_id: Option<String>,
204205
agent_type: String,
206+
skip_tool_confirmation: bool,
205207
) -> BitFunResult<()> {
206208
// Get latest session (re-fetch each time to ensure latest state)
207209
let session = self

0 commit comments

Comments
 (0)