MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / get_model_identifier

Method get_model_identifier

core/src/llm/replicate.rs:173–179  ·  view source on GitHub ↗

Get the model identifier for API calls

(&self)

Source from the content-addressed store, hash-verified

171
172 /// Get the model identifier for API calls
173 fn get_model_identifier(&self) -> String {
174 if let Some(version) = &self.version {
175 format!("{}:{version}", self.model)
176 } else {
177 self.model.clone()
178 }
179 }
180
181 /// Check if this model supports function calling
182 fn model_supports_function_calling(&self) -> bool {

Callers 1

completeMethod · 0.80

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected