Skip to content

refactor(loop): extract tool-call recovery checks - #7

Merged
zhanghanduo merged 1 commit into
mainfrom
refactor/tool-call-recovery
Aug 31, 2026
Merged

zhanghanduo merged 1 commit into
mainfrom
refactor/tool-call-recovery

Conversation

@zhanghanduo

Copy link
Copy Markdown
Collaborator

Summary

  • extract the converged streamed tool-call required-argument recovery check from both products
  • expose a typed module-level entry point while keeping schema parsing defensive
  • add standalone coverage for malformed schemas, empty/truncated JSON, optional tools, unknown tools, and duplicate failures
  • replace the deprecated MiroHarness product name with ApodexHarness in the README

Validation

  • uv lock --check
  • uv build
  • .venv/bin/pytest -q (78 passed)
  • .venv/bin/ruff check agent_core tests
  • .venv/bin/pyright agent_core (0 errors)

@zhanghanduo
zhanghanduo merged commit 8cf57e3 into main Aug 31, 2026
1 check passed
@zhanghanduo
zhanghanduo deleted the refactor/tool-call-recovery branch August 31, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant