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

Method getModel

src/api/providers/fake-ai.ts:29–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 metadata?: ApiHandlerCreateMessageMetadata,
28 ): ApiStream
29 getModel(): { id: string; info: ModelInfo }
30 countTokens(content: Array<Anthropic.Messages.ContentBlockParam>): Promise<number>
31 completePrompt(prompt: string): Promise<string>
32}

Callers 15

getModelMethod · 0.65
createStreamMethod · 0.65
fetchModelFunction · 0.65
createMessageFunction · 0.65
createStreamFunction · 0.65
createMessageFunction · 0.65
completePromptFunction · 0.65
deepseek.spec.tsFile · 0.65
poe.spec.tsFile · 0.65

Implementers 2

FakeAIHandlersrc/api/providers/fake-ai.ts
VsCodeLmHandlersrc/api/providers/vscode-lm.ts

Calls

no outgoing calls

Tested by 1

buildRequestBodyForModelFunction · 0.52