open-code-review/internal/llm
kite 453c4f9c76 test: add coverage tests for agent, llm, llmloop, and scan packages
Raise statement coverage to 80%+ across four core packages to meet
FLOSS best practice badge criteria. Key additions:

- internal/scan (67% → 90%): getters, lookupDiff, filterScanItems,
  whyExcluded all branches, extFromPath, maybeRunPlan/ProjectSummary/
  Dedup success paths, executeSubtask, Run pipeline, dispatchSubtasks.
- internal/agent (60% → 83%): getters, filterDiffs, findDiff,
  resolveSystemRule, injectDiffMap, executeReviewFilter, executePlanPhase,
  executeSubtask, dispatchSubtasks.
- internal/llmloop (59% → 80%): warnings, tool calls, usage recording,
  compression lifecycle (cancel/tryApply/run/trigger), partitionMessages.
- internal/llm (67% → 80%): parseBpeData, embedded BPE loader, message
  constructors, ExtractText, ChatResponse helpers, parseShellRC.
2026-06-27 00:15:28 +08:00
..
bpe_data feat: init 2026-05-20 22:03:52 +08:00
client.go feat: support HTTP extra headers (#169) 2026-06-26 15:42:29 +08:00
client_test.go test: expand unit test coverage for agent, llm, llmloop, and tool packages 2026-06-26 23:09:11 +08:00
embedded_loader.go feat: init 2026-05-20 22:03:52 +08:00
embedded_loader_test.go test: add coverage tests for agent, llm, llmloop, and scan packages 2026-06-27 00:15:28 +08:00
message_test.go test: add coverage tests for agent, llm, llmloop, and scan packages 2026-06-27 00:15:28 +08:00
providers.go feat(llm): update provider model lists (#202) 2026-06-24 19:55:23 +08:00
providers_test.go feat: add Baidu Qianfan provider and update provider list (#188) 2026-06-23 15:22:12 +08:00
resolver.go feat(ci): add Sigstore attestation for release artifacts 2026-06-26 22:18:03 +08:00
resolver_test.go feat: support HTTP extra headers (#169) 2026-06-26 15:42:29 +08:00
usage_resolver.go style: apply go fmt formatting 2026-06-03 17:34:28 +08:00