aider integration
Aider lets you pair program with LLMs, to edit code in your local git repository. Start a new project or work with an existing git repo. 0Aider works best with GPT-4o & Claude 3.5 Sonnet and can connect to almost any LLM.
Starting
Harbor runs aider in a CLI mode.
# See available options
harbor aider --help
# Run aider, pre-configured with current LLM backend
harbor aiderWhen running aider, Harbor will mount current working directory as a container workspace. This means that running aider from a subfolder in a git repo will mask away the fact it's a git repo within the container.
aider is pre-configured to automatically work with the LLM backends supported by Harbor. You only need to point it to the correct model.
# Set a new model for aider as the model that
# vllm is currently using
harbor aider model $(harbor vllm model)
# Or set a specific model
harbor aider model "microsoft/Phi-3-mini-4k-instruct"