This commit is contained in:
cirroskais 2024-04-20 00:08:06 -04:00
parent 05f3b48f11
commit 18101ce2b3
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -3,7 +3,7 @@ import { type Interaction } from "@discordeno/bot";
import SlashCommand from "../lib/classes/SlashCommand"; import SlashCommand from "../lib/classes/SlashCommand";
import { Ollama } from "ollama"; import { Ollama } from "ollama";
const ollama = new Ollama({ host: "http://host.docker.internal:11434" }); const ollama = new Ollama({ host: "http://localhost:11434" });
export default class extends SlashCommand implements Command { export default class extends SlashCommand implements Command {
name = "ai"; name = "ai";