mirror of
https://github.com/usestrix/strix.git
synced 2026-10-29 06:32:26 +00:00
1. Streaming loop: Check for thinking blocks BEFORE detecting </function> - Strip thinking from check_content to avoid false </function> detection - This prevents premature truncation when thinking blocks contain fake tags 2. Post-streaming: Fix thinking removal with proper regex - Replace broken loop with: accumulated = re.sub(r'<thinking[^>]*>.*?</thinking>', '', accumulated, flags=re.DOTALL) 3. utils.py: Handle single quotes in parameter name detection - Added <parameter name=' (single quote) check to trigger condition Addresses Greptile review feedback on PR #458 |
||
|---|---|---|
| .. | ||
| agents | ||
| config | ||
| interface | ||
| llm | ||
| runtime | ||
| skills | ||
| telemetry | ||
| tools | ||
| utils | ||
| __init__.py | ||