aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/llm_tool.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/aflow: abstract away LLM temperatureDmitry Vyukov2026-02-021-4/+4
| | | | | | | | | | 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: refactor in preparation for DoWhileDmitry Vyukov2026-01-241-5/+2
| | | | | | | | A bunch of NFC refactorings: - split action verification into 2 phases (inputs/outputs) - change how LLMTool is verified - remove some unused fields/parameters - improve error messages a bit
* pkg/aflow: add LLMToolDmitry Vyukov2026-01-231-0/+87
LLMTool acts like a tool for the parent LLM, but is itself implemented as an LLM agent. It can have own tools, different from the parent LLM agent. It can do complex multi-step research, and provide a concise answer to the parent LLM without polluting its context window.