Skip to content

Commit 978955c

Browse files
arist76ifsheldon
authored andcommitted
Add name field to ResponseFunctionCallArgumentsDone (64bit#442)
Syncs to OpenAI specs while also adding the feature to filter tools by name in a streaming response. (cherry picked from commit 5a2d924)
1 parent 11ecb7a commit 978955c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

async-openai-wasm/src/types/responses.rs

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

0 commit comments

Comments
 (0)