-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Config Values Being Double-Quoted for Codex CLI Provider #6515
Copy link
Copy link
Closed
Description
Config Values Being Double-Quoted 🐛
The user also reported this warning in logs:
WARN goose::providers::codex: Invalid CODEX_REASONING_EFFORT '"medium"', using 'high'
Note the double quotes around medium - the value is being stored/read as "medium" instead of medium.
The user confirmed:
goose configshowsCODEX_REASONING_EFFORT: medium(correct)- But the provider receives
"medium"(with quotes)
This is likely the root cause of the exit code 1 error - if CODEX_COMMAND is also being double-quoted, the path would be invalid.
Additional Issue: Can't Edit Config After First Save
User also noted:
"I can't seem to edit the reasoning effort beyond the first time"
This suggests a UI/config persistence bug where updates aren't being saved properly.
Questions for @fgs
- Can you check what
CODEX_COMMANDshows in your config? Is it also double-quoted? - Can you try setting the config via CLI instead of the UI?
goose configure
- What does your
~/.config/goose/config.yamlshow for any CODEX_* keys?
Root Cause Hypothesis
The config upsert flow from the Desktop UI may be double-serializing string values:
- Frontend sends JSON:
{"value": "medium"} - Server receives
serde_json::Value::String("medium") - When serializing to YAML, it may be writing
"medium"(quoted) instead ofmedium - When reading back, the quotes become part of the string value
This would affect all string config values set via the Desktop UI, not just Codex.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels