chore: update openai prompt

Kujtim Hoxha created

Change summary

internal/llm/prompt/coder.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

internal/llm/prompt/coder.go 🔗

@@ -20,7 +20,8 @@ func CoderPrompt(p string, contextFiles ...string) string {
 	basePrompt = string(anthropicCoderPrompt)
 	switch p {
 	case string(catwalk.InferenceProviderOpenAI):
-		basePrompt = string(openaiCoderPrompt)
+		// seems to behave better
+		basePrompt = string(coderV2Prompt)
 	case string(catwalk.InferenceProviderGemini):
 		basePrompt = string(geminiCoderPrompt)
 	}