Skip to content

Commit ae2e403

Browse files
committed
fix: re-export EasyInputMessageContentInputImage, OutputInputImage, and OpenAIResponsesToolChoiceUnion
These SDK types were used internally but not re-exported, forcing consumers to add a direct @openrouter/sdk dependency to access them.
1 parent 8e0ce71 commit ae2e403

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openrouter/agent": patch
3+
---
4+
5+
Re-export `EasyInputMessageContentInputImage`, `OutputInputImage`, and `OpenAIResponsesToolChoiceUnion` from `@openrouter/sdk/models` so consumers can use these types without a direct SDK dependency.

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export type {
1010
ChatAssistantMessage,
1111
ChatMessages,
1212
EasyInputMessage,
13+
EasyInputMessageContentInputImage,
1314
EasyInputMessageContentUnion1,
1415
EasyInputMessageRoleUnion,
1516
// Error event
@@ -24,7 +25,9 @@ export type {
2425
InputsUnion,
2526
InputText,
2627
InputVideo,
28+
OpenAIResponsesToolChoiceUnion,
2729
OpenResponsesResult,
30+
OutputInputImage,
2831
// Output item types (StreamableOutputItem members)
2932
OutputFileSearchCallItem,
3033
OutputFunctionCallItem,

0 commit comments

Comments
 (0)