fix: update system message to include JS expertise for OpenAI API conflict resolution

This commit is contained in:
robertsLando 2025-08-28 14:59:32 +02:00
parent fd0e2f489e
commit f88b149a26
No known key found for this signature in database

View File

@ -101,7 +101,7 @@ def call_openai_api(prompt, api_key, model="gpt-3.5-turbo"):
"messages": [
{
"role": "system",
"content": "You are an expert C++ developer helping to resolve Git patch conflicts. Return only the corrected code section without explanations or markdown formatting. Preserve the exact number of lines and structure.",
"content": "You are an expert C++/JS developer helping to resolve Git patch conflicts. Return only the corrected code section without explanations or markdown formatting. Preserve the exact number of lines and structure.",
},
{"role": "user", "content": prompt},
],