fix(ai): preserve gui path for cli agents

This commit is contained in:
lucaronin
2026-05-02 01:08:09 +02:00
parent c23a3c1caf
commit 0b5149ba8d
7 changed files with 153 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ pub(crate) fn build_command(
request: &AgentStreamRequest,
) -> Result<std::process::Command, String> {
let mut command = crate::hidden_command(binary);
crate::cli_agent_runtime::configure_agent_command_environment(&mut command, binary);
command
.args(build_args())
.arg(build_prompt(request))