@oxecli/oxe 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine.js +5 -0
- package/package.json +1 -1
package/dist/engine.js
CHANGED
|
@@ -614,6 +614,11 @@ export class InferenceEngine {
|
|
|
614
614
|
if (this.interrupted) {
|
|
615
615
|
this.workActive = false;
|
|
616
616
|
this.workRows = 0;
|
|
617
|
+
if (!this.queryHasOutput) {
|
|
618
|
+
const fallback = "What else can I help with?";
|
|
619
|
+
process.stdout.write(aiMarkdown(fallback) + "\n\n");
|
|
620
|
+
story.push({ type: "assistant", text: fallback });
|
|
621
|
+
}
|
|
617
622
|
}
|
|
618
623
|
if (this.interrupted)
|
|
619
624
|
throw new Error("interrupt");
|