Refactor subagent and workflow domain models; migrate access tiers and events to domain module
- Moved `AccessTier` and `SubagentEvent` enums to `zesdex_domain::subagent`. - Consolidated workflow-related types into `zesdex_domain::workflow`. - Updated references across the codebase to use the new domain models. - Refactored tool execution logic to utilize a new `ToolExecutor` trait. - Enhanced `AgentTurnService` to handle tool calls and events more effectively. - Adjusted API handlers and state management to align with new domain structure.
This commit is contained in:
@@ -6,7 +6,7 @@ use tracing::{info, instrument};
|
||||
use crate::llm::provider::LlmClient;
|
||||
use crate::tools::ToolCtx;
|
||||
use crate::workflow::engine::primitives::execute_primitive;
|
||||
use crate::workflow::script::WorkflowScript;
|
||||
use zesdex_domain::workflow::WorkflowScript;
|
||||
|
||||
/// Execute each phase of a workflow script sequentially.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user