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

Method set_model_info

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

280
281 /// Set the AI vendor and model.
282 pub fn set_model_info(&mut self, vendor: impl Into<String>, model: impl Into<String>) {
283 self.agent_vendor = vendor.into();
284 self.model = model.into();
285 }
286
287 /// Set the parent view name (the view that was current when this session started).
288 ///

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