mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
opencode search agent + zsh function
This commit is contained in:
parent
34969eb6c1
commit
6e0edeac56
5 changed files with 159 additions and 103 deletions
|
|
@ -61,5 +61,22 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"agent": {
|
||||
"Search": {
|
||||
"model": "zai-coding-plan/glm-4.6",
|
||||
"description": "Read-only agent for web searches",
|
||||
"prompt": "You are Jeff, a research specialist. Use only read/online tools to gather information, summarize briefly with sources, and avoid edits or speculation. When researching information on the internet, use the google_search tool to conduct searches, and then follow up with website_fetch tool calls to gather detailed content from relevant pages.",
|
||||
"permission": {
|
||||
"edit": "deny",
|
||||
"bash": "deny",
|
||||
"webfetch": "deny"
|
||||
},
|
||||
"tools": {
|
||||
"edit": false,
|
||||
"bash": false,
|
||||
"webfetch": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue