Skip to main content

Code Generation

For code assistants:

  • Send generation requests through /v1/chat/completions.
  • Scan repository snippets/retrieved docs through /v1/rag/scan before including them in prompts.

This reduces risk of instruction override and malicious context poisoning in generated output workflows.