Skip to content

Commit 9a97db9

Browse files
committed
Partially revert previous commit, tool_call_id not needed
Preserve the test that showcases how to chain function calls.
1 parent d025400 commit 9a97db9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/GrokClient/chat.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,6 @@ message Message {
486486

487487
// The encrypted content.
488488
string encrypted_content = 6;
489-
490-
// The ID associating this tool response with a prior invocation (for role = ROLE_TOOL).
491-
string tool_call_id = 7;
492489
}
493490

494491
enum MessageRole {

src/Tests/SanityChecks.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public async Task ExecuteLocalFunctionWithWebSearch()
130130
new Message
131131
{
132132
Role = MessageRole.RoleTool,
133-
ToolCallId = toolCall.Id,
134133
Content = { new Content { Text = currentDate } }
135134
}
136135
},

0 commit comments

Comments
 (0)