mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-26 17:28:40 +00:00
fix: MiniMax live validation misses Code Mode file reads (#163619)
* fix(test): guide MiniMax through Code Mode file reads * fix(test): recognize mixed Code Mode tool surfaces
This commit is contained in:
parent
708adde67d
commit
fc23bc864e
1 changed files with 6 additions and 2 deletions
|
|
@ -6251,11 +6251,15 @@ async function runGatewayModelSuite(params: GatewayModelSuiteParams) {
|
|||
modelKey,
|
||||
message: strictReply
|
||||
? "OpenClaw live tool probe (local, safe): " +
|
||||
"Follow the advertised tool interface; if tools are behind Code Mode, invoke them through Code Mode. " +
|
||||
"Follow the advertised tool interface. If the advertised `exec` tool accepts JavaScript, it is Code Mode: pass it JavaScript (not shell syntax) equivalent to " +
|
||||
`const result = await read({ path: ${JSON.stringify(toolProbePath)} }); text(result.content); ` +
|
||||
"Otherwise use the direct file-reading tool. " +
|
||||
`read the local file ${JSON.stringify(toolProbePath)} using the available file-reading tool. ` +
|
||||
"Then reply with exactly the two test marker values from that file, separated by one space. No extra text."
|
||||
: "OpenClaw live tool probe (local, safe): " +
|
||||
"Follow the advertised tool interface; if tools are behind Code Mode, invoke them through Code Mode. " +
|
||||
"Follow the advertised tool interface. If the advertised `exec` tool accepts JavaScript, it is Code Mode: pass it JavaScript (not shell syntax) equivalent to " +
|
||||
`const result = await read({ path: ${JSON.stringify(toolProbePath)} }); text(result.content); ` +
|
||||
"Otherwise use the direct file-reading tool. " +
|
||||
`read the local file ${JSON.stringify(toolProbePath)} using the available file-reading tool. ` +
|
||||
"Then reply with the two test marker values you read (include both).",
|
||||
thinkingLevel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue