Exception: Rubino::EmptyModelResponseError
- Inherits:
-
UpstreamError
- Object
- StandardError
- Error
- UpstreamError
- Rubino::EmptyModelResponseError
- Defined in:
- lib/rubino/errors.rb
Overview
The model returned a degenerate turn — no text AND no tool calls — that
survived the Loop's in-turn retries. Mirrors the reference treating an
empty/invalid response as retryable-then-terminal (such a run is
marked failed: True, not completed). Raised by Agent::Loop so
the run is marked failed honestly instead of being reported as a successful
"completed" turn carrying empty output (the silent completed-but-empty bug,
observed on MiniMax-M2.7 / api.minimax.io/anthropic). Maps to 502.
Instance Attribute Summary
Attributes inherited from UpstreamError
Instance Method Summary collapse
-
#initialize(message = "model returned an empty response (no text, no tool calls)", service: "llm") ⇒ EmptyModelResponseError
constructor
A new instance of EmptyModelResponseError.
Constructor Details
#initialize(message = "model returned an empty response (no text, no tool calls)", service: "llm") ⇒ EmptyModelResponseError
Returns a new instance of EmptyModelResponseError.
145 146 147 148 |
# File 'lib/rubino/errors.rb', line 145 def initialize( = "model returned an empty response (no text, no tool calls)", service: "llm") super end |