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()
|
db.commit()
|
||||||
|
|
||||||
return response
|
return json.dumps(response)
|
||||||
finally:
|
finally:
|
||||||
db.close()
|
db.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user