feat(ai): expose routed model on openai-completions (#3968)

Adds `AssistantMessage.responseModel` on the openai-completions path:
surfaces the concrete `chunk.model` when it differs from the requested
id (e.g. OpenRouter `auto` -> `anthropic/...`).
This commit is contained in:
Alejandro
2026-04-30 00:16:12 +02:00
committed by GitHub
parent cf5ec23240
commit e354c521f4
4 changed files with 148 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
## [Unreleased]
### Added
- Added `AssistantMessage.responseModel` on the openai-completions path: surfaces the concrete `chunk.model` when it differs from the requested id (e.g. OpenRouter `auto` -> `anthropic/...`).
### Fixed
- Fixed DeepSeek V4 Flash `xhigh` thinking support so requests preserve `xhigh` and map it to DeepSeek's `max` reasoning effort ([#3944](https://github.com/badlogic/pi-mono/issues/3944)).