Skip to content

Commit f7e52ee

Browse files
fix memory tool bug
1 parent 446fbd6 commit f7e52ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "solana-agent"
3-
version = "30.0.3"
3+
version = "30.0.4"
44
description = "AI Agents for Solana"
55
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
66
license = "MIT"

solana_agent/services/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ async def generate_response(
260260
# Compose the prompt for generate_text
261261
full_prompt = ""
262262
if memory_context:
263-
full_prompt += f"CONVERSATION HISTORY:\n{memory_context}\n\n"
263+
full_prompt += f"CONVERSATION HISTORY:\n{memory_context}\n\n Always use your tools to perform actions and don't rely on your memory!\n\n"
264264
if prompt:
265265
full_prompt += f"ADDITIONAL PROMPT:\n{prompt}\n\n"
266266
full_prompt += user_content

0 commit comments

Comments
 (0)