mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
Fix: Initialize tasks with empty list
JSON.loads("") throws exception
This commit is contained in:
parent
dcca24b3c5
commit
70b62b52b9
@ -339,7 +339,7 @@
|
||||
" ),\n",
|
||||
" CreateBlock(\n",
|
||||
" label=\"tasks\",\n",
|
||||
" value=\"\",\n",
|
||||
" value=\"[]\",\n",
|
||||
" ),\n",
|
||||
" ],\n",
|
||||
" tool_ids=[push_task_tool.id, pop_task_tool.id],\n",
|
||||
|
Loading…
Reference in New Issue
Block a user