mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-22 02:03:42 +00:00
Fix provider feature detection to use model.provider, not just URL
Previously, OpenAI-compatible provider settings (like developer role support) were detected only from the baseUrl. When using custom URLs (e.g., proxies), detection failed. Now checks model.provider first, then falls back to URL. Fixes #774
This commit is contained in:
parent
0b625b66b7
commit
f900eb591d
2 changed files with 20 additions and 8 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed OpenAI-compatible provider feature detection to use `model.provider` in addition to URL, allowing custom base URLs (e.g., proxies) to work correctly with provider-specific settings ([#774](https://github.com/badlogic/pi-mono/issues/774))
|
||||
|
||||
## [0.47.0] - 2026-01-16
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue