Skip to content

Commit b99260d

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#277)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent 432c70c commit b99260d

328 files changed

Lines changed: 3105 additions & 3105 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.JsonConverters.Annotation.g.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,27 @@ public class AnnotationJsonConverter : global::System.Text.Json.Serialization.Js
2727
}
2828

2929
var __score0 = 0;
30-
if (__jsonProps.Contains("type")) __score0++;
3130
if (__jsonProps.Contains("file_id")) __score0++;
32-
if (__jsonProps.Contains("index")) __score0++;
3331
if (__jsonProps.Contains("filename")) __score0++;
32+
if (__jsonProps.Contains("index")) __score0++;
33+
if (__jsonProps.Contains("type")) __score0++;
3434
var __score1 = 0;
35-
if (__jsonProps.Contains("type")) __score1++;
36-
if (__jsonProps.Contains("url")) __score1++;
37-
if (__jsonProps.Contains("start_index")) __score1++;
3835
if (__jsonProps.Contains("end_index")) __score1++;
36+
if (__jsonProps.Contains("start_index")) __score1++;
3937
if (__jsonProps.Contains("title")) __score1++;
38+
if (__jsonProps.Contains("type")) __score1++;
39+
if (__jsonProps.Contains("url")) __score1++;
4040
var __score2 = 0;
41-
if (__jsonProps.Contains("type")) __score2++;
4241
if (__jsonProps.Contains("container_id")) __score2++;
43-
if (__jsonProps.Contains("file_id")) __score2++;
44-
if (__jsonProps.Contains("start_index")) __score2++;
4542
if (__jsonProps.Contains("end_index")) __score2++;
43+
if (__jsonProps.Contains("file_id")) __score2++;
4644
if (__jsonProps.Contains("filename")) __score2++;
45+
if (__jsonProps.Contains("start_index")) __score2++;
46+
if (__jsonProps.Contains("type")) __score2++;
4747
var __score3 = 0;
48-
if (__jsonProps.Contains("type")) __score3++;
4948
if (__jsonProps.Contains("file_id")) __score3++;
5049
if (__jsonProps.Contains("index")) __score3++;
50+
if (__jsonProps.Contains("type")) __score3++;
5151
var __bestScore = 0;
5252
var __bestIndex = -1;
5353
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AnnotationsItem3.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ public class AnnotationsItem3JsonConverter : global::System.Text.Json.Serializat
2727
}
2828

2929
var __score0 = 0;
30-
if (__jsonProps.Contains("type")) __score0++;
3130
if (__jsonProps.Contains("source")) __score0++;
31+
if (__jsonProps.Contains("type")) __score0++;
3232
var __score1 = 0;
33-
if (__jsonProps.Contains("type")) __score1++;
3433
if (__jsonProps.Contains("source")) __score1++;
34+
if (__jsonProps.Contains("type")) __score1++;
3535
var __bestScore = 0;
3636
var __bestIndex = -1;
3737
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApplyPatchOperationParam.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public class ApplyPatchOperationParamJsonConverter : global::System.Text.Json.Se
2727
}
2828

2929
var __score0 = 0;
30-
if (__jsonProps.Contains("type")) __score0++;
31-
if (__jsonProps.Contains("path")) __score0++;
3230
if (__jsonProps.Contains("diff")) __score0++;
31+
if (__jsonProps.Contains("path")) __score0++;
32+
if (__jsonProps.Contains("type")) __score0++;
3333
var __score1 = 0;
34-
if (__jsonProps.Contains("type")) __score1++;
3534
if (__jsonProps.Contains("path")) __score1++;
35+
if (__jsonProps.Contains("type")) __score1++;
3636
var __score2 = 0;
37-
if (__jsonProps.Contains("type")) __score2++;
38-
if (__jsonProps.Contains("path")) __score2++;
3937
if (__jsonProps.Contains("diff")) __score2++;
38+
if (__jsonProps.Contains("path")) __score2++;
39+
if (__jsonProps.Contains("type")) __score2++;
4040
var __bestScore = 0;
4141
var __bestIndex = -1;
4242
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantStreamEvent.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public class AssistantStreamEventJsonConverter : global::System.Text.Json.Serial
3131
var __score2 = 0;
3232
var __score3 = 0;
3333
var __score4 = 0;
34-
if (__jsonProps.Contains("event")) __score4++;
3534
if (__jsonProps.Contains("data")) __score4++;
35+
if (__jsonProps.Contains("event")) __score4++;
3636
var __score5 = 0;
37-
if (__jsonProps.Contains("event")) __score5++;
3837
if (__jsonProps.Contains("data")) __score5++;
38+
if (__jsonProps.Contains("event")) __score5++;
3939
var __bestScore = 0;
4040
var __bestIndex = -1;
4141
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOption.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public class AssistantsApiResponseFormatOptionJsonConverter : global::System.Tex
3232
var __score2 = 0;
3333
if (__jsonProps.Contains("type")) __score2++;
3434
var __score3 = 0;
35-
if (__jsonProps.Contains("type")) __score3++;
3635
if (__jsonProps.Contains("json_schema")) __score3++;
36+
if (__jsonProps.Contains("type")) __score3++;
3737
var __bestScore = 0;
3838
var __bestIndex = -1;
3939
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOption.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public class AssistantsApiToolChoiceOptionJsonConverter : global::System.Text.Js
2828

2929
var __score0 = 0;
3030
var __score1 = 0;
31-
if (__jsonProps.Contains("type")) __score1++;
3231
if (__jsonProps.Contains("function")) __score1++;
32+
if (__jsonProps.Contains("type")) __score1++;
3333
var __bestScore = 0;
3434
var __bestIndex = -1;
3535
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionMessageToolCallsItem.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public class ChatCompletionMessageToolCallsItemJsonConverter : global::System.Te
2727
}
2828

2929
var __score0 = 0;
30+
if (__jsonProps.Contains("function")) __score0++;
3031
if (__jsonProps.Contains("id")) __score0++;
3132
if (__jsonProps.Contains("type")) __score0++;
32-
if (__jsonProps.Contains("function")) __score0++;
3333
var __score1 = 0;
34+
if (__jsonProps.Contains("custom")) __score1++;
3435
if (__jsonProps.Contains("id")) __score1++;
3536
if (__jsonProps.Contains("type")) __score1++;
36-
if (__jsonProps.Contains("custom")) __score1++;
3737
var __bestScore = 0;
3838
var __bestIndex = -1;
3939
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestAssistantMessageContentPart.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ public class ChatCompletionRequestAssistantMessageContentPartJsonConverter : glo
2727
}
2828

2929
var __score0 = 0;
30-
if (__jsonProps.Contains("type")) __score0++;
3130
if (__jsonProps.Contains("text")) __score0++;
31+
if (__jsonProps.Contains("type")) __score0++;
3232
var __score1 = 0;
33-
if (__jsonProps.Contains("type")) __score1++;
3433
if (__jsonProps.Contains("refusal")) __score1++;
34+
if (__jsonProps.Contains("type")) __score1++;
3535
var __bestScore = 0;
3636
var __bestIndex = -1;
3737
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestMessage.g.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,32 @@ public class ChatCompletionRequestMessageJsonConverter : global::System.Text.Jso
2828

2929
var __score0 = 0;
3030
if (__jsonProps.Contains("content")) __score0++;
31-
if (__jsonProps.Contains("role")) __score0++;
3231
if (__jsonProps.Contains("name")) __score0++;
32+
if (__jsonProps.Contains("role")) __score0++;
3333
var __score1 = 0;
3434
if (__jsonProps.Contains("content")) __score1++;
35-
if (__jsonProps.Contains("role")) __score1++;
3635
if (__jsonProps.Contains("name")) __score1++;
36+
if (__jsonProps.Contains("role")) __score1++;
3737
var __score2 = 0;
3838
if (__jsonProps.Contains("content")) __score2++;
39-
if (__jsonProps.Contains("role")) __score2++;
4039
if (__jsonProps.Contains("name")) __score2++;
40+
if (__jsonProps.Contains("role")) __score2++;
4141
var __score3 = 0;
42+
if (__jsonProps.Contains("audio")) __score3++;
4243
if (__jsonProps.Contains("content")) __score3++;
44+
if (__jsonProps.Contains("function_call")) __score3++;
45+
if (__jsonProps.Contains("name")) __score3++;
4346
if (__jsonProps.Contains("refusal")) __score3++;
4447
if (__jsonProps.Contains("role")) __score3++;
45-
if (__jsonProps.Contains("name")) __score3++;
46-
if (__jsonProps.Contains("audio")) __score3++;
4748
if (__jsonProps.Contains("tool_calls")) __score3++;
48-
if (__jsonProps.Contains("function_call")) __score3++;
4949
var __score4 = 0;
50-
if (__jsonProps.Contains("role")) __score4++;
5150
if (__jsonProps.Contains("content")) __score4++;
51+
if (__jsonProps.Contains("role")) __score4++;
5252
if (__jsonProps.Contains("tool_call_id")) __score4++;
5353
var __score5 = 0;
54-
if (__jsonProps.Contains("role")) __score5++;
5554
if (__jsonProps.Contains("content")) __score5++;
5655
if (__jsonProps.Contains("name")) __score5++;
56+
if (__jsonProps.Contains("role")) __score5++;
5757
var __bestScore = 0;
5858
var __bestIndex = -1;
5959
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ChatCompletionRequestSystemMessageContentPart.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public class ChatCompletionRequestSystemMessageContentPartJsonConverter : global
2727
}
2828

2929
var __score0 = 0;
30-
if (__jsonProps.Contains("type")) __score0++;
3130
if (__jsonProps.Contains("text")) __score0++;
31+
if (__jsonProps.Contains("type")) __score0++;
3232
var __bestScore = 0;
3333
var __bestIndex = -1;
3434
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }

0 commit comments

Comments
 (0)