[codex] 修正LinkRag系统预设目录#145
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
llm_system_preset原表,删除非 LinkRag 历史系统预设残留。SystemPresetServiceImplTest,覆盖 LinkRag 预设列表过滤与 Key 脱敏。原因
远端库中历史非 LinkRag 系统预设虽然已下架,但仍残留在
llm_system_preset,会导致管理端视图和种子脚本定稿数据不一致。LinkRag 的模型应该只在系统预设表中管理,不进入厂商模型目录。验证
mvn -pl link-service -am -Dtest=SystemPresetServiceImplTest -DfailIfNoTests=false testpython3 scripts/check_docs_sync.py --workingpython3 scripts/check_ai_links.pygit diff --checkinit.sql + seed_llm_providers.sql,确认非 LinkRag 系统预设为 0,LinkRag 预设为 6 条,LinkRag 厂商模型目录为 0。