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/TestWorkflow.llm.json | 456 ------------------------------- 1 file changed, 456 deletions(-) (limited to 'pkg/aflow/testdata/TestWorkflow.llm.json') diff --git a/pkg/aflow/testdata/TestWorkflow.llm.json b/pkg/aflow/testdata/TestWorkflow.llm.json index d7e490daa..75375c4e6 100644 --- a/pkg/aflow/testdata/TestWorkflow.llm.json +++ b/pkg/aflow/testdata/TestWorkflow.llm.json @@ -152,144 +152,6 @@ }, { "Model": "model1", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "You are smarty. baz\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, - "tools": [ - { - "functionDeclarations": [ - { - "description": "tool 1 description", - "name": "tool1", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "ArgBar": { - "description": "bar", - "type": "integer" - }, - "ArgFoo": { - "description": "foo", - "type": "string" - } - }, - "required": [ - "ArgFoo", - "ArgBar" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "ResFoo": { - "description": "foo", - "type": "integer" - }, - "ResString": { - "description": "string", - "type": "string" - } - }, - "required": [ - "ResFoo", - "ResString" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "tool 2 description", - "name": "tool2", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "ArgBaz": { - "description": "baz", - "type": "integer" - } - }, - "required": [ - "ArgBaz" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "ResBaz": { - "description": "baz", - "type": "integer" - } - }, - "required": [ - "ResBaz" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "AgentBar": { - "description": "bar", - "type": "string" - }, - "AgentFoo": { - "description": "foo", - "type": "integer" - } - }, - "required": [ - "AgentFoo", - "AgentBar" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "AgentBar": { - "description": "bar", - "type": "string" - }, - "AgentFoo": { - "description": "foo", - "type": "integer" - } - }, - "required": [ - "AgentFoo", - "AgentBar" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -358,144 +220,6 @@ }, { "Model": "model1", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "You are smarty. baz\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, - "tools": [ - { - "functionDeclarations": [ - { - "description": "tool 1 description", - "name": "tool1", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "ArgBar": { - "description": "bar", - "type": "integer" - }, - "ArgFoo": { - "description": "foo", - "type": "string" - } - }, - "required": [ - "ArgFoo", - "ArgBar" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "ResFoo": { - "description": "foo", - "type": "integer" - }, - "ResString": { - "description": "string", - "type": "string" - } - }, - "required": [ - "ResFoo", - "ResString" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "tool 2 description", - "name": "tool2", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "ArgBaz": { - "description": "baz", - "type": "integer" - } - }, - "required": [ - "ArgBaz" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "ResBaz": { - "description": "baz", - "type": "integer" - } - }, - "required": [ - "ResBaz" - ], - "type": "object" - } - } - ] - }, - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "AgentBar": { - "description": "bar", - "type": "string" - }, - "AgentFoo": { - "description": "foo", - "type": "integer" - } - }, - "required": [ - "AgentFoo", - "AgentBar" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "AgentBar": { - "description": "bar", - "type": "string" - }, - "AgentFoo": { - "description": "foo", - "type": "integer" - } - }, - "required": [ - "AgentFoo", - "AgentBar" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -675,66 +399,6 @@ }, { "Model": "model2", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something. baz\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, - "tools": [ - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "SwarmInt": { - "description": "swarm-int", - "type": "integer" - }, - "SwarmStr": { - "description": "swarm-str", - "type": "string" - } - }, - "required": [ - "SwarmInt", - "SwarmStr" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "SwarmInt": { - "description": "swarm-int", - "type": "integer" - }, - "SwarmStr": { - "description": "swarm-str", - "type": "string" - } - }, - "required": [ - "SwarmInt", - "SwarmStr" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -778,66 +442,6 @@ }, { "Model": "model2", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something. baz\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, - "tools": [ - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "SwarmInt": { - "description": "swarm-int", - "type": "integer" - }, - "SwarmStr": { - "description": "swarm-str", - "type": "string" - } - }, - "required": [ - "SwarmInt", - "SwarmStr" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "SwarmInt": { - "description": "swarm-int", - "type": "integer" - }, - "SwarmStr": { - "description": "swarm-str", - "type": "string" - } - }, - "required": [ - "SwarmInt", - "SwarmStr" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ @@ -851,66 +455,6 @@ }, { "Model": "model2", - "Config": { - "systemInstruction": { - "parts": [ - { - "text": "Do something. baz\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, - "tools": [ - { - "functionDeclarations": [ - { - "description": "Use this tool to provide results of the analysis.", - "name": "set-results", - "parametersJsonSchema": { - "additionalProperties": false, - "properties": { - "SwarmInt": { - "description": "swarm-int", - "type": "integer" - }, - "SwarmStr": { - "description": "swarm-str", - "type": "string" - } - }, - "required": [ - "SwarmInt", - "SwarmStr" - ], - "type": "object" - }, - "responseJsonSchema": { - "additionalProperties": false, - "properties": { - "SwarmInt": { - "description": "swarm-int", - "type": "integer" - }, - "SwarmStr": { - "description": "swarm-str", - "type": "string" - } - }, - "required": [ - "SwarmInt", - "SwarmStr" - ], - "type": "object" - } - } - ] - } - ], - "responseModalities": [ - "TEXT" - ] - }, "Request": [ { "parts": [ -- cgit mrf-deployment