Files
oh-my-pi/packages/ai/src/providers
can1357 ce4ff34205 feat(ai): introduced assistant message phase tracking for stage transitions
- Added optional `phase` field to assistant messages to distinguish between `commentary` and `final_answer` stages.
- Updated `openai-responses-server` to parse and propagate phase metadata via text signatures during streaming and batch processing.
- Modified `encodeStream` and `buildOutputItems` to trigger new message items when an assistant message phase transition is detected.
- Extended schema definitions and test suites to validate phase-aware message handling and history replay.
2026-06-27 13:05:57 +02:00
..