MCPcopy
hub / github.com/coder/mux / modelIdFromModelString

Function modelIdFromModelString

src/node/services/aiService.test.ts:282–284  ·  view source on GitHub ↗
(modelString: string)

Source from the content-addressed store, hash-verified

280}
281
282function modelIdFromModelString(modelString: string): string {
283 return modelString.includes(":") ? (modelString.split(":").at(1) ?? modelString) : modelString;
284}
285
286function stubCommonStreamMessageDependencies(args: {
287 service: AIService;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected