@xuda.io/ai_module 1.1.5159 → 1.1.5160
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/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4649,7 +4649,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4649
4649
|
|
|
4650
4650
|
const render_suggestions = async function () {
|
|
4651
4651
|
for (const suggestion of prompt_suggestions) {
|
|
4652
|
-
emitToDashboard('stream_delta',
|
|
4652
|
+
emitToDashboard('stream_delta', `<button title="${suggestion.agent_description}" onclick="alert('Hello World!')">${suggestion.short_action}</button>`);
|
|
4653
4653
|
}
|
|
4654
4654
|
};
|
|
4655
4655
|
|