Kills the terminal command without releasing the terminal
While terminal/release will also kill the command, this method will keep
the TerminalId valid so it can be used with other methods.
This method can be helpful when implementing command timeouts which terminate
the command as soon as elapsed, and then get the final output so it can be sent
to the model.
Note: terminal/release when TerminalId is no longer needed.
Kills the terminal command without releasing the terminal
While
terminal/releasewill also kill the command, this method will keep theTerminalIdvalid so it can be used with other methods.This method can be helpful when implementing command timeouts which terminate the command as soon as elapsed, and then get the final output so it can be sent to the model.
Note:
terminal/releasewhenTerminalIdis no longer needed.See protocol docs: Terminals