MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / updateApiConfiguration

Method updateApiConfiguration

src/core/task/Task.ts:1504–1508  ·  view source on GitHub ↗

* Updates the API configuration and rebuilds the API handler. * There is no tool-protocol switching or tool parser swapping. * * @param newApiConfiguration - The new API configuration to use

(newApiConfiguration: ProviderSettings)

Source from the content-addressed store, hash-verified

1502 * @param newApiConfiguration - The new API configuration to use
1503 */
1504 public updateApiConfiguration(newApiConfiguration: ProviderSettings): void {
1505 // Update the configuration and rebuild the API handler
1506 this.apiConfiguration = newApiConfiguration
1507 this.api = buildApiHandler(this.apiConfiguration)
1508 }
1509
1510 public async submitUserMessage(
1511 text: string,

Calls 1

buildApiHandlerFunction · 0.90

Tested by

no test coverage detected