coderBaseSystemPrompt picks the coder-engine base prompt: the conversational GatewaySystemPrompt when answering through the messaging gateway, otherwise the standard CoderSystemPrompt. Both expose the same tools; only the voice differs.
(gatewayPersona bool)
| 128 | // the standard CoderSystemPrompt. Both expose the same tools; only the voice |
| 129 | // differs. |
| 130 | func coderBaseSystemPrompt(gatewayPersona bool) string { |
| 131 | if gatewayPersona { |
| 132 | return GatewaySystemPrompt |
| 133 | } |
| 134 | return CoderSystemPrompt |
| 135 | } |
| 136 | |
| 137 | // CoderFormatInstructions contains ONLY the format instructions for /coder mode |
| 138 | // (used when a persona is active - combined with persona + these instructions). |
no outgoing calls