Merge pull request #1866 from janhq/fix/retrieval-setting

fix: auto collapse retrieval setting while update config
This commit is contained in:
Faisal Amir 2024-01-31 10:33:06 +07:00 committed by GitHub
commit 0693f551eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ const AssistantSetting = ({
tools: [ tools: [
{ {
type: 'retrieval', type: 'retrieval',
enabled: false, enabled: true,
settings: { settings: {
...(activeThread.assistants[0].tools && ...(activeThread.assistants[0].tools &&
activeThread.assistants[0].tools[0]?.settings), activeThread.assistants[0].tools[0]?.settings),