mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
chore: fix some typos in comments (#1013)
Signed-off-by: hugehope <cmm7@sina.cn>
This commit is contained in:
@@ -64,7 +64,7 @@ def parse_response(response) -> str:
|
|||||||
class CodeActAgent(Agent):
|
class CodeActAgent(Agent):
|
||||||
"""
|
"""
|
||||||
The Code Act Agent is a minimalist agent.
|
The Code Act Agent is a minimalist agent.
|
||||||
The agent works by passing the model a list of action-observaiton pairs and prompting the model to take the next step.
|
The agent works by passing the model a list of action-observation pairs and prompting the model to take the next step.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ The agent is given its previous action-observation pairs, current task, and hint
|
|||||||
## CodeAct Agent:
|
## CodeAct Agent:
|
||||||
|
|
||||||
### Description:
|
### Description:
|
||||||
The Code Act Agent is a minimalist agent. The agent works by passing the model a list of action-observaiton pairs and prompting the model to take the next step.
|
The Code Act Agent is a minimalist agent. The agent works by passing the model a list of action-observation pairs and prompting the model to take the next step.
|
||||||
|
|
||||||
### Actions:
|
### Actions:
|
||||||
`Action`,
|
`Action`,
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ We have refined the original SWE-bench evaluation pipeline to enhance its effici
|
|||||||
|
|
||||||
#init: number of instances where testbeds have been successfully initialized.
|
#init: number of instances where testbeds have been successfully initialized.
|
||||||
|
|
||||||
In the 3 Devin-failed instances (see below), Devin has made changes to the tests, which are incomptible with the provided test patch and causes failures during patch application. The evaluation adopted by Devin does not seem to align with the original SWE-bench evaluation.
|
In the 3 Devin-failed instances (see below), Devin has made changes to the tests, which are incompatible with the provided test patch and causes failures during patch application. The evaluation adopted by Devin does not seem to align with the original SWE-bench evaluation.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
django__django-11244
|
django__django-11244
|
||||||
|
|||||||
@@ -22,6 +22,6 @@ export interface ObservationMessage {
|
|||||||
// A friendly message that can be put in the chat log
|
// A friendly message that can be put in the chat log
|
||||||
message: string;
|
message: string;
|
||||||
|
|
||||||
// optional screenshoot
|
// optional screenshot
|
||||||
screenshot?: string;
|
screenshot?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user