Skip to content

Commit 0c31a0d

Browse files
Merge pull request #63 from tryAGI/bot/update-openapi_202410241831
feat:@coderabbitai
2 parents 81b9f17 + ea8f8d7 commit 0c31a0d

16 files changed

+22
-22
lines changed

src/libs/Ollama/Generated/Ollama.ChatClient.GenerateChatCompletion.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ partial void ProcessGenerateChatCompletionResponse(
124124
global::System.Collections.Generic.IList<global::Ollama.Message> messages,
125125
global::Ollama.ResponseFormat? format = default,
126126
global::Ollama.RequestOptions? options = default,
127-
bool? stream = true,
127+
bool? stream = default,
128128
int? keepAlive = default,
129129
global::System.Collections.Generic.IList<global::Ollama.Tool>? tools = default,
130130
[global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)

src/libs/Ollama/Generated/Ollama.CompletionsClient.GenerateCompletion.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ partial void ProcessGenerateCompletionResponse(
147147
global::Ollama.RequestOptions? options = default,
148148
global::Ollama.ResponseFormat? format = default,
149149
bool? raw = default,
150-
bool? stream = true,
150+
bool? stream = default,
151151
int? keepAlive = default,
152152
[global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
153153
{

src/libs/Ollama/Generated/Ollama.IChatClient.GenerateChatCompletion.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public partial interface IChatClient
5656
global::System.Collections.Generic.IList<global::Ollama.Message> messages,
5757
global::Ollama.ResponseFormat? format = default,
5858
global::Ollama.RequestOptions? options = default,
59-
bool? stream = true,
59+
bool? stream = default,
6060
int? keepAlive = default,
6161
global::System.Collections.Generic.IList<global::Ollama.Tool>? tools = default,
6262
global::System.Threading.CancellationToken cancellationToken = default);

src/libs/Ollama/Generated/Ollama.ICompletionsClient.GenerateCompletion.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public partial interface ICompletionsClient
7979
global::Ollama.RequestOptions? options = default,
8080
global::Ollama.ResponseFormat? format = default,
8181
bool? raw = default,
82-
bool? stream = true,
82+
bool? stream = default,
8383
int? keepAlive = default,
8484
global::System.Threading.CancellationToken cancellationToken = default);
8585
}

src/libs/Ollama/Generated/Ollama.IModelsClient.CreateModel.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public partial interface IModelsClient
4545
string modelfile,
4646
string? path = default,
4747
string? quantize = default,
48-
bool? stream = true,
48+
bool? stream = default,
4949
global::System.Threading.CancellationToken cancellationToken = default);
5050
}
5151
}

src/libs/Ollama/Generated/Ollama.IModelsClient.PullModel.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public partial interface IModelsClient
4343
/// <exception cref="global::System.InvalidOperationException"></exception>
4444
global::System.Collections.Generic.IAsyncEnumerable<global::Ollama.PullModelResponse> PullModelAsync(
4545
string model,
46-
bool? insecure = false,
46+
bool? insecure = default,
4747
string? username = default,
4848
string? password = default,
49-
bool? stream = true,
49+
bool? stream = default,
5050
global::System.Threading.CancellationToken cancellationToken = default);
5151
}
5252
}

src/libs/Ollama/Generated/Ollama.IModelsClient.PushModel.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public partial interface IModelsClient
4242
/// <exception cref="global::System.InvalidOperationException"></exception>
4343
global::System.Collections.Generic.IAsyncEnumerable<global::Ollama.PushModelResponse> PushModelAsync(
4444
string model,
45-
bool? insecure = false,
45+
bool? insecure = default,
4646
string? username = default,
4747
string? password = default,
48-
bool? stream = true,
48+
bool? stream = default,
4949
global::System.Threading.CancellationToken cancellationToken = default);
5050
}
5151
}

src/libs/Ollama/Generated/Ollama.Models.CreateModelRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public sealed partial class CreateModelRequest
4242
/// Default Value: true
4343
/// </summary>
4444
[global::System.Text.Json.Serialization.JsonPropertyName("stream")]
45-
public bool? Stream { get; set; } = true;
45+
public bool? Stream { get; set; }
4646

4747
/// <summary>
4848
/// Additional properties that are not explicitly defined in the schema

src/libs/Ollama/Generated/Ollama.Models.GenerateChatCompletionRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public sealed partial class GenerateChatCompletionRequest
4444
/// Default Value: true
4545
/// </summary>
4646
[global::System.Text.Json.Serialization.JsonPropertyName("stream")]
47-
public bool? Stream { get; set; } = true;
47+
public bool? Stream { get; set; }
4848

4949
/// <summary>
5050
/// How long (in minutes) to keep the model loaded in memory.<br/>

src/libs/Ollama/Generated/Ollama.Models.GenerateCompletionRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public sealed partial class GenerateCompletionRequest
8282
/// Default Value: true
8383
/// </summary>
8484
[global::System.Text.Json.Serialization.JsonPropertyName("stream")]
85-
public bool? Stream { get; set; } = true;
85+
public bool? Stream { get; set; }
8686

8787
/// <summary>
8888
/// How long (in minutes) to keep the model loaded in memory.<br/>

0 commit comments

Comments
 (0)