open-code-review/internal/llm
Kite 699c91444a
Some checks are pending
CI / test (push) Waiting to run
CI / windows (push) Waiting to run
CI / cross-compile (amd64, darwin) (push) Waiting to run
CI / cross-compile (amd64, windows) (push) Waiting to run
CI / cross-compile (arm64, darwin) (push) Waiting to run
CI / cross-compile (arm64, linux) (push) Waiting to run
CI / cross-compile (arm64, windows) (push) Waiting to run
CodeQL Advanced / Analyze (go) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Deploy Pages / build (push) Waiting to run
Deploy Pages / deploy (push) Blocked by required conditions
test(llm): cover tool_choice mapping for all three provider protocols (#1011)
Add table-driven tests for buildOpenAIParams, buildAnthropicParams, and
buildResponsesParams asserting how ChatRequest.ToolChoice="required" is
translated into each SDK's own tool_choice representation, and that the
mapping is skipped when no tools are attached. These parameter-building
functions previously had no direct coverage for tool_choice, so a
regression in any of the three branches would go unnoticed by CI.
2026-08-20 11:04:22 +08:00
..
bpe_data feat: init 2026-05-20 22:03:52 +08:00
bedrock_test.go feat(providers): add AWS Bedrock as a built-in provider with native SigV4 auth (#705) 2026-08-20 10:22:45 +08:00
client.go feat(providers): add AWS Bedrock as a built-in provider with native SigV4 auth (#705) 2026-08-20 10:22:45 +08:00
client_params_test.go test(llm): cover tool_choice mapping for all three provider protocols (#1011) 2026-08-20 11:04:22 +08:00
client_test.go feat(llm): task-scoped session affinity for prompt caching (#332) 2026-08-14 11:23:44 +08:00
embedded_loader.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
embedded_loader_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
keycmd.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
keycmd_test.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
keycmd_unix.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
keycmd_windows.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
keycmd_windows_test.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
message_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
protocol.go feat(providers): add AWS Bedrock as a built-in provider with native SigV4 auth (#705) 2026-08-20 10:22:45 +08:00
protocol_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
providers.go feat(providers): add AWS Bedrock as a built-in provider with native SigV4 auth (#705) 2026-08-20 10:22:45 +08:00
providers_test.go feat(providers): add AWS Bedrock as a built-in provider with native SigV4 auth (#705) 2026-08-20 10:22:45 +08:00
resolver.go feat(providers): add AWS Bedrock as a built-in provider with native SigV4 auth (#705) 2026-08-20 10:22:45 +08:00
resolver_keycmd_test.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
resolver_norm_test.go test: raise statement coverage to 90% and enforce it in CI (#747) 2026-08-06 12:55:44 +08:00
resolver_shellrc_test.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
resolver_test.go feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
responses_client.go fix(review-filter): add submit_filter_result func for review filter stage (#295) 2026-08-15 17:18:51 +08:00
responses_client_test.go test(llm): cover tool_choice mapping for all three provider protocols (#1011) 2026-08-20 11:04:22 +08:00
retry_boundary.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_boundary_test.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_meta.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_meta_test.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_observer.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_observer_test.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_report.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
retry_report_test.go Feat/llm retry report:SDK retry-attempt observability for review (#785) (#790) 2026-08-13 14:31:18 +08:00
sessionkey.go feat(llm): task-scoped session affinity for prompt caching (#332) 2026-08-14 11:23:44 +08:00
sessionkey_test.go feat(llm): task-scoped session affinity for prompt caching (#332) 2026-08-14 11:23:44 +08:00
usage_resolver.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
usage_resolver_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00