Skip to content

Commit 5fa8ffa

Browse files
committed
fixes #176
1 parent e91f9cb commit 5fa8ffa

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dialoghelper/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ async def load_dialog(
616616
dname:str='', # Target dialog; defaults to current dialog
617617
):
618618
"Run all code messages from `src_dname` into the target dialog's kernel and return dialog contents."
619-
return await call_endpa('load_dialog_', dname, src_dname=src_dname)
619+
return ToolResponse({'_full': await call_endpa('load_dialog_', dname, src_dname=src_dname)})
620620

621621
# %% ../nbs/00_core.ipynb #e393f14b
622622
async def rm_dialog(

nbs/00_core.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2264,7 +2264,7 @@
22642264
" dname:str='', # Target dialog; defaults to current dialog\n",
22652265
"):\n",
22662266
" \"Run all code messages from `src_dname` into the target dialog's kernel and return dialog contents.\"\n",
2267-
" return await call_endpa('load_dialog_', dname, src_dname=src_dname)"
2267+
" return ToolResponse({'_full': await call_endpa('load_dialog_', dname, src_dname=src_dname)})"
22682268
]
22692269
},
22702270
{

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
'ast-grep-cli',
2121
'ast-grep-py',
2222
'MonsterUI',
23-
'lisette>=0.0.48',
23+
'lisette>=0.1.3',
2424
'pillow',
2525
'toolslm>=0.3.30',
2626
'restrictedpython',

0 commit comments

Comments
 (0)