Merge pull request #310 from langflow-ai/fix/file_history

fix: make file history be the same when uploading a file and after refresh
This commit is contained in:
Sebastián Estévez 2025-10-27 11:09:21 -04:00 committed by GitHub
commit 5024d7a93a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1320 additions and 1321 deletions

View file

@ -337,7 +337,8 @@ export function Navigation({
message.role === "user" && message.role === "user" &&
(message.content.match(FILES_REGEX)?.[0] ?? null) !== null, (message.content.match(FILES_REGEX)?.[0] ?? null) !== null,
) )
.map((message) => message.content.match(FILES_REGEX)?.[0] ?? null); .map((message) => message.content.match(FILES_REGEX)?.[0] ?? null)
.concat(conversationDocs.map((doc) => doc.filename));
return ( return (
<div className="flex flex-col h-full bg-background"> <div className="flex flex-col h-full bg-background">

File diff suppressed because it is too large Load diff