File tree Expand file tree Collapse file tree 5 files changed +4
-33
lines changed
sdk/ai/azure-ai-agentserver-core/azure Expand file tree Collapse file tree 5 files changed +4
-33
lines changed Original file line number Diff line number Diff line change 1+ __path__ = __import__ ("pkgutil" ).extend_path (__path__ , __name__ ) # type: ignore
Original file line number Diff line number Diff line change 1+ __path__ = __import__ ("pkgutil" ).extend_path (__path__ , __name__ ) # type: ignore
Original file line number Diff line number Diff line change 1+ __path__ = __import__ ("pkgutil" ).extend_path (__path__ , __name__ ) # type: ignore
Original file line number Diff line number Diff line change 55
66from ._version import VERSION
77from .logger import configure as config_logging
8- from .server import FoundryCBAgent
8+ from .server . base import FoundryCBAgent
99from .server .common .agent_run_context import AgentRunContext
1010
1111config_logging ()
1212
1313__all__ = ["FoundryCBAgent" , "AgentRunContext" ]
1414__version__ = VERSION
15-
16- # temporarily add build info here, remove it after public release
17- try :
18- from . import _buildinfo
19-
20- __commit__ = _buildinfo .commit
21- __build_time__ = _buildinfo .build_time
22- except Exception : # pragma: no cover
23- __commit__ = "unknown"
24- __build_time__ = "unknown"
Original file line number Diff line number Diff line change 11__path__ = __import__ ("pkgutil" ).extend_path (__path__ , __name__ )
2-
3- from typing import TYPE_CHECKING , Optional
4-
5- from .base import FoundryCBAgent
6-
7- if TYPE_CHECKING : # pragma: no cover
8- from .langgraph_models import LanggraphStateConverter
9-
10-
11- def from_agent_framework (agent ):
12- from .agent_framework import AgentFrameworkCBAgent
13-
14- return AgentFrameworkCBAgent (agent )
15-
16-
17- def from_langgraph (agent , state_converter : Optional ["LanggraphStateConverter" ] = None ):
18- from .langgraph import LangGraphAdapter
19-
20- return LangGraphAdapter (agent , state_converter = state_converter )
21-
22-
23- __all__ = ["FoundryCBAgent" , "from_agent_framework" , "from_langgraph" ]
You can’t perform that action at this time.
0 commit comments