-
-
Notifications
You must be signed in to change notification settings - Fork 806
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DevContainer update to support
aider
(#9527)
- Loading branch information
1 parent
6860ee6
commit 3519a1a
Showing
15 changed files
with
1,074 additions
and
175 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
## General Settings | ||
|
||
## Load environment variables from a specified file (default: .env in git root) | ||
env-file: .aider/.env | ||
|
||
## Specify the model to use for chat and code assistance | ||
## Available models: gpt-4o, claude-3-5-sonnet, o1-preview, deepseek, etc. | ||
# model: gpt-4o | ||
|
||
## Model for editing code | ||
# editor-model: gpt-4o | ||
|
||
## Suggested number of tokens to use for repo map, use 0 to disable (default: 1024) | ||
map-tokens: 0 | ||
|
||
## Control how often the repo map is refreshed. Options: auto, always, files, manual (default: auto) | ||
map-refresh: manual | ||
|
||
## Enable dark mode for a better terminal appearance on dark backgrounds | ||
dark-mode: true | ||
|
||
## Enable pretty, colorized output (default: true) | ||
pretty: true | ||
|
||
## Disable streaming responses; waits for full response before displaying | ||
## helps with estimating costs | ||
stream: false | ||
no-stream: true | ||
|
||
## Enable caching of prompts to reduce token costs (default: false) | ||
cache-prompts: true | ||
|
||
## Show the differences between current and previous file versions | ||
show-diffs: false | ||
|
||
## Disable automatic commits after changes made by the AI | ||
auto-commits: false | ||
|
||
## Prevent the AI from suggesting shell commands during chats | ||
no-suggest-shell-commands: true | ||
|
||
## Number of pings to keep the prompt cache alive at 5-minute intervals (default: 0) | ||
cache-keepalive-pings: 5 | ||
|
||
## Add aider-specific files to .gitignore (default: true) | ||
gitignore: false | ||
|
||
## Automatically lints code after changes using PSScriptAnalyzer (PowerShell linting) | ||
auto-lint: true | ||
|
||
## map | ||
show-repo-map: false | ||
#aiderignore: .aider/.aiderignore | ||
|
||
## Command to lint PowerShell code using PSScriptAnalyzer | ||
lint-cmd: "pwsh -Command Invoke-ScriptAnalyzer -Path *.ps1" | ||
|
||
## Automatically runs tests after code changes using Pester | ||
auto-test: false | ||
|
||
## Command to run PowerShell tests using Pester | ||
#test-cmd: "pwsh -Command Invoke-Pester -Path .\\Tests" | ||
|
||
## Control verbosity of the output (default: false) | ||
verbose: false | ||
|
||
## Specify the input history file | ||
input-history-file: .aider/aider.input.history | ||
|
||
## Specify the chat history file | ||
chat-history-file: .aider/aider.chat.history.md | ||
|
||
## Specify the LLM history file | ||
llm-history-file: .aider/aider.llm.history | ||
|
||
## Specify model-specific settings | ||
model-settings-file: .aider/aider.model.settings.yml | ||
model-metadata-file: .aider/aider.model.metadata.json | ||
|
||
## Completion and Suggestions | ||
|
||
## Disable completion suggestions for shell commands | ||
suggest-shell-commands: false | ||
|
||
## Git Integration | ||
|
||
## Enable Git integration to track file changes | ||
git: false | ||
|
||
## Completion Menu Colors | ||
|
||
## Set the colors for the completion menu | ||
#completion-menu-color: "cyan" | ||
#completion-menu-bg-color: "black" | ||
#completion-menu-current-color: "white" | ||
#completion-menu-current-bg-color: "blue" | ||
|
||
## Miscellaneous Settings | ||
|
||
## Code Theme | ||
#code-theme: "monokai" | ||
|
||
## edit the whole file | ||
edit-format: whole | ||
|
||
## yesss | ||
yes-always: true | ||
|
||
show-prompts: false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
########################################################## | ||
# Environment Configuration for Aider and LLMs | ||
# Store API keys and optional settings for OpenAI and Anthropic | ||
########################################################## | ||
|
||
# OpenAI API Key for authentication (required) | ||
OPENAI_API_KEY=your-openai-api-key | ||
|
||
# Optional: Custom OpenAI API base URL (if using a custom deployment) | ||
# Uncomment and modify if necessary | ||
# OPENAI_API_BASE=https://api.openai.com | ||
|
||
# Optional: OpenAI API type and version (customize if needed) | ||
# OPENAI_API_TYPE=custom | ||
# OPENAI_API_VERSION=v1 | ||
|
||
# Optional: Specify the OpenAI Organization ID if part of an organization | ||
# OPENAI_ORGANIZATION_ID=your-organization-id | ||
|
||
########################################################## | ||
# Anthropic API Key and Model Configuration (Optional) | ||
########################################################## | ||
|
||
# aider --model claude/<your-model> | ||
# aider --model claude-3-opus-20240229 | ||
# Anthropic API Key for Claude models (uncomment if using Claude) | ||
# ANTHROPIC_API_KEY=your-anthropic-api-key | ||
|
||
# Optional: Specify a Claude model (e.g., Claude 3.5 Sonnet) | ||
# Uncomment to set a specific Claude model | ||
# AIDER_MODEL=claude-3-5-sonnet-20240620 | ||
|
||
########################################################## | ||
# Azure OpenAI config (Optional) | ||
########################################################## | ||
|
||
# aider --model azure/<your-deployment> | ||
# aider --model azure/gpt-4o | ||
#export AZURE_API_KEY=abcd1234etcetcetcetcetcetcetcetc | ||
#export AZURE_API_VERSION=2024-08-01-preview | ||
#export AZURE_API_BASE=https://<your base>.openai.azure.com/openai/deployments/<your-deployment>/chat/completions |
Oops, something went wrong.