From 9cd4ad32987b25be8949f6193e43d576d2c5084b Mon Sep 17 00:00:00 2001 From: hugehope <166521727+hugehope@users.noreply.github.com> Date: Fri, 12 Apr 2024 05:21:46 +0800 Subject: [PATCH] chore: fix some typos in comments (#1013) Signed-off-by: hugehope --- agenthub/codeact_agent/codeact_agent.py | 2 +- docs/documentation/Agents.md | 2 +- evaluation/README.md | 2 +- frontend/src/types/Message.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/agenthub/codeact_agent/codeact_agent.py b/agenthub/codeact_agent/codeact_agent.py index 17b8aadb25..96ab692988 100644 --- a/agenthub/codeact_agent/codeact_agent.py +++ b/agenthub/codeact_agent/codeact_agent.py @@ -64,7 +64,7 @@ def parse_response(response) -> str: class CodeActAgent(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__( diff --git a/docs/documentation/Agents.md b/docs/documentation/Agents.md index 8b8a89bad8..e0ed60fd15 100644 --- a/docs/documentation/Agents.md +++ b/docs/documentation/Agents.md @@ -76,7 +76,7 @@ The agent is given its previous action-observation pairs, current task, and hint ## CodeAct Agent: ### 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: `Action`, diff --git a/evaluation/README.md b/evaluation/README.md index 5c015dfa13..7393c9bf7b 100644 --- a/evaluation/README.md +++ b/evaluation/README.md @@ -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. -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 django__django-11244 diff --git a/frontend/src/types/Message.tsx b/frontend/src/types/Message.tsx index a7397e0528..cdcd971518 100644 --- a/frontend/src/types/Message.tsx +++ b/frontend/src/types/Message.tsx @@ -22,6 +22,6 @@ export interface ObservationMessage { // A friendly message that can be put in the chat log message: string; - // optional screenshoot + // optional screenshot screenshot?: string; }