MCPcopy Create free account
hub / github.com/OperationT00/T-Code / submitTurn

Method submitTurn

clients/t-code-cli/src/runtime-client.ts:46–52  ·  view source on GitHub ↗
(threadId: string, input: string)

Source from the content-addressed store, hash-verified

44 }
45
46 async submitTurn(threadId: string, input: string): Promise<string> {
47 const body = await this.requestJson(`/v1/threads/${threadId}/turns`, {
48 method: "POST",
49 body: JSON.stringify({ input }),
50 });
51 return requiredString(body, "id");
52 }
53
54 async events(threadId: string, after = 0): Promise<RuntimeEvent[]> {
55 const response = await this.retrier.run(() => fetch(

Callers 2

index.tsFile · 0.80

Calls 2

requestJsonMethod · 0.95
requiredStringFunction · 0.85

Tested by

no test coverage detected