Skip to content

Commit

Permalink
chore: remove workflow credentials section
Browse files Browse the repository at this point in the history
Update Workflow.tsx
  • Loading branch information
ivyjeong13 committed Dec 17, 2024
1 parent 03f510f commit 28e723a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions ui/admin/app/components/workflow/Workflow.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
KeyIcon,
Library,
List,
LockIcon,
Expand All @@ -21,7 +20,6 @@ import { Button } from "~/components/ui/button";
import { CardDescription } from "~/components/ui/card";
import { ScrollArea } from "~/components/ui/scroll-area";
import { ParamsForm } from "~/components/workflow/ParamsForm";
import { StringArrayForm } from "~/components/workflow/StringArrayForm";
import {
WorkflowProvider,
useWorkflow,
Expand Down Expand Up @@ -99,22 +97,6 @@ function WorkflowContent({ className, onPersistThreadId }: WorkflowProps) {
/>
</div>

<div className="p-4 m-4 flex flex-col gap-4">
<TypographyH4 className="flex items-center gap-2">
<KeyIcon className="w-4 h-4" />
Credentials
</TypographyH4>

<StringArrayForm
initialItems={workflow.credentials}
onChange={(values) =>
debouncedSetWorkflowInfo({ credentials: values })
}
itemName="Credential"
placeholder="Enter a credential"
/>
</div>

<div className="p-4 m-4 flex flex-col gap-4">
<TypographyH4 className="flex items-center gap-2">
<Variable className="w-4 h-4" />
Expand Down
1 change: 0 additions & 1 deletion ui/admin/app/lib/model/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export type WorkflowBase = AgentBase & {
steps: Step[];
output: string;
env?: WorkflowEnv[];
credentials?: string[];
};

export type Step = {
Expand Down

0 comments on commit 28e723a

Please sign in to comment.