Merge pull request #1145 from pcamp/main

Correct description of map-refresh command.
This commit is contained in:
paul-gauthier 2024-08-21 06:35:44 -07:00 committed by GitHub
commit 5b3cb48cd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1046,7 +1046,7 @@ class Commands:
self.io.tool_output("No repository map available.")
def cmd_map_refresh(self, args):
"Force a refresh of the repository map and print it out"
"Force a refresh of the repository map"
repo_map = self.coder.get_repo_map(force_refresh=True)
if repo_map:
self.io.tool_output("The repo map has been refreshed, use /map to view it.")

View file

@ -29,7 +29,7 @@ cog.out(get_help_md())
| **/lint** | Lint and fix provided files or in-chat files if none provided |
| **/ls** | List all known files and indicate which are included in the chat session |
| **/map** | Print out the current repository map |
| **/map-refresh** | Force a refresh of the repository map and print it out |
| **/map-refresh** | Force a refresh of the repository map |
| **/model** | Switch to a new LLM |
| **/models** | Search the list of available models |
| **/quit** | Exit the application |