Tofuist malli qwen2.5-coder:7b, hub-reititys laajennettu

- Tofuist-agentin model vaihdettu qwen-coder → qwen2.5-coder:7b
- Hub: qwen2.5-coder:* matchaa nyt qwen-coder*-solmuille ja päinvastoin

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 10:31:53 +03:00
parent 1a58324689
commit 44c8a189b6
2 changed files with 3 additions and 3 deletions

View File

@@ -1059,8 +1059,8 @@ async fn api_chat_completions(
let busy = state.node_busy.lock().unwrap();
let node_types = state.node_types.lock().unwrap();
let matching: Vec<u64> = tasks.iter().filter(|(_, task)| {
if payload.model == "qwen-coder" {
task.starts_with("qwen-coder")
if payload.model == "qwen-coder" || payload.model.starts_with("qwen2.5-coder") {
task.starts_with("qwen-coder") || task.starts_with("qwen2.5-coder")
} else {
**task == payload.model
}