Skip to content

Commit 8657679

Browse files
authored
Remove unnecessary namespace (Azure#51449)
1 parent 5f3614c commit 8657679

File tree

7 files changed

+47
-59
lines changed

7 files changed

+47
-59
lines changed

sdk/ai/Azure.AI.Agents.Persistent/api/Azure.AI.Agents.Persistent.net8.0.cs

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,27 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write
389389
string System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.ConnectedAgentToolDefinition>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
390390
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.ConnectedAgentToolDefinition>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
391391
}
392+
public partial class CreateRunStreamingOptions
393+
{
394+
public CreateRunStreamingOptions() { }
395+
public string AdditionalInstructions { get { throw null; } set { } }
396+
public System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ThreadMessageOptions> AdditionalMessages { get { throw null; } set { } }
397+
public Azure.AI.Agents.Persistent.AutoFunctionCallOptions AutoFunctionCallOptions { get { throw null; } set { } }
398+
public System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.RunAdditionalFieldList> Include { get { throw null; } set { } }
399+
public int? MaxCompletionTokens { get { throw null; } set { } }
400+
public int? MaxPromptTokens { get { throw null; } set { } }
401+
public System.Collections.Generic.IReadOnlyDictionary<string, string> Metadata { get { throw null; } set { } }
402+
public string OverrideInstructions { get { throw null; } set { } }
403+
public string OverrideModelName { get { throw null; } set { } }
404+
public System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ToolDefinition> OverrideTools { get { throw null; } set { } }
405+
public bool? ParallelToolCalls { get { throw null; } set { } }
406+
public System.BinaryData ResponseFormat { get { throw null; } set { } }
407+
public float? Temperature { get { throw null; } set { } }
408+
public System.BinaryData ToolChoice { get { throw null; } set { } }
409+
public Azure.AI.Agents.Persistent.ToolResources ToolResources { get { throw null; } set { } }
410+
public float? TopP { get { throw null; } set { } }
411+
public Azure.AI.Agents.Persistent.Truncation TruncationStrategy { get { throw null; } set { } }
412+
}
392413
public partial class DeepResearchBingGroundingConnection : System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.DeepResearchBingGroundingConnection>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.DeepResearchBingGroundingConnection>
393414
{
394415
public DeepResearchBingGroundingConnection(string connectionId) { }
@@ -2750,9 +2771,9 @@ protected ThreadRuns() { }
27502771
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Agents.Persistent.ThreadRun>> CreateRunAsync(Azure.AI.Agents.Persistent.PersistentAgentThread thread, Azure.AI.Agents.Persistent.PersistentAgent agent, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
27512772
public virtual System.Threading.Tasks.Task<Azure.Response> CreateRunAsync(string threadId, Azure.Core.RequestContent content, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.RunAdditionalFieldList> include = null, Azure.RequestContext context = null) { throw null; }
27522773
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Agents.Persistent.ThreadRun>> CreateRunAsync(string threadId, string assistantId, string overrideModelName = null, string overrideInstructions = null, string additionalInstructions = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ThreadMessageOptions> additionalMessages = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ToolDefinition> overrideTools = null, bool? stream = default(bool?), float? temperature = default(float?), float? topP = default(float?), int? maxPromptTokens = default(int?), int? maxCompletionTokens = default(int?), Azure.AI.Agents.Persistent.Truncation truncationStrategy = null, System.BinaryData toolChoice = null, System.BinaryData responseFormat = null, bool? parallelToolCalls = default(bool?), System.Collections.Generic.IReadOnlyDictionary<string, string> metadata = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.RunAdditionalFieldList> include = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
2753-
public virtual System.ClientModel.CollectionResult<Azure.AI.Agents.Persistent.StreamingUpdate> CreateRunStreaming(string threadId, string agentId, Azure.AI.Agents.Persistent.Custom.Streaming.CreateRunStreamingOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
2774+
public virtual System.ClientModel.CollectionResult<Azure.AI.Agents.Persistent.StreamingUpdate> CreateRunStreaming(string threadId, string agentId, Azure.AI.Agents.Persistent.CreateRunStreamingOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
27542775
public virtual System.ClientModel.CollectionResult<Azure.AI.Agents.Persistent.StreamingUpdate> CreateRunStreaming(string threadId, string agentId, string overrideModelName = null, string overrideInstructions = null, string additionalInstructions = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ThreadMessageOptions> additionalMessages = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ToolDefinition> overrideTools = null, float? temperature = default(float?), float? topP = default(float?), int? maxPromptTokens = default(int?), int? maxCompletionTokens = default(int?), Azure.AI.Agents.Persistent.Truncation truncationStrategy = null, System.BinaryData toolChoice = null, System.BinaryData responseFormat = null, bool? parallelToolCalls = default(bool?), System.Collections.Generic.IReadOnlyDictionary<string, string> metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
2755-
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Agents.Persistent.StreamingUpdate> CreateRunStreamingAsync(string threadId, string agentId, Azure.AI.Agents.Persistent.Custom.Streaming.CreateRunStreamingOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
2776+
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Agents.Persistent.StreamingUpdate> CreateRunStreamingAsync(string threadId, string agentId, Azure.AI.Agents.Persistent.CreateRunStreamingOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
27562777
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Agents.Persistent.StreamingUpdate> CreateRunStreamingAsync(string threadId, string agentId, string overrideModelName = null, string overrideInstructions = null, string additionalInstructions = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ThreadMessageOptions> additionalMessages = null, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ToolDefinition> overrideTools = null, float? temperature = default(float?), float? topP = default(float?), int? maxPromptTokens = default(int?), int? maxCompletionTokens = default(int?), Azure.AI.Agents.Persistent.Truncation truncationStrategy = null, System.BinaryData toolChoice = null, System.BinaryData responseFormat = null, bool? parallelToolCalls = default(bool?), System.Collections.Generic.IReadOnlyDictionary<string, string> metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
27572778
public virtual Azure.Response GetRun(string threadId, string runId, Azure.RequestContext context) { throw null; }
27582779
public virtual Azure.Response<Azure.AI.Agents.Persistent.ThreadRun> GetRun(string threadId, string runId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
@@ -3307,30 +3328,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write
33073328
public override string ToString() { throw null; }
33083329
}
33093330
}
3310-
namespace Azure.AI.Agents.Persistent.Custom.Streaming
3311-
{
3312-
public partial class CreateRunStreamingOptions
3313-
{
3314-
public CreateRunStreamingOptions() { }
3315-
public string AdditionalInstructions { get { throw null; } set { } }
3316-
public System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ThreadMessageOptions> AdditionalMessages { get { throw null; } set { } }
3317-
public Azure.AI.Agents.Persistent.AutoFunctionCallOptions AutoFunctionCallOptions { get { throw null; } set { } }
3318-
public System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.RunAdditionalFieldList> Include { get { throw null; } set { } }
3319-
public int? MaxCompletionTokens { get { throw null; } set { } }
3320-
public int? MaxPromptTokens { get { throw null; } set { } }
3321-
public System.Collections.Generic.IReadOnlyDictionary<string, string> Metadata { get { throw null; } set { } }
3322-
public string OverrideInstructions { get { throw null; } set { } }
3323-
public string OverrideModelName { get { throw null; } set { } }
3324-
public System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.ToolDefinition> OverrideTools { get { throw null; } set { } }
3325-
public bool? ParallelToolCalls { get { throw null; } set { } }
3326-
public System.BinaryData ResponseFormat { get { throw null; } set { } }
3327-
public float? Temperature { get { throw null; } set { } }
3328-
public System.BinaryData ToolChoice { get { throw null; } set { } }
3329-
public Azure.AI.Agents.Persistent.ToolResources ToolResources { get { throw null; } set { } }
3330-
public float? TopP { get { throw null; } set { } }
3331-
public Azure.AI.Agents.Persistent.Truncation TruncationStrategy { get { throw null; } set { } }
3332-
}
3333-
}
33343331
namespace Microsoft.Extensions.Azure
33353332
{
33363333
public static partial class AIAgentsPersistentClientBuilderExtensions

0 commit comments

Comments
 (0)