Skip to content

Commit f49b050

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#229)
Co-authored-by: github-actions[bot] <[email protected]>
1 parent dc37867 commit f49b050

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public sealed partial class RealtimeMCPToolCall
5555
public required string ServerLabel { get; set; }
5656

5757
/// <summary>
58-
/// The type of the item. Always `mcp_tool_call`.
58+
/// The type of the item. Always `mcp_call`.
5959
/// </summary>
6060
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
6161
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeMCPToolCallTypeJsonConverter))]
@@ -90,7 +90,7 @@ public sealed partial class RealtimeMCPToolCall
9090
/// The label of the MCP server running the tool.
9191
/// </param>
9292
/// <param name="type">
93-
/// The type of the item. Always `mcp_tool_call`.
93+
/// The type of the item. Always `mcp_call`.
9494
/// </param>
9595
#if NET7_0_OR_GREATER
9696
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCallType.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
namespace tryAGI.OpenAI
55
{
66
/// <summary>
7-
/// The type of the item. Always `mcp_tool_call`.
7+
/// The type of the item. Always `mcp_call`.
88
/// </summary>
99
public enum RealtimeMCPToolCallType
1010
{
1111
/// <summary>
1212
///
1313
/// </summary>
14-
McpToolCall,
14+
McpCall,
1515
}
1616

1717
/// <summary>
@@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeMCPToolCallType value)
2626
{
2727
return value switch
2828
{
29-
RealtimeMCPToolCallType.McpToolCall => "mcp_tool_call",
29+
RealtimeMCPToolCallType.McpCall => "mcp_call",
3030
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
3131
};
3232
}
@@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeMCPToolCallType value)
3737
{
3838
return value switch
3939
{
40-
"mcp_tool_call" => RealtimeMCPToolCallType.McpToolCall,
40+
"mcp_call" => RealtimeMCPToolCallType.McpCall,
4141
_ => null,
4242
};
4343
}

src/libs/tryAGI.OpenAI/openapi.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22195,9 +22195,9 @@ components:
2219522195
description: The label of the MCP server running the tool.
2219622196
type:
2219722197
enum:
22198-
- mcp_tool_call
22198+
- mcp_call
2219922199
type: string
22200-
description: The type of the item. Always `mcp_tool_call`.
22200+
description: The type of the item. Always `mcp_call`.
2220122201
x-stainless-const: true
2220222202
description: "A Realtime item representing an invocation of a tool on an MCP server.\n"
2220322203
RealtimeMCPToolExecutionError:
@@ -32992,6 +32992,15 @@ x-oaiMeta:
3299232992
- key: RealtimeServerEventInputAudioBufferTimeoutTriggered
3299332993
path: <auto>
3299432994
type: object
32995+
- key: RealtimeServerEventOutputAudioBufferStarted
32996+
path: <auto>
32997+
type: object
32998+
- key: RealtimeServerEventOutputAudioBufferStopped
32999+
path: <auto>
33000+
type: object
33001+
- key: RealtimeServerEventOutputAudioBufferCleared
33002+
path: <auto>
33003+
type: object
3299533004
- key: RealtimeServerEventResponseCreated
3299633005
path: <auto>
3299733006
type: object

0 commit comments

Comments
 (0)