Skip to content

Commit

Permalink
Merge pull request #160 from milbk/ToolCall.Index
Browse files Browse the repository at this point in the history
Add Index for ToolCall Function
  • Loading branch information
awaescher authored Jan 3, 2025
2 parents ad264ee + 2bbede4 commit 7fe48c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Models/Chat/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ public class ToolCall
/// </summary>
public class Function
{
/// <summary>
/// Gets or sets the index of the function.
/// </summary>
[JsonPropertyName("index")]
public int? Index { get; set; }

/// <summary>
/// Gets or sets the name of the function.
/// </summary>
Expand Down

0 comments on commit 7fe48c6

Please sign in to comment.