({
providerProfile,
threadId,
includeTurns = false,
}: {
providerProfile: ProviderProfile;
threadId: string;
includeTurns?: boolean;
})
| 151 | } |
| 152 | |
| 153 | async readThread({ |
| 154 | providerProfile, |
| 155 | threadId, |
| 156 | includeTurns = false, |
| 157 | }: { |
| 158 | providerProfile: ProviderProfile; |
| 159 | threadId: string; |
| 160 | includeTurns?: boolean; |
| 161 | }): Promise<ProviderThreadSummary | null> { |
| 162 | const reviewThread = this.reviewRunner?.readThread?.(threadId, includeTurns) ?? null; |
| 163 | if (reviewThread) { |
| 164 | return reviewThread; |
| 165 | } |
| 166 | const client = await this.ensureClient(providerProfile); |
| 167 | return client.readThread(threadId, includeTurns); |
| 168 | } |
| 169 | |
| 170 | async getThreadGoal({ |
| 171 | providerProfile, |
nothing calls this directly
no test coverage detected