Skip to content

Expose built-in mastery tutor tools over HTTP - #1785

Open
Suyutao wants to merge 1 commit into
HKUDS:devfrom
Suyutao:codex/expose-mastery-tutor-tools
Open

Suyutao wants to merge 1 commit into
HKUDS:devfrom
Suyutao:codex/expose-mastery-tutor-tools

Conversation

@Suyutao

@Suyutao Suyutao commented Oct 5, 2026

Copy link
Copy Markdown

Description

Expose the built-in Mastery tutor catalog and tool execution through HTTP so external agents can use the same tutor operations and learning-state behavior as DeepTutor internal AI. The network handler delegates to the existing native tools and adds request receipts for safe retries.

Related Issues

Module(s) Affected

  • api
  • tests

Checklist

  • This PR targets dev (not main).
  • I have read and followed the contribution guidelines.
  • I have run pre-commit run --all-files and fixed any issues.
  • I have added relevant tests for my changes.

Additional Notes

Validation: git diff --check f07029cf..HEAD passed. The focused unittest module ran 6 tests: 5 passed; test_quantitative_and_qualitative_parity_and_retry fails because the tutor shuffles choice labels independently for the native and HTTP paths while the test submits identical hard-coded labels, so the two paths can receive different semantic answers.

This branch has not been deployed

No deployments
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.

2 participants