Skip to content

Commit b2478df

Browse files
committed
fix: move config loading to agent repo
1 parent ee4e1e4 commit b2478df

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/uipath/_cli/cli_run.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -182,20 +182,6 @@ async def execute() -> None:
182182
lambda: read_resource_overwrites_from_file(ctx.runtime_dir)
183183
):
184184
with ctx:
185-
if getattr(ctx, "voice_mode", None) is not None:
186-
from pathlib import Path
187-
188-
from uipath_agents._cli.utils import (
189-
load_agent_configuration,
190-
)
191-
from uipath_agents.voice import handle_voice_job
192-
193-
agent_definition = load_agent_configuration(
194-
Path.cwd() / "agent.json"
195-
)
196-
await handle_voice_job(ctx, agent_definition)
197-
return
198-
199185
runtime: UiPathRuntimeProtocol | None = None
200186
chat_runtime: UiPathRuntimeProtocol | None = None
201187
factory: UiPathRuntimeFactoryProtocol | None = None

0 commit comments

Comments
 (0)