for now hide the fork button in langflow mode

This commit is contained in:
phact 2025-08-22 09:47:37 -04:00
parent 97afd8f481
commit a8a3c7b4ab

View file

@ -1463,6 +1463,7 @@ function ChatPage() {
{renderFunctionCalls(message.functionCalls || [], index)} {renderFunctionCalls(message.functionCalls || [], index)}
<p className="text-foreground whitespace-pre-wrap break-words overflow-wrap-anywhere">{message.content}</p> <p className="text-foreground whitespace-pre-wrap break-words overflow-wrap-anywhere">{message.content}</p>
</div> </div>
{endpoint === 'chat' && (
<div className="flex-shrink-0 ml-2"> <div className="flex-shrink-0 ml-2">
<button <button
onClick={(e) => handleForkConversation(index, e)} onClick={(e) => handleForkConversation(index, e)}
@ -1472,6 +1473,7 @@ function ChatPage() {
<GitBranch className="h-3 w-3" /> <GitBranch className="h-3 w-3" />
</button> </button>
</div> </div>
)}
</div> </div>
)} )}
</div> </div>