Skip to content

Commit b6a5ab8

Browse files
committed
Fix Nemotron Ultra Telegram replies by disabling compact tool search.
Set toolSearch false for Ultra and document web_search usage so Tavily runs instead of failing tool_search_code.
1 parent 8d368fe commit b6a5ab8

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../schema.json",
3+
"id": "nemotron-ultra-managed-inference",
4+
"agent": "openclaw",
5+
"description": "Disable OpenClaw compact tool-search for Nemotron Ultra; the model invents invalid tool_search_code instead of calling web_search directly.",
6+
"match": {
7+
"modelIds": ["nvidia/nvidia/llama-3.1-nemotron-ultra-253b-v1"],
8+
"providerKey": "inference",
9+
"inferenceApi": "openai-completions",
10+
"baseUrl": "https://inference.local/v1"
11+
},
12+
"effects": {
13+
"openclawTools": {
14+
"toolSearch": false
15+
}
16+
}
17+
}

scripts/generate-openclaw-config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,8 @@ def _append_web_search_answer_instruction(config: dict) -> None:
885885
"\n\n## Web search (NemoClaw)\n"
886886
f"When you use web search to answer a question, tell the user clearly: "
887887
f"**{usage_line}** before summarizing search results.\n"
888+
"Call the **`web_search`** tool with a `query` argument. "
889+
"Do **not** use `tool_search_code` or invent `openclaw.tools.*` APIs.\n"
888890
)
889891
agents_md.parent.mkdir(parents=True, exist_ok=True)
890892
existing = ""

0 commit comments

Comments
 (0)