Studio: default RAG source to thread documents in sidepanel

This commit is contained in:
Roland Tannous 2026-05-26 12:11:38 +04:00
commit e48d836ffc
2 changed files with 2 additions and 2 deletions

View file

@ -1334,7 +1334,7 @@ export function ChatSettingsPanel({
) {
void deleteKB(kb.id).then(() => {
if (isActive) {
setRagSource({ kind: "off" });
setRagSource({ kind: "thread" });
}
});
}

View file

@ -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,