This commit is contained in:
Paul Gauthier 2025-03-22 18:38:10 -07:00
parent b2444b43a6
commit 502b8630a2
5 changed files with 1023 additions and 1007 deletions

View file

@ -17,7 +17,7 @@ If a file is not relevant DO NOT mention it.
Only return files that will need to be modified, not files that contain useful/relevant functions. Only return files that will need to be modified, not files that contain useful/relevant functions.
You are only to discuss EXISTING files and symbols. You are only to discuss EXISTING files and symbols.
Only return existing files, don't suggest the names of new files we will need to create. Only return existing files, don't suggest the names of new files or functions that we will need to create.
Always reply to the user in {language}. Always reply to the user in {language}.
@ -26,9 +26,9 @@ Return:
1. A bulleted list of files the will need to be edited, and symbols that are highly relevant to the user's request. 1. A bulleted list of files the will need to be edited, and symbols that are highly relevant to the user's request.
2. A list of classes/functions/methods/variables that are located OUTSIDE those files which will need to be understood. Just the symbols names, *NOT* file names. 2. A list of classes/functions/methods/variables that are located OUTSIDE those files which will need to be understood. Just the symbols names, *NOT* file names.
Here an example response, use this format: # Your response *MUST* use this format:
## Files to modify, with their relevant symbols: ## ALL files we need to modify, with their relevant symbols:
- alarms/buzz.py - alarms/buzz.py
- `Buzzer` class which can make the needed sound - `Buzzer` class which can make the needed sound

File diff suppressed because it is too large Load diff

View file

@ -162,6 +162,7 @@ cog.out("```\n")
use_repo_map: false use_repo_map: false
send_undo_reply: false send_undo_reply: false
lazy: false lazy: false
overeager: false
reminder: user reminder: user
examples_as_sys_msg: false examples_as_sys_msg: false
extra_params: null extra_params: null
@ -229,6 +230,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: anthropic/claude-3-5-haiku-20241022 weak_model_name: anthropic/claude-3-5-haiku-20241022
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -244,6 +246,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: anthropic/claude-3-5-haiku-20241022 weak_model_name: anthropic/claude-3-5-haiku-20241022
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -328,6 +331,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: bedrock/anthropic.claude-3-5-haiku-20241022-v1:0 weak_model_name: bedrock/anthropic.claude-3-5-haiku-20241022-v1:0
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -343,6 +347,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: bedrock/us.anthropic.claude-3-5-haiku-20241022-v1:0 weak_model_name: bedrock/us.anthropic.claude-3-5-haiku-20241022-v1:0
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -358,6 +363,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: bedrock_converse/anthropic.claude-3-5-haiku-20241022-v1:0 weak_model_name: bedrock_converse/anthropic.claude-3-5-haiku-20241022-v1:0
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -373,6 +379,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: bedrock_converse/us.anthropic.claude-3-5-haiku-20241022-v1:0 weak_model_name: bedrock_converse/us.anthropic.claude-3-5-haiku-20241022-v1:0
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -439,6 +446,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: claude-3-5-haiku-20241022 weak_model_name: claude-3-5-haiku-20241022
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -885,6 +893,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: openrouter/anthropic/claude-3-5-haiku weak_model_name: openrouter/anthropic/claude-3-5-haiku
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -900,6 +909,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: openrouter/anthropic/claude-3-5-haiku weak_model_name: openrouter/anthropic/claude-3-5-haiku
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
extra_headers: extra_headers:
@ -1058,6 +1068,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: vertex_ai/claude-3-5-haiku@20241022 weak_model_name: vertex_ai/claude-3-5-haiku@20241022
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
max_tokens: 64000 max_tokens: 64000
@ -1097,6 +1108,7 @@ cog.out("```\n")
edit_format: diff edit_format: diff
weak_model_name: vertex_ai/claude-3-5-haiku@20241022 weak_model_name: vertex_ai/claude-3-5-haiku@20241022
use_repo_map: true use_repo_map: true
overeager: true
examples_as_sys_msg: true examples_as_sys_msg: true
extra_params: extra_params:
max_tokens: 64000 max_tokens: 64000

View file

@ -264,10 +264,12 @@ tr:hover { background-color: #f5f5f5; }
</style> </style>
<table> <table>
<tr><th>Model Name</th><th class='right'>Total Tokens</th><th class='right'>Percent</th></tr> <tr><th>Model Name</th><th class='right'>Total Tokens</th><th class='right'>Percent</th></tr>
<tr><td>anthropic/claude-3-7-sonnet-20250219</td><td class='right'>3,069,752</td><td class='right'>99.0%</td></tr> <tr><td>fireworks_ai/accounts/fireworks/models/deepseek-v3</td><td class='right'>2,871,926</td><td class='right'>51.3%</td></tr>
<tr><td>openrouter/anthropic/claude-3.7-sonnet</td><td class='right'>11,761</td><td class='right'>0.4%</td></tr> <tr><td>anthropic/claude-3-7-sonnet-20250219</td><td class='right'>1,969,998</td><td class='right'>35.2%</td></tr>
<tr><td>openrouter/openai/o3-mini</td><td class='right'>11,138</td><td class='right'>0.4%</td></tr> <tr><td>fireworks_ai/accounts/fireworks/models/deepseek-r1</td><td class='right'>380,307</td><td class='right'>6.8%</td></tr>
<tr><td>o3-mini</td><td class='right'>8,491</td><td class='right'>0.3%</td></tr> <tr><td>gpt-4o</td><td class='right'>243,123</td><td class='right'>4.3%</td></tr>
<tr><td>claude-3-5-haiku-20241022</td><td class='right'>81,038</td><td class='right'>1.4%</td></tr>
<tr><td>o3-mini</td><td class='right'>48,351</td><td class='right'>0.9%</td></tr>
</table> </table>
<!--[[[end]]]--> <!--[[[end]]]-->

View file

@ -28,10 +28,12 @@ cog.out(get_help_md())
| **/clear** | Clear the chat history | | **/clear** | Clear the chat history |
| **/code** | Ask for changes to your code. If no prompt provided, switches to code mode. | | **/code** | Ask for changes to your code. If no prompt provided, switches to code mode. |
| **/commit** | Commit edits to the repo made outside the chat (commit message optional) | | **/commit** | Commit edits to the repo made outside the chat (commit message optional) |
| **/context** | Enter context mode to see surrounding code context. If no prompt provided, switches to context mode. |
| **/copy** | Copy the last assistant message to the clipboard | | **/copy** | Copy the last assistant message to the clipboard |
| **/copy-context** | Copy the current chat context as markdown, suitable to paste into a web UI | | **/copy-context** | Copy the current chat context as markdown, suitable to paste into a web UI |
| **/diff** | Display the diff of changes since the last message | | **/diff** | Display the diff of changes since the last message |
| **/drop** | Remove files from the chat session to free up context space | | **/drop** | Remove files from the chat session to free up context space |
| **/edit** | Alias for /editor: Open an editor to write a prompt |
| **/editor** | Open an editor to write a prompt | | **/editor** | Open an editor to write a prompt |
| **/editor-model** | Switch the Editor Model to a new LLM | | **/editor-model** | Switch the Editor Model to a new LLM |
| **/exit** | Exit the application | | **/exit** | Exit the application |