-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathagent-debugger.config.example.yaml
More file actions
48 lines (43 loc) · 1.29 KB
/
agent-debugger.config.example.yaml
File metadata and controls
48 lines (43 loc) · 1.29 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
# agent-debugger config example
# Copy this file to agent-debugger.config.yaml and fill in your real credentials
adapters:
langfuse:
# Langfuse Cloud: https://cloud.langfuse.com
# Self-hosted: fill in your private deployment URL
base_url: https://cloud.langfuse.com
secret_key: ${LANGFUSE_SECRET_KEY}
public_key: ${LANGFUSE_PUBLIC_KEY}
# Only extract these fields into Evidence to prevent token explosion
span_field_allowlist:
- input
- output
- metadata.error
- level
- statusMessage
- latency
db:
type: postgres
connection_string: ${DATABASE_URL}
# Only allow SELECT from these tables, reject all others
allowed_tables:
- orders
- tasks
- users
- payments
redis:
url: ${REDIS_URL}
# Only allow access to keys matching these prefixes
key_prefix_allowlist:
- "idempotency:"
- "task:idempotent:"
- "order:view:"
- "task:view:"
- "session:"
runbooks:
# Built-in runbooks (included by default, no need to configure)
# - ./runbooks/request_not_effective.yaml
# - ./runbooks/cache_stale.yaml
# - ./runbooks/state_abnormal.yaml
# Append your team's custom runbooks here
# - ./team-runbooks/order_task_missing.yaml
# - ./team-runbooks/payment_not_settled.yaml