Enhance macLocalAFM settings by adding specialToolFormat and updating display name to 'Apple & MLX'

This commit is contained in:
Jérôme Commaret 2026-04-24 00:54:05 +02:00
parent 6f7adf1946
commit a5320a2538
2 changed files with 2 additions and 1 deletions

View file

@ -1474,6 +1474,7 @@ const macLocalAFMSettings: VoidStaticProviderInfo = {
downloadable: false,
supportsFIM: false,
supportsSystemMessage: 'system-role',
specialToolFormat: 'openai-style',
reasoningCapabilities: false,
},
},

View file

@ -110,7 +110,7 @@ export const displayInfoOfProviderName = (providerName: ProviderName): DisplayIn
return { title: 'AWS Bedrock', }
}
else if (providerName === 'macLocalAFM') {
return { title: 'Apple Foundation Model', }
return { title: 'Apple & MLX', }
}
throw new Error(`descOfProviderName: Unknown provider name: "${providerName}"`)