There's an issue with the selected model (mimo-v2-pro-free). It may not exist or...
错误信息
There's an issue with the selected model (mimo-v2-pro-free). It may not exist or you may not have access to it. Run --model to pick a different model.
AI 解决方案
报错分析报告
1.错误翻译
原文:There's an issue with the selected model (mimo-v2-pro-free). It may not exist or you may not have access to it.
译文:所选模型(mimo-v2-pro-free)存在问题,该模型可能不存在或您无访问权限。
2. 原因分析
mimo-v2-pro-free未找到或无访问权。 --model或代码中模型配置)。 3.解决方案
# 方案1:列出可用模型并重新选择(命令行场景)
dmxapi run --list-models # 查看有权限的模型列表
dmxapi run --model <有效模型名> # 替换为存在的模型(如mimo-v2-base)
# 方案2:代码中修正模型参数(以Python为例)
from dmxapi import Client
client = Client()
response = client.generate(
model="mimo-v2-base", # 替换为有效模型名
prompt="你的输入"
)
4. 预防措施
--list-models(或对应SDK方法)验证模型存在性及权限。 请提供您的报错信息: