mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix typos (#1537)
This commit is contained in:
parent
3886c51217
commit
3cdff79173
@ -1,5 +1,5 @@
|
||||
# Task
|
||||
You are a brilliant mathematician and programmer. You've been given the follwoing problem to solve:
|
||||
You are a brilliant mathematician and programmer. You've been given the following problem to solve:
|
||||
|
||||
{{ state.plan.main_goal }}
|
||||
|
||||
|
||||
@ -133,7 +133,7 @@ class MonologueAgent(Agent):
|
||||
|
||||
def _initialize(self, task: str):
|
||||
"""
|
||||
Utilizes the INITIAL_THOUGHTS list to give the agent a context for it's capabilities
|
||||
Utilizes the INITIAL_THOUGHTS list to give the agent a context for its capabilities
|
||||
and how to navigate the WORKSPACE_MOUNT_PATH_IN_SANDBOX in `config` (e.g., /workspace by default).
|
||||
Short circuited to return when already initialized.
|
||||
Will execute again when called after reset.
|
||||
|
||||
@ -103,7 +103,7 @@ docker exec [CONTAINER ID] curl http://host.docker.internal:11434/api/generate -
|
||||
|
||||
## Fixing it
|
||||
|
||||
Now let's make it work, edit /etc/systemd/system/ollama.service with sudo priviledges. (Path may vary depending on linux flavor)
|
||||
Now let's make it work, edit /etc/systemd/system/ollama.service with sudo privileges. (Path may vary depending on linux flavor)
|
||||
|
||||
```bash
|
||||
sudo vi /etc/systemd/system/ollama.service
|
||||
|
||||
@ -5,7 +5,7 @@ sidebar_position: 5
|
||||
# 🚧 Troubleshooting
|
||||
|
||||
There are some error messages that get reported over and over by users.
|
||||
We'll try and make the install process easier, and to make these error messages
|
||||
We'll try to make the install process easier, and to make these error messages
|
||||
better in the future. But for now, you can look for your error message below,
|
||||
and see if there are any workaround.
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ export const saveSettings = (settings: Partial<Settings>) => {
|
||||
|
||||
/**
|
||||
* Get the difference between the current settings and the provided settings.
|
||||
* Useful for notifiying the user of exact changes.
|
||||
* Useful for notifying the user of exact changes.
|
||||
*
|
||||
* @example
|
||||
* // Assuming the current settings are: { LLM_MODEL: "gpt-3.5", AGENT: "MonologueAgent", LANGUAGE: "en" }
|
||||
|
||||
@ -51,7 +51,7 @@ edit() {
|
||||
_print
|
||||
echo "File updated. Please review the changes and make sure they are correct (correct indentation, no duplicate lines, etc). Edit the file again if necessary."
|
||||
else
|
||||
echo "Your proposed edit has introduced new syntax error(s). Please understand the fixes and retry your edit commmand."
|
||||
echo "Your proposed edit has introduced new syntax error(s). Please understand the fixes and retry your edit command."
|
||||
echo ""
|
||||
echo "ERRORS:"
|
||||
_split_string "$lint_output"
|
||||
|
||||
@ -83,7 +83,7 @@ edit() {
|
||||
|
||||
echo "File updated. Please review the changes and make sure they are correct (correct indentation, no duplicate lines, etc). Edit the file again if necessary."
|
||||
else
|
||||
echo "Your proposed edit has introduced new syntax error(s). Please understand the fixes and retry your edit commmand."
|
||||
echo "Your proposed edit has introduced new syntax error(s). Please understand the fixes and retry your edit command."
|
||||
echo ""
|
||||
echo "ERRORS:"
|
||||
_split_string "$lint_output"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user