The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(toolsets): use typing.Any instead of builtin any in get_distribution return type
ms-alan0aa08a835ebf
diff --git a/toolset_distributions.py b/toolset_distributions.pyindex 6f3ef71ddf9..d9e6baae1f4 100644--- a/toolset_distributions.py+++ b/toolset_distributions.py@@ -6,7 +6,7 @@ A distribution maps toolset names to the % chance each is enabled for a promptbe a "+"-grouped compound ("browser+search") that rolls once for all members."""-from typing import Dict, List, Optional+from typing import Any, Dict, List, Optionalimport randomfrom toolsets import validate_toolset@@ -46,7 +46,7 @@ DISTRIBUTIONS = {}-def get_distribution(name: str) -> Optional[Dict[str, any]]:+def get_distribution(name: str) -> Optional[Dict[str, Any]]:"""Distribution definition (description + toolsets), or None if unknown."""return DISTRIBUTIONS.get(name)