Delete Model Command (#150)

* Add: Delete Model Command

* Update: version increment

* Update: new command to tests
This commit is contained in:
Kevin Dang
2024-12-14 17:06:08 -08:00
committed by GitHub
parent fe1f7ce5ec
commit 6c7e48d369
9 changed files with 79 additions and 20 deletions

View File

@@ -1,12 +1,11 @@
import { ApplicationCommandOptionType, Client, CommandInteraction } from "discord.js";
import { SlashCommand } from "../utils/commands.js";
import { ollama } from "../client.js";
import { ModelResponse } from "ollama";
import { UserCommand } from "../utils/index.js";
import { ApplicationCommandOptionType, Client, CommandInteraction } from "discord.js"
import { ollama } from "../client.js"
import { ModelResponse } from "ollama"
import { UserCommand, SlashCommand } from "../utils/index.js"
export const PullModel: SlashCommand = {
name: 'pull-model',
description: 'pulls a model from the ollama model library. Administrator Only',
description: 'pulls a model from the ollama model library. Administrator Only.',
// set available user options to pass to the command
options: [