mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix(ui): show human labels on playground SDK type select
Match the SelectValue children pattern so OpenAI SDK / Azure SDK render instead of the raw openai/azure values
This commit is contained in:
parent
e72add6882
commit
f40ef53894
1 changed files with 1 additions and 1 deletions
|
|
@ -2094,7 +2094,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
|
|||
<p className="mb-1 text-sm font-medium text-gray-700">SDK Type</p>
|
||||
<ShadcnSelect value={selectedSdk} onValueChange={(value) => setSelectedSdk(value as "openai" | "azure")}>
|
||||
<SelectTrigger className="w-[150px]" size="sm" aria-label="SDK Type">
|
||||
<SelectValue />
|
||||
<SelectValue>{selectedSdk === "azure" ? "Azure SDK" : "OpenAI SDK"}</SelectValue>
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="openai">OpenAI SDK</SelectItem>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue