Skip to content

refactor: simplify app — deduplicate streaming and model resolution#18

Open
wydrox wants to merge 1 commit intomainfrom
feat/8li-314-simplify-app
Open

refactor: simplify app — deduplicate streaming and model resolution#18
wydrox wants to merge 1 commit intomainfrom
feat/8li-314-simplify-app

Conversation

@wydrox
Copy link
Contributor

@wydrox wydrox commented Mar 26, 2026

Summary

  • Extract shared think-tag stream processor (eliminates ~100 lines of duplication across 3 stream functions)
  • Deduplicate _resolve_model_path() across engine.py, engine_vlm.py, engine_embed.py into models.py
  • Remove setproctitle dependency
  • Fix incorrect reasoning_text assignment in streaming
  • 156 tests pass

Addresses 8LI-314.

🤖 Generated with Claude Code

…solution

Extract shared think-tag stream processor, deduplicate _resolve_model_path
across engines into models.py, remove setproctitle dependency.
Reduces ~200 lines of duplicated code. 156 tests pass.

Addresses 8LI-314.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant