mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 17:29:44 +00:00
IOS safari whisper support (#2870)
* fix: variables check * remove log * perf: safari whisper * feat: comment * perf: connetion check * doc
This commit is contained in:
@@ -23,8 +23,9 @@ export const ToolTargetHandle = ({ show, nodeId }: ToolHandleProps) => {
|
||||
const connected = edges.some((edge) => edge.target === nodeId && edge.targetHandle === handleId);
|
||||
|
||||
// if top handle is connected, return null
|
||||
const showHandle =
|
||||
connected || (show && connectingEdge?.handleId === NodeOutputKeyEnum.selectedTools);
|
||||
const showHandle = connectingEdge
|
||||
? show && connectingEdge.handleId === NodeOutputKeyEnum.selectedTools
|
||||
: connected;
|
||||
|
||||
const Render = useMemo(() => {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user