mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-07 01:02:55 +08:00
fix: api dataset (#6551)
* fix: api dataset * Update packages/global/core/chat/type.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -66,7 +66,12 @@ const CustomAPIFileInput = () => {
|
||||
});
|
||||
},
|
||||
{
|
||||
refreshDeps: [datasetDetail._id, datasetDetail.apiServer, parent, searchKey],
|
||||
refreshDeps: [
|
||||
datasetDetail._id,
|
||||
datasetDetail.apiDatasetServer?.apiServer,
|
||||
parent,
|
||||
searchKey
|
||||
],
|
||||
throttleWait: 500,
|
||||
manual: false
|
||||
}
|
||||
@@ -169,7 +174,7 @@ const CustomAPIFileInput = () => {
|
||||
setPaths(paths.slice(0, index + 1));
|
||||
}}
|
||||
/>
|
||||
{datasetDetail.apiServer && (
|
||||
{datasetDetail?.apiDatasetServer?.apiServer && (
|
||||
<Box w={'240px'}>
|
||||
<SearchInput
|
||||
value={searchKey}
|
||||
|
||||
Reference in New Issue
Block a user