open-code-review/internal/diff
kite 7d75c3a9d3 refactor(llm): replace hand-rolled HTTP clients with official Anthropic and OpenAI SDKs
Migrated internal/llm from manual net/http implementation to anthropic-sdk-go v1.47.0
and openai-go/v3 v3.39.0, reducing ~400 lines of retry, request-building, and streaming
code. Simplified LLMClient interface to single CompletionsWithCtx method. Fixed Anthropic
auth to use WithAuthToken (Bearer) instead of WithAPIKey (X-Api-Key) for proxy compatibility.
Fixed OpenAI message builder to use ExtractText() for proper []ContentBlock handling.
2026-06-06 19:26:34 +08:00
..
git.go fix(diff,tool): read file content at reviewed ref in range/commit mode 2026-06-04 15:20:14 +08:00
hunk.go style: apply go fmt formatting 2026-06-03 17:34:28 +08:00
hunk_test.go feat: init 2026-05-20 22:03:52 +08:00
parser.go fix(diff,tool): read file content at reviewed ref in range/commit mode 2026-06-04 15:20:14 +08:00
relocation.go feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +08:00
relocation_test.go refactor(llm): replace hand-rolled HTTP clients with official Anthropic and OpenAI SDKs 2026-06-06 19:26:34 +08:00
resolver.go feat(agent): integrate session recording and token tracking for re-location task 2026-05-30 23:25:12 +08:00
resolver_test.go refactor(diff): Simplify hunk resolution logic with helper functions 2026-05-23 00:36:51 +08:00