fix: prevent pipeline freezes when sending endframe (#77)

* fix: dont cancel task if call is already ending

* Update pipecat
This commit is contained in:
Abhishek 2025-12-10 08:22:37 +07:00 committed by GitHub
parent 0a8ce3f644
commit 909c258b6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 44 additions and 20 deletions

View file

@ -136,9 +136,7 @@ def apply_workflow_run_filters(
)
# Use -> operator with literal text key to get call_tags as JSONB
call_tags = gathered_context_jsonb.op("->")("call_tags")
filter_conditions.append(
call_tags.op("@>")(func.cast(tags, JSONB))
)
filter_conditions.append(call_tags.op("@>")(func.cast(tags, JSONB)))
elif filter_type == "text" and field == "initial_context.phone":
# Filter by phone number (contains search)