MCPcopy
hub / github.com/continuedev/continue / getModelInfo

Method getModelInfo

extensions/cli/src/services/ModelService.ts:140–149  ·  view source on GitHub ↗

* Get model information for display

()

Source from the content-addressed store, hash-verified

138 * Get model information for display
139 */
140 getModelInfo(): { provider: string; name: string } | null {
141 if (!this.currentState.model) {
142 return null;
143 }
144
145 return {
146 provider: this.currentState.model.provider,
147 name: (this.currentState.model as any).name || "unnamed",
148 };
149 }
150
151 /**
152 * Get list of available chat models

Callers 5

getConfigInfoFunction · 0.80
handleModelSelectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected