refactor: stabilize runtime and unify config

This commit is contained in:
lpf
2026-03-14 21:40:12 +08:00
parent 60eee65fec
commit 341e578c9f
75 changed files with 3081 additions and 1627 deletions

View File

@@ -48,8 +48,8 @@ func (t *BrowserTool) Parameters() map[string]interface{} {
}
func (t *BrowserTool) Execute(ctx context.Context, args map[string]interface{}) (string, error) {
action, _ := args["action"].(string)
url, _ := args["url"].(string)
action := MapStringArg(args, "action")
url := MapStringArg(args, "url")
switch action {
case "screenshot":