Skip to content

test: add SDK streaming stress examples#38

Open
varin-nair-factory wants to merge 4 commits into
mainfrom
vn/structured-output-stress-tests
Open

test: add SDK streaming stress examples#38
varin-nair-factory wants to merge 4 commits into
mainfrom
vn/structured-output-stress-tests

Conversation

@varin-nair-factory
Copy link
Copy Markdown
Contributor

Summary

Adds a separate stress-test suite for the streaming and structured-output SDK behavior introduced in #37. This keeps the API PR focused while preserving runnable coverage for default message-level streaming, partial chunk-level streaming, result aggregation, tool use, multi-turn behavior, cancellation, and structured-output error paths.

What changed

  • Adds examples/stress/* as modular stress scripts that can be run individually or through examples/stress/all.ts.
  • Adds examples/structured-output-stress-test.ts for multi-model structured-output validation.
  • Writes JSONL artifacts for easier debugging of stream shape and final result payloads.

Validation

  • npm run typecheck
  • npm run typecheck:examples
  • npm run lint
  • npm test
  • npm run format:check

Stacked on #37.

varin-nair-factory and others added 4 commits May 12, 2026 15:06
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@varin-nair-factory varin-nair-factory self-assigned this May 14, 2026
Base automatically changed from vn/structured-output-sdk to main May 14, 2026 19:31
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.

1 participant