for now hide the fork button in langflow mode
This commit is contained in:
parent
97afd8f481
commit
a8a3c7b4ab
1 changed files with 11 additions and 9 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue