We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68fdead commit 88f5e79Copy full SHA for 88f5e79
1 file changed
ldai/client.py
@@ -344,10 +344,13 @@ def agents(
344
result: LDAIAgents = {}
345
346
for config in agent_configs:
347
+ # Ensure default_value is set (should be handled by __post_init__, but satisfy type checker)
348
+ default_value = config.default_value or LDAIAgentDefaults(enabled=False)
349
+
350
agent = self.__evaluate_agent(
351
config.key,
352
context,
- config.default_value,
353
+ default_value,
354
config.variables
355
)
356
result[config.key] = agent
0 commit comments