π OpenHands: AI-Driven Development
fix typos (#2267)
RainRat3b0e1361a414
diff --git a/Development.md b/Development.mdindex c30fd629d5..57b7c7b781 100644--- a/Development.md+++ b/Development.md@@ -98,5 +98,5 @@ Please refer to [this README](./tests/integration/README.md) for details.### 9. Add or update dependency-1. Add your dependency in `pyproject.toml` or use `peotry add xxx`+1. Add your dependency in `pyproject.toml` or use `poetry add xxx`2. Update the poetry.lock file via `poetry lock --no-update`diff --git a/agenthub/browsing_agent/prompt.py b/agenthub/browsing_agent/prompt.pyindex 5c62b67204..0a40d97c76 100644--- a/agenthub/browsing_agent/prompt.py+++ b/agenthub/browsing_agent/prompt.py@@ -161,7 +161,7 @@ class Truncater(Shrinkable):def __init__(self, visible, shrink_speed=0.3, start_truncate_iteration=10):super().__init__(visible=visible)- self.shrink_speed = shrink_speed # the percentage shrinked in each iteration+ self.shrink_speed = shrink_speed # the percentage shrunk in each iterationself.start_truncate_iteration = (start_truncate_iteration # the iteration to start truncating)diff --git a/agenthub/micro/study_repo_for_task/prompt.md b/agenthub/micro/study_repo_for_task/prompt.mdindex 3199181d1d..37bc699f52 100644--- a/agenthub/micro/study_repo_for_task/prompt.md+++ b/agenthub/micro/study_repo_for_task/prompt.md@@ -20,7 +20,7 @@ Do NOT finish until you have a complete understanding of which parts of thecodebase are relevant to the project, including particular files, functions, and classes.When you're done, put your summary in `outputs.summary` in the `finish` action.Remember, your task is to explore and study the current repository, not actually-implement the solution. If the codebase is empty, you shoud call the `finish` action.+implement the solution. If the codebase is empty, you should call the `finish` action.## History{{ instructions.history_truncated }}diff --git a/tests/integration/mock/DelegatorAgent/test_edits/prompt_001.log b/tests/integration/mock/DelegatorAgent/test_edits/prompt_001.logindex 375a73b70a..9eef05af7f 100644--- a/tests/integration/mock/DelegatorAgent/test_edits/prompt_001.log+++ b/tests/integration/mock/DelegatorAgent/test_edits/prompt_001.log@@ -34,7 +34,7 @@ Do NOT finish until you have a complete understanding of which parts of thecodebase are relevant to the project, including particular files, functions, and classes.When you're done, put your summary in `outputs.summary` in the `finish` action.Remember, your task is to explore and study the current repository, not actually-implement the solution. If the codebase is empty, you shoud call the `finish` action.+implement the solution. If the codebase is empty, you should call the `finish` action.## HistoryHere is a recent history of actions you've taken in service of this plan,diff --git a/tests/integration/mock/DelegatorAgent/test_edits/prompt_002.log b/tests/integration/mock/DelegatorAgent/test_edits/prompt_002.logindex cffca888f1..41f568d174 100644--- a/tests/integration/mock/DelegatorAgent/test_edits/prompt_002.log+++ b/tests/integration/mock/DelegatorAgent/test_edits/prompt_002.log@@ -34,7 +34,7 @@ Do NOT finish until you have a complete understanding of which parts of thecodebase are relevant to the project, including particular files, functions, and classes.When you're done, put your summary in `outputs.summary` in the `finish` action.Remember, your task is to explore and study the current repository, not actually-implement the solution. If the codebase is empty, you shoud call the `finish` action.+implement the solution. If the codebase is empty, you should call the `finish` action.## HistoryHere is a recent history of actions you've taken in service of this plan,diff --git a/tests/integration/mock/DelegatorAgent/test_edits/prompt_003.log b/tests/integration/mock/DelegatorAgent/test_edits/prompt_003.logindex a58dd072b8..3900020edd 100644--- a/tests/integration/mock/DelegatorAgent/test_edits/prompt_003.log+++ b/tests/integration/mock/DelegatorAgent/test_edits/prompt_003.log@@ -34,7 +34,7 @@ Do NOT finish until you have a complete understanding of which parts of thecodebase are relevant to the project, including particular files, functions, and classes.When you're done, put your summary in `outputs.summary` in the `finish` action.Remember, your task is to explore and study the current repository, not actually-implement the solution. If the codebase is empty, you shoud call the `finish` action.+implement the solution. If the codebase is empty, you should call the `finish` action.## HistoryHere is a recent history of actions you've taken in service of this plan,diff --git a/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_001.log b/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_001.logindex 14c93cc8fd..40d5b6cfcb 100644--- a/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_001.log+++ b/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_001.log@@ -34,7 +34,7 @@ Do NOT finish until you have a complete understanding of which parts of thecodebase are relevant to the project, including particular files, functions, and classes.When you're done, put your summary in `outputs.summary` in the `finish` action.Remember, your task is to explore and study the current repository, not actually-implement the solution. If the codebase is empty, you shoud call the `finish` action.+implement the solution. If the codebase is empty, you should call the `finish` action.## HistoryHere is a recent history of actions you've taken in service of this plan,diff --git a/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_002.log b/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_002.logindex f113fdb048..c2900529bf 100644--- a/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_002.log+++ b/tests/integration/mock/DelegatorAgent/test_write_simple_script/prompt_002.log@@ -34,7 +34,7 @@ Do NOT finish until you have a complete understanding of which parts of thecodebase are relevant to the project, including particular files, functions, and classes.When you're done, put your summary in `outputs.summary` in the `finish` action.Remember, your task is to explore and study the current repository, not actually-implement the solution. If the codebase is empty, you shoud call the `finish` action.+implement the solution. If the codebase is empty, you should call the `finish` action.## HistoryHere is a recent history of actions you've taken in service of this plan,