π OpenHands: AI-Driven Development
Fix typos (#11162)
Christopher Pereirabb563d6dd16d
diff --git a/openhands/agenthub/codeact_agent/prompts/additional_info.j2 b/openhands/agenthub/codeact_agent/prompts/additional_info.j2index 5e70d3c7ac..5e0ec14ba0 100644--- a/openhands/agenthub/codeact_agent/prompts/additional_info.j2+++ b/openhands/agenthub/codeact_agent/prompts/additional_info.j2@@ -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 %}diff --git a/tests/unit/memory/test_memory.py b/tests/unit/memory/test_memory.pyindex 37b055bc47..5d0f7fcc28 100644--- a/tests/unit/memory/test_memory.py+++ b/tests/unit/memory/test_memory.py@@ -485,7 +485,7 @@ def test_custom_secrets_descriptions_serialization(prompt_dir):# Verify that the workspace context includes the custom_secrets_descriptionsassert '<CUSTOM_SECRETS>' in workspace_contextfor secret_name, secret_description in custom_secrets.items():- assert f'$**{secret_name}**' in workspace_context+ assert f'**${secret_name}**' in workspace_contextassert secret_description in workspace_contextassert '<CONVERSATION_INSTRUCTIONS>' in workspace_context