This commit is contained in:
Mario Zechner 2025-09-03 00:01:32 +02:00
parent 66cefb236e
commit acf0f5aee2
3 changed files with 3 additions and 4 deletions

View file

@ -19,7 +19,6 @@ import type {
GenerateFunction,
GenerateOptions,
GenerateStream,
Message,
Model,
StopReason,
TextContent,

View file

@ -1,4 +1,4 @@
import { beforeAll, describe, expect, it } from "vitest";
import { describe, expect, it } from "vitest";
import { complete, stream } from "../src/generate.js";
import { getModel } from "../src/models.js";
import type { Api, Context, Model, OptionsForApi } from "../src/types.js";

View file

@ -36,7 +36,7 @@ const autocompleteProvider = new CombinedAutocompleteProvider([
{
name: "attach",
description: "Attach a file",
getArgumentCompletions: (prefix) => {
getArgumentCompletions: () => {
// Return file suggestions for attach command
return null; // Use default file completion
},
@ -95,7 +95,7 @@ chatHistory.addChild(
**Available slash commands:**
- \`/clear\` - Clear the chat history
- \`/help\` - Show help information
- \`/help\` - Show help information
- \`/attach <file>\` - Attach a file (with autocomplete)
**File autocomplete:**