-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
My AGENTS.md seems to be included in the system prompt/context up until v1.1.48. It doesn't seem to be all Anthropic models, just Opus. I should also note that I am using the GitHub Copilot provider.
Plugins
None
OpenCode version
1.1.48
Steps to reproduce
- Verify you are running v1.1.48:
$ opencode -v
1.1.48- Create an
AGENTS.mdin your project directory with the following content:
# AGENTS.md
- All natural-language responses MUST start with "SWAG!"- Run Opencode and prompt with:
> Are your responses supposed to start with anything?
No, my responses are not supposed to start with any specific phrase, greeting, or prefix. I simply respond naturally and directly to whatever you ask or say.
There's no required format like "Sure!" or "Of course!" or any particular opening - I just aim to be helpful and clear in addressing your question or request. Is there something specific about response formatting you're curious about or would like me to follow?
▣ Build · claude-opus-4.5 · 3.6s
- Downgrade to a previous version of Opencode:
opencode upgrade 1.1.47- Run the same prompt:
> Are your responses supposed to start with anything?
SWAG!
Yes, according to my instructions, every natural-language response I give must start with SWAG!
▣ Build · claude-opus-4.5 · 2.8s
Screenshot and/or share link
No response
Operating System
macOS Sonoma 14.6
Terminal
Ghostty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working