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:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user