fix(api): pass run_in_background parameter to memify function
The run_in_background parameter was defined in MemifyPayloadDTO but was never passed to the cognee_memify function call, making the parameter effectively unused. This fix passes the parameter so users can actually run memify operations in the background. Signed-off-by: Mike Potter <mpotter1@gmail.com>
This commit is contained in:
parent
508165e883
commit
73d84129de
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ def get_memify_router() -> APIRouter:
|
||||||
dataset=payload.dataset_id if payload.dataset_id else payload.dataset_name,
|
dataset=payload.dataset_id if payload.dataset_id else payload.dataset_name,
|
||||||
node_name=payload.node_name,
|
node_name=payload.node_name,
|
||||||
user=user,
|
user=user,
|
||||||
|
run_in_background=payload.run_in_background,
|
||||||
)
|
)
|
||||||
|
|
||||||
if isinstance(memify_run, PipelineRunErrored):
|
if isinstance(memify_run, PipelineRunErrored):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue