Skip to content

test(v4): end-to-end OpenAI wire tests for V4 DSML tool calling - #1010

Open
gcaponi wants to merge 1 commit into
JustVugg:devfrom
gcaponi:v4-tools-e2e-tests
Open

test(v4): end-to-end OpenAI wire tests for V4 DSML tool calling#1010
gcaponi wants to merge 1 commit into
JustVugg:devfrom
gcaponi:v4-tools-e2e-tests

Conversation

@gcaponi

@gcaponi gcaponi commented Aug 14, 2026

Copy link
Copy Markdown

Follow-up to #1003 (and previously attempted in #992): wire-level e2e
tests for V4 DSML tool calling, against a mock SERVE engine.

  • 4 tests, self-contained, no checkpoint required
  • covers streamed DSML marker suppression (12 chunks) and the
    <tool_result> round trip, which the vendored primitives alone don't
    exercise end-to-end
  • validated live on 284B V4-Flash, CPU-only, 32GB RAM (Contabo VPS)

All green locally on dev (4/4, 0.8s).

4 tests against a mock SERVE engine (no checkpoint needed):
- non-streamed tool call: DSML block parsed into OpenAI tool_calls
- streamed marker suppression across 12 chunks
- <tool_result> round trip rendered into the next prompt
- plain chat unchanged when no tools are declared

Complements the vendored primitives merged in JustVugg#1003 with wire-level
coverage. Validated live on a 284B V4-Flash running CPU-only in 32GB
RAM (Contabo VPS), where the GPU-tested base hadn't been exercised.
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