Commit ba811b4
OpenClaw
fix(onboard): restore openai-responses API for all Azure URLs
Regression introduced in 91104ac broke local vLLM endpoints that rely
on openai-responses API compatibility.
The commit narrowed Azure detection from 'isAzure' to 'isAzureOpenAi'
(*.openai.azure.com only), causing non-Azure OpenAI-compatible endpoints
to route to /v1/chat/completions instead of /responses.
This resulted in 404 errors for local vLLM setups configured with
openai-responses mode.
Fix: Revert providerApi logic to use 'isAzure' (covers both
*.services.ai.azure.com and *.openai.azure.com) to preserve backward
compatibility.
Fixes #507191 parent 55e12bd commit ba811b4
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| |||
0 commit comments