Update pkg/tools/browser.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ed4aabe00b
commit
29e8319cfd
1 changed files with 2 additions and 3 deletions
|
|
@ -78,11 +78,10 @@ func truncateOutput(s string, max int) string {
|
||||||
|
|
||||||
// BrowserSearchTool wraps `actionbook search` to find action manuals.
|
// BrowserSearchTool wraps `actionbook search` to find action manuals.
|
||||||
type BrowserSearchTool struct {
|
type BrowserSearchTool struct {
|
||||||
headless bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewBrowserSearchTool(headless bool) *BrowserSearchTool {
|
func NewBrowserSearchTool() *BrowserSearchTool {
|
||||||
return &BrowserSearchTool{headless: headless}
|
return &BrowserSearchTool{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *BrowserSearchTool) Name() string { return "browser_search" }
|
func (t *BrowserSearchTool) Name() string { return "browser_search" }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue