Skip to content

Commit

Permalink
refactor: add missing field in ModelConfig type
Browse files Browse the repository at this point in the history
  • Loading branch information
perzeuss committed Apr 26, 2024
1 parent 0458270 commit 05ce05a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/types/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { AnnotationReplyConfig, ChatPromptConfig, CompletionPromptConfig, D
import type { CollectionType } from '@/app/components/tools/types'
import type { LanguagesSupported } from '@/i18n/language'
import type { Tag } from '@/app/components/base/tag-management/constant'
import type { ExternalDataTool } from '@/models/common'

export enum ProviderType {
openai = 'openai',
Expand Down Expand Up @@ -147,6 +148,7 @@ export type ModelConfig = {
completion_prompt_config: CompletionPromptConfig | {}
user_input_form: UserInputFormItem[]
dataset_query_variable?: string
external_data_tools?: ExternalDataTool[]
more_like_this: {
enabled: boolean
}
Expand Down

0 comments on commit 05ce05a

Please sign in to comment.