Update pkg/tools/browser.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
danieldd 2026-02-16 20:33:29 +07:00 committed by GitHub
parent ed4aabe00b
commit 29e8319cfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,11 +78,10 @@ func truncateOutput(s string, max int) string {
// BrowserSearchTool wraps `actionbook search` to find action manuals.
type BrowserSearchTool struct {
headless bool
}
func NewBrowserSearchTool(headless bool) *BrowserSearchTool {
return &BrowserSearchTool{headless: headless}
func NewBrowserSearchTool() *BrowserSearchTool {
return &BrowserSearchTool{}
}
func (t *BrowserSearchTool) Name() string { return "browser_search" }