260322:1648 Correct Coresspondence / Doing RFA / Correct CI
This commit is contained in:
@@ -2,9 +2,9 @@ const fs = require('fs');
|
||||
let lines = fs.readFileSync('n8n.workflow.json', 'utf8').split('\n');
|
||||
|
||||
const toRemove = [];
|
||||
for(let i = 0; i < lines.length; i++) {
|
||||
if (lines[i].startsWith(" // Ollama Settings\\n OLLAMA_HOST:")) toRemove.push(i);
|
||||
if (lines[i].startsWith("const model = isFallback ? config.OLLAMA_MODEL_FALLBACK")) toRemove.push(i);
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
if (lines[i].startsWith(' // Ollama Settings\\n OLLAMA_HOST:')) toRemove.push(i);
|
||||
if (lines[i].startsWith('const model = isFallback ? config.OLLAMA_MODEL_FALLBACK')) toRemove.push(i);
|
||||
if (lines[i].startsWith(" response_to: String(meta.response_to || '').trim() || null,\\n")) toRemove.push(i);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user