feat: advanced prompt (#1330)

Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Gillian97 <jinling.sunshine@gmail.com>
This commit is contained in:
zxhlyh
2023-10-12 23:14:28 +08:00
committed by GitHub
parent 42a5b3ec17
commit 5b9858a8a3
131 changed files with 5944 additions and 451 deletions

View File

@@ -1,4 +1,5 @@
import type { ReactElement } from 'react'
import type { ModelModeType } from '@/types/app'
export type FormValue = Record<string, string>
@@ -77,6 +78,7 @@ export type BackendModel = {
model_name: string
model_display_name: string // not always exist
model_type: ModelType
model_mode: ModelModeType
model_provider: {
provider_name: ProviderEnum
provider_type: PreferredProviderTypeEnum