diff --git a/src/AzureOpenAIProxy.PlaygroundApp/Components/Pages/Tests.razor b/src/AzureOpenAIProxy.PlaygroundApp/Components/Pages/Tests.razor
index b9979cbb..dcc16730 100644
--- a/src/AzureOpenAIProxy.PlaygroundApp/Components/Pages/Tests.razor
+++ b/src/AzureOpenAIProxy.PlaygroundApp/Components/Pages/Tests.razor
@@ -5,12 +5,22 @@
+
+
+
@code {
private object? currentValue;
+ private string? selectedModelValue = "";
private async Task SetInput(int newValue)
{
currentValue = newValue;
await Task.CompletedTask;
}
-}
\ No newline at end of file
+
+ private async Task HandleSelectedModelValue(string val)
+ {
+ selectedModelValue = val;
+ await Task.CompletedTask;
+ }
+}
diff --git a/src/AzureOpenAIProxy.PlaygroundApp/Components/UI/DeploymentModelListComponent.razor b/src/AzureOpenAIProxy.PlaygroundApp/Components/UI/DeploymentModelListComponent.razor
new file mode 100644
index 00000000..13783dd1
--- /dev/null
+++ b/src/AzureOpenAIProxy.PlaygroundApp/Components/UI/DeploymentModelListComponent.razor
@@ -0,0 +1,73 @@
+
+
+
+ *
+
+
+
+
+
+
+@code {
+ [Parameter]
+ public string? Id { get; set; }
+ private Option? selectedOption { get; set; } = new();
+
+ [Parameter]
+ public EventCallback OnUserOptionSelected { get; set; }
+
+ private async Task OnValueChanged()
+ {
+ string? selectedValue = selectedOption?.Value?.ToString();
+ await OnUserOptionSelected.InvokeAsync(selectedValue);
+ }
+
+ static List