mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 23:04:41 +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,
|
GenerateFunction,
|
||||||
GenerateOptions,
|
GenerateOptions,
|
||||||
GenerateStream,
|
GenerateStream,
|
||||||
Message,
|
|
||||||
Model,
|
Model,
|
||||||
StopReason,
|
StopReason,
|
||||||
TextContent,
|
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 { complete, stream } from "../src/generate.js";
|
||||||
import { getModel } from "../src/models.js";
|
import { getModel } from "../src/models.js";
|
||||||
import type { Api, Context, Model, OptionsForApi } from "../src/types.js";
|
import type { Api, Context, Model, OptionsForApi } from "../src/types.js";
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ const autocompleteProvider = new CombinedAutocompleteProvider([
|
||||||
{
|
{
|
||||||
name: "attach",
|
name: "attach",
|
||||||
description: "Attach a file",
|
description: "Attach a file",
|
||||||
getArgumentCompletions: (prefix) => {
|
getArgumentCompletions: () => {
|
||||||
// Return file suggestions for attach command
|
// Return file suggestions for attach command
|
||||||
return null; // Use default file completion
|
return null; // Use default file completion
|
||||||
},
|
},
|
||||||
|
|
@ -95,7 +95,7 @@ chatHistory.addChild(
|
||||||
|
|
||||||
**Available slash commands:**
|
**Available slash commands:**
|
||||||
- \`/clear\` - Clear the chat history
|
- \`/clear\` - Clear the chat history
|
||||||
- \`/help\` - Show help information
|
- \`/help\` - Show help information
|
||||||
- \`/attach <file>\` - Attach a file (with autocomplete)
|
- \`/attach <file>\` - Attach a file (with autocomplete)
|
||||||
|
|
||||||
**File autocomplete:**
|
**File autocomplete:**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue