Merge pull request #23 from rowboatlabs/dev

add data source disclaimers
This commit is contained in:
Ramnique Singh 2025-02-05 19:23:40 +05:30 committed by GitHub
commit 3ac8550765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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"> 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="shrink-0 flex justify-between items-center pb-4 border-b border-b-gray-100">
<div className="flex flex-col"> <div className="flex flex-col">
<h1 className="text-lg">Data sources</h1> <h1 className="text-lg">Data sources <sup>(beta)</sup></h1>
</div> </div>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<Button <Button

View file

@ -162,7 +162,10 @@ export function AgentConfig({
<Divider /> <Divider />
<div className="flex flex-col gap-4 items-start"> <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 <List
items={agent.ragDataSources?.map((source) => ({ items={agent.ragDataSources?.map((source) => ({
id: source, id: source,