Skip to content

Commit 1a04546

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent ee54a39 commit 1a04546

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/libs/Together/Generated/Together.Models.ChatCompletionChoiceDelta.g.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ public sealed partial class ChatCompletionChoiceDelta
2121
[global::System.Obsolete("This property marked as deprecated.")]
2222
public global::Together.ChatCompletionChoiceDeltaFunctionCall? FunctionCall { get; set; }
2323

24+
/// <summary>
25+
///
26+
/// </summary>
27+
[global::System.Text.Json.Serialization.JsonPropertyName("reasoning")]
28+
public string? Reasoning { get; set; }
29+
2430
/// <summary>
2531
///
2632
/// </summary>
@@ -51,6 +57,7 @@ public sealed partial class ChatCompletionChoiceDelta
5157
/// Initializes a new instance of the <see cref="ChatCompletionChoiceDelta" /> class.
5258
/// </summary>
5359
/// <param name="content"></param>
60+
/// <param name="reasoning"></param>
5461
/// <param name="role"></param>
5562
/// <param name="tokenId"></param>
5663
/// <param name="toolCalls"></param>
@@ -60,11 +67,13 @@ public sealed partial class ChatCompletionChoiceDelta
6067
public ChatCompletionChoiceDelta(
6168
global::Together.ChatCompletionChoiceDeltaRole role,
6269
string? content,
70+
string? reasoning,
6371
int? tokenId,
6472
global::System.Collections.Generic.IList<global::Together.ToolChoice2>? toolCalls)
6573
{
6674
this.Role = role;
6775
this.Content = content;
76+
this.Reasoning = reasoning;
6877
this.TokenId = tokenId;
6978
this.ToolCalls = toolCalls;
7079
}

src/libs/Together/Generated/Together.Models.ChatCompletionMessage.g.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ public sealed partial class ChatCompletionMessage
2222
[global::System.Obsolete("This property marked as deprecated.")]
2323
public global::Together.ChatCompletionMessageFunctionCall? FunctionCall { get; set; }
2424

25+
/// <summary>
26+
///
27+
/// </summary>
28+
[global::System.Text.Json.Serialization.JsonPropertyName("reasoning")]
29+
public string? Reasoning { get; set; }
30+
2531
/// <summary>
2632
///
2733
/// </summary>
@@ -45,17 +51,20 @@ public sealed partial class ChatCompletionMessage
4551
/// Initializes a new instance of the <see cref="ChatCompletionMessage" /> class.
4652
/// </summary>
4753
/// <param name="content"></param>
54+
/// <param name="reasoning"></param>
4855
/// <param name="role"></param>
4956
/// <param name="toolCalls"></param>
5057
#if NET7_0_OR_GREATER
5158
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
5259
#endif
5360
public ChatCompletionMessage(
5461
string? content,
62+
string? reasoning,
5563
global::Together.ChatCompletionMessageRole role,
5664
global::System.Collections.Generic.IList<global::Together.ToolChoice2>? toolCalls)
5765
{
5866
this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
67+
this.Reasoning = reasoning;
5968
this.Role = role;
6069
this.ToolCalls = toolCalls;
6170
}

src/libs/Together/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,6 +2685,9 @@ components:
26852685
type: string
26862686
nullable: true
26872687
deprecated: true
2688+
reasoning:
2689+
type: string
2690+
nullable: true
26882691
role:
26892692
enum:
26902693
- system
@@ -2848,6 +2851,9 @@ components:
28482851
name:
28492852
type: string
28502853
deprecated: true
2854+
reasoning:
2855+
type: string
2856+
nullable: true
28512857
role:
28522858
enum:
28532859
- assistant

0 commit comments

Comments
 (0)