Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in files of autogpts/forge/forge/ folder #5978

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions autogpts/forge/forge/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ForgeAgent(Agent):
agent design.

There is a great paper surveying the agent landscape: https://arxiv.org/abs/2308.11432
Which I would highly recommend reading as it will help you understand the possabilities.
Which I would highly recommend reading as it will help you understand the possibilities.

Here is a summary of the key components of an agent:

Expand Down Expand Up @@ -96,7 +96,7 @@ async def create_task(self, task_request: TaskRequestBody) -> Task:

async def execute_step(self, task_id: str, step_request: StepRequestBody) -> Step:
"""
For a tutorial on how to add your own logic please see the offical tutorial series:
For a tutorial on how to add your own logic please see the official tutorial series:
https://aiedge.medium.com/autogpt-forge-e3de53cc58ec

The agent protocol, which is the core of the Forge, works by creating a task and then
Expand Down
4 changes: 2 additions & 2 deletions autogpts/forge/forge/sdk/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AgentException(Exception):
message: str

hint: Optional[str] = None
"""A hint which can be passed to the LLM to reduce reoccurrence of this error"""
"""A hint that can be given to the language model to lessen the frequency of this error."""

def __init__(self, message: str, *args):
self.message = message
Expand All @@ -37,7 +37,7 @@ class DuplicateOperationError(AgentException):


class CommandExecutionError(AgentException):
"""An error occured when trying to execute the command"""
"""An error occurred when trying to execute the command"""


class InvalidArgumentError(CommandExecutionError):
Expand Down
2 changes: 1 addition & 1 deletion autogpts/forge/forge/sdk/prompting.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PromptEngine:
def __init__(self, model):
pass

def load_prompt(model, prompt_name, prompt_ags) -> str:
def load_prompt(model, prompt_name, prompt_args) -> str:
pass
"""

Expand Down