Updates a model template.
Operation description
You can update a model group that has been created in the Wuying Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:UpdateModelTemplate |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ModelTemplateId |
string |
Yes |
The model group ID. |
mt-xxxx |
| Name |
string |
No |
The template group name. |
model-template-001 |
| Description |
string |
No |
The template group description. |
测试模型分组 |
| Config |
string |
No |
The model group configuration JSON object. You can use this field to modify the default model. The configuration format varies depending on the agent provider (AgentProvider):
Note
:
|
OpenClaw: {"defaults":{"model":{"primary":"bailian/qwen3.5-plus"}}} HermesAgent: {"model":{"provider":"bailian","default":"qwen3.5-plus"}} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.