vatsrahul1001 commented on code in PR #74385:
URL: https://github.com/apache/airflow/pull/74385#discussion_r4203779110


##########
providers/common/ai/src/airflow/providers/common/ai/durable/caching_toolset.py:
##########
@@ -1,141 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-"""Caching toolset wrapper for durable execution."""
-
-from __future__ import annotations
-
-from dataclasses import dataclass, field
-from typing import TYPE_CHECKING, Any
-
-from pydantic_ai.toolsets.wrapper import WrapperToolset
-
-from airflow.providers.common.ai.durable.base import build_tool_step_key
-from airflow.providers.common.ai.durable.fingerprint import 
fingerprint_tool_call
-from airflow.providers.common.ai.utils.task_logger import get_task_logger
-from airflow.providers.common.ai.utils.tool_metrics import record_tool_call
-from airflow.providers.common.ai.utils.toolset_base import AirflowToolset
-
-if TYPE_CHECKING:
-    from pydantic_ai.toolsets.abstract import AbstractToolset, ToolsetTool
-
-    from airflow.providers.common.ai.durable.base import DurableStorageProtocol
-    from airflow.providers.common.ai.durable.replay_usage import 
ReplayUsageLedger
-    from airflow.providers.common.ai.durable.step_counter import 
DurableStepCounter
-
-log = get_task_logger()
-
-
-@dataclass
-class CachingToolset(WrapperToolset[Any]):

Review Comment:
   Deleting this leaves a dangling reference — 
scripts/in_container/run_provider_yaml_files_check.py still lists 
CachingToolset in INTERNAL_UNREGISTERED_TOOLSET_CLASSES. That line can go.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to