Skip to content

Commit ea6f6e7

Browse files
committed
PR comments
1 parent 25c42e5 commit ea6f6e7

File tree

1 file changed

+3
-1
lines changed
  • src/components/projects/projectId/attributes/attributeId/LLM/models

1 file changed

+3
-1
lines changed

src/components/projects/projectId/attributes/attributeId/LLM/models/AzureFoundry.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { useEffect } from "react";
22
import { LocalStorageDropdown } from "@/submodules/react-components/components/LocalStorageDropdown";
33
import { InputWithSlider } from "@/submodules/react-components/components/InputWithSlider";
44
import { LLmPropsAzureFoundry } from "../types";
5+
import { Tooltip } from "@nextui-org/react";
6+
import { MemoIconInfoCircle } from "@/submodules/react-components/components/kern-icons/icons";
57

68

79
export default function AzureFoundry(props: LLmPropsAzureFoundry) {
@@ -16,7 +18,7 @@ export default function AzureFoundry(props: LLmPropsAzureFoundry) {
1618
return (
1719
<div className='flex flex-col gap-y-6'>
1820
<div>
19-
<label className="block mb-2 text-sm font-medium text-gray-900">Foundry URL</label>
21+
<label className="mb-2 text-sm font-medium text-gray-900 flex flex-row items-center gap-x-2">Foundry URL <Tooltip content={<div>The URL provided by Azure ending with /openai/v1/ like:<br /><br />https://&#123;deployment&#125;.services.ai.azure.com/openai/v1/</div>} color="invert" placement="right"><MemoIconInfoCircle className="w-4 h-5" /></Tooltip></label>
2022
<LocalStorageDropdown disabled={props.disabled} buttonName={props.llmConfig.apiBase ?? 'Select URL'} searchDefaultValue={props.llmConfig.apiBase} storageKey='AzureFoundryApiBase' onOptionSelected={(o) => props.setLlmConfig({ ...props.llmConfig, apiBase: o })} />
2123
</div>
2224
<div>

0 commit comments

Comments
 (0)