MCPcopy Create free account
hub / github.com/copilot-extensions/github-models-extension / constructor

Function constructor

src/functions.ts:18–20  ·  view source on GitHub ↗
(modelsAPI: ModelsAPI)

Source from the content-addressed store, hash-verified

16 static definition: OpenAI.FunctionDefinition;
17
18 constructor(modelsAPI: ModelsAPI) {
19 this.modelsAPI = modelsAPI;
20 }
21
22 static get tool(): OpenAI.Chat.Completions.ChatCompletionTool {
23 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected