Skip to content

Build and run agents you can see, understand and trust.

fix(docs): correct two typos in comments (#2836)

kbkb628177a9d564a3f
diff --git a/src/agentscope/agent/_agent.py b/src/agentscope/agent/_agent.py
index a9f65b675..4e63e6479 100644
--- a/src/agentscope/agent/_agent.py
+++ b/src/agentscope/agent/_agent.py
@@ -3570,7 +3570,7 @@ class Agent:
)
elif required and not satisfied:
- # Maybe the model needs futher reasoning-acting to
+ # Maybe the model needs further reasoning-acting to
# generate the structured output
tool_choice = None
suffix = (
diff --git a/src/agentscope/state/_state.py b/src/agentscope/state/_state.py
index 7b806effc..e827e52aa 100644
--- a/src/agentscope/state/_state.py
+++ b/src/agentscope/state/_state.py
@@ -221,7 +221,7 @@ class AgentState(BaseModel):
"""The uncompressed conversation context, which will be fed into the LLM"""
# =================================================================
- # For backword compatibility
+ # For backward compatibility
# =================================================================
@model_validator(mode="before")
@classmethod