diff --git a/.github/workflows/azure-dev-build-only.yml b/.github/workflows/azure-dev-build-only.yml
index 74445c59..b0048536 100644
--- a/.github/workflows/azure-dev-build-only.yml
+++ b/.github/workflows/azure-dev-build-only.yml
@@ -59,10 +59,18 @@ jobs:
dotnet test ./test/AzureOpenAIProxy.AppHost.Tests --logger "trx" --collect:"XPlat Code Coverage"
dotnet test ./test/AzureOpenAIProxy.ApiApp.Tests --logger "trx" --collect:"XPlat Code Coverage"
- # - name: Run integration tests
- # shell: bash
- # run: |
- # dotnet test ./test/AzureOpenAIProxy.PlaygroundApp.Tests --logger "trx" --collect:"XPlat Code Coverage"
+ - name: Run integration tests
+ shell: bash
+ run: |
+ dotnet run --project ./src/AzureOpenAIProxy.AppHost &
+
+ DOTNET_PID=$!
+
+ sleep 30
+
+ dotnet test ./test/AzureOpenAIProxy.PlaygroundApp.Tests --logger "trx" --collect:"XPlat Code Coverage"
+
+ kill $DOTNET_PID
- name: Publish test results
if: ${{ !cancelled() }}
diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml
index 9f93296b..2217c6aa 100644
--- a/.github/workflows/azure-dev.yml
+++ b/.github/workflows/azure-dev.yml
@@ -67,10 +67,24 @@ jobs:
run: |
dotnet build
- - name: Test solution
+ - name: Run unit tests
shell: bash
run: |
- dotnet test --logger "trx" --collect:"XPlat Code Coverage"
+ dotnet test ./test/AzureOpenAIProxy.AppHost.Tests --logger "trx" --collect:"XPlat Code Coverage"
+ dotnet test ./test/AzureOpenAIProxy.ApiApp.Tests --logger "trx" --collect:"XPlat Code Coverage"
+
+ - name: Run integration tests
+ shell: bash
+ run: |
+ dotnet run --project ./src/AzureOpenAIProxy.AppHost &
+
+ DOTNET_PID=$!
+
+ sleep 30
+
+ dotnet test ./test/AzureOpenAIProxy.PlaygroundApp.Tests --logger "trx" --collect:"XPlat Code Coverage"
+
+ kill $DOTNET_PID
- name: Publish test results
uses: bibipkins/dotnet-test-reporter@main
diff --git a/Directory.Build.props b/Directory.Build.props
index 7236a166..a3531f4c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -15,6 +15,7 @@
1.*
1.*
6.*
+ 4.*
6.*
6.*
diff --git a/src/AzureOpenAIProxy.ApiApp/AzureOpenAIProxy.ApiApp.csproj b/src/AzureOpenAIProxy.ApiApp/AzureOpenAIProxy.ApiApp.csproj
index 7e65d79c..92c1aae3 100644
--- a/src/AzureOpenAIProxy.ApiApp/AzureOpenAIProxy.ApiApp.csproj
+++ b/src/AzureOpenAIProxy.ApiApp/AzureOpenAIProxy.ApiApp.csproj
@@ -1,10 +1,6 @@
- net8.0
- enable
- enable
-
AzureOpenAIProxy.ApiApp
AzureOpenAIProxy.ApiApp
diff --git a/src/AzureOpenAIProxy.AppHost/AzureOpenAIProxy.AppHost.csproj b/src/AzureOpenAIProxy.AppHost/AzureOpenAIProxy.AppHost.csproj
index 42926f2d..e75fe621 100644
--- a/src/AzureOpenAIProxy.AppHost/AzureOpenAIProxy.AppHost.csproj
+++ b/src/AzureOpenAIProxy.AppHost/AzureOpenAIProxy.AppHost.csproj
@@ -2,11 +2,12 @@
Exe
- net8.0
- enable
- enable
true
+
f6c81741-4dbe-4a07-86e3-83a42810f5ec
+
+ AzureOpenAIProxy.AppHost
+ AzureOpenAIProxy.AppHost
diff --git a/src/AzureOpenAIProxy.PlaygroundApp/AzureOpenAIProxy.PlaygroundApp.csproj b/src/AzureOpenAIProxy.PlaygroundApp/AzureOpenAIProxy.PlaygroundApp.csproj
index eca1c41f..c9ffe317 100644
--- a/src/AzureOpenAIProxy.PlaygroundApp/AzureOpenAIProxy.PlaygroundApp.csproj
+++ b/src/AzureOpenAIProxy.PlaygroundApp/AzureOpenAIProxy.PlaygroundApp.csproj
@@ -1,17 +1,15 @@
- net8.0
- enable
- enable
-
-
AzureOpenAIProxy.PlaygroundApp
AzureOpenAIProxy.PlaygroundApp
+
+
+
diff --git a/src/AzureOpenAIProxy.PlaygroundApp/Components/App.razor b/src/AzureOpenAIProxy.PlaygroundApp/Components/App.razor
index 975b820e..6b73ab6b 100644
--- a/src/AzureOpenAIProxy.PlaygroundApp/Components/App.razor
+++ b/src/AzureOpenAIProxy.PlaygroundApp/Components/App.razor
@@ -8,6 +8,7 @@
+
@@ -15,6 +16,7 @@
+