Эх сурвалжийг харах

chore: fix some typos in comments (#1013)

Signed-off-by: hugehope <cmm7@sina.cn>
hugehope 1 жил өмнө
parent
commit
9cd4ad3298

+ 1 - 1
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__(

+ 1 - 1
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`,

+ 1 - 1
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

+ 1 - 1
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;
 }