| 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 |
source & further reading
gist.github.com — original article
front-end-prompt.md
Build or refactor a SillyTavern Game Master / Storyteller / Dungeon Master character card for a tabletop RPG system.
Visualizing MNIST Training with Deep Neural Networks