Skip to content

Commit

Permalink
fix: Update LangChain to LangSmith for API key
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Mar 7, 2025
1 parent 57983b0 commit db9277d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/agent-inbox/components/settings-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function SettingsPopover() {
setLangchainApiKey(langchainApiKeyLS);
}
} catch (e) {
console.error("Error getting/setting LangChain API key", e);
console.error("Error getting/setting LangSmith API key", e);
}
}, [langchainApiKey]);

Expand Down Expand Up @@ -89,7 +89,7 @@ export function SettingsPopover() {
<div className="flex flex-col items-start gap-2 w-full">
<div className="flex flex-col gap-1 w-full items-start">
<Label htmlFor="langchain-api-key">
LangChain API Key <span className="text-red-500">*</span>
LangSmith API Key <span className="text-red-500">*</span>
</Label>
<p className="text-xs text-muted-foreground">
This value is stored in your browser&apos;s local storage and
Expand Down
2 changes: 1 addition & 1 deletion src/components/agent-inbox/contexts/ThreadContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const getClient = ({ agentInboxes, getItem, toast }: GetClientArgs) => {
if (!langchainApiKeyLS && deploymentUrl.includes("us.langgraph.app")) {
toast({
title: "Error",
description: "Please add your LangChain API key in settings.",
description: "Please add your LangSmith API key in settings.",
variant: "destructive",
duration: 5000,
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/app-sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function AppSidebar() {
setLangchainApiKey(langchainApiKeyLS);
}
} catch (e) {
console.error("Error getting/setting LangChain API key", e);
console.error("Error getting/setting LangSmith API key", e);
}
}, [langchainApiKey]);

Expand Down

0 comments on commit db9277d

Please sign in to comment.