66
77
88@dataclass (frozen = True )
9- class AITool :
9+ class LDTool :
1010 """
1111 A single tool entry from the root-level tools map in an AI Config flag variation.
1212 Distinct from model.parameters.tools[] which is the raw array passed to LLM providers.
@@ -230,7 +230,7 @@ class AICompletionConfigDefault(AIConfigDefault):
230230 """
231231 messages : Optional [List [LDMessage ]] = None
232232 judge_configuration : Optional [JudgeConfiguration ] = None
233- tools : Optional [Dict [str , 'AITool ' ]] = None
233+ tools : Optional [Dict [str , 'LDTool ' ]] = None
234234
235235 def to_dict (self ) -> dict :
236236 """
@@ -252,7 +252,7 @@ class AICompletionConfig(AIConfig):
252252 """
253253 messages : Optional [List [LDMessage ]] = None
254254 judge_configuration : Optional [JudgeConfiguration ] = None
255- tools : Optional [Dict [str , 'AITool ' ]] = None
255+ tools : Optional [Dict [str , 'LDTool ' ]] = None
256256
257257 def to_dict (self ) -> dict :
258258 """
@@ -278,7 +278,7 @@ class AIAgentConfigDefault(AIConfigDefault):
278278 """
279279 instructions : Optional [str ] = None
280280 judge_configuration : Optional [JudgeConfiguration ] = None
281- tools : Optional [Dict [str , 'AITool ' ]] = None
281+ tools : Optional [Dict [str , 'LDTool ' ]] = None
282282
283283 def to_dict (self ) -> Dict [str , Any ]:
284284 """
@@ -301,7 +301,7 @@ class AIAgentConfig(AIConfig):
301301 """
302302 instructions : Optional [str ] = None
303303 judge_configuration : Optional [JudgeConfiguration ] = None
304- tools : Optional [Dict [str , 'AITool ' ]] = None
304+ tools : Optional [Dict [str , 'LDTool ' ]] = None
305305
306306 def to_dict (self ) -> Dict [str , Any ]:
307307 """
0 commit comments