Microsoft Foundry
支持 Azure AI Foundry 和 Azure OpenAI,自动检测 OpenAI 风格和 Anthropic 风格的端点。
快速开始
hermes model # 选择 "Azure Foundry" → 输入端点 URLMicrosoft Entra ID(推荐)
使用 Entra ID 无需 API 密钥。在 Foundry 资源上授予角色 Azure AI User:
az role assignment create --assignee <principal-id> --role "Azure AI User" --scope <resource-id>配置参考
model:
provider: azure-foundry
base_url: https://my-resource.openai.azure.com/openai/v1
auth_mode: entra_id
default: gpt-4o
context_length: 128000详见 workspace zh/guides/azure-foundry.md