mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix typos (#11162)
This commit is contained in:
committed by
GitHub
parent
d991b9880d
commit
bb563d6dd1
@@ -3,9 +3,9 @@
|
||||
At the user's request, repository {{ repository_info.repo_name }} has been cloned to {{ repository_info.repo_directory }} in the current working directory.
|
||||
{% if repository_info.branch_name %}The repository has been checked out to branch "{{ repository_info.branch_name }}".
|
||||
|
||||
IMPORTANT: You should work within the current branch "{{ repository_info.branch_name }}" unless
|
||||
IMPORTANT: You should work within the current branch "{{ repository_info.branch_name }}" unless:
|
||||
1. the user explicitly instructs otherwise
|
||||
2. if the current branch is "main", "master", or another default branch where direct pushes may be unsafe
|
||||
2. the current branch is "main", "master", or another default branch where direct pushes may be unsafe
|
||||
{% endif %}
|
||||
</REPOSITORY_INFO>
|
||||
{% endif %}
|
||||
@@ -35,9 +35,9 @@ For example, if you are using vite.config.js, you should set server.host and ser
|
||||
{% endif %}
|
||||
{% if runtime_info.custom_secrets_descriptions %}
|
||||
<CUSTOM_SECRETS>
|
||||
You are have access to the following environment variables
|
||||
You have access to the following environment variables
|
||||
{% for secret_name, secret_description in runtime_info.custom_secrets_descriptions.items() %}
|
||||
* $**{{ secret_name }}**: {{ secret_description }}
|
||||
* **${{ secret_name }}**: {{ secret_description }}
|
||||
{% endfor %}
|
||||
</CUSTOM_SECRETS>
|
||||
{% endif %}
|
||||
|
||||
@@ -485,7 +485,7 @@ def test_custom_secrets_descriptions_serialization(prompt_dir):
|
||||
# Verify that the workspace context includes the custom_secrets_descriptions
|
||||
assert '<CUSTOM_SECRETS>' in workspace_context
|
||||
for secret_name, secret_description in custom_secrets.items():
|
||||
assert f'$**{secret_name}**' in workspace_context
|
||||
assert f'**${secret_name}**' in workspace_context
|
||||
assert secret_description in workspace_context
|
||||
|
||||
assert '<CONVERSATION_INSTRUCTIONS>' in workspace_context
|
||||
|
||||
Reference in New Issue
Block a user