mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
add delete notion page approval ui
This commit is contained in:
parent
4da6892416
commit
8e6fa2ee58
8 changed files with 666 additions and 341 deletions
|
|
@ -273,7 +273,10 @@ async def create_surfsense_deep_agent(
|
|||
system_prompt=system_prompt,
|
||||
context_schema=SurfSenseContextSchema,
|
||||
checkpointer=checkpointer,
|
||||
interrupt_on={"create_notion_page": True},
|
||||
interrupt_on={
|
||||
"create_notion_page": True,
|
||||
"delete_notion_page": {"allowed_decisions": ["approve", "reject"]},
|
||||
},
|
||||
)
|
||||
|
||||
return agent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue