fix: auto collapse retrieval setting while update config

This commit is contained in:
Faisal Amir 2024-01-30 11:20:52 +07:00
parent b4602ef262
commit a2b6055911

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