Skip to content

Commit 5a2d924

Browse files
authored
Add name field to ResponseFunctionCallArgumentsDone (#442)
Syncs to OpenAI specs while also adding the feature to filter tools by name in a streaming response.
1 parent fe55ff6 commit 5a2d924

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

async-openai/src/types/responses.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,6 +1753,7 @@ pub struct ResponseFunctionCallArgumentsDelta {
17531753
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
17541754
#[non_exhaustive]
17551755
pub struct ResponseFunctionCallArgumentsDone {
1756+
pub name: String,
17561757
pub sequence_number: u64,
17571758
pub item_id: String,
17581759
pub output_index: u32,

0 commit comments

Comments
 (0)