fix(ai): honor OpenAI Responses developer role compat

closes #5456
This commit is contained in:
Mario Zechner
2026-06-07 11:07:36 +02:00
parent 59d7025668
commit b8f6f660e7
7 changed files with 12 additions and 3 deletions

View File

@@ -10,6 +10,7 @@
### Fixed
- Fixed `models.json` schema support for OpenAI Responses `compat.supportsDeveloperRole` ([#5456](https://github.com/earendil-works/pi/issues/5456)).
- Fixed tmux setup documentation to require tmux 3.5 for `extended-keys-format csi-u` and document the tmux 3.2-3.4 fallback ([#5432](https://github.com/earendil-works/pi/issues/5432)).
- Fixed built-in tool expand hints to style closing parentheses consistently ([#5359](https://github.com/earendil-works/pi/issues/5359)).

View File

@@ -127,6 +127,7 @@ const OpenAICompletionsCompatSchema = Type.Object({
});
const OpenAIResponsesCompatSchema = Type.Object({
supportsDeveloperRole: Type.Optional(Type.Boolean()),
sendSessionIdHeader: Type.Optional(Type.Boolean()),
supportsLongCacheRetention: Type.Optional(Type.Boolean()),
});