MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getModel

Method getModel

src/api/providers/native-ollama.ts:342–348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 }
341
342 override getModel(): { id: string; info: ModelInfo } {
343 const modelId = this.options.ollamaModelId || ""
344 return {
345 id: modelId,
346 info: this.models[modelId] || openAiModelInfoSaneDefaults,
347 }
348 }
349
350 async completePrompt(prompt: string): Promise<string> {
351 try {

Callers 2

createMessageMethod · 0.95
fetchModelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected