1、我使用的单独供应商
一个Minimax的tokenPlan
一个阿里云百炼的codingPlan
模型设置的image是没有问题的
我单独切换为qwen-3.5plus是可以识别图片的
只是一个用minimaxM2.7作为主模型,qwen3.5plus作为图片模型不行
另外也测试了不支持图片的qwen-coder-plus作为主模型,qwen3.5plus作为图片模型也是不行的
2、配置如下:
models: {
mode: 'merge',
providers: {
default: {
baseUrl: 'http://127.0.0.1:19099',
apiKey: '__OPENCLAW_REDACTED__',
api: 'openai-completions',
models: [
{
id: 'MiniMax',
name: 'MiniMax',
reasoning: true,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 200000,
maxTokens: 8192,
},
],
},
minimax: {
baseUrl: 'https://api.minimaxi.com/anthropic',
api: 'anthropic-messages',
authHeader: true,
models: [
{
id: 'MiniMax-M2.7',
name: 'MiniMax M2.7',
reasoning: true,
input: [
'text',
],
cost: {
input: 0.4,
output: 1.6,
cacheRead: 0.04,
cacheWrite: 0.16,
},
contextWindow: 200000,
maxTokens: 8192,
},
{
id: 'MiniMax-M2.5',
name: 'MiniMax M2.5',
reasoning: true,
input: [
'text',
],
cost: {
input: 0.3,
output: 1.2,
cacheRead: 0.03,
cacheWrite: 0.12,
},
contextWindow: 200000,
maxTokens: 8192,
},
],
},
modelstudio: {
baseUrl: 'https://coding.dashscope.aliyuncs.com/v1',
api: 'openai-completions',
models: [
{
id: 'qwen3.5-plus',
name: 'qwen3.5-plus',
reasoning: false,
input: [
'text',
'image',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 1000000,
maxTokens: 65536,
},
{
id: 'qwen3-max-2026-01-23',
name: 'qwen3-max-2026-01-23',
reasoning: false,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144,
maxTokens: 65536,
},
{
id: 'qwen3-coder-next',
name: 'qwen3-coder-next',
reasoning: false,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144,
maxTokens: 65536,
},
{
id: 'qwen3-coder-plus',
name: 'qwen3-coder-plus',
reasoning: false,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 1000000,
maxTokens: 65536,
},
{
id: 'MiniMax-M2.5',
name: 'MiniMax-M2.5',
reasoning: false,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 1000000,
maxTokens: 65536,
},
{
id: 'glm-5',
name: 'glm-5',
reasoning: false,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 202752,
maxTokens: 16384,
},
{
id: 'glm-4.7',
name: 'glm-4.7',
reasoning: false,
input: [
'text',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 202752,
maxTokens: 16384,
},
{
id: 'kimi-k2.5',
name: 'kimi-k2.5',
reasoning: false,
input: [
'text',
'image',
],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144,
maxTokens: 32768,
},
],
},
},
},
agents: {
defaults: {
model: {
primary: 'minimax/MiniMax-M2.7',
fallbacks: [
'minimax/MiniMax-M2.7',
'minimax/MiniMax-M2.5',
'modelstudio/qwen3.5-plus',
'modelstudio/qwen3-max-2026-01-23',
'modelstudio/qwen3-coder-next',
'modelstudio/qwen3-coder-plus',
'modelstudio/MiniMax-M2.5',
'modelstudio/glm-5',
'modelstudio/glm-4.7',
'modelstudio/kimi-k2.5',
],
},
imageModel: {
primary: 'default/MiniMax',
},
models: {
'minimax/MiniMax-M2.7': {
alias: 'Minimax',
},
'minimax/MiniMax-M2.5': {
alias: 'Minimax',
},
'modelstudio/qwen3.5-plus': {
alias: 'Qwen',
},
'modelstudio/qwen3-max-2026-01-23': {},
'modelstudio/qwen3-coder-next': {},
'modelstudio/qwen3-coder-plus': {},
'modelstudio/MiniMax-M2.5': {},
'modelstudio/glm-5': {},
'modelstudio/glm-4.7': {},
'modelstudio/kimi-k2.5': {},
},
workspace: '/root/.openclaw/workspace',
compaction: {
mode: 'safeguard',
},
sandbox: {
mode: 'off',
},
},
}, |