-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodex.txt
More file actions
executable file
·32 lines (27 loc) · 902 Bytes
/
Copy pathcodex.txt
File metadata and controls
executable file
·32 lines (27 loc) · 902 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
25
26
27
28
29
30
31
32
# codex.config.toml
# Set default profile for all codex CLI sessions
profile = "gpt-4o"
# Top-level model (fallback only)
model = "gpt-4o"
approval_policy = "on-failure"
disable_response_storage = false
# Declare OpenAI Chat Completions provider (used by all profiles below)
[model_providers.openai-chat-completions]
name = "OpenAI via Chat Completions API"
base_url = "https://api.openai.com/v1"
env_key = "OPENAI_API_KEY"
wire_api = "chat"
# GPT-4o (Best for reasoning, code, and dev workflows)
[profiles.gpt-4o]
model = "gpt-4o"
model_provider = "openai-chat-completions"
approval_policy = "on-failure"
model_reasoning_effort = "high"
model_reasoning_summary = "detailed"
disable_response_storage = false
# GPT-3.5 Turbo (fallback or fast-mode)
[profiles.gpt-3.5]
model = "gpt-3.5-turbo"
model_provider = "openai-chat-completions"
approval_policy = "on-failure"
disable_response_storage = true