Title: Azure OpenAI returned an unexpected error: 'max_tokens' is not supported with this model · Issue #31714 · coder/coder · GitHub
Open Graph Title: Azure OpenAI returned an unexpected error: 'max_tokens' is not supported with this model · Issue #31714 · coder/coder
X Title: Azure OpenAI returned an unexpected error: 'max_tokens' is not supported with this model · Issue #31714 · coder/coder
Description: Steps to Reproduce a Expected No error Actual Error: Request failed Azure OpenAI returned an unexpected error. Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
Open Graph Description: Steps to Reproduce a Expected No error Actual Error: Request failed Azure OpenAI returned an unexpected error. Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_complet...
X Description: Steps to Reproduce a Expected No error Actual Error: Request failed Azure OpenAI returned an unexpected error. Unsupported parameter: 'max_tokens' is not supported with this model. Use '...
Opengraph URL: https://github.com/coder/coder/issues/31714
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Azure OpenAI returned an unexpected error: 'max_tokens' is not supported with this model","articleBody":"### Steps to Reproduce\n\n1. a\n\n\u003cimg src=\"https://github.com/user-attachments/assets/e0c9c419-b11d-4352-8730-05a9ed21a7a7 \" alt=\"Image\" width=\"1128\" data-linear-height=\"1191\" />\n\n### Expected\n\nNo error\n\n### Actual\n\nError:\nRequest failed\nAzure OpenAI returned an unexpected error.\nUnsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.\n\n\u003cimg src=\"https://github.com/user-attachments/assets/1106a47f-a370-4719-b5af-72ed32da503a \" alt=\"Image\" width=\"809\" data-linear-height=\"276\" />","author":{"url":"https://github.com/parsa-e","@type":"Person","name":"parsa-e"},"datePublished":"2026-11-03T00:43:39Z","url":"https://github.com/coder/coder/issues/31714"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c4e349c4-bc33-7f29-7152-c66c1d218bb6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA24:1CA9F7:3727D:48B62:6B01834D |
| html-safe-nonce | 3b6bf9f2b38276970956097b9dc3cf8ac1642317f7348d0108be07ac38ae1d62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTI0OjFDQTlGNzozNzI3RDo0OEI2Mjo2QjAxODM0RCIsInZpc2l0b3JfaWQiOiIzMTg4MjYzNzYzNDM5NDYwNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4bbf44241f4b5855f72bd6d89b8d6dbace12a7299fafb88e986a67d3f35bc7d3 |
| hovercard-subject-tag | issue:6190548998 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/31714/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f6112516412566dc3227771ed4bf406c5ee5aef09a0d052ed46c0a7dbe8fc83/coder/coder/issues/31714 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f6112516412566dc3227771ed4bf406c5ee5aef09a0d052ed46c0a7dbe8fc83/coder/coder/issues/31714 |
| og:image:alt | Steps to Reproduce a Expected No error Actual Error: Request failed Azure OpenAI returned an unexpected error. Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_complet... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | parsa-e |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width