-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode-codex.yaml
More file actions
112 lines (106 loc) · 2.62 KB
/
Copy pathopencode-codex.yaml
File metadata and controls
112 lines (106 loc) · 2.62 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# OPENCODE + OPENAI-CODEX LIVE TEST
# Routes OpenCode (Responses API) to the ChatGPT Codex backend using the Codex CLI auth file.
# Credentials: auto-discovered from ~/.codex/auth.json (tokens.access_token / refresh_token / account_id).
# Override with OPENAI_CODEX_ACCESS_TOKEN env var or config.access_token if needed.
#
# Start: go run ./cmd/lipstd serve --config ./config/examples/opencode-codex.yaml
# Point OpenCode at: http://127.0.0.1:8080/v1 (Responses API, @ai-sdk/openai), model gpt-5.5
server:
address: "127.0.0.1:8080"
routing:
max_attempts: 3
default_route: "openai-codex:gpt-5.5"
continuity:
in_memory: true
store: memory
logging:
level: info
format: text
diagnostics:
enabled: true
health_path: "/healthz"
attempts_path: "/admin/attempts"
inventory_path: "/debug/inventory"
route_trace_path: "/debug/route_trace"
hooks:
tool_reactor_error_policy: fail_open
plugins:
frontends:
- id: openai-responses
enabled: true
config: {}
- id: openai-legacy
enabled: true
config: {}
- id: anthropic
enabled: true
config: {}
- id: gemini
enabled: true
config: {}
backends:
- id: openai-responses
enabled: false
config: {}
- id: openai-legacy
enabled: false
config: {}
- id: anthropic
enabled: false
config: {}
- id: gemini
enabled: false
config: {}
- id: bedrock
enabled: false
config: {}
- id: acp
enabled: false
config: {}
- id: openrouter
enabled: false
config: {}
- id: nvidia
enabled: false
config: {}
- id: opencode-go
enabled: false
config: {}
- id: opencode-zen
enabled: false
config: {}
- id: ollama
enabled: false
config: {}
- id: ollama-cloud
enabled: false
config: {}
- id: llamacpp
enabled: false
config: {}
- id: lmstudio
enabled: false
config: {}
- id: vllm
enabled: false
config: {}
- id: openai-codex
enabled: true
config:
# base_url defaults to https://chatgpt.com/backend-api/codex — leave unset for live ChatGPT.
# access_token left empty so the connector auto-discovers ~/.codex/auth.json.
# account_id is read from auth.json tokens.account_id; override here only if needed.
default_reasoning_effort: "medium"
features:
- id: submit-noop
enabled: true
config: {}
- id: parts-noop
enabled: true
config: {}
- id: tool-reactor-noop
enabled: true
config: {}
- id: codex-client-compat
enabled: true
config: {}