mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-22 11:15:47 +00:00
Merge branch 'main' into feat-grouped-projectapi_a7m
This commit is contained in:
commit
53726f12fe
3 changed files with 9 additions and 7 deletions
|
|
@ -332,7 +332,7 @@ export function Node({ id, data }: NodeProps) {
|
|||
? `${agentMap[data.type]?.borderColor} z-50`
|
||||
: "border-worker-border-default z-10"
|
||||
} transition-all duration-300 ease-in-out ${
|
||||
data.agent?.tasks.length === 0 && "opacity-30"
|
||||
(data.agent?.tasks?.length ?? 0) === 0 && "opacity-30"
|
||||
}`}
|
||||
>
|
||||
<div
|
||||
|
|
@ -451,13 +451,15 @@ export function Node({ id, data }: NodeProps) {
|
|||
)}
|
||||
</div>
|
||||
)}
|
||||
{data.type === "document_agent" && (
|
||||
<div className="overflow-hidden w-full h-[180px] rounded-sm relative">
|
||||
<div className="absolute left-0 top-0 scale-[0.3] w-[500px] h-[500px] origin-top-left">
|
||||
<Folder data={data.agent as Agent} />
|
||||
{data.type === "document_agent" &&
|
||||
data?.agent?.tasks &&
|
||||
data.agent.tasks.length > 0 && (
|
||||
<div className="overflow-hidden w-full h-[180px] rounded-sm relative">
|
||||
<div className="absolute left-0 top-0 scale-[0.3] w-[500px] h-[500px] origin-top-left">
|
||||
<Folder data={data.agent as Agent} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
)}
|
||||
|
||||
{data.type === "developer_agent" &&
|
||||
data?.agent?.tasks &&
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue