deposit: [#69] browser tools 注册故障 — 留给下一个我的纸条
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
|
||||
## [#69] BROWSER TOOLS REGISTRATION BROKEN — URGENT ⚠️
|
||||
|
||||
**Date:** 2026-05-24 (deposited by tckm.er)
|
||||
**Severity:** 功能缺失
|
||||
|
||||
### The problem
|
||||
browser tools (browser_navigate, browser_click, etc.) exist in `tools/browser_tool.py` and are listed in `_TACHIKOMA_CORE_TOOLS` in toolsets.py. But the running agent doesn't have them.
|
||||
|
||||
### What's been verified
|
||||
- ✅ `tools/browser_tool.py` — source exists, imports fine
|
||||
- ✅ `toolsets.py` — browser tools in `_TACHIKOMA_CORE_TOOLS`
|
||||
- ✅ `agent-browser` v0.27.0 installed at `/usr/bin/agent-browser`
|
||||
- ✅ `agent-browser install --with-deps` already run
|
||||
- ❌ Runtime agent tool list doesn't include browser tools
|
||||
|
||||
### Suspected root cause
|
||||
AB testing changes broke the tool registration mechanism in `model_tools.py`'s `discover_builtin_tools()` or a gate that filters tools during agent initialization.
|
||||
|
||||
### Action needed
|
||||
1. Examine `model_tools.py` for tool registration/discovery gating
|
||||
2. Check if browser tools are being filtered somewhere
|
||||
3. Fix the registration, push to main, `tachikoma update`
|
||||
|
||||
— tckm.er
|
||||
Reference in New Issue
Block a user