Aleix Conchillo Flaqué
b03247f360
Rename BaseTask → BaseWorker and reserve "task" for asyncio
Replaces every "task" identifier that referred to the BaseTask
abstraction with "worker". Asyncio task plumbing (asyncio.Task,
BaseTaskManager, TaskManager, create_task, cancel_task, etc.) stays
untouched. Highlights:
- Classes: BaseTask → BaseWorker, PipelineTask → PipelineWorker,
LLMTask → LLMWorker, LLMContextTask → LLMContextWorker, TaskBus →
WorkerBus, TaskRegistry → WorkerRegistry, TaskActivationArgs →
WorkerActivationArgs, TaskReadyData → WorkerReadyData,
TaskRegistryEntry → WorkerRegistryEntry, TaskObserver →
WorkerObserver, all Bus*TaskMessage → Bus*WorkerMessage,
BusAddTaskMessage.task field → worker, BusWorkerRegistryMessage.tasks
field → workers.
- Methods/decorators: activate_task → activate_worker, deactivate_task
→ deactivate_worker, add_task → add_worker, watch_task →
watch_worker, @task_ready → @worker_ready, setup_pipeline_task hook
→ setup_pipeline_worker.
- Params/fields: FrameProcessorSetup.pipeline_task and
FunctionCallParams.pipeline_task → pipeline_worker. Parameter names
like task_name → worker_name; spawn/run accept worker:.
- Files: pipeline/base_task.py → base_worker.py, pipeline/task.py →
worker.py (plus a re-export shim at pipeline/task.py),
task_observer.py → worker_observer.py, task_ready_decorator.py →
worker_ready_decorator.py, pipecat.tasks → pipecat.workers,
llm_task.py → llm_worker.py, llm_context_task.py →
llm_context_worker.py, examples/multi-task → examples/multi-worker.
Back-compat:
- PipelineTask kept as a deprecated subclass of PipelineWorker that
warns on construction.
- pipecat.pipeline.task re-exports PipelineWorker/PipelineTask/etc. so
existing user imports keep working.
- FrameProcessor.pipeline_task kept as a deprecated property that
forwards to pipeline_worker.
Local variables in examples that hold a worker (task = PipelineTask(...))
are renamed to worker = PipelineWorker(...). Asyncio-task locals
(runner_task, etc.) are preserved.
2026-05-21 19:07:13 -07:00
..
2026-03-20 16:37:53 -03:00
2026-03-09 12:07:56 -04:00
2025-01-20 17:41:21 -08:00
2026-05-20 10:03:26 -03:00
2026-01-30 10:07:34 -08:00
2026-03-10 14:54:49 +01:00
2026-01-26 09:56:36 +01:00
2026-05-21 19:07:13 -07:00
2026-05-08 09:33:06 -04:00
2026-05-21 19:07:13 -07:00
2026-05-04 15:40:06 -04:00
2026-05-21 19:07:13 -07:00
2026-05-21 19:07:13 -07:00
2026-05-21 10:13:21 -07:00
2026-05-21 19:07:13 -07:00
2026-05-18 12:35:01 -04:00
2026-05-20 10:03:26 -03:00
2026-05-07 17:47:41 -07:00
2026-04-14 11:48:50 -04:00
2026-01-30 10:07:34 -08:00
2026-03-26 09:20:58 -04:00
2026-04-16 09:28:23 -07:00
2026-01-30 10:07:34 -08:00
2026-05-07 21:00:26 +00:00
2026-05-20 08:59:01 -04:00
2026-03-28 00:01:25 -04:00
2026-02-09 14:12:33 -05:00
2026-05-21 10:13:21 -07:00
2026-04-16 09:28:23 -07:00
2026-04-10 10:27:28 -04:00
2026-03-24 17:30:35 -04:00
2026-01-07 19:32:22 -08:00
2026-04-09 13:41:01 -07:00
2026-05-13 11:17:31 +03:00
2026-01-30 21:07:49 -05:00
2026-05-21 19:07:13 -07:00
2026-04-30 14:16:54 -04:00
2026-04-30 14:16:54 -04:00
2026-04-30 14:16:54 -04:00
2026-04-30 14:16:54 -04:00
2026-03-29 10:27:48 -04:00
2026-01-20 09:16:16 -05:00
2026-03-03 20:08:22 -05:00
2026-04-11 14:29:05 -04:00
2026-01-30 10:07:34 -08:00
2026-05-21 19:07:13 -07:00
2026-05-21 19:07:13 -07:00
2026-01-30 10:07:34 -08:00
2026-05-21 10:13:21 -07:00
2026-04-10 17:37:49 -07:00
2026-04-10 17:37:49 -07:00
2026-05-12 10:34:50 -04:00
2026-05-12 13:55:19 -04:00
2026-03-30 22:26:31 -04:00
2026-04-02 10:28:01 -04:00
2026-05-21 10:13:21 -07:00
2026-05-21 19:07:13 -07:00
2026-05-21 19:07:13 -07:00
2026-03-09 12:07:45 -03:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-05-21 19:07:13 -07:00
2026-05-21 19:07:13 -07:00
2026-05-06 09:40:13 -04:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-01-30 10:07:34 -08:00
2026-03-31 16:05:53 -04:00
2026-05-06 11:29:19 -04:00
2026-04-10 17:37:49 -07:00
2026-05-04 16:42:05 -04:00
2026-05-20 08:57:48 -04:00
2026-02-03 16:42:13 +08:00
2026-05-21 19:07:13 -07:00
2026-04-10 17:37:49 -07:00
2026-05-21 19:07:13 -07:00
2026-03-07 07:42:42 -05:00
2026-04-16 09:28:23 -07:00
2026-03-25 22:53:04 -04:00
2026-05-12 17:48:53 -04:00
2026-02-26 08:55:41 -05:00
2026-02-26 08:55:41 -05:00
2026-05-18 12:35:01 -04:00
2026-05-21 19:07:13 -07:00
2026-03-19 09:43:51 -04:00
2026-02-11 23:27:35 -05:00
2026-05-20 10:03:26 -03:00
2026-05-21 19:07:13 -07:00
2026-01-07 19:32:22 -08:00
2026-03-02 19:23:42 -05:00
2026-02-14 09:54:30 -05:00
2026-01-30 10:07:34 -08:00
2026-05-07 17:47:41 -07:00
2026-05-07 17:46:09 -07:00
2026-02-09 14:12:33 -05:00
2026-01-30 10:07:34 -08:00
2026-04-20 11:55:09 -04:00
2026-01-30 10:07:34 -08:00
2026-02-02 14:27:49 +08:00
2026-04-16 09:28:23 -07:00
2026-04-16 09:28:23 -07:00
2026-05-21 19:07:13 -07:00
2026-04-10 17:37:50 -07:00
2026-05-21 19:07:13 -07:00
2026-05-20 14:45:29 -04:00
2026-01-07 19:32:22 -08:00
2026-05-20 10:03:26 -03:00
2026-05-20 10:03:26 -03:00
2026-04-21 15:48:26 -04:00