Skip to content

Commit 58fd169

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#298)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent b593b59 commit 58fd169

413 files changed

Lines changed: 4871 additions & 26167 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CancelARun.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ partial void ProcessCancelARunResponseContent(
113113
__response.EnsureSuccessStatusCode();
114114

115115
return
116-
global::tryAGI.OpenAI.RunObject.FromJson(__content, JsonSerializerContext) ??
116+
global::tryAGI.OpenAI.RunObject.FromJson(__content, JsonSerializerOptions) ??
117117
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
118118
}
119119
catch (global::System.Exception __ex)
@@ -144,7 +144,7 @@ partial void ProcessCancelARunResponseContent(
144144
).ConfigureAwait(false);
145145

146146
return
147-
await global::tryAGI.OpenAI.RunObject.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
147+
await global::tryAGI.OpenAI.RunObject.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
148148
throw new global::System.InvalidOperationException("Response deserialization failed.");
149149
}
150150
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateMessage.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ partial void ProcessCreateMessageResponseContent(
7272
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
7373
}
7474
}
75-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
75+
var __httpRequestContentBody = request.ToJson(JsonSerializerOptions);
7676
var __httpRequestContent = new global::System.Net.Http.StringContent(
7777
content: __httpRequestContentBody,
7878
encoding: global::System.Text.Encoding.UTF8,
@@ -122,7 +122,7 @@ partial void ProcessCreateMessageResponseContent(
122122
__response.EnsureSuccessStatusCode();
123123

124124
return
125-
global::tryAGI.OpenAI.MessageObject.FromJson(__content, JsonSerializerContext) ??
125+
global::tryAGI.OpenAI.MessageObject.FromJson(__content, JsonSerializerOptions) ??
126126
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
127127
}
128128
catch (global::System.Exception __ex)
@@ -153,7 +153,7 @@ partial void ProcessCreateMessageResponseContent(
153153
).ConfigureAwait(false);
154154

155155
return
156-
await global::tryAGI.OpenAI.MessageObject.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
156+
await global::tryAGI.OpenAI.MessageObject.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
157157
throw new global::System.InvalidOperationException("Response deserialization failed.");
158158
}
159159
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ partial void ProcessCreateRunResponseContent(
8080
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
8181
}
8282
}
83-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
83+
var __httpRequestContentBody = request.ToJson(JsonSerializerOptions);
8484
var __httpRequestContent = new global::System.Net.Http.StringContent(
8585
content: __httpRequestContentBody,
8686
encoding: global::System.Text.Encoding.UTF8,
@@ -131,7 +131,7 @@ partial void ProcessCreateRunResponseContent(
131131
__response.EnsureSuccessStatusCode();
132132

133133
return
134-
global::tryAGI.OpenAI.RunObject.FromJson(__content, JsonSerializerContext) ??
134+
global::tryAGI.OpenAI.RunObject.FromJson(__content, JsonSerializerOptions) ??
135135
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
136136
}
137137
catch (global::System.Exception __ex)
@@ -162,7 +162,7 @@ partial void ProcessCreateRunResponseContent(
162162
).ConfigureAwait(false);
163163

164164
return
165-
await global::tryAGI.OpenAI.RunObject.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
165+
await global::tryAGI.OpenAI.RunObject.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
166166
throw new global::System.InvalidOperationException("Response deserialization failed.");
167167
}
168168
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThread.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ partial void ProcessCreateThreadResponseContent(
6767
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
6868
}
6969
}
70-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
70+
var __httpRequestContentBody = request.ToJson(JsonSerializerOptions);
7171
var __httpRequestContent = new global::System.Net.Http.StringContent(
7272
content: __httpRequestContentBody,
7373
encoding: global::System.Text.Encoding.UTF8,
@@ -116,7 +116,7 @@ partial void ProcessCreateThreadResponseContent(
116116
__response.EnsureSuccessStatusCode();
117117

118118
return
119-
global::tryAGI.OpenAI.ThreadObject.FromJson(__content, JsonSerializerContext) ??
119+
global::tryAGI.OpenAI.ThreadObject.FromJson(__content, JsonSerializerOptions) ??
120120
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
121121
}
122122
catch (global::System.Exception __ex)
@@ -147,7 +147,7 @@ partial void ProcessCreateThreadResponseContent(
147147
).ConfigureAwait(false);
148148

149149
return
150-
await global::tryAGI.OpenAI.ThreadObject.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
150+
await global::tryAGI.OpenAI.ThreadObject.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
151151
throw new global::System.InvalidOperationException("Response deserialization failed.");
152152
}
153153
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
6767
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
6868
}
6969
}
70-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
70+
var __httpRequestContentBody = request.ToJson(JsonSerializerOptions);
7171
var __httpRequestContent = new global::System.Net.Http.StringContent(
7272
content: __httpRequestContentBody,
7373
encoding: global::System.Text.Encoding.UTF8,
@@ -116,7 +116,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
116116
__response.EnsureSuccessStatusCode();
117117

118118
return
119-
global::tryAGI.OpenAI.RunObject.FromJson(__content, JsonSerializerContext) ??
119+
global::tryAGI.OpenAI.RunObject.FromJson(__content, JsonSerializerOptions) ??
120120
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
121121
}
122122
catch (global::System.Exception __ex)
@@ -147,7 +147,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
147147
).ConfigureAwait(false);
148148

