mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-11 04:10:44 +08:00
Make prewarm resync MCP tools and rebuild frozen wire cache.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
25d09d78ce
commit
3785e78a72
10 changed files with 253 additions and 110 deletions
|
|
@ -190,8 +190,8 @@ def materialize_tool_specs(
|
|||
except Exception as exc:
|
||||
logger.warning("expert tool load skipped: %s", exc)
|
||||
|
||||
# MCP tools are role-bound and should be materialized before model injection.
|
||||
# Fine-grained penalty/visibility is still applied by wire policy in direct_loop.
|
||||
# MCP tools are role-bound and materialized before model injection.
|
||||
# Wire penalty/suppression was removed; visibility is specialist↔MCP binding only.
|
||||
mcp_enabled = True
|
||||
try:
|
||||
if store is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue