You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1160,7 +1160,7 @@ When user asks for something, generate creative, compact p5.js code that creates
1160
1160
options: {
1161
1161
temperature: 0.7,
1162
1162
top_p: 0.9,
1163
-
max_tokens: 1200,
1163
+
num_predict: 1200,
1164
1164
stop: ['<|im_end|>']
1165
1165
}
1166
1166
})
@@ -1214,7 +1214,7 @@ When user asks for something, generate creative, compact p5.js code that creates
1214
1214
}catch(error){
1215
1215
console.error('Ollama generation error:',error);
1216
1216
if(error.name==='AbortError'){
1217
-
thrownewError('Ollama generation timeout (>30s). The model may be too slow or overloaded. Try using a smaller model or check system resources.');
1217
+
thrownewError('Ollama generation timeout (>3 minutes). The model may be too slow or overloaded. Try using a smaller model or check system resources.');
thrownewError('Content generation timeout (>1 minute). The model may be too slow or overloaded. Try using a smaller/faster model like llama3.2:3b or check system resources.');
1444
+
thrownewError('Content generation timeout (>3 minutes). The model may be too slow or overloaded. Try using a smaller/faster model like llama3.2:3b or check system resources.');
0 commit comments