We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f89be8e commit f7d83eeCopy full SHA for f7d83ee
src/renderer/pages/Settings/index.tsx
@@ -52,14 +52,14 @@ const SettingsPage = () => {
52
await updateConfig({
53
extract_phone: customerServiceSettings.extractPhone,
54
extract_product: customerServiceSettings.extractProduct,
55
- save_path: customerServiceSettings.folderPath,
+ save_path: customerServiceSettings.folderPath.trim(),
56
reply_speed: customerServiceSettings.replySpeed,
57
- default_reply: customerServiceSettings.defaultReply,
+ default_reply: customerServiceSettings.defaultReply.trim(),
58
context_count: customerServiceSettings.contextCount,
59
wait_humans_time: customerServiceSettings.manualInterventionInterval,
60
- gpt_base_url: gptSettings.gptAddress,
61
- gpt_key: gptSettings.apiKey,
62
- gpt_model: gptSettings.model,
+ gpt_base_url: gptSettings.gptAddress.trim(),
+ gpt_key: gptSettings.apiKey.trim(),
+ gpt_model: gptSettings.model.trim(),
63
gpt_temperature: gptSettings.temperature,
64
gpt_top_p: gptSettings.topP,
65
stream: gptSettings.stream,
0 commit comments