Skip to content

Commit

Permalink
Merge pull request #25 from tryAGI/bot/update-openapi_202408290134
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 29, 2024
2 parents 30c4a11 + 8c08b66 commit ec9aac1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ partial void ProcessV1ChatCompleteResponseContent(
int maxTokens = 4096,
double temperature = default,
double topP = 1,
global::System.AnyOf<string?, global::System.Collections.Generic.IList<string>>? stop = default,
global::System.AnyOf<string, global::System.Collections.Generic.IList<string>>? stop = default,
bool stream = false,
global::AI21.MockResponseConfig? mockResponse = default,
global::System.Collections.Generic.IList<global::AI21.DocumentSchema>? documents = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public sealed partial class LanguageStudioApiServerDataTypesChatChatRequest
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("stop")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, global::System.Collections.Generic.IList<string>>? Stop { get; set; }
public global::System.AnyOf<string, global::System.Collections.Generic.IList<string>>? Stop { get; set; }

/// <summary>
/// Whether or not to stream the result one token at a time using<br/>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/AI21/Generated/AI21.Models.ValidationError.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed partial class ValidationError
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("loc")]
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Collections.Generic.IList<global::System.AnyOf<string?, int?>> Loc { get; set; }
public required global::System.Collections.Generic.IList<global::System.AnyOf<string, int?>> Loc { get; set; }

/// <summary>
///
Expand Down
6 changes: 3 additions & 3 deletions src/libs/AI21/Generated/JsonSerializerContextTypes.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::System.AnyOf<string?, int?>>? Type82 { get; set; }
public global::System.Collections.Generic.IList<global::System.AnyOf<string, int?>>? Type82 { get; set; }
/// <summary>
///
/// </summary>
public global::System.AnyOf<string?, int?>? Type83 { get; set; }
public global::System.AnyOf<string, int?>? Type83 { get; set; }
/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -521,7 +521,7 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::System.AnyOf<string?, global::System.Collections.Generic.IList<string>>? Type127 { get; set; }
public global::System.AnyOf<string, global::System.Collections.Generic.IList<string>>? Type127 { get; set; }
/// <summary>
///
/// </summary>
Expand Down

0 comments on commit ec9aac1

Please sign in to comment.