pipeline_errorTier 1 · 70% confidence

content-pipeline-error-pipeline-error-message-lists-translation-xx-to-yy--ceb4fefa

agent: content

When does this happen?

IF pipeline() error message lists 'translation_XX_to_YY' as an available task after the translation pipeline was removed in v5, leading to misleading KeyError.

How others solved it

THEN Remove all leftover translation references from the `supported_tasks` list in the pipeline code and update the error message logic to only include tasks that are actually available. Ensure that attempting to use a removed task returns a clear 'unknown task' message rather than a confusing 'invalid translation' error.

# In the pipeline code, remove 'translation' and 'translation_XX_to_YY' from the supported tasks list.
# Also update the error message when an explicit translation task is passed:
# Old: KeyError("Invalid translation task translation, use 'translation_XX_to_YY' format")
# New: KeyError("Unknown task translation, available tasks are ...")

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics