3 Commits

Author SHA1 Message Date
Kazuhiro Sera b4faf7090c feat(core): add model call timeouts (#4428) 2026-08-16 11:15:36 +09:00
Alex Chang c0f2ff7d8f fix: preserve scripted annotation streaming across Python SDK releases (#4422)
This pull request fixes scripted annotation streaming before the next Python SDK release introduces accurately typed annotation-added events (openai/openai-python#3617).

The current helper passes output-text annotation models directly into streaming events. That works while the released SDK accepts an untyped annotation, but the upcoming SDK validates events against distinct event-specific annotation classes. As a result, the existing helper both fails static type checking and raises a validation error at runtime.

- Preserve annotation contents, event ordering, and sequence numbers across both the released and upcoming Python SDKs.
- Construct events from their serialized payload so each installed SDK applies its own event schema without relying on imports that do not exist in the current release.
- Compare annotation payloads by their public serialized representation instead of requiring unrelated generated model classes to share an identity.
2026-08-14 17:06:00 -04:00
Kazuhiro Sera 05d6850da5 feat: add scripted model test utilities (#4362) 2026-08-13 11:20:33 +09:00