mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-28 18:43:53 +08:00
feat: add prompt for assistant
This commit is contained in:
@ -1,16 +1,7 @@
|
||||
import { create } from "zustand";
|
||||
import { assistantList } from ".";
|
||||
import { Id, User, UserRole } from "../types";
|
||||
|
||||
export const assistantList: User[] = [
|
||||
{
|
||||
id: "assistant-dba",
|
||||
name: "ChatDBA",
|
||||
description: "🤖️ I am a chatbot that can help you with database administration.",
|
||||
avatar: "",
|
||||
role: UserRole.Assistant,
|
||||
},
|
||||
];
|
||||
|
||||
const localUser: User = {
|
||||
id: "local-user",
|
||||
name: "Local user",
|
||||
@ -20,7 +11,6 @@ const localUser: User = {
|
||||
};
|
||||
|
||||
interface UserState {
|
||||
// We can think assistants are special users.
|
||||
assistantList: User[];
|
||||
currentUser: User;
|
||||
getAssistantById: (id: string) => User | undefined;
|
||||
|
Reference in New Issue
Block a user