diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2026-01-31 18:55:30 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-02-02 09:00:59 +0000 |
| commit | 62be7008f950a8b59112b792a9099734ae54c157 (patch) | |
| tree | 4295a343466f78d6d2cf5832148209608241c3dd /pkg/aflow/tool/codeexpert/codeexpert.go | |
| parent | 875e739a46ec76f088a29b62dfa4a881ad0543e9 (diff) | |
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
Diffstat (limited to 'pkg/aflow/tool/codeexpert/codeexpert.go')
| -rw-r--r-- | pkg/aflow/tool/codeexpert/codeexpert.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
