You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bad request when using Kimi K2.5 on Azure Foundry #12879
Using Kimi K2.5 on Azure Foundry results in the following error.
Unprocessable Entity: {"error":{"code":"Invalid input","status":422,"message":"invalid input error","details":[{"type":"enum","loc":["body","messages",0,"role"],"msg":"Input should be 'system', 'user', 'assistant' or 'tool'","input":"developer","ctx":{"expected":"'system', 'user', 'assistant' or 'tool'"}}]}}Please check this guide to understand why this error code might have been returned https://docs.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-online-endpoints#http-status-codes
This issue might be a duplicate of existing issues. Please check:
[FEATURE]: Add azure Kimi-K2.5 #12610: Feature request to add Azure Kimi-K2.5 support (this issue is reporting problems when using that model on Azure Foundry)
Hi, I am facing the similar issue. After successful authentication via opencode auth login -> Select provider (Azure) -> entered key. Then I got message done. But when switching to that model, I get the error - "AI_LoadSettingError: Azure OpenAI resource name setting is missing. Pass it using the 'resourceName' parameter or the AZURE_RESOURCE_NAME environment variable."
Activity
github-actions commentedon Feb 9, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
JairajSustained commentedon Feb 10, 2026
Okay
@rekram1-node
Would you require any help in this issue?
I encountered it while compacting.
npagare commentedon Feb 20, 2026
Hi, I am facing the similar issue. After successful authentication via opencode auth login -> Select provider (Azure) -> entered key. Then I got message done. But when switching to that model, I get the error - "AI_LoadSettingError: Azure OpenAI resource name setting is missing. Pass it using the 'resourceName' parameter or the AZURE_RESOURCE_NAME environment variable."
smlp-UaroundAI commentedon Mar 10, 2026
i am facing same here.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.