mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 19:06:51 +08:00
fix(web): complete some ts type (#1148)
This commit is contained in:
@@ -12,7 +12,7 @@ export type DatasetsContextValue = {
|
||||
const DatasetsContext = createContext<DatasetsContextValue>({
|
||||
datasets: [],
|
||||
mutateDatasets: () => {},
|
||||
currentDataset: undefined
|
||||
currentDataset: undefined,
|
||||
})
|
||||
|
||||
export const useDatasetsContext = () => useContext(DatasetsContext)
|
||||
|
||||
@@ -92,6 +92,12 @@ const DebugConfigurationContext = createContext<IDebugConfiguration>({
|
||||
prompt_template: '',
|
||||
prompt_variables: [],
|
||||
},
|
||||
opening_statement: null,
|
||||
more_like_this: null,
|
||||
suggested_questions_after_answer: null,
|
||||
speech_to_text: null,
|
||||
retriever_resource: null,
|
||||
dataSets: [],
|
||||
},
|
||||
setModelConfig: () => { },
|
||||
dataSets: [],
|
||||
|
||||
Reference in New Issue
Block a user