fabro/lib/components/fabro-llm/src
Release Repro 59d5b317dc
Simplify LLM error mapping and validate reasoning_effort parsing
- Return InvalidRequest (400) for unsupported speed too, matching the
  reasoning_effort check and the complete()/stream() doc comments
- Centralize fabro_llm::Error -> ApiError mapping in a From impl so the
  completions handler, playground handler, and Error::Llm arm agree on
  the InvalidRequest -> 400 / else -> 502 split
- Reject unparseable reasoning_effort values with 400 instead of
  silently dropping them
- Add classify_sdk_invalid_request test per fabro-workflow convention

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 08:29:12 -04:00
..
codec Merge origin/main (three-layer crate layout) into fix/openrouter-anthropic-prompt-caching 2026-07-23 19:30:20 -04:00
providers refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
adapter_registry.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
attachments.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
client.rs Simplify LLM error mapping and validate reasoning_effort parsing 2026-07-24 08:29:12 -04:00
cost.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
error.rs Return bad request for unsupported reasoning effort 2026-07-24 07:22:47 -04:00
generate.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
lib.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
middleware.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
model_test.rs Merge origin/main (three-layer crate layout) into fix/openrouter-anthropic-prompt-caching 2026-07-23 19:30:20 -04:00
provider.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
retry.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
token_count.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
tools.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
transport.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
types.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00