@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
37 lines (30 loc) • 854 B
text/typescript
import {
DiscoverAssistantDetail,
DiscoverModelDetail,
DiscoverPluginDetail,
DiscoverProviderDetail,
} from '@lobechat/types';
import { DEFAULT_AGENT_CONFIG } from './settings';
const DEFAULT_CREATED_AT = new Date().toISOString();
export const DEFAULT_DISCOVER_ASSISTANT_ITEM: Partial<DiscoverAssistantDetail> = {
author: '',
config: DEFAULT_AGENT_CONFIG,
createdAt: DEFAULT_CREATED_AT,
homepage: '',
identifier: '',
};
export const DEFAULT_DISCOVER_PLUGIN_ITEM: Partial<DiscoverPluginDetail> = {
author: '',
createdAt: DEFAULT_CREATED_AT,
homepage: '',
identifier: '',
schemaVersion: 1,
};
export const DEFAULT_DISCOVER_MODEL_ITEM: Partial<DiscoverModelDetail> = {
identifier: '',
providers: [],
};
export const DEFAULT_DISCOVER_PROVIDER_ITEM: Partial<DiscoverProviderDetail> = {
identifier: '',
models: [],
};