mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-07 03:00:27 +00:00
refactor(history): update tool call schema description
This commit is contained in:
parent
93861942ca
commit
ec4fd33fbe
1 changed files with 3 additions and 3 deletions
|
|
@ -14,16 +14,16 @@ class ReadHistory(BaseMemoryTool):
|
|||
super().__init__(**kwargs)
|
||||
|
||||
def _build_tool_call(self) -> ToolCall:
|
||||
"""Build and return the tool call schema for single history"""
|
||||
"""Build and return the tool call schema"""
|
||||
return ToolCall(
|
||||
**{
|
||||
"description": "Read a single original history dialogue by its ID.",
|
||||
"description": "Read original history dialogue.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"history_id": {
|
||||
"type": "string",
|
||||
"description": "The history ID to read",
|
||||
"description": "history_id",
|
||||
},
|
||||
},
|
||||
"required": ["history_id"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue