mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix for issue where initial command fails (#7254)
This commit is contained in:
parent
ec763f8105
commit
e34a771e66
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user