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

Method with_chat_completions_path

core/src/llm/openai.rs:110–118  ·  view source on GitHub ↗
(mut self, path: impl Into<String>)

Source from the content-addressed store, hash-verified

108 }
109
110 pub fn with_chat_completions_path(mut self, path: impl Into<String>) -> Self {
111 let path = path.into();
112 self.chat_completions_path = if path.starts_with('/') {
113 path
114 } else {
115 format!("/{}", path)
116 };
117 self
118 }
119
120 pub fn with_temperature(mut self, temperature: f32) -> Self {
121 self.temperature = Some(temperature);

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected