Repository navigation
Commit 953c430
committed
fix(buzz-agent): honor OPENAI_BASE_URL as fallback for base URL
The OpenAI provider's base URL resolution only checked
OPENAI_COMPAT_BASE_URL, ignoring the more commonly expected
OPENAI_BASE_URL env var. This meant users setting a custom
base URL via the desktop persona env vars (which uses
OPENAI_BASE_URL) would have it silently ignored, with the
agent always falling back to api.openai.com.
Now checks OPENAI_BASE_URL first, falls back to
OPENAI_COMPAT_BASE_URL for backward compatibility, then
defaults to https://api.openai.com/v1.
Fixes block#3630
Signed-off-by: Chukwuebuka-2003 <[email protected]>1 parent ab55fee commit 953c430
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
795 | 797 | | |
796 | 798 | | |
797 | 799 | | |
| |||
0 commit comments