Fix: Serialize response to JSON in add_memories MCP tool (#3523)
This commit is contained in:
@@ -133,7 +133,7 @@ async def add_memories(text: str) -> str:
|
||||
|
||||
db.commit()
|
||||
|
||||
return response
|
||||
return json.dumps(response)
|
||||
finally:
|
||||
db.close()
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user