Skip to content

Commit 45fec28

Browse files
authored
Merge pull request #307 from rkvanadea/fix/assistant_audio_message
2 parents 45902d3 + 7488667 commit 45fec28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/OpenAI/Public/Models/ChatQuery.swift

+4
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,10 @@ public struct ChatQuery: Equatable, Codable, Streamable, Sendable {
708708

709709
public struct Audio: Codable, Equatable, Sendable {
710710
public let id: String
711+
712+
public init(id: String) {
713+
self.id = id
714+
}
711715
}
712716

713717
public struct ToolCallParam: Codable, Equatable, Sendable {

0 commit comments

Comments
 (0)