mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
feat: Add overeager prompt to aider/coders/ask_prompts.py
This commit is contained in:
committed by
Paul Gauthier (aider)
parent
ec3470cc69
commit
37d6ebdf76
@@ -9,6 +9,12 @@ Answer questions about the supplied code.
|
||||
Always reply to the user in {language}.
|
||||
|
||||
If you need to describe code changes, do so *briefly*.
|
||||
"""
|
||||
|
||||
overeager_prompt = """Do not return fully detailed code or full diffs.
|
||||
Describe the needed changes or give a plan.
|
||||
Providing code snippets or pseudo-code is fine,
|
||||
if it helps explain the plan or the needed changes.
|
||||
"""
|
||||
|
||||
example_messages = []
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
{"event": "auto_commits", "properties": {"enabled": true}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "exit", "properties": {"reason": "Unknown edit format"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "model warning", "properties": {"main_model": "None", "weak_model": "None", "editor_model": "None"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "no-repo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "auto_commits", "properties": {"enabled": true}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "exit", "properties": {"reason": "Unknown edit format"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "model warning", "properties": {"main_model": "None", "weak_model": "None", "editor_model": "None"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
{"event": "no-repo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1754753447}
|
||||
@@ -998,3 +991,10 @@
|
||||
{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772028290}
|
||||
{"event": "message_send", "properties": {"main_model": "gpt-5.2", "weak_model": "gemini/gemini-2.5-flash-lite", "editor_model": "gpt-5.2", "edit_format": "diff", "prompt_tokens": 19232, "completion_tokens": 250, "total_tokens": 19482, "cost": 0.037156, "total_cost": 0.037156}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772028310}
|
||||
{"event": "exit", "properties": {"reason": "Completed main CLI coder.run"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772028317}
|
||||
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772117287}
|
||||
{"event": "repo", "properties": {"num_files": 636}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772117288}
|
||||
{"event": "auto_commits", "properties": {"enabled": true}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772117288}
|
||||
{"event": "cli session", "properties": {"main_model": "gpt-5.2", "weak_model": "gemini/gemini-2.5-flash-lite", "editor_model": "gpt-5.2", "edit_format": "diff"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772117288}
|
||||
{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772117368}
|
||||
{"event": "message_send", "properties": {"main_model": "gpt-5.2", "weak_model": "gemini/gemini-2.5-flash-lite", "editor_model": "gpt-5.2", "edit_format": "diff", "prompt_tokens": 19567, "completion_tokens": 132, "total_tokens": 19699, "cost": 0.036090250000000004, "total_cost": 0.036090250000000004}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772117379}
|
||||
{"event": "exit", "properties": {"reason": "Completed main CLI coder.run"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1772120316}
|
||||
|
||||
@@ -264,12 +264,12 @@ tr:hover { background-color: #f5f5f5; }
|
||||
</style>
|
||||
<table>
|
||||
<tr><th>Model Name</th><th class='right'>Total Tokens</th><th class='right'>Percent</th></tr>
|
||||
<tr><td>openai/gpt-5.2</td><td class='right'>982,120</td><td class='right'>53.1%</td></tr>
|
||||
<tr><td>gemini/gemini-3-flash-preview</td><td class='right'>241,516</td><td class='right'>13.1%</td></tr>
|
||||
<tr><td>gemini/gemini-2.5-pro</td><td class='right'>222,047</td><td class='right'>12.0%</td></tr>
|
||||
<tr><td>gpt-5</td><td class='right'>209,977</td><td class='right'>11.4%</td></tr>
|
||||
<tr><td>openai/gpt-5.2</td><td class='right'>982,120</td><td class='right'>52.6%</td></tr>
|
||||
<tr><td>gemini/gemini-3-flash-preview</td><td class='right'>241,516</td><td class='right'>12.9%</td></tr>
|
||||
<tr><td>gemini/gemini-2.5-pro</td><td class='right'>222,047</td><td class='right'>11.9%</td></tr>
|
||||
<tr><td>gpt-5</td><td class='right'>209,977</td><td class='right'>11.2%</td></tr>
|
||||
<tr><td>gemini/gemini-3-pro-preview</td><td class='right'>81,851</td><td class='right'>4.4%</td></tr>
|
||||
<tr><td>gpt-5.2</td><td class='right'>46,909</td><td class='right'>2.5%</td></tr>
|
||||
<tr><td>gpt-5.2</td><td class='right'>66,608</td><td class='right'>3.6%</td></tr>
|
||||
<tr><td>o3-pro</td><td class='right'>36,620</td><td class='right'>2.0%</td></tr>
|
||||
<tr><td>gemini/gemini-2.5-flash-lite</td><td class='right'>15,470</td><td class='right'>0.8%</td></tr>
|
||||
<tr><td>gemini/gemini-2.5-flash-lite-preview-06-17</td><td class='right'>11,371</td><td class='right'>0.6%</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user