mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-22 05:27:07 +08:00
An LLM call that returns neither text nor tool calls was recorded as a success and the run completed with an empty reply, so users got nothing and no error (seen with gemini-3.8-flash on LangBot Models, whose gateway swallowed an upstream schema error into an empty 200 stream). LocalAgent 0.2.12: when the first answer of a run is empty, fall back to the next configured model; with no fallback left, fail the run with runner.empty_response (retryable) so the pipeline error handling replies. An empty normal stop after tools ran stays a valid completion. Core: a successful LLM call with no output or zero reported usage keeps status success but records details.warnings and a visible message on the monitoring LLM call, and logs a warning. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>