From 62be7008f950a8b59112b792a9099734ae54c157 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 31 Jan 2026 18:55:30 +0100 Subject: pkg/aflow: abstract away LLM temperature Introduce abstract "task type" for LLM agents instead of specifying temperature explicitly for each agent. This has 2 advantages: - we don't hardcode it everywhere, and can change centrally as our understanding of the right temperature evolves - we can control other LLM parameters (topn/topk) using task type as well Update #6576 --- pkg/aflow/testdata/TestWorkflow.llm.json | 6 +++--- 1 file changed, 3 insertions(+), 3 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 75375c4e6..d1aafbe84 100644 --- a/pkg/aflow/testdata/TestWorkflow.llm.json +++ b/pkg/aflow/testdata/TestWorkflow.llm.json @@ -10,7 +10,7 @@ ], "role": "user" }, - "temperature": 0, + "temperature": 0.3, "tools": [ { "functionDeclarations": [ @@ -335,7 +335,7 @@ ], "role": "user" }, - "temperature": 0, + "temperature": 0.3, "tools": [ { "functionDeclarations": [ @@ -507,7 +507,7 @@ ], "role": "user" }, - "temperature": 0, + "temperature": 0.3, "responseModalities": [ "TEXT" ] -- cgit mrf-deployment