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

Method set_model_info

atomic-agent/src/turn/session.rs:248–251  ·  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

246
247 /// Set the AI vendor and model.
248 pub fn set_model_info(&mut self, vendor: impl Into<String>, model: impl Into<String>) {
249 self.agent_vendor = vendor.into();
250 self.model = model.into();
251 }
252
253 /// Set the parent view name (the view that was current when this session started).
254 ///

Callers 4

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

Calls

no outgoing calls

Tested by 4

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