Skip to content

Commit 620a21e

Browse files
Clarify retrieval error subset in Copilot instructions
The error-category line read as if six categories were the complete canonical set; reword to describe the retrieval-applicable subset mapped by status and point at openarmature.llm.errors for the full taxonomy (PR #221 review).
1 parent 44d79fb commit 620a21e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/copilot-instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ the source of truth, not local style preference.
5151
that would break strict typing or ruff formatting is not useful; the CI gate
5252
runs all three.
5353

54-
- Provider error handling maps to the canonical `Provider*` categories from
55-
`openarmature.llm.errors` (authentication, rate-limit, invalid-model,
56-
invalid-request, unavailable, invalid-response). A non-200 response is
57-
classified by status; a 200 with a malformed body maps to
58-
`ProviderInvalidResponse`.
54+
- Provider error handling maps to the canonical error categories in
55+
`openarmature.llm.errors`. For the retrieval providers the applicable subset
56+
is: 401/403 to authentication, 404 to invalid-model, 429 to rate-limit,
57+
400/413/422 to invalid-request, other 5xx to unavailable, and a 200 with a
58+
malformed body to `ProviderInvalidResponse`.
5959

6060
## Generated files (do not review as hand-written)
6161

0 commit comments

Comments
 (0)