Skip to content

Commit ebe0d13

Browse files
committed
Before comparison
1 parent 6540068 commit ebe0d13

File tree

155 files changed

+14816
-625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+14816
-625
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"output-folder": ".",
3+
"namespace": "Azure.AI.VoiceLive",
4+
"library-name": "Azure.AI.VoiceLive",
5+
"flavor": "azure",
6+
"use-model-reader-writer": true,
7+
"shared-source-folders": [
8+
"../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared",
9+
"../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared"
10+
],
11+
"model-namespace": false
12+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System.ClientModel.Primitives;
7+
8+
namespace Azure.AI.VoiceLive
9+
{
10+
[ModelReaderWriterBuildable(typeof(VoiceLiveFunctionTool))]
11+
[ModelReaderWriterBuildable(typeof(VoiceLiveResponseUsageInputTokenDetails))]
12+
[ModelReaderWriterBuildable(typeof(VoiceLiveTool))]
13+
14+
public partial class AzureAIVoiceLiveContext : ModelReaderWriterContext
15+
{
16+
}
17+
}

sdk/ai/Azure.AI.VoiceLive/src/ConversationSessionOptions.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ internal override VoiceLiveRequestSession ToRequestSession()
9393
session.Model = Model;
9494
}
9595

96-
if (!string.IsNullOrEmpty(""))
97-
{
98-
99-
}
100-
10196
if (!string.IsNullOrEmpty(Instructions))
10297
{
10398
session.Instructions = Instructions;

sdk/ai/Azure.AI.VoiceLive/src/Generated/AIVoiceLiveClientBuilderExtensions.cs

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.VoiceLive/src/Generated/AIVoiceLiveModelFactory.cs

Lines changed: 58 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.VoiceLive/src/Generated/AgentConfig.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.VoiceLive/src/Generated/AzureCustomVoice.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.VoiceLive/src/Generated/AzurePersonalVoice.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.VoiceLive/src/Generated/AzureStandardVoice.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)