(params: ThreadStartParams, options?: { signal?: AbortSignal })
| 177 | } |
| 178 | |
| 179 | async startThread(params: ThreadStartParams, options?: { signal?: AbortSignal }): Promise<ThreadStartResponse> { |
| 180 | const response = await this.sendRequest('thread/start', params, { |
| 181 | signal: options?.signal, |
| 182 | timeoutMs: CodexAppServerClient.DEFAULT_TIMEOUT_MS |
| 183 | }); |
| 184 | return response as ThreadStartResponse; |
| 185 | } |
| 186 | |
| 187 | async resumeThread(params: ThreadResumeParams, options?: { signal?: AbortSignal }): Promise<ThreadResumeResponse> { |
| 188 | const response = await this.sendRequest('thread/resume', params, { |
no test coverage detected