mirror of
https://github.com/microsoft/autogen.git
synced 2025-06-26 22:30:10 +00:00
Move DSPy utilities from agentchat to autogen-ext package
Move _utils.py containing DSPy-specific utilities from autogen_agentchat.optimize to autogen_ext.optimize to avoid DSPy dependency in the core agentchat package. Update import in dspy.py backend accordingly. Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com>
This commit is contained in:
parent
4142e90445
commit
d1db7c85bf
@ -10,7 +10,7 @@ if TYPE_CHECKING:
|
||||
dspy = None
|
||||
|
||||
from autogen_agentchat.optimize._backend import BaseBackend
|
||||
from autogen_agentchat.optimize._utils import AutoGenLM, DSPyAgentWrapper
|
||||
from ._utils import AutoGenLM, DSPyAgentWrapper
|
||||
|
||||
|
||||
def _check_dspy_available() -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user