Skip to content

Commit e3a151d

Browse files
authored
Merge pull request #240 from dapr/cyb3rward0g/new-workflowapp
[WIP] Removed Several Abstractions and Enabled Lighter Durable Agents and Orchestrators
2 parents d9243b8 + 8da9e5e commit e3a151d

File tree

103 files changed

+11849
-9023
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+11849
-9023
lines changed

dapr_agents/__init__.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from dapr_agents.agents.agent import Agent
2-
from dapr_agents.agents.durableagent import DurableAgent
1+
from dapr_agents.agents.standalone import Agent
2+
from dapr_agents.agents.durable import DurableAgent
33
from dapr_agents.executors import DockerCodeExecutor, LocalCodeExecutor
44
from dapr_agents.llm.dapr import DaprChatClient
55
from dapr_agents.llm.elevenlabs import ElevenLabsSpeechClient
@@ -11,12 +11,10 @@
1111
OpenAIEmbeddingClient,
1212
)
1313
from dapr_agents.tool import AgentTool, tool
14-
from dapr_agents.workflow import (
15-
AgenticWorkflow,
14+
from dapr_agents.agents.orchestrators import (
1615
LLMOrchestrator,
1716
RandomOrchestrator,
1817
RoundRobinOrchestrator,
19-
WorkflowApp,
2018
)
2119

2220
__all__ = [
@@ -38,5 +36,4 @@
3836
"LLMOrchestrator",
3937
"RandomOrchestrator",
4038
"RoundRobinOrchestrator",
41-
"WorkflowApp",
4239
]

dapr_agents/agents/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from .agent.agent import Agent
21
from .base import AgentBase
3-
from .durableagent.agent import DurableAgent
2+
from .standalone import Agent
3+
from .durable import DurableAgent
44

55
__all__ = ["AgentBase", "Agent", "DurableAgent"]

dapr_agents/agents/agent/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

dapr_agents/agents/agent/agent.py

Lines changed: 0 additions & 269 deletions
This file was deleted.

0 commit comments

Comments
 (0)