Hi I want my agent use multi-model in suit cases, like if the task is planning he use z-ai/glm-4.7 if coding use qwen/qwen-2.5-coder-32b-instruct if search use google/gemini-2.0-flash-001 for simple other action use z-ai/glm-4.7-flash... this way is so important to manage the cost and the quality needed for the tasks.
how can i set these options in current json in OpenClaw?
set each alias (planner, coder, manager, search...) replace to (defaults) that coming after agents or add theme inside models?
am search the documents ai.. do clear info found, and all my tries fails..
i need all keywords that in used like (planner, coder, search...)
and need json layout to set theme
and this is the stander one
"agents": {
"defaults": {
"models": {
"openrouter/auto": {
"alias": "OpenRouter"
},
"openrouter/z-ai/glm-4.7-flash": {}
},
"model": {
"primary": "openrouter/z-ai/glm-4.7-flash"
}
}
}