mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-17 21:29:34 +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 |
||
|---|---|---|
| .. | ||
| git.go | ||
| hunk.go | ||
| hunk_test.go | ||
| parser.go | ||
| relocation.go | ||
| relocation_test.go | ||
| resolver.go | ||
| resolver_test.go | ||