mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix for issue where initial command fails (#7254)
This commit is contained in:
@@ -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 -%}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user