From 7026ed018d3a5eb493947f70b8b73f5af34e7c21 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期一, 12 八月 2024 10:20:11 +0800 Subject: [PATCH] 退出登录问题 --- src/views/dmx/IntelligentAgent/components/agentConfig.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/dmx/IntelligentAgent/components/agentConfig.vue b/src/views/dmx/IntelligentAgent/components/agentConfig.vue index c23aa64..4c23cd3 100644 --- a/src/views/dmx/IntelligentAgent/components/agentConfig.vue +++ b/src/views/dmx/IntelligentAgent/components/agentConfig.vue @@ -51,7 +51,7 @@ <Upload :action="uploadAction" :limit="1" - :url="form.icon" + :url="httpUrl + form.icon" @update:fileList="updateFileList" @success="handleSuccess" ></Upload> @@ -222,31 +222,31 @@ <a-form-item label="娓╁害"> <a-switch size="small" v-model="temperature" /> <a-space direction="vertical" size="large"> - <a-slider :disabled="!temperature" v-model="form.llm_setting.temperature" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px' }" show-input /> + <a-slider :disabled="!temperature" v-model="form.llm_setting.temperature" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px',display: 'flex' }" show-input /> </a-space> </a-form-item> <a-form-item label="top P"> <a-switch size="small" v-model="top_p" /> <a-space direction="vertical" size="large"> - <a-slider :disabled="!top_p" v-model="form.llm_setting.top_p" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px' }" show-input /> + <a-slider :disabled="!top_p" v-model="form.llm_setting.top_p" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px',display: 'flex' }" show-input /> </a-space> </a-form-item> <a-form-item label="鍑哄腑澶勭綒"> <a-switch size="small" v-model="presence_penalty" /> <a-space direction="vertical" size="large"> - <a-slider :disabled="!presence_penalty" v-model="form.llm_setting.presence_penalty" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px' }" show-input /> + <a-slider :disabled="!presence_penalty" v-model="form.llm_setting.presence_penalty" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px',display: 'flex' }" show-input /> </a-space> </a-form-item> <a-form-item label="棰戠巼澶勭綒"> <a-switch size="small" v-model="frequency_penalty" /> <a-space direction="vertical" size="large"> - <a-slider :disabled="!frequency_penalty" v-model="form.llm_setting.frequency_penalty" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px' }" show-input /> + <a-slider :disabled="!frequency_penalty" v-model="form.llm_setting.frequency_penalty" :step="0.01" :min="0" :max="1" :style="{ width: '350px', marginLeft: '20px',display: 'flex' }" show-input /> </a-space> </a-form-item> <a-form-item label="鏈�澶oken鏁�"> <a-switch size="small" v-model="max_tokens" /> <a-space direction="vertical" size="large"> - <a-slider :disabled="!max_tokens" v-model="form.llm_setting.max_tokens" :min="0" :max="2048" :style="{ width: '350px', marginLeft: '20px' }" show-input /> + <a-slider :disabled="!max_tokens" v-model="form.llm_setting.max_tokens" :min="0" :max="2048" :style="{ width: '350px', marginLeft: '20px',display: 'flex' }" show-input /> </a-space> </a-form-item> </a-form> @@ -314,7 +314,7 @@ let presence_penalty = ref(true); let frequency_penalty = ref(true); let max_tokens = ref(true); - +const httpUrl = localStorage.getItem('httpUrl'); const height = ref('calc(500px)'); const props = defineProps(['typeAngint', 'formData']); -- Gitblit v1.8.0