Add OpenRouter authentication diagnostics
This commit is contained in:
@@ -540,6 +540,14 @@ rejected, anonymous rejection, malformed/unrecognized 200, other status, and
|
||||
transport failure. Add applicability/support tests without duplicating HTTP
|
||||
client tests. Synthetic credentials must not appear in report-facing values.
|
||||
|
||||
**Completed: 2026-10-13.** Added metadata-driven authentication applicability
|
||||
and an OpenRouter key probe with optional direct/environment credentials. It
|
||||
recognizes the documented minimal 200 response, records 401 rejection, leaves
|
||||
other outcomes undetermined as specified, and distinguishes interrupted body
|
||||
reads from malformed JSON. Validation passed: `go test -race
|
||||
./internal/usecase ./internal/llm`, `go vet ./...`, `go test ./...`, and
|
||||
`git diff --check`.
|
||||
|
||||
## Stage 13: Build And Evaluate Private Inference Cases
|
||||
|
||||
Scope: private fixtures and validation collaborators in `internal/usecase`.
|
||||
|
||||
Reference in New Issue
Block a user