This commit is contained in:
parent
b7498e3bb2
commit
f0e6baa352
|
|
@ -261,6 +261,17 @@ export const useChatHandler = () => {
|
||||||
|
|
||||||
let retrievedFileItems: Tables<"file_items">[] = []
|
let retrievedFileItems: Tables<"file_items">[] = []
|
||||||
|
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
'......[handleSendMessage] newMessageFiles.length =',
|
||||||
|
newMessageFiles.length,
|
||||||
|
', chatFiles.length =',
|
||||||
|
chatFiles.length,
|
||||||
|
', useRetrieval =',
|
||||||
|
useRetrieval
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(newMessageFiles.length > 0 || chatFiles.length > 0) &&
|
(newMessageFiles.length > 0 || chatFiles.length > 0) &&
|
||||||
useRetrieval
|
useRetrieval
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue