verybot 0.1.9 → 0.1.12
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/brain/agent.js +6 -0
- package/package.json +1 -1
package/dist/brain/agent.js
CHANGED
|
@@ -808,6 +808,12 @@ export class Agent {
|
|
|
808
808
|
}
|
|
809
809
|
if (!runProvider.trim() || !runModelId.trim()) {
|
|
810
810
|
logger.warn(`[${this.sessionLabel(sessionKey)}] ${MODEL_NOT_CONFIGURED_REPLY}`);
|
|
811
|
+
emit("chat", {
|
|
812
|
+
sessionKey,
|
|
813
|
+
agentId: effectiveAgentId,
|
|
814
|
+
state: "final",
|
|
815
|
+
message: { role: "assistant", content: MODEL_NOT_CONFIGURED_REPLY },
|
|
816
|
+
});
|
|
811
817
|
return MODEL_NOT_CONFIGURED_REPLY;
|
|
812
818
|
}
|
|
813
819
|
const { normalizedText, imageDataUrls: inlineAttachmentImages } = await resolveInlineAttachmentContent(text);
|