MCPcopy Create free account
hub / github.com/tiann/hapi / setConfigOption

Method setConfigOption

cli/src/agent/types.ts:92–92  ·  view source on GitHub ↗
(sessionId: string, configId: string, value: string)

Source from the content-addressed store, hash-verified

90 newSession(config: AgentSessionConfig): Promise<string>;
91 setModel?(sessionId: string, modelId: string, opts?: { flavor?: AgentFlavor }): Promise<void>;
92 setConfigOption?(sessionId: string, configId: string, value: string): Promise<void>;
93 getSessionModelsMetadata?(sessionId: string): AgentSessionModelsMetadata | undefined;
94 getThoughtLevelConfigOption?(sessionId: string): AgentSessionConfigOptionDescriptor | undefined;
95 prompt(sessionId: string, content: PromptContent[], onUpdate: (msg: AgentMessage) => void): Promise<void>;

Callers 5

applyLiveModelMethod · 0.65
applyCursorAcpModeFunction · 0.65
trySetConfigOptionFunction · 0.65
runMainLoopMethod · 0.65

Implementers 1

AcpSdkBackendcli/src/agent/backends/acp/AcpSdkBacke

Calls

no outgoing calls

Tested by

no test coverage detected