mirror of https://github.com/aliasrobotics/cai.git
generic_linux_command fix for CAI_STREAM=true
This commit is contained in:
parent
baa4be58c1
commit
41610dbbdd
|
|
@ -99,10 +99,11 @@ def generic_linux_command(command: str = "",
|
|||
if stream and not call_id:
|
||||
call_id = str(uuid.uuid4())[:8]
|
||||
|
||||
# Run the command with the appropriate parameters
|
||||
# Run the command with the appropriate parameters - pass the actual tool name!
|
||||
result = run_command(full_command, ctf=ctf,
|
||||
async_mode=async_mode, session_id=session_id,
|
||||
timeout=timeout, stream=stream, call_id=call_id)
|
||||
timeout=timeout, stream=stream, call_id=call_id,
|
||||
tool_name="generic_linux_command")
|
||||
|
||||
# For better output formatting, if we're in streaming mode, we can modify the output
|
||||
# to include any additional information needed while still preventing the duplicate panel
|
||||
|
|
|
|||
Loading…
Reference in New Issue