Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31e7884d8f |
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [2.0.2] - 2026-02-05
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "tatlock"
|
name = "tatlock"
|
||||||
version = "2.0.2"
|
version = "2.0.3"
|
||||||
description = "OpenAI-compatible API with Ollama backend"
|
description = "OpenAI-compatible API with Ollama backend"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
dependencies = []
|
dependencies = []
|
||||||
|
|||||||
@@ -651,16 +651,6 @@ async def create_response_with_steward(request: ResponseRequest) -> Response:
|
|||||||
# Build response output items
|
# Build response output items
|
||||||
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
|
# Add Tatlock's message
|
||||||
output_items.append(MessageOutputItem(
|
output_items.append(MessageOutputItem(
|
||||||
id=f"msg_{generate_id()}",
|
id=f"msg_{generate_id()}",
|
||||||
|
|||||||
@@ -166,26 +166,6 @@ class StreamingCoordinator:
|
|||||||
conversation_id=conversation_id,
|
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
|
# Initialize tool tracker
|
||||||
tracker = ToolCallTracker(
|
tracker = ToolCallTracker(
|
||||||
recommended_capabilities=enriched.recommendation.recommended_capabilities,
|
recommended_capabilities=enriched.recommendation.recommended_capabilities,
|
||||||
|
|||||||
Reference in New Issue
Block a user