File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/components/projects/projectId/attributes/attributeId/LLM/models Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import { useEffect } from "react";
22import { LocalStorageDropdown } from "@/submodules/react-components/components/LocalStorageDropdown" ;
33import { InputWithSlider } from "@/submodules/react-components/components/InputWithSlider" ;
44import { LLmPropsAzureFoundry } from "../types" ;
5+ import { Tooltip } from "@nextui-org/react" ;
6+ import { MemoIconInfoCircle } from "@/submodules/react-components/components/kern-icons/icons" ;
57
68
79export 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://{deployment}.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 >
You can’t perform that action at this time.
0 commit comments