-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Closed
Copy link
Labels
Description
Description
When using OpenAI 5.2, the agent persona/system prompt (and maybe the entire config?) is not being passed through correctly.
Plugins
none
OpenCode version
1.1.42
Steps to reproduce
- Try using opencode with 5.2 codex OpenAI oauth model
- Ask any agent "what agent are you"
- will always respond with "I'm opencode, your coding assistant"
- Repeat same steps with any other LLM model and you will get the correct identity answer.
- When using 5.2 codex model, all agents function as default opencode default build agent it seems.
Screenshot and/or share link
I created a 'test' agent to demonstrate.
Here, 5.2 oauth model is used and does not inject agent persona:
Here, 5.2 Zen API is used and it does pick up/inject agent persona:
Here, GLM 4.7 Zen API is used and correctly injects agent config as well:
Operating System
Ubuntu - WSL
Terminal
Wezterm
Reactions are currently unavailable