MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / set_model_info

Method set_model_info

atomic-agent/src/turn/session.rs:276–279  ·  view source on GitHub ↗

Set the AI vendor and model.

(&mut self, vendor: impl Into<String>, model: impl Into<String>)

Source from the content-addressed store, hash-verified

274
275 /// Set the AI vendor and model.
276 pub fn set_model_info(&mut self, vendor: impl Into<String>, model: impl Into<String>) {
277 self.agent_vendor = vendor.into();
278 self.model = model.into();
279 }
280
281 /// Set the parent view name (the view that was current when this session started).
282 ///

Callers 5

make_sessionFunction · 0.80
test_set_model_infoFunction · 0.80
test_serde_roundtripFunction · 0.80
test_full_lifecycleFunction · 0.80
default_sessionFunction · 0.80

Calls

no outgoing calls

Tested by 5

make_sessionFunction · 0.64
test_set_model_infoFunction · 0.64
test_serde_roundtripFunction · 0.64
test_full_lifecycleFunction · 0.64
default_sessionFunction · 0.64