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.
This supports LLM tool calling. Plugins can register new tools (python callables that are introspected to generate JSON schema), and models are provided access to installed tools. Adds tool calling to the openai Chat model.
Bundles a default
read_files
tool.Here is a sample
brave_search
tool in a pluginhttps://github.com/rectalogic/llm-tools/blob/dev/src/llm_tools/brave_search.py
tools
Model propertyread_files
toolNote: this pins pytest_httpx until broken tests are fixed in
#580
Note: this requires openai>=1.40.0
Note: this drops 3.8 since a number of dependencies no longer
support it, and adds 3.13 support