-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathcodex-codebuddy.example.toml
More file actions
24 lines (15 loc) · 942 Bytes
/
Copy pathcodex-codebuddy.example.toml
File metadata and controls
24 lines (15 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Example provider configuration for a running local gateway.
# Merge the required sections manually; client setup details are in docs/clients.md.
# Codex CLI configuration for ~/.codex/config.toml or a project config.
[model_providers.workbuddy]
name = "WorkBuddy (via local converter)"
base_url = "http://127.0.0.1:8787/v1"
wire_api = "responses" # Use the Responses protocol.
env_key = "CODEBUDDY2API_KEY" # Supply the gateway API key through this environment variable.
[profiles.workbuddy]
model = "glm-5.2" # Select any enabled gateway model.
model_provider = "workbuddy"
# Set CODEBUDDY2API_KEY, then run: codex --profile workbuddy "Your task".
# Chat clients use http://127.0.0.1:8787/v1 with an enabled gateway model.
# Anthropic clients use /v1/messages with a gateway model ID, not an Anthropic model alias.
# See docs/clients.md for Claude Code, CC Switch and prompt-adaptation settings.