fix(google): Fix 400 Bad Request error with Gemini 3 thought signatures (#6035)

Signed-off-by: rabi <ramishra@redhat.com>
This commit is contained in:
Rabi Mishra
2025-12-17 19:08:46 +05:30
committed by GitHub
parent b401222b89
commit fc8a4b4adf
9 changed files with 273 additions and 57 deletions
+5 -3
View File
@@ -5561,9 +5561,8 @@
"id": {
"type": "string"
},
"thoughtSignature": {
"type": "string",
"nullable": true
"metadata": {
"type": "object"
},
"toolCall": {
"type": "object"
@@ -5580,6 +5579,9 @@
"id": {
"type": "string"
},
"metadata": {
"type": "object"
},
"toolResult": {
"type": "object"
}
+6 -1
View File
@@ -969,7 +969,9 @@ export type ToolPermission = {
export type ToolRequest = {
id: string;
thoughtSignature?: string | null;
metadata?: {
[key: string]: unknown;
};
toolCall: {
[key: string]: unknown;
};
@@ -977,6 +979,9 @@ export type ToolRequest = {
export type ToolResponse = {
id: string;
metadata?: {
[key: string]: unknown;
};
toolResult: {
[key: string]: unknown;
};