diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ba465..b59b8a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.3] - 2026-02-05 + +### Fixed + +- **Steward analysis leaking into responses** - Removed internal routing analysis (`DELEGATE: tatlock_core...`) from user-visible reasoning in both streaming and non-streaming paths + ## [2.0.2] - 2026-02-05 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 71ad7d4..d151715 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "tatlock" -version = "2.0.2" +version = "2.0.3" description = "OpenAI-compatible API with Ollama backend" requires-python = ">=3.12" dependencies = [] diff --git a/src/responses/service.py b/src/responses/service.py index 9e96874..c37acb9 100644 --- a/src/responses/service.py +++ b/src/responses/service.py @@ -651,16 +651,6 @@ async def create_response_with_steward(request: ResponseRequest) -> Response: # Build response output items output_items = [] - # Add Steward reasoning as a reasoning output item - output_items.append(ReasoningOutputItem( - id=f"reasoning_{generate_id()}", - summary=[ - "🎩 Steward's Analysis:", - enriched.steward_reasoning, - ], - status="completed" - )) - # Add Tatlock's message output_items.append(MessageOutputItem( id=f"msg_{generate_id()}", diff --git a/src/responses/streaming.py b/src/responses/streaming.py index 6b65a89..e52c260 100644 --- a/src/responses/streaming.py +++ b/src/responses/streaming.py @@ -166,26 +166,6 @@ class StreamingCoordinator: conversation_id=conversation_id, ) - # Stream Steward's analysis as reasoning summary - steward_lines = enriched.steward_reasoning.split('\n') - for line in steward_lines: - if line.strip(): - yield ReasoningSummaryDelta(delta=line + "\n") - await asyncio.sleep(0.05) - - yield ReasoningSummaryDone() - - # Add Steward reasoning to output items - reasoning_item = ReasoningOutputItem( - id=f"reasoning_{generate_id()}", - summary=[ - "🎩 Steward's Analysis:", - enriched.steward_reasoning, - ], - status="completed" - ) - output_items.append(reasoning_item) - # Initialize tool tracker tracker = ToolCallTracker( recommended_capabilities=enriched.recommendation.recommended_capabilities,