allow openai to render as cmd for now

This commit is contained in:
sawka 2023-05-04 01:01:38 -07:00
parent 5e5a31715a
commit f9925c9187

View File

@ -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>;