MCPcopy
hub / github.com/CodebuffAI/codebuff / getModelProvider

Function getModelProvider

sdk/src/impl/llm.ts:205–208  ·  view source on GitHub ↗
(model: LanguageModel)

Source from the content-addressed store, hash-verified

203}
204
205function getModelProvider(model: LanguageModel): string {
206 if (typeof model === 'string') return model
207 return model.provider
208}
209
210function emitCacheDebugProviderRequest(params: {
211 callback?: (params: {

Callers 3

promptAiSdkStreamFunction · 0.85
promptAiSdkFunction · 0.85
promptAiSdkStructuredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected