MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / setClients

Method setClients

client-libs/typescript/src/openai.ts:45–48  ·  view source on GitHub ↗
(opClient: OpenPipe, opCompletionClient: openai.OpenAI)

Source from the content-addressed store, hash-verified

43
44class WrappedChat extends openai.OpenAI.Chat {
45 setClients(opClient: OpenPipe, opCompletionClient: openai.OpenAI) {
46 this.completions.opClient = opClient;
47 this.completions.opCompletionClient = opCompletionClient;
48 }
49
50 completions: WrappedCompletions = new WrappedCompletions(this._client);
51}

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected