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

Method getCurrentProfileId

src/core/task/Task.ts:3796–3801  ·  view source on GitHub ↗
(state: any)

Source from the content-addressed store, hash-verified

3794 }
3795
3796 private getCurrentProfileId(state: any): string {
3797 return (
3798 state?.listApiConfigMeta?.find((profile: any) => profile.name === state?.currentApiConfigName)?.id ??
3799 "default"
3800 )
3801 }
3802
3803 private async handleContextWindowExceededError(): Promise<void> {
3804 const state = await this.providerRef.deref()?.getState()

Callers 2

attemptApiRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected