Skip to content

Commit 8d29178

Browse files
authored
Merge pull request #49 from betalgo/dev
v6.6.2
2 parents ef696de + 875d638 commit 8d29178

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

OpenAI.SDK/ObjectModels/RequestModels/CompletionCreateRequest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,14 @@ public IList<string>? PromptCalculated
104104
/// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop
105105
/// sequence.
106106
/// </summary>
107+
[JsonIgnore]
107108
public string? Stop { get; set; }
108109

109110
/// <summary>
110111
/// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop
111112
/// sequence.
112113
/// </summary>
114+
[JsonIgnore]
113115
public IList<string>? StopAsList { get; set; }
114116

115117
[JsonPropertyName("stop")]

OpenAI.SDK/OpenAI.GPT3.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageProjectUrl>https://openai.com/</PackageProjectUrl>
1010
<PackageIcon>OpenAI-Betalgo.png</PackageIcon>
1111
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
12-
<Version>6.6.1</Version>
12+
<Version>6.6.2</Version>
1313
<Authors>Tolga Kayhan, Betalgo</Authors>
1414
<Company>Betalgo Up Ltd.</Company>
1515
<Product>OpenAI GPT-3 and DALL·E dotnet SDK</Product>

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ As you can guess I do not accept any damage caused by use of the library. You ar
109109

110110

111111
## Changelog
112+
### 6.6.2
113+
* Bug-fix,added jsonignore for `stop` and `stopAsList`, thanks to @Patapum
114+
112115
### 6.6.1
113116
* **Breaking change**.
114117
* `EmbeddingCreateRequest.Input` was a ***string list*** type now it is a ***string*** type.

0 commit comments

Comments
 (0)