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

Function model_config_data

core/src/agent_api/session_persistence.rs:329–337  ·  view source on GitHub ↗
(model_name: &str)

Source from the content-addressed store, hash-verified

327}
328
329fn model_config_data(model_name: &str) -> Option<LlmConfigData> {
330 let (provider, model) = model_name.split_once('/')?;
331 Some(LlmConfigData {
332 provider: provider.to_string(),
333 model: model.to_string(),
334 api_key: None,
335 base_url: None,
336 })
337}
338
339fn load_artifacts(
340 store: &Arc<dyn SessionStore>,

Calls

no outgoing calls