Clean-up
This commit is contained in:
@@ -19,7 +19,6 @@ import type {
|
||||
GenerateFunction,
|
||||
GenerateOptions,
|
||||
GenerateStream,
|
||||
Message,
|
||||
Model,
|
||||
StopReason,
|
||||
TextContent,
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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:**
|
||||
|
||||
Reference in New Issue
Block a user