Fix for issue where initial command fails (#7254)

This commit is contained in:
tofarr 2025-03-14 14:49:57 -06:00 committed by GitHub
parent ec763f8105
commit e34a771e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{% if repository_info %}
<REPOSITORY_INFO>
At the user's request, repository {{ repository_info.repo_name }} has been cloned to directory {{ repository_info.repo_directory }}.
At the user's request, repository {{ repository_info.repo_name }} has been cloned to the current working directory {{ repository_info.repo_directory }}.
</REPOSITORY_INFO>
{% endif %}
{% if repository_instructions -%}

View File

@ -117,7 +117,7 @@ def test_prompt_manager_template_rendering(prompt_dir):
msg_content: str = initial_msg.content[0].text
assert '<REPOSITORY_INFO>' in msg_content
assert (
"At the user's request, repository owner/repo has been cloned to directory /workspace/repo."
"At the user's request, repository owner/repo has been cloned to the current working directory /workspace/repo."
in msg_content
)
assert '</REPOSITORY_INFO>' in msg_content