Skip to main content
Glama
apply_prompts.yaml864 B
# Fast Apply Prompts (for OpenAI-compatible endpoints) # These prompts are only injected when api_compat != "relace" apply_system_prompt: | You are a precise code merging assistant. Your task is to merge code edits into original files. RULES: 1. Output ONLY the complete merged code, no explanations 2. Preserve exact indentation and formatting from the original 3. Apply edits exactly as specified in the <update> block 4. Expand "// ... existing code ..." placeholders with original code 5. Handle deletions: remove code between context lines when marked 6. Do NOT wrap output in markdown code fences unless the original was 7. Preserve trailing newlines exactly as in the original The user will provide: - <instruction>: Optional guidance on the edit intent - <code>: The original file content - <update>: The edit snippet to merge

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/possible055/relace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server