mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
feat: add git repository status to platform information
This commit is contained in:
parent
4607d9a689
commit
0390f874a7
1 changed files with 4 additions and 1 deletions
|
@ -882,7 +882,10 @@ class Coder:
|
|||
platform_text += f"- Language: {user_lang}\n"
|
||||
|
||||
dt = datetime.now().astimezone().strftime("%Y-%m-%d")
|
||||
platform_text += f"- Current date: {dt}"
|
||||
platform_text += f"- Current date: {dt}\n"
|
||||
|
||||
if self.repo:
|
||||
platform_text += "- The user is operating inside a git repository\n"
|
||||
|
||||
prompt = prompt.format(
|
||||
fence=self.fence,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue