diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8cb4d21..f787f07 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - framework: ['net8.0'] + framework: ['net10.0'] runs-on: ubuntu-latest steps: # Checkout the repository @@ -21,7 +21,7 @@ jobs: # Set up .NET SDK - uses: actions/setup-dotnet@v2 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' # Restore dependencies - name: Restore dependencies diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 93c9c27..6b5ddc0 100755 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -9,7 +9,7 @@ jobs: build-and-publish: strategy: matrix: - framework: ['net8.0'] + framework: ['net10.0'] runs-on: ubuntu-latest steps: # Checkout the repository @@ -18,7 +18,7 @@ jobs: # Set up .NET SDK - uses: actions/setup-dotnet@v2 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' # Restore dependencies - name: Restore dependencies diff --git a/examples/GetStarted/GetStarted.csproj b/examples/GetStarted/GetStarted.csproj index a77c7d8..144dcbe 100755 --- a/examples/GetStarted/GetStarted.csproj +++ b/examples/GetStarted/GetStarted.csproj @@ -2,7 +2,7 @@ Exe - net8.0-windows10.0.17763.0 + net10.0-windows10.0.17763.0 12.0 enable true @@ -15,7 +15,6 @@ - diff --git a/examples/GetStarted/Program.cs b/examples/GetStarted/Program.cs index b4fd219..69b4b71 100755 --- a/examples/GetStarted/Program.cs +++ b/examples/GetStarted/Program.cs @@ -76,7 +76,8 @@ public class RealtimeCallIncomingData public required string Call_ID { get; set; } } -record call_accept(string type = "realtime", string instructions = "You are a support agent.", string model = "gpt-4o-realtime-preview-2024-12-17"); +//record call_accept(string type = "realtime", string instructions = "You are a support agent.", string model = "gpt-4o-realtime-preview-2024-12-17"); +record call_accept(string type = "realtime", string instructions = "You are a support agent.", string model = "gpt-realtime"); class Program { diff --git a/src/SIPSorcery.OpenAI.SIP.csproj b/src/SIPSorcery.OpenAI.SIP.csproj index a7eeaf4..ccc68ad 100755 --- a/src/SIPSorcery.OpenAI.SIP.csproj +++ b/src/SIPSorcery.OpenAI.SIP.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 12.0 enable true @@ -14,7 +14,7 @@ - + @@ -40,9 +40,9 @@ -v8.0.0-pre: Initial version. en - 8.0.1-pre - 8.0.1 - 8.0.1 + 10.0.1-pre + 10.0.1 + 10.0.1