Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix: repair agent-facing prompt template text defects (#2513)
陈志谦16e0f579352e
diff --git a/src/agentscope/middleware/_longterm_memory/_agentic_memory/_middleware.py b/src/agentscope/middleware/_longterm_memory/_agentic_memory/_middleware.pyindex 135ff463f..e3af35a85 100644--- a/src/agentscope/middleware/_longterm_memory/_agentic_memory/_middleware.py+++ b/src/agentscope/middleware/_longterm_memory/_agentic_memory/_middleware.py@@ -324,13 +324,13 @@ information that will be useful in future conversations.When looking for past context:1. Search topic files in your memory directory:```-Grep with pattern="<search>" path="{memory_dir}" glob="*.md"</search>+Grep with pattern="<search>" path="{memory_dir}" glob="*.md"# or Bash command:grep -rn "<search term>" {memory_dir} --include="*.md"```Use narrow search terms (error messages, file paths, function names) rather \than broad keywords.-""" # noqa:+"""DEFAULT_RETRIEVAL_INSTRUCTIONS = ("You are selecting memory files that will be useful as context for "diff --git a/src/agentscope/pipeline/_goal_pipeline.py b/src/agentscope/pipeline/_goal_pipeline.pyindex f29c3e1fc..63c7278f4 100644--- a/src/agentscope/pipeline/_goal_pipeline.py+++ b/src/agentscope/pipeline/_goal_pipeline.py@@ -36,7 +36,7 @@ class _VerificationResult(BaseModel):result: Literal["pass", "fail", "impossible"] = Field(description=(- "The verfication result, which can be 'pass', 'fail', or "+ "The verification result, which can be 'pass', 'fail', or ""'impossible'. 'impossible' means the given goal is impossible to ""achieve, and the executor should stop trying."),diff --git a/src/agentscope/workspace/_utils.py b/src/agentscope/workspace/_utils.pyindex 8dc45dafc..52de302dc 100644--- a/src/agentscope/workspace/_utils.py+++ b/src/agentscope/workspace/_utils.py@@ -74,6 +74,7 @@ personal environment, but treat credentials as if they could leak.project:```shelluv venv && uv pip install ...+```- Never install packages into a shared or global environment — each project \must manage its own dependencies to avoid conflicts.</workspace>"""