Skip to content

[TASK] Move LLM prompts to a separate config #439

Closed

Description

@edenreich

Summary

The system/customization prompts in config.yaml (agent system prompts, plan-mode prompt, remote prompt, system reminder text, git commit message prompt, conversation title prompt, init prompt, scm pr_create prompt) make up roughly 28% of the file (~135 of 474 lines) and are almost never edited. They should live in a dedicated <configDir>/prompts.yaml so the main config stays scannable.

Acceptance Criteria

  • There is a new config file under <configDir>/prompts.yaml
  • All multi-line LLM prompts are removed from the main config (agent.system_prompt, agent.system_prompt_plan, agent.system_prompt_remote, agent.custom_instructions, agent.system_reminders.reminder_text, git.commit_message.system_prompt, conversation.title_generation.system_prompt, init.prompt, scm.pr_create.prompt)
  • The code considers only the separate config (loading + userspace fallback, mirroring the mcp.yaml / keybindings.yaml pattern)
  • infer init seeds prompts.yaml from in-code defaults
  • prompts.yaml is added to tools.sandbox.protected_paths defaults
  • Documentation is adjusted (if applicable)
  • It's tested

Activity

  1. added
    refactor
    on Apr 26, 2026
  2. added theissue type on Apr 26, 2026
  3. moved this from Todo to In progress in 2026on Apr 26, 2026
  4. moved this from In progress to Done in 2026on Apr 26, 2026
  5. moved this from Done to No status in 2026on Apr 26, 2026
  6. inference-gateway-releaser commented on Apr 27, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.104.1 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

  7. moved this to Done in 2026on Apr 28, 2026
  8. self-assigned this
    on Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

refactorreleased

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions