fix
This commit is contained in:
@@ -110,7 +110,9 @@ export const StreamProvider: React.FC<{ children: ReactNode }> = ({
|
|||||||
className="flex flex-col gap-6 p-6 bg-muted/50"
|
className="flex flex-col gap-6 p-6 bg-muted/50"
|
||||||
>
|
>
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<Label htmlFor="apiUrl">Deployment URL<span className="text-rose-500">*</span></Label>
|
<Label htmlFor="apiUrl">
|
||||||
|
Deployment URL<span className="text-rose-500">*</span>
|
||||||
|
</Label>
|
||||||
<p className="text-muted-foreground text-sm">
|
<p className="text-muted-foreground text-sm">
|
||||||
This is the URL of your LangGraph deployment. Can be a local, or
|
This is the URL of your LangGraph deployment. Can be a local, or
|
||||||
production deployment.
|
production deployment.
|
||||||
@@ -120,11 +122,14 @@ export const StreamProvider: React.FC<{ children: ReactNode }> = ({
|
|||||||
name="apiUrl"
|
name="apiUrl"
|
||||||
className="bg-background"
|
className="bg-background"
|
||||||
defaultValue={apiUrl ?? "http://localhost:2024"}
|
defaultValue={apiUrl ?? "http://localhost:2024"}
|
||||||
|
required
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<Label htmlFor="assistantId">Assistant / Graph ID<span className="text-rose-500">*</span></Label>
|
<Label htmlFor="assistantId">
|
||||||
|
Assistant / Graph ID<span className="text-rose-500">*</span>
|
||||||
|
</Label>
|
||||||
<p className="text-muted-foreground text-sm">
|
<p className="text-muted-foreground text-sm">
|
||||||
This is the ID of the graph (can be the graph name), or
|
This is the ID of the graph (can be the graph name), or
|
||||||
assistant to fetch threads from, and invoke when actions are
|
assistant to fetch threads from, and invoke when actions are
|
||||||
@@ -135,14 +140,17 @@ export const StreamProvider: React.FC<{ children: ReactNode }> = ({
|
|||||||
name="assistantId"
|
name="assistantId"
|
||||||
className="bg-background"
|
className="bg-background"
|
||||||
defaultValue={assistantId ?? "agent"}
|
defaultValue={assistantId ?? "agent"}
|
||||||
|
required
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<Label htmlFor="apiKey">LangSmith API Key</Label>
|
<Label htmlFor="apiKey">LangSmith API Key</Label>
|
||||||
<p className="text-muted-foreground text-sm">
|
<p className="text-muted-foreground text-sm">
|
||||||
This is NOT required if This value is stored in your browser's local storage and is only
|
This is <strong>NOT</strong> required if using a local LangGraph
|
||||||
used to authenticate requests sent to your LangGraph server.
|
server. This value is stored in your browser's local storage and
|
||||||
|
is only used to authenticate requests sent to your LangGraph
|
||||||
|
server.
|
||||||
</p>
|
</p>
|
||||||
<PasswordInput
|
<PasswordInput
|
||||||
id="apiKey"
|
id="apiKey"
|
||||||
|
|||||||
Reference in New Issue
Block a user