add data source disclaimers

This commit is contained in:
ramnique 2025-02-05 19:21:16 +05:30
parent 3363f15739
commit ef3aa4ae41
2 changed files with 5 additions and 2 deletions

View file

@ -38,7 +38,7 @@ export function SourcesList({
return <div className="flex flex-col h-full">
<div className="shrink-0 flex justify-between items-center pb-4 border-b border-b-gray-100">
<div className="flex flex-col">
<h1 className="text-lg">Data sources</h1>
<h1 className="text-lg">Data sources <sup>(beta)</sup></h1>
</div>
<div className="flex items-center gap-2">
<Button

View file

@ -162,7 +162,10 @@ export function AgentConfig({
<Divider />
<div className="flex flex-col gap-4 items-start">
<Label label="RAG" />
<Label label="RAG (beta)" />
{agent.ragDataSources && agent.ragDataSources.length > 0 && <div className="text-xs text-red-500">
<sup>*</sup> RAG data sources are currently not supported in the API.
</div>}
<List
items={agent.ragDataSources?.map((source) => ({
id: source,