MCPcopy
hub / github.com/CopilotKit/CopilotKit / setHeaders

Method setHeaders

packages/angular/src/lib/agent.spec.ts:185–188  ·  view source on GitHub ↗
(value: Record<string, string>)

Source from the content-addressed store, hash-verified

183 }
184
185 setHeaders(value: Record<string, string>) {
186 this.#headers.set(value);
187 this.core = { ...this.core, headers: value };
188 }
189
190 setRuntimeTransport(value: "rest" | "single" | "auto") {
191 this.#runtimeTransport.set(value);

Callers 2

agent.spec.tsFile · 0.45
updateRuntimeMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected