cleanup: remove unused imports from refactoring
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
112abb2000
commit
aa7511d110
3 changed files with 2 additions and 4 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
use chrono::Utc;
|
use chrono::Utc;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use crate::agent::tools::{ToolCall, ToolCallDelta, ToolDef, FunctionDef};
|
use crate::agent::tools::{ToolCall, ToolCallDelta, ToolDef};
|
||||||
|
|
||||||
/// Message content — either plain text or an array of content parts
|
/// Message content — either plain text or an array of content parts
|
||||||
/// (for multimodal messages with images). Serializes as a JSON string
|
/// (for multimodal messages with images). Serializes as a JSON string
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,7 @@
|
||||||
// Also handles streaming artifacts: whitespace inside XML tags from
|
// Also handles streaming artifacts: whitespace inside XML tags from
|
||||||
// token boundaries, </think> tags, etc.
|
// token boundaries, </think> tags, etc.
|
||||||
|
|
||||||
use crate::agent::api::types::*;
|
use crate::agent::tools::{ToolCall, FunctionCall};
|
||||||
use crate::agent::tools::{ToolCall, ToolDef, FunctionCall};
|
|
||||||
|
|
||||||
/// Parse leaked tool calls from response text.
|
/// Parse leaked tool calls from response text.
|
||||||
/// Looks for `<tool_call>...</tool_call>` blocks and tries both
|
/// Looks for `<tool_call>...</tool_call>` blocks and tries both
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ use crate::agent::{Agent, TurnResult};
|
||||||
use crate::agent::api::ApiClient;
|
use crate::agent::api::ApiClient;
|
||||||
use crate::agent::api::types as api_types;
|
use crate::agent::api::types as api_types;
|
||||||
use crate::config::{self, AppConfig, SessionConfig};
|
use crate::config::{self, AppConfig, SessionConfig};
|
||||||
use crate::dbglog;
|
|
||||||
use crate::user::{self as tui, HotkeyAction};
|
use crate::user::{self as tui, HotkeyAction};
|
||||||
use crate::user::ui_channel::{self, ContextInfo, StatusInfo, StreamTarget, UiMessage};
|
use crate::user::ui_channel::{self, ContextInfo, StatusInfo, StreamTarget, UiMessage};
|
||||||
use crate::user::log;
|
use crate::user::log;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue