fix match index

This commit is contained in:
2026-01-12 18:18:29 +03:00
parent 8d1265396c
commit 62cab41b5b
+1 -1
View File
@@ -29,7 +29,7 @@ export class OllamaSearch extends ChatCommand {
parse_mode: "Markdown"
});
const results = await ollama.webSearch({query: match?.[1]});
const results = await ollama.webSearch({query: match?.[2]});
console.log("results", results);
let message = "Результаты:\n\n";