feat: toolsearch use websearch
Browse files- README.md +17 -0
- src/tools/WebSearchTool/WebSearchTool.ts +1 -0
README.md
CHANGED
|
@@ -82,6 +82,23 @@ firefox http://localhost:8080
|
|
| 82 |
/telegram
|
| 83 |
```
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
## Legacy Python Version
|
| 86 |
|
| 87 |
### Demos dev/python
|
|
|
|
| 82 |
/telegram
|
| 83 |
```
|
| 84 |
|
| 85 |
+
## Dream
|
| 86 |
+
|
| 87 |
+
```bash
|
| 88 |
+
nvim ~/.claude/settings.json
|
| 89 |
+
|
| 90 |
+
"autoMemoryEnabled": true,
|
| 91 |
+
"autoDreamEnabled": true
|
| 92 |
+
}
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
## Auto Compact
|
| 96 |
+
|
| 97 |
+
```bash
|
| 98 |
+
echo 'export CLAUDE_CODE_AUTO_COMPACT_WINDOW=57344' >> ~/.bashrc
|
| 99 |
+
echo 'export CLAUDE_CODE_MAX_CONTEXT_TOKENS=61440' >> ~/.bashrc
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
## Legacy Python Version
|
| 103 |
|
| 104 |
### Demos dev/python
|
src/tools/WebSearchTool/WebSearchTool.ts
CHANGED
|
@@ -124,6 +124,7 @@ function cleanSearchResult(result: any) {
|
|
| 124 |
export const WebSearchTool = buildTool({
|
| 125 |
name: WEB_SEARCH_TOOL_NAME,
|
| 126 |
description: 'Search the web using local SearXNG',
|
|
|
|
| 127 |
|
| 128 |
getToolUseSummary,
|
| 129 |
getActivityDescription(input) {
|
|
|
|
| 124 |
export const WebSearchTool = buildTool({
|
| 125 |
name: WEB_SEARCH_TOOL_NAME,
|
| 126 |
description: 'Search the web using local SearXNG',
|
| 127 |
+
shouldDefer: true,
|
| 128 |
|
| 129 |
getToolUseSummary,
|
| 130 |
getActivityDescription(input) {
|