Exception: Clacky::UpstreamTruncatedError
- Inherits:
-
RetryableError
- Object
- StandardError
- RetryableError
- Clacky::UpstreamTruncatedError
- Defined in:
- lib/clacky.rb
Overview
Upstream (model/router like OpenRouter/Bedrock) returned finish_reason="stop" together with
one or more tool_calls whose arguments JSON was truncated (empty, "{}" placeholder, or
otherwise unparseable). Subclass of RetryableError so it flows through the existing
retry/fallback pipeline in LlmCaller#call_llm.