Skip to content
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

Add support for customized tools #2587

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #2075

Add support for customized tools in Aider.

  • Command-line Argument:

    • Add --custom-tool argument in aider/args.py to specify custom tools.
  • Custom Tool Integration:

    • Introduce CustomTool class in aider/coders/custom_tool.py to handle user-defined tools.
    • Implement methods for tool initialization and execution in CustomTool class.
  • Base Coder Updates:

    • Import CustomTool in aider/coders/base_coder.py.
    • Add custom_tools attribute to the base coder class.
    • Initialize custom tools in the base coder class.
  • Documentation:

    • Update README.md to guide users on creating and integrating custom tools.
    • Provide examples of custom tool configurations for web search and code repository search.

Related to Aider-AI#2075

Add support for customized tools in Aider.

* **Command-line Argument:**
  - Add `--custom-tool` argument in `aider/args.py` to specify custom tools.

* **Custom Tool Integration:**
  - Introduce `CustomTool` class in `aider/coders/custom_tool.py` to handle user-defined tools.
  - Implement methods for tool initialization and execution in `CustomTool` class.

* **Base Coder Updates:**
  - Import `CustomTool` in `aider/coders/base_coder.py`.
  - Add `custom_tools` attribute to the base coder class.
  - Initialize custom tools in the base coder class.

* **Documentation:**
  - Update `README.md` to guide users on creating and integrating custom tools.
  - Provide examples of custom tool configurations for web search and code repository search.
@CLAassistant
Copy link

CLAassistant commented Dec 10, 2024

CLA assistant check
All committers have signed the CLA.

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