Native-node oletusmalli: qwen2.5-coder:3b

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jaakko Vanhala
2026-04-09 20:46:48 +03:00
parent 9983c80ef1
commit 1c7362c9b0

View File

@@ -9,7 +9,7 @@ pub struct LlmEngine {
impl LlmEngine { impl LlmEngine {
pub async fn load() -> Result<Self, String> { pub async fn load() -> Result<Self, String> {
let model = std::env::var("OLLAMA_MODEL").unwrap_or_else(|_| "qwen2.5-coder:7b-instruct-q4_K_M".to_string()); let model = std::env::var("OLLAMA_MODEL").unwrap_or_else(|_| "qwen2.5-coder:3b".to_string());
let client = reqwest::Client::builder() let client = reqwest::Client::builder()
.timeout(std::time::Duration::from_secs(600)) .timeout(std::time::Duration::from_secs(600))