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 */}
<Card>
<CardHeader>
<div className="flex items-center justify-between">
<div>
<CardTitle className="text-lg mb-4">Agent</CardTitle>
<CardDescription>
Quick Agent settings. Edit in Langflow for full control.
</CardDescription>
</div>
<div className="flex items-center justify-between mb-3">
<CardTitle className="text-lg">Agent</CardTitle>
<div className="flex gap-2">
<ConfirmationDialog
trigger={
@ -818,7 +813,7 @@ function KnowledgeSourcesPage() {
Restore flow
</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."
confirmText="Restore"
variant="destructive"
@ -852,12 +847,12 @@ function KnowledgeSourcesPage() {
Edit in Langflow
</Button>
}
title="Edit Retrieval flow in Langflow"
title="Edit Agent flow in Langflow"
description={
<>
<p className="mb-2">
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
experience.
</p>
@ -873,6 +868,9 @@ function KnowledgeSourcesPage() {
/>
</div>
</div>
<CardDescription>
This Agent retrieves from your knowledge and generates chat responses. Edit in Langflow for full control.
</CardDescription>
</CardHeader>
<CardContent>
<div className="space-y-6">
@ -951,15 +949,10 @@ function KnowledgeSourcesPage() {
{/* Knowledge Ingest Section */}
<Card>
<CardHeader>
<div className="flex items-center justify-between">
<div>
<CardTitle className="text-lg mb-4">
Knowledge ingestion and retrieval
</CardTitle>
<CardDescription>
Quick knowledge settings. Edit in Langflow for full control.
</CardDescription>
</div>
<div className="flex items-center justify-between mb-3">
<CardTitle className="text-lg">
Knowledge Ingest
</CardTitle>
<div className="flex gap-2">
<ConfirmationDialog
trigger={
@ -1022,6 +1015,9 @@ function KnowledgeSourcesPage() {
/>
</div>
</div>
<CardDescription>
Configure how files are ingested and stored for retrieval. Edit in Langflow for full control.
</CardDescription>
</CardHeader>
<CardContent>
<div className="space-y-6">