mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-10 19:58:00 +01:00
allow openai to render as cmd for now
This commit is contained in:
parent
5e5a31715a
commit
f9925c9187
@ -565,7 +565,7 @@ class Line extends React.Component<{screen : LineContainerModel, line : LineType
|
||||
if (line.linetype == "text") {
|
||||
return <LineText {...this.props}/>;
|
||||
}
|
||||
if (line.linetype == "cmd") {
|
||||
if (line.linetype == "cmd" || line.linetype == "openai") {
|
||||
return <LineCmd {...this.props}/>;
|
||||
}
|
||||
return <div className="line line-invalid">[invalid line type '{line.linetype}']</div>;
|
||||
|
Loading…
Reference in New Issue
Block a user