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

Function sdk_test_config

sdk/python/src/lib.rs:6930–6959  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6928 use super::*;
6929
6930 fn sdk_test_config() -> a3s_code_core::CodeConfig {
6931 a3s_code_core::CodeConfig {
6932 default_model: Some("openai/gpt-4o".to_string()),
6933 providers: vec![a3s_code_core::ProviderConfig {
6934 name: "openai".to_string(),
6935 api_key: Some("test-key".to_string()),
6936 base_url: None,
6937 headers: std::collections::HashMap::new(),
6938 session_id_header: None,
6939 models: vec![a3s_code_core::ModelConfig {
6940 id: "gpt-4o".to_string(),
6941 name: "GPT-4o".to_string(),
6942 family: "gpt-4".to_string(),
6943 api_key: None,
6944 base_url: None,
6945 headers: std::collections::HashMap::new(),
6946 session_id_header: None,
6947 attachment: false,
6948 reasoning: false,
6949 tool_call: true,
6950 temperature: true,
6951 release_date: None,
6952 modalities: a3s_code_core::ModelModalities::default(),
6953 cost: Default::default(),
6954 limit: Default::default(),
6955 }],
6956 }],
6957 ..Default::default()
6958 }
6959 }
6960
6961 fn build_test_session() -> PySession {
6962 let agent = get_runtime()

Callers 1

build_test_sessionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected