Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Nov 15, 2024
1 parent f69438c commit 67d33e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions OpenAI-DotNet/Chat/ChatRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,7 @@ public ChatRequest(
/// The maximum number of tokens allowed for the generated answer.
/// By default, the number of tokens the model can return will be (4096 - prompt tokens).
/// </summary>
[JsonPropertyName("max_tokens")]
[Obsolete("Use MaxCompletionTokens instead")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonIgnore]
public int? MaxTokens => MaxCompletionTokens;

/// <summary>
Expand Down

0 comments on commit 67d33e3

Please sign in to comment.