- Die Anfrage wird an mistral.ai übertragen und unterliegt deren
- Datenschutzrichtlinien.
- Eine typische Anfrage kostet mich $0.0008.
+ Ihre Anfrage wird an mistral.ai übertragen und unterliegt deren
+ Datenschutzrichtlinien
@@ -228,6 +227,54 @@ document.addEventListener('DOMContentLoaded', () => {
}
};
+ // Helper function to format workflow suggestions as proper lists
+ function formatWorkflowSuggestion(text) {
+ // Check if text contains numbered list items (1., 2., 3., etc.)
+ const numberedListPattern = /(\d+\.\s)/g;
+
+ if (numberedListPattern.test(text)) {
+ // Split by numbered items and clean up
+ const items = text.split(/\d+\.\s/).filter(item => item.trim().length > 0);
+
+ if (items.length > 1) {
+ const listItems = items.map(item =>
+ `