({
providerProfile,
threadId,
objective = null,
status = null,
suppressAutoTurn = false,
}: {
providerProfile: ProviderProfile;
threadId: string;
objective?: string | null;
status?: string | null;
suppressAutoTurn?: boolean;
})
| 179 | } |
| 180 | |
| 181 | async setThreadGoal({ |
| 182 | providerProfile, |
| 183 | threadId, |
| 184 | objective = null, |
| 185 | status = null, |
| 186 | suppressAutoTurn = false, |
| 187 | }: { |
| 188 | providerProfile: ProviderProfile; |
| 189 | threadId: string; |
| 190 | objective?: string | null; |
| 191 | status?: string | null; |
| 192 | suppressAutoTurn?: boolean; |
| 193 | }): Promise<ProviderThreadGoal | null> { |
| 194 | const client = await this.ensureClient(providerProfile); |
| 195 | return client.setThreadGoal({ |
| 196 | threadId, |
| 197 | objective, |
| 198 | status, |
| 199 | suppressAutoTurn, |
| 200 | }); |
| 201 | } |
| 202 | |
| 203 | async clearThreadGoal({ |
| 204 | providerProfile, |
nothing calls this directly
no test coverage detected