forked from kent/consciousness
Move API code from user/ to agent/
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
021eafe6da
commit
9bebbcb635
22 changed files with 259 additions and 251 deletions
|
|
@ -11,7 +11,8 @@
|
|||
// Also handles streaming artifacts: whitespace inside XML tags from
|
||||
// token boundaries, </think> tags, etc.
|
||||
|
||||
use crate::user::types::*;
|
||||
use crate::agent::api::types::*;
|
||||
use crate::agent::tools::{ToolCall, ToolDef, FunctionCall};
|
||||
|
||||
/// Parse leaked tool calls from response text.
|
||||
/// Looks for `<tool_call>...</tool_call>` blocks and tries both
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue