Skip to content

Feat/programmatic tool calling#694

Open
skymoore wants to merge 3 commits intoRightNow-AI:mainfrom
BaseDatum:feat/programmatic-tool-calling
Open

Feat/programmatic tool calling#694
skymoore wants to merge 3 commits intoRightNow-AI:mainfrom
BaseDatum:feat/programmatic-tool-calling

Conversation

@skymoore
Copy link
Contributor

Summary

Adds programmatic tool calling via a python subprocess, saves 30-40% context usage by not sending a bunch of tool json schema and instead the agent get's python function definitions in the context like:

web_fetch(url: str)

Changes

Adds programmatic tool calling and enables it by default.

Testing

  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

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