forked from luoliwoshang/codeagent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
36 lines (29 loc) · 1 KB
/
config.example.yaml
File metadata and controls
36 lines (29 loc) · 1 KB
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
32
33
34
35
36
# CodeAgent Configuration File Example
# Copy this file to config.yaml and fill in actual values
server:
port: 8888
# GitHub webhook signature verification secret for validating request authenticity
# Must match the secret in GitHub webhook configuration
webhook_secret: your-webhook-secret-here
github:
token: your-github-token-here
webhook_url: https://your-domain.com/webhook
workspace:
base_dir: /tmp/codeagent
cleanup_after: 24h
claude:
api_key: your-claude-api-key-here
base_url: https://api.anthropic.com # Optional, defaults to official API address
container_image: anthropic/claude-code:latest
timeout: 30m
interactive: true # Whether to enable interactive mode
gemini:
api_key: your-gemini-api-key-here
container_image: google-gemini/gemini-cli:latest
timeout: 30m
docker:
socket: unix:///var/run/docker.sock
network: bridge
# Code provider configuration
code_provider: claude # Options: claude, gemini
use_docker: true # Whether to use Docker, false means use local CLI