mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
StreamCompletion used http.NewRequest without context and retry with context.Background(), making streaming calls uncancellable. Memory compression called Completions() without context, leaving async goroutines unable to be cancelled or timed out. - Add StreamCompletionWithCtx to LLMClient interface and both OpenAI/Anthropic implementations - Propagate context through runCompression, addNextMessage, and triggerAsyncCompression call chain - Add 5-minute timeout cap on async compression goroutines - Cancel in-flight compression HTTP requests when job is superseded |
||
|---|---|---|
| .. | ||
| agent | ||
| config | ||
| diff | ||
| llm | ||
| model | ||
| release | ||
| session | ||
| stdout | ||
| suggestdiff | ||
| telemetry | ||
| tool | ||
| viewer | ||