fixup: consolidate tool types, fix build after reorganization
Move FunctionCall, FunctionDef, FunctionCallDelta from user/types to agent/tools. Re-export from user/types for backward compat. Merge duplicate dispatch functions in tools/mod.rs into dispatch (agent-specific) + dispatch_shared (with provenance). Fix orphaned derive, missing imports, runner→agent module path. Co-Developed-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
474b66c834
commit
17a018ff12
9 changed files with 1356 additions and 1380 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#![warn(unreachable_pub)]
|
||||
// poc-agent — Substrate-independent AI agent
|
||||
//
|
||||
// A minimal but complete agent framework designed for identity
|
||||
|
|
@ -32,7 +33,7 @@ use clap::Parser;
|
|||
use poc_memory::dbglog;
|
||||
|
||||
use poc_memory::user::*;
|
||||
use poc_memory::agent::{tools, runner::{Agent, TurnResult}};
|
||||
use poc_memory::agent::{tools, Agent, TurnResult};
|
||||
use poc_memory::user::api::ApiClient;
|
||||
use poc_memory::user::tui::HotkeyAction;
|
||||
use poc_memory::config::{self, AppConfig, SessionConfig};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue