Move API code from user/ to agent/

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2026-04-04 00:29:11 -04:00
parent 021eafe6da
commit 9bebbcb635
22 changed files with 259 additions and 251 deletions

View file

@ -7,9 +7,9 @@
//
// Activated when config has api_base_url set.
use crate::user::api::ApiClient;
use crate::user::types::*;
use crate::agent::tools::{self as agent_tools};
use crate::agent::api::ApiClient;
use crate::agent::api::types::*;
use crate::agent::tools::{self as agent_tools, ToolOutput};
use std::sync::OnceLock;