149149
return
150-
await global::tryAGI.OpenAI.RunObject.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
150+
await global::tryAGI.OpenAI.RunObject.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
151151
throw new global::System.InvalidOperationException("Response deserialization failed.");
152152
}
153153
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.DeleteMessage.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ partial void ProcessDeleteMessageResponseContent(
113113
__response.EnsureSuccessStatusCode();
114114

115115
return
116-
global::tryAGI.OpenAI.DeleteMessageResponse.FromJson(__content, JsonSerializerContext) ??
116+
global::tryAGI.OpenAI.DeleteMessageResponse.FromJson(__content, JsonSerializerOptions) ??
117117
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
118118
}
119119
catch (global::System.Exception __ex)
@@ -144,7 +144,7 @@ partial void ProcessDeleteMessageResponseContent(
144144
).ConfigureAwait(false);
145145

146146
return
147-
await global::tryAGI.OpenAI.DeleteMessageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
147+
await global::tryAGI.OpenAI.DeleteMessageResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
148148
throw new global::System.InvalidOperationException("Response deserialization failed.");
149149
}
150150
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.DeleteThread.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ partial void ProcessDeleteThreadResponseContent(
107107
__response.EnsureSuccessStatusCode();
108108

109109
return
110-
global::tryAGI.OpenAI.DeleteThreadResponse.FromJson(__content, JsonSerializerContext) ??
110+
global::tryAGI.OpenAI.DeleteThreadResponse.FromJson(__content, JsonSerializerOptions) ??
111111
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
112112
}
113113
catch (global::System.Exception __ex)
@@ -138,7 +138,7 @@ partial void ProcessDeleteThreadResponseContent(
138138
).ConfigureAwait(false);
139139

140140
return
141-
await global::tryAGI.OpenAI.DeleteThreadResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
141+
await global::tryAGI.OpenAI.DeleteThreadResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
142142
throw new global::System.InvalidOperationException("Response deserialization failed.");
143143
}
144144
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ListMessages.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ partial void ProcessListMessagesResponseContent(
148148
__response.EnsureSuccessStatusCode();
149149

150150
return
151-
global::tryAGI.OpenAI.ListMessagesResponse.FromJson(__content, JsonSerializerContext) ??
151+
global::tryAGI.OpenAI.ListMessagesResponse.FromJson(__content, JsonSerializerOptions) ??
152152
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
153153
}
154154
catch (global::System.Exception __ex)
@@ -179,7 +179,7 @@ partial void ProcessListMessagesResponseContent(
179179
).ConfigureAwait(false);
180180

181181
return
182-
await global::tryAGI.OpenAI.ListMessagesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
182+
await global::tryAGI.OpenAI.ListMessagesResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
183183
throw new global::System.InvalidOperationException("Response deserialization failed.");
184184
}
185185
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ListRunSteps.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ partial void ProcessListRunStepsResponseContent(
154154
__response.EnsureSuccessStatusCode();
155155

156156
return
157-
global::tryAGI.OpenAI.ListRunStepsResponse.FromJson(__content, JsonSerializerContext) ??
157+
global::tryAGI.OpenAI.ListRunStepsResponse.FromJson(__content, JsonSerializerOptions) ??
158158
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
159159
}
160160
catch (global::System.Exception __ex)
@@ -185,7 +185,7 @@ partial void ProcessListRunStepsResponseContent(
185185
).ConfigureAwait(false);
186186

187187
return
188-
await global::tryAGI.OpenAI.ListRunStepsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
188+
await global::tryAGI.OpenAI.ListRunStepsResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
189189
throw new global::System.InvalidOperationException("Response deserialization failed.");
190190
}
191191
catch (global::System.Exception __ex)

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ListRuns.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ partial void ProcessListRunsResponseContent(
141141
__response.EnsureSuccessStatusCode();
142142

143143
return
144-
global::tryAGI.OpenAI.ListRunsResponse.FromJson(__content, JsonSerializerContext) ??
144+
global::tryAGI.OpenAI.ListRunsResponse.FromJson(__content, JsonSerializerOptions) ??
145145
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
146146
}
147147
catch (global::System.Exception __ex)
@@ -172,7 +172,7 @@ partial void ProcessListRunsResponseContent(
172172
).ConfigureAwait(false);
173173

174174
return
175-
await global::tryAGI.OpenAI.ListRunsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
175+
await global::tryAGI.OpenAI.ListRunsResponse.FromJsonStreamAsync(__content, JsonSerializerOptions).ConfigureAwait(false) ??
176176
throw new global::System.InvalidOperationException("Response deserialization failed.");
177177
}
178178
catch (global::System.Exception __ex)

0 commit comments

Comments
 (0)