Merge pull request #205 from langflow-ai/settings-copy

Settings copy updates
This commit is contained in:
Mike Fortman 2025-10-06 17:13:24 -05:00 committed by GitHub
commit d8e7af9799
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -804,13 +804,8 @@ function KnowledgeSourcesPage() {
{/* Agent Behavior Section */} {/* Agent Behavior Section */}
<Card> <Card>
<CardHeader> <CardHeader>
<div className="flex items-center justify-between"> <div className="flex items-center justify-between mb-3">
<div> <CardTitle className="text-lg">Agent</CardTitle>
<CardTitle className="text-lg mb-4">Agent</CardTitle>
<CardDescription>
Quick Agent settings. Edit in Langflow for full control.
</CardDescription>
</div>
<div className="flex gap-2"> <div className="flex gap-2">
<ConfirmationDialog <ConfirmationDialog
trigger={ trigger={
@ -818,7 +813,7 @@ function KnowledgeSourcesPage() {
Restore flow Restore flow
</Button> </Button>
} }
title="Restore default Retrieval flow" title="Restore default Agent flow"
description="This restores defaults and discards all custom settings and overrides. This cant be undone." description="This restores defaults and discards all custom settings and overrides. This cant be undone."
confirmText="Restore" confirmText="Restore"
variant="destructive" variant="destructive"
@ -852,12 +847,12 @@ function KnowledgeSourcesPage() {
Edit in Langflow Edit in Langflow
</Button> </Button>
} }
title="Edit Retrieval flow in Langflow" title="Edit Agent flow in Langflow"
description={ description={
<> <>
<p className="mb-2"> <p className="mb-2">
You're entering Langflow. You can edit the{" "} You're entering Langflow. You can edit the{" "}
<b>Retrieval flow</b> and other underlying flows. Manual <b>Agent flow</b> and other underlying flows. Manual
changes to components, wiring, or I/O can break this changes to components, wiring, or I/O can break this
experience. experience.
</p> </p>
@ -873,6 +868,9 @@ function KnowledgeSourcesPage() {
/> />
</div> </div>
</div> </div>
<CardDescription>
This Agent retrieves from your knowledge and generates chat responses. Edit in Langflow for full control.
</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<div className="space-y-6"> <div className="space-y-6">
@ -951,15 +949,10 @@ function KnowledgeSourcesPage() {
{/* Knowledge Ingest Section */} {/* Knowledge Ingest Section */}
<Card> <Card>
<CardHeader> <CardHeader>
<div className="flex items-center justify-between"> <div className="flex items-center justify-between mb-3">
<div> <CardTitle className="text-lg">
<CardTitle className="text-lg mb-4"> Knowledge Ingest
Knowledge ingestion and retrieval </CardTitle>
</CardTitle>
<CardDescription>
Quick knowledge settings. Edit in Langflow for full control.
</CardDescription>
</div>
<div className="flex gap-2"> <div className="flex gap-2">
<ConfirmationDialog <ConfirmationDialog
trigger={ trigger={
@ -1022,6 +1015,9 @@ function KnowledgeSourcesPage() {
/> />
</div> </div>
</div> </div>
<CardDescription>
Configure how files are ingested and stored for retrieval. Edit in Langflow for full control.
</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<div className="space-y-6"> <div className="space-y-6">