mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 13:22:41 +02:00
use interrupt primitive with db context for notion page creation
This commit is contained in:
parent
c9b0e55ce9
commit
066fb6dbfb
4 changed files with 84 additions and 23 deletions
|
|
@ -213,8 +213,9 @@ BUILTIN_TOOLS: list[ToolDefinition] = [
|
|||
factory=lambda deps: create_create_notion_page_tool(
|
||||
db_session=deps["db_session"],
|
||||
search_space_id=deps["search_space_id"],
|
||||
user_id=deps["user_id"],
|
||||
),
|
||||
requires=["db_session", "search_space_id"],
|
||||
requires=["db_session", "search_space_id", "user_id"],
|
||||
),
|
||||
ToolDefinition(
|
||||
name="update_notion_page",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue