Repository navigation
Move host-independent tool helpers from OpenHuman into tinyagents-harness #228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
0568f35
Add CanonicalSharedToolAdapter and EarlyExitHook to harness tool module
senamakel 65f333e
Add required-output validation and repair primitives to harness config
senamakel 0410cd1
fix(tool): handle optional fields in schema walk for tool harness
senamakel 93ec733
Add vendor-neutral JSON Schema shape walkers to harness tool module
senamakel 7254697
fix(tools): correct time parsing to handle missing seconds
senamakel 7794ef5
fix(tools): correct time parsing to handle ambiguous date formats
senamakel 80c6f47
Extend resolve_time with compound durations and conversational phrases
senamakel 1cd7e05
fix(tool): flatten nested if-let in early exit hook
senamakel bf8f0fe
fix(tools): flatten nested if-let in time_parse
senamakel 0e74cdb
chore(deps): update vendor submodules tinytools and tinyinference
senamakel 53b8a3f
feat(tools): add markdown output support for time tools
senamakel a8e7322
test(tools): add tests for time tool read-only and markdown support
senamakel dc30bb8
feat(goals): add update hook and unify goal tool response format
senamakel ca12b6f
test(goals): add tests for payload format, update hook, and permissio…
senamakel 0283c22
chore(goals): export GoalUpdateHook and clean up imports
senamakel 88b2f0f
chore(tool): remove unused import of `tinyagents_harness::error::Result`
senamakel e48380f
feat(tools,goals): port OpenHuman time-tool markdown and goal-tool pa…
senamakel e35c120
chore(deps): update vendor dependencies for tinyinference and tinytools
senamakel 0a437a9
fix(harness): update summarization module for resilient model handling
senamakel 15a35d1
feat(harness): add summarization module with model summarizer and res…
senamakel 49db91e
chore: files changed crates/tinyagents-harness/src/lib.rs,crates/tiny…
senamakel b6339a3
fix(harness): correct model summarizer test to use resilient summarizer
senamakel ed9cc77
chore(deps): update tinytools vendor dependency
senamakel 4e09751
fix: address review feedback on tool helpers
senamakel 54f2e3b
fix: handle unevaluable schema patterns safely
senamakel b3cbdfa
fix: keep goal results structured
senamakel 28e42d4
Merge remote-tracking branch 'upstream/oh-dedupe-time-goals-tools' in…
senamakel ab5287d
fix: preserve complete summarization context
senamakel 61b6114
Merge pull request #230 from tinyhumansai/oh-extract-leaves
senamakel 938b6af
Merge pull request #229 from tinyhumansai/oh-dedupe-time-goals-tools
senamakel af103b8
fix: preserve shared tool behavior
senamakel eaff3c9
Merge upstream stack updates
senamakel 3bb7b26
fix: address goal and time tool review
senamakel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add test for store-error path in goal tool dispatch
Every
store::*call indispatchnow maps errors to strings viamap_err(stringify)and returns them as tool errors (Err(String)). This is a behavioral change from the previous?propagation (which would surface as ananyhow::Errorand likely abort the run). However, the existing tests use an in-memory store that never fails, so the new error-handling path is never exercised. Add a test with a mock/failing store to verify that store errors produce a tool error (not a panic or abort) with a readable message.[RULE] untested-error-path ·