| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Ran SDK integration tests locally: ============================= test session starts ============================== ============================ no tests ran in 0.10s ============================= (2 passed, 2 skipped: manual injection + compare SDK vs API). |
Sorry, something went wrong.
|
I opened a fresh PR against current main: #64. This old PR targets dev/v0.2 and still has the original investigative/manual test coverage. The new PR is rebased onto main, keeps the same behavioral fix, removes the noisy manual SDK investigation test, and includes the current validation results plus a live reproduction of the remaining failure on main. Leaving this PR open for traceability, but #64 is the one to review for getting the fix into main. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary\n- prevent mixed content in tool_result user messages by only summarizing orphaned tool_results when no valid tool_results remain\n- truncate context before sanitization (token estimation + fallback content truncation) to avoid creating orphaned tool blocks\n- normalize Anthropic SSE errors and expand coverage\n- add missing tests/fixtures package marker; minor lint/mypy compliance tweaks\n\n## Testing\n- PYTHONPATH=. pytest tests/test_tool_result_sanitization.py tests/plugins/claude_api/unit/test_native_anthropic_sanitization.py tests/unit/llms/test_context_window_management.py tests/unit/llms/test_truncation_creates_orphans.py tests/unit/streaming/test_deferred_stream_errors.py tests/plugins/claude_sdk/integration/test_sdk_compaction_behavior.py