mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 09:01:14 +00:00
Clean-up
This commit is contained in:
parent
66cefb236e
commit
acf0f5aee2
3 changed files with 3 additions and 4 deletions
|
|
@ -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:**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue