mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-07 03:50:42 +00:00
feat(ChatExcel): Better Chat Excel (#2423)
This commit is contained in:
@@ -21,6 +21,7 @@ const Resource: React.FC<{
|
||||
const { setResourceValue, appInfo, refreshHistory, refreshDialogList, modelValue, resourceValue } =
|
||||
useContext(ChatContentContext);
|
||||
|
||||
const { temperatureValue, maxNewTokensValue } = useContext(ChatContentContext);
|
||||
const searchParams = useSearchParams();
|
||||
const scene = searchParams?.get('scene') ?? '';
|
||||
const chatId = searchParams?.get('id') ?? '';
|
||||
@@ -97,6 +98,8 @@ const Resource: React.FC<{
|
||||
chatMode: scene,
|
||||
data: formData,
|
||||
model: modelValue,
|
||||
temperatureValue,
|
||||
maxNewTokensValue,
|
||||
config: {
|
||||
timeout: 1000 * 60 * 60,
|
||||
},
|
||||
|
Reference in New Issue
Block a user