mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-02-23 16:39:12 +08:00
feat: add claude and bard
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { DEFAULT_MODELS } from "../constant";
|
||||
|
||||
export interface LLMUsage {
|
||||
used: number;
|
||||
total: number;
|
||||
@@ -14,8 +12,6 @@ export interface LLMModel {
|
||||
export const ROLES = ["system", "user", "assistant"] as const;
|
||||
export type MessageRole = (typeof ROLES)[number];
|
||||
|
||||
export type ChatModel = (typeof DEFAULT_MODELS)[number]["name"];
|
||||
|
||||
export interface RequestMessage {
|
||||
role: MessageRole;
|
||||
content: string;
|
||||
|
||||
Reference in New Issue
Block a user