Finalize OpenAI Codex compatibility (#737)
- align Codex Responses provider with Pi static instructions - simplify Codex request/stream handling and cleanup exports - keep legacy OpenCode Codex prompt for testing until Pi prompt is allowlisted
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Static Pi instructions for OpenAI Codex.
|
||||
* This string is whitelisted by OpenAI and must not change.
|
||||
*/
|
||||
export const PI_STATIC_INSTRUCTIONS = `You are pi, an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files.
|
||||
|
||||
Pi specific Documentation:
|
||||
- Main documentation: pi-internal://README.md
|
||||
- Additional docs: pi-internal://docs
|
||||
- Examples: pi-internal://examples (extensions, custom tools, SDK)
|
||||
- When asked to create: custom models/providers (README.md), extensions (docs/extensions.md, examples/extensions/), themes (docs/theme.md), skills (docs/skills.md), TUI components (docs/tui.md - has copy-paste patterns)
|
||||
- Always read the doc, examples, AND follow .md cross-references before implementing
|
||||
`;
|
||||
Reference in New Issue
Block a user