Skip to content

Commit b2fcf1b

Browse files
Adam BaloghAdam Balogh
authored andcommitted
fix
1 parent 852f988 commit b2fcf1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def convert_to_agent_msg(message: Message) -> Tuple[str, str]:
273273
if isinstance(message, UserMessage):
274274
return ("user", message.message)
275275
elif isinstance(message, AgentMessage):
276-
return ("assistant", json.dumps({"text": message.message, "pools": [pool.id for pool in message.pools]}))
276+
return ("assistant", json.dumps({"text": message.message, "solana_pools": [pool.id for pool in message.pools]}))
277277
else:
278278
raise TypeError(f"Unexpected message type: {type(message)}")
279279

0 commit comments

Comments
 (0)