mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
4ec6ee1441
commit
6e468c5b95
2 changed files with 12 additions and 3 deletions
|
|
@ -89,6 +89,14 @@
|
|||
</div>
|
||||
{/if}
|
||||
</Tooltip>
|
||||
<Handle type="target" position={Position.Top} class="w-2 rounded-full dark:bg-gray-900" />
|
||||
<Handle type="source" position={Position.Bottom} class="w-2 rounded-full dark:bg-gray-900" />
|
||||
<Handle
|
||||
type="target"
|
||||
position={data?.direction === 'horizontal' ? Position.Left : Position.Top}
|
||||
class="w-2 rounded-full dark:bg-gray-900"
|
||||
/>
|
||||
<Handle
|
||||
type="source"
|
||||
position={data?.direction === 'horizontal' ? Position.Right : Position.Bottom}
|
||||
class="w-2 rounded-full dark:bg-gray-900"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,8 @@
|
|||
data: {
|
||||
user: chatUser ?? $user,
|
||||
message: history.messages[id],
|
||||
model: $models.find((model) => model.id === history.messages[id].model)
|
||||
model: $models.find((model) => model.id === history.messages[id].model),
|
||||
direction
|
||||
},
|
||||
position: { x, y }
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue