Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.91 KB

File metadata and controls

36 lines (25 loc) · 1.91 KB

eule v0.1.0-alpha.3

Highlights

  • Fixed child chat streaming so orchestrated replies are returned directly instead of being fed back into generation.
  • Reduced cases where short prompts end in cut-off replies by increasing the child chat generation budget.
  • Added streaming regression coverage for both direct inference and orchestrated child chat paths.

Child Chat Behavior

  • POST /api/child/chat/stream now behaves differently depending on the active backend path:
    • When the orchestrator is available, the completed orchestrator answer is returned directly as the stream result.
    • When the orchestrator is unavailable, the endpoint falls back to direct streaming inference.
  • This prevents multi-turn continuation artifacts such as repeated Kind: / Euli: roleplay text appearing in a single child reply.
  • Child chat generation now uses a larger reply budget to reduce premature sentence cutoffs on simple prompts.

Validation Evidence

Automated coverage:

  • child_ui::tests::chat_uses_orchestrator_when_available
  • child_ui::tests::stream_chat_returns_chunk_and_done_events
  • child_ui::tests::stream_chat_with_orchestrator_returns_orchestrator_reply

Verification commands run for this fix:

  • cargo fmt --all --check
  • cargo test -p eule-core child_ui::tests::chat_uses_orchestrator_when_available -- --exact
  • cargo test -p eule-core child_ui::tests::stream_chat_returns_chunk_and_done_events -- --exact
  • cargo test -p eule-core child_ui::tests::stream_chat_with_orchestrator_returns_orchestrator_reply -- --exact

Known Limitations

  • This is still an alpha release intended for local testing and feedback, not production deployment.
  • Reply quality still depends on the selected local model, prompt design, and local hardware constraints.
  • Very long answers can still be constrained by model context and generation settings, although this release reduces the most obvious early cutoffs in child chat.