You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename ModelProviderStreamEvent to ModelStreamEvent (#43)
This change improves naming consistency in the streaming API:
- Individual event types use Model* prefix (ModelMessageStartEvent, etc.)
- Union type now also uses Model* prefix (ModelStreamEvent)
BREAKING CHANGE: ModelProviderStreamEvent has been renamed to ModelStreamEvent.
All imports and type references must be updated.
Updated 6 files:
- src/models/streaming.ts: Type definition
- src/index.ts: Public API export
- src/models/model.ts: Interface signature
- src/models/bedrock.ts: Implementation
- tests_integ/bedrock.test.ts: Integration tests
- src/models/__tests__/bedrock.test.ts: Unit tests
Resolves: #38
Co-authored-by: Strands Agent <[email protected]>
0 commit comments