| | |
| | | export enum Theme { |
| | | light = 'light', |
| | | dark = 'dark', |
| | | system = 'system', |
| | | } |
| | | |
| | | export enum ProviderType { |
| | |
| | | } |
| | | |
| | | export enum AppType { |
| | | chat = 'chat', |
| | | completion = 'completion', |
| | | 'chat' = 'chat', |
| | | 'completion' = 'completion', |
| | | } |
| | | |
| | | export enum ModelModeType { |
| | | chat = 'chat', |
| | | completion = 'completion', |
| | | unset = '', |
| | | 'chat' = 'chat', |
| | | 'completion' = 'completion', |
| | | 'unset' = '', |
| | | } |
| | | |
| | | export enum RETRIEVE_TYPE { |
| | |
| | | export type UserInputFormItem = { |
| | | 'text-input': TextTypeFormItem |
| | | } | { |
| | | select: SelectTypeFormItem |
| | | 'select': SelectTypeFormItem |
| | | } | { |
| | | paragraph: TextTypeFormItem |
| | | 'paragraph': TextTypeFormItem |
| | | } |
| | | |
| | | export type AgentTool = { |
| | |
| | | /** api site url */ |
| | | api_base_url: string |
| | | tags: Tag[] |
| | | workflow?: { |
| | | id: string |
| | | created_at: number |
| | | created_by?: string |
| | | updated_at: number |
| | | updated_by?: string |
| | | } |
| | | } |
| | | |
| | | export type AppSSO = { |