Merge branch 'master' into feat/agent-flow

This commit is contained in:
Grail Finder
2026-03-17 09:23:35 +03:00
18 changed files with 758 additions and 57 deletions

View File

@@ -129,10 +129,10 @@ func (t *Tools) initAgentsB() {
agent.RegisterB("summarize_chat", agent.NewWebAgentB(t.webAgentClient, summarySysPrompt))
}
func InitTools(cfg *config.Config, logger *slog.Logger, store storage.FullRepo) *Tools {
_ = logger
_ = cfg
if cfg.PlaywrightEnabled {
func InitTools(initCfg *config.Config, logger *slog.Logger, store storage.FullRepo) *Tools {
logger = logger
cfg = initCfg
if initCfg.PlaywrightEnabled {
if err := CheckPlaywright(); err != nil {
// slow, need a faster check if playwright install
if err := InstallPW(); err != nil {
@@ -686,7 +686,7 @@ Use: run "command" to execute.`
-c count matches
Example:
run "grep error" (from stdin)
run "grep -i warning log.txt"`
run "grep -i warn log.txt"`
case "cd":
return `cd <directory>
Change working directory.