Preserve HTTP status codes in LLM history and safe telemetry

This commit is contained in:
Nico committed 2026-10-14 16:21:33 +02:00
1 parent 5826d8f730
commit 4d0edc030d
10 files changed
+99 -7

No files matched your search

+7
View File
@@ -51,6 +51,13 @@ other HTTP configuration failures, refusals, truncated model output, invalid JSO
schema violations are controlled errors; they are not logged as unreachable servers.
Adapters execute one call and never retry independently.
HTTP failures additionally preserve an optional numeric `http_status` (100–599).
Temporary failures record it in `outcome.attempts` or successful failover metadata;
nonretryable HTTP errors record it in `outcome.http_status`. Existing v1 records
without this field remain valid. No provider response body, headers or credentials
are retained. Retry/failover classification is unchanged: 408/429/5xx are temporary;
a 429 alone does not distinguish rate limits from exhausted quota.
Operational defaults:
| Setting | Default |