Skip to content

Commit 63b8e89

Browse files
committed
Adds button to get unbound api key
1 parent 5329c71 commit 63b8e89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,14 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
12961296
placeholder="Enter API Key...">
12971297
<span style={{ fontWeight: 500 }}>Unbound API Key</span>
12981298
</VSCodeTextField>
1299+
{!apiConfiguration?.unboundApiKey && (
1300+
<VSCodeButtonLink
1301+
href="https://gateway.getunbound.ai"
1302+
style={{ margin: "5px 0 0 0" }}
1303+
appearance="secondary">
1304+
Get Unbound API Key
1305+
</VSCodeButtonLink>
1306+
)}
12991307
<p
13001308
style={{
13011309
fontSize: "12px",

0 commit comments

Comments
 (0)