From dc5de1794eaf1eb804a82016dd91c3c1dca89ba5 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 12 May 2023 23:12:39 -0700 Subject: [PATCH] better --- aider/prompts.py | 7 ++++--- examples/README.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/aider/prompts.py b/aider/prompts.py index 3ba413880..2e14be39a 100644 --- a/aider/prompts.py +++ b/aider/prompts.py @@ -93,11 +93,12 @@ files_content_local_edits = "I made some changes to the files myself." repo_content_prefix = "These are the files in the git repo:\n\n" -files_content_prefix = "Here is the content of the files you are allowed to edit:\n\n" +files_content_prefix = ( + "These are the *ONLY* files you can propose changes to (ask if you need to see others):\n\n" +) files_content_suffix = ( - """Base any edits on the current contents of the files as shown in the user's last message. -If you need to edit other files, ask first!""" + """Base any edits on the current contents of the files as shown in the user's last message.""" ) diff --git a/examples/README.md b/examples/README.md index 468bd8c97..20d725074 100644 --- a/examples/README.md +++ b/examples/README.md @@ -6,6 +6,6 @@ Here are some example transcripts that show how you can chat with Aider to gener 2. [**Semantic Search & Replace**](semantic-search-replace.md): This example showcases Aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates. -3. [**2048 Game Modification**](2048-game.md): This example demonstrates how to explore and modify the open-source 2048 game codebase, including adding randomness to the scoring system. +3. [**2048 Game Modification**](2048-game.md): This example demonstrates how to explore and modify an open-source 2048 game codebase, including adding randomness to the scoring system. 4. [**Pong Game with Pygame**](pong.md): This example demonstrates how to create a simple Pong game using the Pygame library, with customizations for paddle size and color, and ball speed adjustments.