-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.toml.example
More file actions
38 lines (32 loc) · 1.22 KB
/
Copy pathconfig.toml.example
File metadata and controls
38 lines (32 loc) · 1.22 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
# IMPORTANT:
# Merge this provider block into the user-level Codex configuration:
# Windows: %USERPROFILE%\.codex\config.toml
# Do not place model_providers in this project's .codex/config.toml.
# Codex ignores project-level model provider definitions.
#
# The `init` command creates a single opencode_go_adapter provider
# for all projects. Each project carries its own CODEX_OPENCODE_PROJECT_ID
# in .codex-opencode-adapter.env for isolation at the adapter level.
[model_providers.opencode_go_adapter]
name = "OpenCode Go Adapter"
base_url = "http://127.0.0.1:4010/v1"
wire_api = "responses"
request_max_retries = 0
stream_max_retries = 0
stream_idle_timeout_ms = 360000
[model_providers.opencode_go_adapter.auth]
command = "codex-opencode-adapter"
args = ["auth", "print-local-token"]
timeout_ms = 5000
[agents.oss_mimo]
description = "OpenCode Go MiMo worker"
config_file = ".codex/agents/oss-mimo.toml"
[agents.oss_flash]
description = "Low-cost OpenCode Go Flash worker"
config_file = ".codex/agents/oss-flash.toml"
[agents.oss_minimax]
description = "OpenCode Go Minimax worker"
config_file = ".codex/agents/oss-minimax.toml"
[agents.oss_pro]
description = "OpenCode Go DeepSeek Pro worker"
config_file = ".codex/agents/oss-pro.toml"