Skip to content

chore(sdk): raise stream timeouts to 5m headers / 30m idle - #149

Merged
Tomlord1122 merged 1 commit into
Cometline:mainfrom
tomtom-bot7:chore/stream-timeouts-5m-30m
Sep 24, 2026
Merged

Tomlord1122 merged 1 commit into
Cometline:mainfrom
tomtom-bot7:chore/stream-timeouts-5m-30m

Conversation

@tomtom-bot7

Copy link
Copy Markdown
Collaborator

Summary

Raises comet-sdk streaming defaults so slow providers and long thinking/tool gaps stop hitting the transcript error "The model timed out before finishing. Send another message to continue from here."

Setting Before After
ResponseHeaderTimeout 30s 5m
StreamIdleTimeout 10m 30m

Docs + unit expectations updated. No other timeouts changed (memory retrieval, xAI generation, title LLM, etc.).

Test plan

  • go test ./... in comet-sdk
  • Smoke: long-running / slow-header model turn no longer fails at ~30s
  • Idle gap between SSE events up to ~30m does not surface the timeout copy

Review

  • Two-axis Spec/Standards: PASS (bot40) on 7569cca vs main f686933

Slow providers and long thinking/tool gaps were hitting the old
30s ResponseHeaderTimeout and 10m StreamIdleTimeout, which surface
as "The model timed out before finishing..." in the transcript.
@Tomlord1122
Tomlord1122 merged commit 916b5b9 into Cometline:main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants