Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/praisonai/praisonai/agents_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,11 @@ def __init__(self, agent_file, framework, config_list, log_level=None, agent_cal
# Defer framework adapter creation until YAML is loaded
# This fixes the issue where empty framework string fails before YAML framework is read
self.framework_adapter = None

# Only autogen-family adapters need the autogen tool shim
# Note: autogen_v2 is also part of the autogen family
if framework and framework in {"autogen", "autogen_v2", "autogen_v4", "ag2"}:
self.tool_registry.register_builtin_autogen_adapters()
Comment thread
greptile-apps[bot] marked this conversation as resolved.

def _get_framework_adapter(self, framework: str) -> FrameworkAdapter:
"""
Expand Down
Loading
Loading