use selfware::agent::Agent;
use selfware::config::Config;
#[tokio::test]
async fn test_agent_creation() {
let config = Config::default();
let agent = Agent::new(config).await;
assert!(
agent.is_ok(),
"Agent::new with default config should succeed"
);
}
#[tokio::test]
async fn test_agent_creation_custom_config() {
let mut config = Config::default();
config.agent.max_iterations = 50;
config.agent.token_budget = 25_000;
config.max_tokens = 2048;
let agent = Agent::new(config).await;
assert!(
agent.is_ok(),
"Agent::new with custom agent config should succeed"
);
}
#[tokio::test]
#[ignore = "Requires live LLM or mock server; see TODO above for what this should test"]
async fn test_context_compression_integration() {
unimplemented!("test_context_compression_integration not yet implemented");
}