MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_config

Function test_config

core/src/serve/tools.rs:53–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 use crate::config::CodeConfig;
52
53 fn test_config() -> CodeConfig {
54 let acl = r#"
55default_model = "anthropic/claude-sonnet-4-20250514"
56providers "anthropic" {
57 api_key = "test-key"
58 models "claude-sonnet-4-20250514" { name = "Claude Sonnet 4" }
59}
60"#;
61 CodeConfig::from_acl(acl).unwrap()
62 }
63
64 #[tokio::test]
65 async fn install_with_no_tools_is_ok() {

Calls

no outgoing calls

Tested by

no test coverage detected