Repository navigation
Release v1.4.6
What's New
Experimental Responses API Support
- New
/v1/responsesendpoint compatible with OpenAI Responses API - Supports both streaming (SSE) and non-streaming modes
- Local polyfills for
storeandprevious_response_id(upstream doesn't support them) - Enable with
--enable-responses-apiflag orCHATGPT_LOCAL_ENABLE_RESPONSES_API=true
New CLI Flags
--enable-responses-api- Enable the experimental Responses API--responses-no-base-instructions- Forward client instructions as-is--debug- Compact debug logging (model, counts, no full bodies)
Improvements
- Centralized model configuration in
config.pywithAVAILABLE_MODELS - Dynamic model list in WebUI from central config
- Better error logging in debug mode (shows error response body)
- Fixed
type: "message"causing 400 errors from upstream - Memory-bounded FIFO storage for responses and threads
Technical Changes
- Protected reserved keys in
extra_fieldsto prevent SSE breakage - Recursive sanitization of
rs_*upstream references - Proper stream success tracking for statistics
- Validation of
BASE_INSTRUCTIONSreturn type
Full Changelog: v1.4.5...v1.4.6