-
Notifications
You must be signed in to change notification settings - Fork 7k
fix: model refresh #6725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: model refresh #6725
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| --- | ||
| title: 'V4.14.11(进行中)' | ||
| description: 'FastGPT V4.14.11 更新说明' | ||
| --- | ||
|
|
||
|
|
||
| ## 🚀 新增内容 | ||
|
|
||
|
|
||
| ## ⚙️ 优化 | ||
|
|
||
|
|
||
| ## 🐛 修复 | ||
|
|
||
| 1. 对话 Agent 模式,模型存在刷新后被重置问题。 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -29,27 +29,29 @@ const SettingLLMModel = ({ | |||||
|
|
||||||
| const model = defaultData.model; | ||||||
|
|
||||||
| const { modelSet, modelList } = useMemoEnhance(() => { | ||||||
| const { modelSet, modelList, defaultLLMModel } = useMemoEnhance(() => { | ||||||
| const modelSet = new Set<string>(llmModelList.map((item) => item.model)); | ||||||
| return { | ||||||
| modelList: llmModelList, | ||||||
| modelSet | ||||||
| modelSet, | ||||||
| defaultLLMModel: getWebDefaultLLMModel(llmModelList).model | ||||||
|
||||||
| defaultLLMModel: getWebDefaultLLMModel(llmModelList).model | |
| defaultLLMModel: getWebDefaultLLMModel(llmModelList)?.model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new doc page
document/content/docs/self-host/upgrading/4-14/41411.mdxwas added (and linked intoc.mdx), but there is no corresponding entry in thisdoc-last-modified.jsonmap. Since the docs UI/sitemap reads last-modified timestamps from this file, regenerate it (viadocument/script/initDocTime.js) or add the missing key so the new page has a correctlastUpdate/lastmod.