From 985919209ba35f310d84bc54f0d6cc2cce753000 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 21 Sep 2025 06:22:17 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs | 4 ++-- ...ryAGI.OpenAI.Models.RealtimeMCPToolCallType.g.cs | 8 ++++---- src/libs/tryAGI.OpenAI/openapi.yaml | 13 +++++++++++-- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs index ec4769f6..95bf08d5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs @@ -55,7 +55,7 @@ public sealed partial class RealtimeMCPToolCall public required string ServerLabel { get; set; } /// - /// The type of the item. Always `mcp_tool_call`. + /// The type of the item. Always `mcp_call`. /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeMCPToolCallTypeJsonConverter))] @@ -90,7 +90,7 @@ public sealed partial class RealtimeMCPToolCall /// The label of the MCP server running the tool. /// /// - /// The type of the item. Always `mcp_tool_call`. + /// The type of the item. Always `mcp_call`. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCallType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCallType.g.cs index 335ab61f..a225f80e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCallType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCallType.g.cs @@ -4,14 +4,14 @@ namespace tryAGI.OpenAI { /// - /// The type of the item. Always `mcp_tool_call`. + /// The type of the item. Always `mcp_call`. /// public enum RealtimeMCPToolCallType { /// /// /// - McpToolCall, + McpCall, } /// @@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeMCPToolCallType value) { return value switch { - RealtimeMCPToolCallType.McpToolCall => "mcp_tool_call", + RealtimeMCPToolCallType.McpCall => "mcp_call", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeMCPToolCallType value) { return value switch { - "mcp_tool_call" => RealtimeMCPToolCallType.McpToolCall, + "mcp_call" => RealtimeMCPToolCallType.McpCall, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index 5483c421..4f2ae33d 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -22195,9 +22195,9 @@ components: description: The label of the MCP server running the tool. type: enum: - - mcp_tool_call + - mcp_call type: string - description: The type of the item. Always `mcp_tool_call`. + description: The type of the item. Always `mcp_call`. x-stainless-const: true description: "A Realtime item representing an invocation of a tool on an MCP server.\n" RealtimeMCPToolExecutionError: @@ -32992,6 +32992,15 @@ x-oaiMeta: - key: RealtimeServerEventInputAudioBufferTimeoutTriggered path: type: object + - key: RealtimeServerEventOutputAudioBufferStarted + path: + type: object + - key: RealtimeServerEventOutputAudioBufferStopped + path: + type: object + - key: RealtimeServerEventOutputAudioBufferCleared + path: + type: object - key: RealtimeServerEventResponseCreated path: type: object