From 9b63f7e1c67c950430ab90004923c896f798778e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 30 Jan 2026 14:07:08 +0100 Subject: pkg/aflow: reduce size of golden test files Don't memorize repeated request configs. --- pkg/aflow/testdata/TestToolMisbehavior.llm.json | 436 ------------------------ 1 file changed, 436 deletions(-) (limited to 'pkg/aflow/testdata/TestToolMisbehavior.llm.json') diff --git a/pkg/aflow/testdata/TestToolMisbehavior.llm.json b/pkg/aflow/testdata/TestToolMisbehavior.llm.json index 6c6478020..790423094 100644 --- a/pkg/aflow/testdata/TestToolMisbehavior.llm.json +++ b/pkg/aflow/testdata/TestToolMisbehavior.llm.json @@ -123,115 +123,6 @@ }, { "Model": "model", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something!\nPrefer calling several tools at the same time to save round-trips.\n\n\nUse set-results tool to provide results of the analysis.\nIt must be called exactly once before the final reply.\nIgnore results of this tool.\n" - } - ], - "role": "user" - }, - "temperature": 0.5, - "tools": [ - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool1", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool1Arg": { - "description": "arg", - "type": "string" - } - }, - "required": [ - "Tool1Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool2", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool2Arg": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Tool2Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "Result": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Result" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -358,115 +249,6 @@ }, { "Model": "model", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something!\nPrefer calling several tools at the same time to save round-trips.\n\n\nUse set-results tool to provide results of the analysis.\nIt must be called exactly once before the final reply.\nIgnore results of this tool.\n" - } - ], - "role": "user" - }, - "temperature": 0.5, - "tools": [ - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool1", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool1Arg": { - "description": "arg", - "type": "string" - } - }, - "required": [ - "Tool1Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool2", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool2Arg": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Tool2Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "Result": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Result" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -609,115 +391,6 @@ }, { "Model": "model", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something!\nPrefer calling several tools at the same time to save round-trips.\n\n\nUse set-results tool to provide results of the analysis.\nIt must be called exactly once before the final reply.\nIgnore results of this tool.\n" - } - ], - "role": "user" - }, - "temperature": 0.5, - "tools": [ - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool1", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool1Arg": { - "description": "arg", - "type": "string" - } - }, - "required": [ - "Tool1Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool2", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool2Arg": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Tool2Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "Result": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Result" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -906,115 +579,6 @@ }, { "Model": "model", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something!\nPrefer calling several tools at the same time to save round-trips.\n\n\nUse set-results tool to provide results of the analysis.\nIt must be called exactly once before the final reply.\nIgnore results of this tool.\n" - } - ], - "role": "user" - }, - "temperature": 0.5, - "tools": [ - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool1", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool1Arg": { - "description": "arg", - "type": "string" - } - }, - "required": [ - "Tool1Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "tool description", - "name": "tool2", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "Tool2Arg": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Tool2Arg" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "Result": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "Result" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "AdditionalOutput": { - "description": "arg", - "type": "integer" - } - }, - "required": [ - "AdditionalOutput" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ -- cgit mrf-deployment