feat(ChatExcel): Better Chat Excel (#2423)

This commit is contained in:
Fangyin Cheng
2025-03-10 11:37:32 +08:00
committed by GitHub
parent 75c1454938
commit 93eb3a786c
202 changed files with 1862 additions and 751 deletions

View File

@@ -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,
},