Studio: default RAG source to thread documents in sidepanel
This commit is contained in:
parent
7b3a13fea4
commit
e48d836ffc
2 changed files with 2 additions and 2 deletions
|
|
@ -1334,7 +1334,7 @@ export function ChatSettingsPanel({
|
|||
) {
|
||||
void deleteKB(kb.id).then(() => {
|
||||
if (isActive) {
|
||||
setRagSource({ kind: "off" });
|
||||
setRagSource({ kind: "thread" });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -618,7 +618,7 @@ export const useChatRuntimeStore = create<ChatRuntimeStore>((set, get) => ({
|
|||
contextUsage: null,
|
||||
modelLoading: false,
|
||||
activeNativePathToken: null,
|
||||
ragSource: { kind: "off" },
|
||||
ragSource: { kind: "thread" },
|
||||
enableRerank: false,
|
||||
ragTopK: 5,
|
||||
ragMinScore: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue