• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dcdpr / jp / 26873615790
67%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 08:42AM UTC
Jobs 1
Files 402
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jun 2026 08:40AM UTC coverage: 66.59% (-0.006%) from 66.596%
26873615790

push

github

web-flow
fix(llm, openai): Stream tool-call events incrementally and add keep-alive (#728)

All four providers (Cerebras, llama.cpp, OpenAI, OpenRouter) now wrap
their event streams with `with_tool_call_keepalive`, injecting a
synthetic heartbeat every 5 seconds while a tool call is in flight. This
prevents the idle-timeout logic from treating a silent gap between
argument chunks as a dead connection.

For the OpenAI Responses API, tool-call events are now emitted
incrementally rather than all at once when the item completes.
`tool_call_start` is fired on `OutputItemAdded`, argument deltas flow
through `FunctionCallArgumentsDelta`, and only the final flush is
emitted on `OutputItemDone`. This opens the tool-call window early so
the keep-alive layer can actually fill the gap while the model is
generating arguments.

The non-streaming fallback path in
`synthesize_non_streaming_output_item_events` is updated to mirror this
three-event sequence (`OutputItemAdded` → `FunctionCallArgumentsDelta`
→ `OutputItemDone`) so that `map_event` produces consistent output
regardless of whether the response was streamed.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

27 of 27 new or added lines in 1 file covered. (100.0%)

8 existing lines in 2 files now uncovered.

33672 of 50566 relevant lines covered (66.59%)

250.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
81.86
-3.1% crates/contrib/schematic_macros/src/common/field.rs
1
90.74
-0.93% crates/contrib/schematic_macros/src/common/container.rs
Jobs
ID Job ID Ran Files Coverage
1 26873615790.1 03 Jun 2026 08:42AM UTC 402
66.59
GitHub Action Run
Source Files on build 26873615790
  • Tree
  • List 402
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26873615790
  • 39d4cae3 on github
  • Prev Build on main (#26823766128)
  • Next Build on main (#26875760169)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc