The GitHub Actions job "npm_and_yarn in /providers/common/ai/src/airflow/providers/common/ai/plugins/www, /ts-sdk for @hey-api/openapi-ts - Update #1447035825" on airflow.git/main has failed. Run started by GitHub user dependabot[bot] (triggered by dependabot[bot]).
Head commit for run: f87aa58e09d18710ef6db57d2f4661a28f6ba6e6 / Kaxil Naik <[email protected]> Migrate common.ai provider to pydantic-ai 2.x and remove the <2 cap (#69358) pydantic-ai 2.x removed the ``instrument`` keyword from the ``Agent()`` and ``Agent.from_file()`` constructors (it is now only the ``agent.instrument`` property), which broke ``PydanticAIHook.create_agent`` when a caller passed ``instrument``. Pop a caller-supplied ``instrument`` out of the constructor kwargs and apply it through the property instead, so the caller still wins over the provider's auto-instrumentation. - Bump the OTel GenAI semantic-convention format to version 5 (formats 2-4 are deprecated in 2.x and warn). Agent-run token usage now reports under ``gen_ai.aggregated_usage.*`` while model-request spans keep ``gen_ai.usage.*``; documented in observability.rst and asserted in the end-to-end span test. - Update ``Agent[None, ...]`` annotations to ``Agent[object, ...]`` to match the 2.x generic-deps default (object, not None). - Raise the floor to ``pydantic-ai-slim>=2.0.0`` and re-lock (slim + pydantic-graph 1.107.0 -> 2.1.0). Closes #69122 Report URL: https://github.com/apache/airflow/actions/runs/28683273802 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
