Fix GPT-5.6 Luna in OpenCode - Plugin A developer created a plugin for OpenCode that modifies chat headers to fix compatibility with GPT-5.6 Luna. The plugin sets the originator to 'codex_cli_rs' and the User-Agent to 'codex_cli_rs/0.0.0 (OpenCode)' when the model provider is OpenAI. | import type { Plugin } from "@opencode-ai/plugin" | | | export default async = { | | | "chat.headers": async input, output = { | | | if input.model.providerID == "openai" return | | | output.headers.originator = "codex cli rs" | | | output.headers "User-Agent" = "codex cli rs/0.0.0 OpenCode " | | | }, | | | } satisfies Plugin |