소스 검색

fix: no attribbute identity

Yeuoly 9 달 전
부모
커밋
06412b37d3
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      api/core/tools/utils/configuration.py

+ 0 - 2
api/core/tools/utils/configuration.py

@@ -221,8 +221,6 @@ class ToolParameterConfigurationManager:
 
         return a deep copy of parameters with decrypted values
         """
-        if self.tool_runtime is None or self.tool_runtime.identity is None:
-            raise ValueError("tool_runtime is required")
 
         cache = ToolParameterCache(
             tenant_id=self.tenant_id,