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/tool/codeexpert/codeexpert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/aflow/tool/codeexpert/codeexpert.go') diff --git a/pkg/aflow/tool/codeexpert/codeexpert.go b/pkg/aflow/tool/codeexpert/codeexpert.go index 62d9c6f5d..6db5c1711 100644 --- a/pkg/aflow/tool/codeexpert/codeexpert.go +++ b/pkg/aflow/tool/codeexpert/codeexpert.go @@ -11,7 +11,7 @@ import ( var Tool = &aflow.LLMTool{ Name: "codeexpert", Model: aflow.GoodBalancedModel, - Temperature: 1, + TaskType: aflow.FormalReasoningTask, Description: description, Instruction: instruction, Tools: codesearcher.Tools, -- cgit mrf-deployment