-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
49 lines (44 loc) · 1.04 KB
/
config.example.yaml
File metadata and controls
49 lines (44 loc) · 1.04 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
37
38
39
40
41
42
43
44
45
46
47
48
49
telegram:
token_env: TELEGRAM_BOT_TOKEN
allowed_user_ids: [123456789]
state:
db_path: ~/.tgcodex/tgcodex.sqlite3
codex:
bin: codex
args: []
model: null
sandbox: workspace-write
approval_policy: on-request # untrusted|on-request|on-failure|never
skip_git_repo_check: true
output:
flush_interval_ms: 250
min_flush_chars: 120
max_flush_delay_seconds: 2.0
max_chars: 3500
truncate: true
typing_interval_seconds: 4.0
show_codex_logs: false
show_tool_output: false
max_tool_output_chars: 1200
approvals:
prefix_tokens: 2
machines:
default: local
defs:
local:
type: local
default_workdir: /home/ubuntu/tgcodex
allowed_roots: [/home/ubuntu/tgcodex, /tmp]
# Example SSH machine
# buildbox:
# type: ssh
# host: example.com
# user: ubuntu
# port: 22
# default_workdir: /home/ubuntu
# allowed_roots: [/home/ubuntu]
# auth:
# use_agent: true
# key_path: null
# known_hosts: ~/.ssh/known_hosts
# connect_timeout_seconds: 10.0