aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/flow/patching/patching.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-22 11:58:39 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-23 09:36:05 +0000
commit8fb0f8fb04f74e0c849fb8e2ae236419ceae6fcf (patch)
tree252d5e60314e9a082289c2b135f196d8393c371b /pkg/aflow/flow/patching/patching.go
parent778c365cd9979cc5ab5eb7df8e7ec5d1ab834495 (diff)
pkg/aflow/tool/researcher: add researching LLM tool
It can answer complex questions about kernel, and provide a concise answer to other LLMs.
Diffstat (limited to 'pkg/aflow/flow/patching/patching.go')
-rw-r--r--pkg/aflow/flow/patching/patching.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/aflow/flow/patching/patching.go b/pkg/aflow/flow/patching/patching.go
index ab3394f4e..a0b8d4a6c 100644
--- a/pkg/aflow/flow/patching/patching.go
+++ b/pkg/aflow/flow/patching/patching.go
@@ -10,6 +10,7 @@ import (
"github.com/google/syzkaller/pkg/aflow/action/crash"
"github.com/google/syzkaller/pkg/aflow/action/kernel"
"github.com/google/syzkaller/pkg/aflow/ai"
+ "github.com/google/syzkaller/pkg/aflow/tool/codeexpert"
"github.com/google/syzkaller/pkg/aflow/tool/codesearcher"
)
@@ -38,7 +39,7 @@ type Outputs struct {
}
func init() {
- tools := codesearcher.Tools
+ tools := append([]aflow.Tool{codeexpert.Tool}, codesearcher.Tools...)
aflow.Register[Inputs, Outputs](
ai.WorkflowPatching,