The GitHub Actions job "Tests (AMD)" on airflow.git/fix-common-ai-init has succeeded. Run started by GitHub user 1fanwang (triggered by 1fanwang).
Head commit for run: ed33ae19fe617f6e5cd1d33475ef69d4e0104767 / 1fanwang <[email protected]> Validate template fields after rendering in common.ai operators message_history (AgentOperator) and source_path/file_type (DocumentLoaderOperator) are template fields, rendered after __init__ runs. Both constructors validated them there, acting on the un-rendered Jinja expressions: AgentOperator rejected message_history + enable_hitl_review, and DocumentLoaderOperator enforced the source_path/source_bytes/file_type combination. Move those checks into execute(), which runs after rendering. Constructor-only checks that read no template field (durable/code_mode) stay in __init__. related: #70296 Signed-off-by: 1fanwang <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/30057612144 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
