File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed
src/libs/Ollama/Generated Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public ChatClient(
3232 {
3333 _httpClient = httpClient ?? new global ::System . Net . Http . HttpClient ( ) ;
3434 _httpClient . BaseAddress ??= baseUri ?? new global ::System . Uri ( BaseUrl ) ;
35+
36+ Initialized ( _httpClient ) ;
3537 }
3638
3739 /// <inheritdoc/>
@@ -40,6 +42,8 @@ public void Dispose()
4042 _httpClient . Dispose ( ) ;
4143 }
4244
45+ partial void Initialized (
46+ global ::System . Net . Http . HttpClient client ) ;
4347 partial void PrepareArguments (
4448 global ::System . Net . Http . HttpClient client ) ;
4549 partial void PrepareRequest (
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public CompletionsClient(
3232 {
3333 _httpClient = httpClient ?? new global ::System . Net . Http . HttpClient ( ) ;
3434 _httpClient . BaseAddress ??= baseUri ?? new global ::System . Uri ( BaseUrl ) ;
35+
36+ Initialized ( _httpClient ) ;
3537 }
3638
3739 /// <inheritdoc/>
@@ -40,6 +42,8 @@ public void Dispose()
4042 _httpClient . Dispose ( ) ;
4143 }
4244
45+ partial void Initialized (
46+ global ::System . Net . Http . HttpClient client ) ;
4347 partial void PrepareArguments (
4448 global ::System . Net . Http . HttpClient client ) ;
4549 partial void PrepareRequest (
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public EmbeddingsClient(
3232 {
3333 _httpClient = httpClient ?? new global ::System . Net . Http . HttpClient ( ) ;
3434 _httpClient . BaseAddress ??= baseUri ?? new global ::System . Uri ( BaseUrl ) ;
35+
36+ Initialized ( _httpClient ) ;
3537 }
3638
3739 /// <inheritdoc/>
@@ -40,6 +42,8 @@ public void Dispose()
4042 _httpClient . Dispose ( ) ;
4143 }
4244
45+ partial void Initialized (
46+ global ::System . Net . Http . HttpClient client ) ;
4347 partial void PrepareArguments (
4448 global ::System . Net . Http . HttpClient client ) ;
4549 partial void PrepareRequest (
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public ModelsClient(
3232 {
3333 _httpClient = httpClient ?? new global ::System . Net . Http . HttpClient ( ) ;
3434 _httpClient . BaseAddress ??= baseUri ?? new global ::System . Uri ( BaseUrl ) ;
35+
36+ Initialized ( _httpClient ) ;
3537 }
3638
3739 /// <inheritdoc/>
@@ -40,6 +42,8 @@ public void Dispose()
4042 _httpClient . Dispose ( ) ;
4143 }
4244
45+ partial void Initialized (
46+ global ::System . Net . Http . HttpClient client ) ;
4347 partial void PrepareArguments (
4448 global ::System . Net . Http . HttpClient client ) ;
4549 partial void PrepareRequest (
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ public OllamaApiClient(
5252 {
5353 _httpClient = httpClient ?? new global ::System . Net . Http . HttpClient ( ) ;
5454 _httpClient . BaseAddress ??= baseUri ?? new global ::System . Uri ( BaseUrl ) ;
55+
56+ Initialized ( _httpClient ) ;
5557 }
5658
5759 /// <inheritdoc/>
@@ -60,6 +62,8 @@ public void Dispose()
6062 _httpClient . Dispose ( ) ;
6163 }
6264
65+ partial void Initialized (
66+ global ::System . Net . Http . HttpClient client ) ;
6367 partial void PrepareArguments (
6468 global ::System . Net . Http . HttpClient client ) ;
6569 partial void PrepareRequest (
You can’t perform that action at this time.
0 commit comments