before
This commit is contained in:
parent
dd1f20d08d
commit
fb45c41a93
4 changed files with 149 additions and 53 deletions
139
.aider.conf.yml
139
.aider.conf.yml
|
@ -1,52 +1,99 @@
|
|||
# AiderChat configuration file
|
||||
##########################################################
|
||||
# Aider Configuration for Home Lab Project
|
||||
# Place in your home dir, or at the root of your git repo.
|
||||
##########################################################
|
||||
|
||||
# General settings
|
||||
project_name: Home Lab
|
||||
language: guile
|
||||
description: >
|
||||
This is the configuration for AiderChat, tailored for managing and orchestrating
|
||||
the Home Lab project. The project uses Guile for scripting and NixOS for system
|
||||
configuration.
|
||||
#############
|
||||
# Main model:
|
||||
|
||||
# File inclusion/exclusion
|
||||
include:
|
||||
- "**/*.scm" # Include all Guile Scheme files
|
||||
- "**/*.nix" # Include all NixOS configuration files
|
||||
- "**/*.yml" # Include YAML configuration files
|
||||
- "**/*.md" # Include Markdown documentation files
|
||||
exclude:
|
||||
- "**/node_modules/**" # Exclude Node.js dependencies
|
||||
- "**/.git/**" # Exclude Git metadata
|
||||
- "**/tmp/**" # Exclude temporary files
|
||||
## Specify the model to use for the main chat (using Ollama with qwen2.5-coder)
|
||||
model: ollama/qwen2.5-coder:7b
|
||||
|
||||
# Chat settings
|
||||
chat:
|
||||
model: ollama
|
||||
endpoint: http://grey-area:11434 # Ollama service running on grey-area
|
||||
temperature: 0.7
|
||||
max_tokens: 2048
|
||||
system_prompt: >
|
||||
You are an assistant helping with the Home Lab project. Focus on Guile scripting,
|
||||
NixOS configuration, and infrastructure orchestration.
|
||||
########################
|
||||
# API Keys and settings:
|
||||
|
||||
# Workflow settings
|
||||
workflow:
|
||||
auto_save: true
|
||||
auto_commit: false
|
||||
branch_name: aiderchat-updates
|
||||
commit_message_template: >
|
||||
[AiderChat] {description}
|
||||
## Set environment variables for Ollama
|
||||
set-env:
|
||||
- OLLAMA_API_BASE=http://grey-area:11434
|
||||
|
||||
# Logging
|
||||
logging:
|
||||
level: info
|
||||
file: aiderchat.log
|
||||
#################
|
||||
# Model settings:
|
||||
|
||||
# Extensions
|
||||
extensions:
|
||||
- name: nixos-helper
|
||||
description: >
|
||||
Provides additional support for NixOS configuration and orchestration tasks.
|
||||
- name: guile-helper
|
||||
description: >
|
||||
Adds syntax highlighting and linting for Guile Scheme files.
|
||||
## Specify a file with aider model settings for unknown models
|
||||
model-settings-file: .aider.model.settings.yml
|
||||
|
||||
## Model aliases for convenience
|
||||
alias:
|
||||
- "code:ollama/qwen2.5-coder:7b"
|
||||
- "chat:ollama/llama3.1:8b"
|
||||
- "reason:ollama/deepseek-r1:latest"
|
||||
- "task:ollama/taskmaster-qwen:latest"
|
||||
- "research:ollama/research-deepseek:latest"
|
||||
- "fast:ollama/qwen3:4b"
|
||||
|
||||
## Specify what edit format the LLM should use
|
||||
edit-format: diff
|
||||
|
||||
## Specify the model to use for commit messages and chat history summarization
|
||||
weak-model: ollama/qwen3:4b
|
||||
|
||||
## Verify the SSL cert when connecting to models
|
||||
verify-ssl: false
|
||||
|
||||
## Timeout in seconds for API calls (increased for slower CPU inference)
|
||||
timeout: 300
|
||||
|
||||
## Disable model warnings for faster startup
|
||||
show-model-warnings: false
|
||||
|
||||
###################
|
||||
# Repomap settings:
|
||||
|
||||
## Suggested number of tokens to use for repo map (reduced for performance)
|
||||
map-tokens: 1024
|
||||
|
||||
## Control how often the repo map is refreshed
|
||||
map-refresh: manual
|
||||
|
||||
######################
|
||||
# File handling:
|
||||
|
||||
## Auto-load convention files for this project
|
||||
read:
|
||||
- CONVENTIONS.md
|
||||
|
||||
################
|
||||
# History Files:
|
||||
|
||||
## Specify the chat input history file
|
||||
input-history-file: .aider.input.history
|
||||
|
||||
## Specify the chat history file
|
||||
chat-history-file: .aider.chat.history.md
|
||||
|
||||
#################
|
||||
# Cache settings:
|
||||
|
||||
## Enable caching of prompts for better performance
|
||||
cache-prompts: true
|
||||
|
||||
## Keep cache warm to reduce latency
|
||||
cache-keepalive-pings: 2
|
||||
|
||||
###################
|
||||
# Performance settings:
|
||||
|
||||
## Disable model checking for faster startup
|
||||
check-model-accepts-settings: false
|
||||
|
||||
## Reduce chat history to save tokens
|
||||
max-chat-history-tokens: 4096
|
||||
|
||||
###################
|
||||
# UI/UX settings:
|
||||
|
||||
## Use dark mode
|
||||
dark-mode: true
|
||||
|
||||
## Show model warnings
|
||||
show-model-warnings: false
|
Loading…
Add table
Add a link
Reference in a new issue