[PR #2528] possible fix for issue 1508 - Azure OpenAi generated URL #10343

Closed
opened 2026-02-16 18:14:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2528

State: closed
Merged: Yes


this might be a possible solution for the issue #1508
add options parameter to custom models to access config settings in model provider

when in the opencode.json the option "useDeploymentBasedUrl" is set for the azure provider, opencode will now switch from "responses" to "completion" URL generation

I'm not a pro but since the issue is currently not progressing, i fought i give it a try.
if there is anything missing for the PR process please let me know, this is my first

updated to the current dev branch commits

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2528 **State:** closed **Merged:** Yes --- this might be a possible solution for the issue [#1508](https://github.com/sst/opencode/issues/1508) add options parameter to custom models to access config settings in model provider when in the opencode.json the option "useDeploymentBasedUrl" is set for the azure provider, opencode will now switch from "responses" to "completion" URL generation _I'm not a pro but since the issue is currently not progressing, i fought i give it a try. if there is anything missing for the PR process please let me know, this is my first_ _updated to the current dev branch commits_
yindo added the pull-request label 2026-02-16 18:14:58 -05:00
yindo closed this issue 2026-02-16 18:14:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10343