GPT-5 Not working on Azure - Functions not supported #1294

Closed
opened 2026-02-16 17:30:20 -05:00 by yindo · 5 comments
Owner

Originally created by @obiMadu on GitHub (Aug 13, 2025).

Originally assigned to: @thdxr on GitHub.

Image
Originally created by @obiMadu on GitHub (Aug 13, 2025). Originally assigned to: @thdxr on GitHub. <img width="1306" height="852" alt="Image" src="https://github.com/user-attachments/assets/a3b7ed0c-279e-4509-9804-699081da9812" />
yindo closed this issue 2026-02-16 17:30:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 13, 2025):

👋 This issue might be a duplicate of existing issues. Please check:

  • #1697: BUG: gpt-5 azure Unsupported parameter: 'max_tokens' - Reports Azure GPT-5 parameter compatibility issues
  • #1742: Bug: Unknown parameter: 'reasoningEffort'. Did you mean 'reasoning_effort'? - Similar Azure GPT-5 parameter issues
  • #1823: Reasoning effort from opencode.json not passed through for Azure models - Azure-specific parameter handling problems
  • #441: Invalid Schema errors on Azure OpenAI Models - General Azure OpenAI schema/function support issues

If none of these address your specific case, please let us know how this issue differs.

@github-actions[bot] commented on GitHub (Aug 13, 2025): 👋 This issue might be a duplicate of existing issues. Please check: - #1697: BUG: gpt-5 azure Unsupported parameter: 'max_tokens' - Reports Azure GPT-5 parameter compatibility issues - #1742: Bug: Unknown parameter: 'reasoningEffort'. Did you mean 'reasoning_effort'? - Similar Azure GPT-5 parameter issues - #1823: Reasoning effort from opencode.json not passed through for Azure models - Azure-specific parameter handling problems - #441: Invalid Schema errors on Azure OpenAI Models - General Azure OpenAI schema/function support issues If none of these address your specific case, please let us know how this issue differs.
Author
Owner

@obiMadu commented on GitHub (Aug 13, 2025):

Nope, it doesn't relate to any of these. This is a different 'functions with gpt5-chat' error

@obiMadu commented on GitHub (Aug 13, 2025): Nope, it doesn't relate to any of these. This is a different 'functions with gpt5-chat' error
Author
Owner

@hkrutzer commented on GitHub (Aug 17, 2025):

The gpt-5-chat model does not support function calling. You need gpt-5 or mini or nano. See https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/models?tabs=global-standard%2Cstandard-chat-completions#gpt-5

@hkrutzer commented on GitHub (Aug 17, 2025): The `gpt-5-chat` model does not support function calling. You need `gpt-5` or `mini` or `nano`. See https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/models?tabs=global-standard%2Cstandard-chat-completions#gpt-5
Author
Owner

@rekram1-node commented on GitHub (Aug 17, 2025):

thank you @hkrutzer

@rekram1-node commented on GitHub (Aug 17, 2025): thank you @hkrutzer
Author
Owner

@rekram1-node commented on GitHub (Aug 17, 2025):

closing since Azure docs say this is expected

@rekram1-node commented on GitHub (Aug 17, 2025): closing since Azure docs say this is expected
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1294