Remove dead chat suggestions wiring (#5665)
This commit is contained in:
parent
469dbd6278
commit
bad5ff4e1e
1 changed files with 1 additions and 27 deletions
|
|
@ -9,7 +9,6 @@ import {
|
|||
ExportedMessageRepository,
|
||||
type ExportedMessageRepositoryItem,
|
||||
type PendingAttachment,
|
||||
Suggestions,
|
||||
type LocalRuntimeOptions,
|
||||
type ThreadHistoryAdapter,
|
||||
type ThreadMessage,
|
||||
|
|
@ -58,29 +57,6 @@ import {
|
|||
import { syncExportedRepositoryToDexie } from "./utils/delete-thread-message";
|
||||
import { getImageInputUnavailableReason } from "./utils/image-input-support";
|
||||
|
||||
const DEFAULT_SUGGESTIONS = [
|
||||
{
|
||||
title: "How do you fine-tune an audio model with Unsloth?",
|
||||
label: "Audio fine-tuning",
|
||||
prompt: "How do you fine-tune an audio model with Unsloth?",
|
||||
},
|
||||
{
|
||||
title: "Create a live weather dashboard in HTML using no API key. Show me the code",
|
||||
label: "Weather dashboard",
|
||||
prompt: "Create a live weather dashboard in HTML using no API key. Show me the code",
|
||||
},
|
||||
{
|
||||
title: "Solve the integral of x·sin(x), and verify it",
|
||||
label: "Integral",
|
||||
prompt: "Solve the integral of x·sin(x), and verify it step by step",
|
||||
},
|
||||
{
|
||||
title: "Draw an SVG of a cute sloth & show the code",
|
||||
label: "SVG sloth",
|
||||
prompt: "Draw an SVG of a cute sloth & show the code",
|
||||
},
|
||||
];
|
||||
|
||||
type TitleResponse = {
|
||||
choices?: Array<{
|
||||
message?: {
|
||||
|
|
@ -1034,9 +1010,7 @@ export function ChatRuntimeProvider({
|
|||
adapter: createDexieAdapter(modelType, pairId),
|
||||
});
|
||||
|
||||
const aui = useAui({
|
||||
suggestions: Suggestions(DEFAULT_SUGGESTIONS),
|
||||
});
|
||||
const aui = useAui({});
|
||||
|
||||
return (
|
||||
<AssistantRuntimeProvider runtime={runtime} aui={aui}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue