(
params: ThreadGoalSetParams,
options?: { signal?: AbortSignal }
)
| 219 | } |
| 220 | |
| 221 | async setThreadGoal( |
| 222 | params: ThreadGoalSetParams, |
| 223 | options?: { signal?: AbortSignal } |
| 224 | ): Promise<ThreadGoalSetResponse> { |
| 225 | const response = await this.sendRequest('thread/goal/set', params, { |
| 226 | signal: options?.signal, |
| 227 | timeoutMs: 30_000 |
| 228 | }); |
| 229 | return response as ThreadGoalSetResponse; |
| 230 | } |
| 231 | |
| 232 | async getThreadGoal( |
| 233 | params: ThreadGoalGetParams, |
no test coverage detected