MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / runTurn

Method runTurn

src/bot/types.ts:106–106  ·  view source on GitHub ↗

* Run one turn for `chatId`'s session with `userText`, driving `sink` for output/approvals. * Returns the final assistant text. Must reject only on fatal errors.

(convKey: string, userText: string, sink: TurnSink, signal: AbortSignal)

Source from the content-addressed store, hash-verified

104 * Returns the final assistant text. Must reject only on fatal errors.
105 */
106 runTurn(convKey: string, userText: string, sink: TurnSink, signal: AbortSignal): Promise<string>;
107 /** Forget the conversation's session so the next turn starts fresh. */
108 reset?(convKey: string): Promise<void>;
109

Callers 1

runOneMethod · 0.65

Implementers 1

QodexAgentRunnersrc/bot/runner.ts

Calls

no outgoing calls

Tested by

no test coverage detected