chore: update copy when retrieval turn off (#3585)

This commit is contained in:
Faisal Amir 2024-09-09 09:39:46 +07:00 committed by GitHub
parent 3ddb32e2c7
commit ecf83d03c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,7 +226,16 @@ const ChatInput = () => {
)}
{activeThread?.assistants[0].tools &&
activeThread?.assistants[0].tools[0]?.enabled ===
false && <span>Not supported for this model</span>}
false &&
isModelSupportRagAndTools && (
<span>
Turn on Retrieval in Tools settings to use this
feature
</span>
)}
{!isModelSupportRagAndTools && (
<span>Not supported for this model</span>
)}
</>
))}
</>