fix: make ResponseID optional in ResponseCancelEvent

This commit is contained in:
dwalker-va
2025-01-27 17:04:28 -06:00
parent 2a66746f26
commit 41ee009d77
+1 -1
View File
@@ -279,7 +279,7 @@ func (m ResponseCreateEvent) MarshalJSON() ([]byte, error) {
type ResponseCancelEvent struct {
EventBase
// A specific response ID to cancel - if not provided, will cancel an in-progress response in the default conversation.
ResponseID string `json:"response_id"`
ResponseID string `json:"response_id,omitempty"`
}
func (m ResponseCancelEvent) ClientEventType() ClientEventType {