chore: bump openrouter_dart — request-hang timeouts + dispatch logging #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/bump-openrouter-dart-timeouts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bumps the
openrouter_dartsubmodule167a63f→218edb1(0.25.0, openrouter_dart PR #5).Fixes agent runs hanging silently for 10+ minutes after a large multimodal tool result (e.g.
generate_image): Dio had nosendTimeout, so a socket stalling while uploading the image payload was never timed out and the retry loop never engaged.What the bump brings:
sendTimeout(120 s) closes the unbounded-upload hole.receiveTimeoutnow defaults to 10 min (was 120 s) — non-streaming completions deliver no bytes until the full response is ready, so slow/long generations are no longer cut off early.Future.timeout+CancelToken; surfaces as a retryableNetwork error:failure instead of freezing the chat.Sending chat completion — model=…, N messages, body=… KB), so a future hang is bracketed by a visible log line.No angela-side code changes needed —
agent_runner.dartdoes not override the client timeouts, so the new defaults apply directly (chat, timer, Uber-Ich, and the image-describer client alike).Verified:
dart analyzeclean inangela_core(4 pre-existing infos) andangela_server(no issues) against the bumped submodule.🤖 Generated with Claude Code
Coverage: apps/angela_server
Total: 51.1% (137 of 268)
Coverage: packages/angela_api
Total: 5.6% (27 of 479)
Coverage: packages/angela_core
Total: 23.6% (1482 of 6271)