-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
31 lines (28 loc) · 837 Bytes
/
Copy pathconfig.yaml
File metadata and controls
31 lines (28 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# CodeAgent Default Configuration
# Copy to ~/.codeagent/config.json and modify as needed.
# This YAML file is for reference; the agent uses JSON format.
# LLM Configuration
llm:
provider: ollama
model: "qwen2.5-coder:7b-instruct-q4_K_M"
base_url: "http://localhost:11434"
temperature: 0.1
max_tokens: 4096
context_window: 32768
timeout: 120
# Agent Behavior
agent:
max_turns: 50
auto_approve_reads: true
auto_approve_searches: true
auto_approve_writes: false # Require confirmation for file writes
auto_approve_bash: false # Require confirmation for shell commands
safety_checks: true
verbose: false
# Web/Internet Features
web:
enabled: true # Set to false for fully offline mode
search_engine: duckduckgo
request_timeout: 15
max_results: 10
user_agent: "CodeAgent/1.0"