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:
Mario Zechner 2026-01-16 12:41:23 +01:00
parent 0b625b66b7
commit f900eb591d
2 changed files with 20 additions and 8 deletions

View file

@ -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