aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/flow.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/aflow: add Flow.Consts instead of ProvideDmitry Vyukov2026-03-091-2/+4
| | | | | | | | | There is no point in using Provide more than once, and anywhere besides the first action of a flow. So it's not really an action, but more of a flow property. Add Flow.Consts field to handle this case better. Also provide slightly less verbose syntax by using a map instead of a struct, and add tests.
* pkg/aflow/flow/patching: use recent commit subjectsDmitry Vyukov2026-01-311-8/+1
| | | | | | | Give LLM the recent commit subjects when it generates description, so that it can use the same style. Add infrastrcuture to write end-to-end action tests to test it.
* syz-agent: don't send poll requests w/o workflowsDmitry Vyukov2026-01-301-0/+3
| | | | This will cause dashboard to log errors.
* pkg/aflow: add helper for tool testingDmitry Vyukov2026-01-261-6/+1
| | | | Add simple codeeditor tests to test testing.
* pkg/aflow: refactor in preparation for DoWhileDmitry Vyukov2026-01-241-1/+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: handle common LLM mis-behaviors wrt tool callingDmitry Vyukov2026-01-201-2/+2
| | | | | | | | | | | | | Gracefully handle (reply to LLM with error): - incorrect tool name - incorrect tool arg type - missing tool arg Silently handle: - more than one call to set-results - excessive tool args Fixes #6604
* pkg/aflow: handle model quota errorsDmitry Vyukov2026-01-201-0/+6
| | | | | | | | Detect model quota violations (assumed to be RPD). Make syz-agent not request jobs that use the model until the next quota reset time. Fixes #6573
* pkg/aflow: make LLM model per-agent rather than per-flowDmitry Vyukov2026-01-201-10/+2
| | | | | | Having LLM model per-agent is even more flexible than per-flow. We can have some more complex tasks during patch generation with the most elaborate model, but also some simpler ones with less elaborate models.
* pkg/aflow: allow to specify model per-flowDmitry Vyukov2026-01-141-2/+10
| | | | | We may want to use a weaker model for some workflows. Allow to use different models for different workflows.
* pkg/aflow: add package for agentic workflowsDmitry Vyukov2026-01-091-0/+99