Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/components/fabro-llm/src/codec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ pub(crate) trait Codec: Send + Sync {
/// Map a non-2xx response to an `Error`. `retry_after` is the
/// transport-parsed `retry-after` header value in seconds (header parsing
/// is the transport's job, like `rate_limit` on the decode methods).
/// Default = shared HTTP-status mapping, which openai_compatible and
/// anthropic use as-is; a codec overrides when its dialect's error bodies
/// need more (e.g. gemini's gRPC status).
/// Default = shared HTTP-status mapping, which anthropic uses as-is. A
/// codec overrides when its dialect's error bodies need more (for example,
/// OpenRouter's typed metadata or Gemini's gRPC status).
fn decode_error(
&self,
status: u16,
Expand Down
Loading
Loading