Skip to content

test(llm): add missing compaction unit tests (parse_tool_response + split_messages round-trip) #1697

@bug-ops

Description

@bug-ops

Follow-up from PR #1696 review.

Two low-severity test gaps identified by reviewer:

  • GAP-1: parse_tool_response() positive path with AnthropicContentBlock::Compaction has no unit test
  • GAP-2: split_messages_structured() MessagePart::Compaction round-trip has no unit test

These are non-blocking but should be covered for full regression safety.

Files: crates/zeph-llm/src/claude.rs, crates/zeph-llm/src/provider.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    llmzeph-llm crate (Ollama, Claude)testingTests and quality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions