@@ -2750,11 +2750,9 @@ protected ThreadRuns() { }
27502750 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 ; }
27512751 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 ; }
27522752 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 . AutoFunctionCallOptions autoFunctionCallOptions , 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 ; }
2754- public virtual System . ClientModel . CollectionResult < Azure . AI . Agents . Persistent . StreamingUpdate > CreateRunStreaming ( string threadId , string agentId , System . Collections . Generic . IEnumerable < Azure . AI . Agents . Persistent . RunAdditionalFieldList > include , Azure . AI . Agents . Persistent . AutoFunctionCallOptions autoFunctionCallOptions = null , 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 , Azure . AI . Agents . Persistent . ToolResources toolResources = 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 ; }
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 ; }
27552754 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 ; }
2756- public virtual System . ClientModel . AsyncCollectionResult < Azure . AI . Agents . Persistent . StreamingUpdate > CreateRunStreamingAsync ( string threadId , string agentId , Azure . AI . Agents . Persistent . AutoFunctionCallOptions autoFunctionCallOptions , 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 ; }
2757- public virtual System . ClientModel . AsyncCollectionResult < Azure . AI . Agents . Persistent . StreamingUpdate > CreateRunStreamingAsync ( string threadId , string agentId , System . Collections . Generic . IEnumerable < Azure . AI . Agents . Persistent . RunAdditionalFieldList > include , Azure . AI . Agents . Persistent . AutoFunctionCallOptions autoFunctionCallOptions = null , 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 , Azure . AI . Agents . Persistent . ToolResources toolResources = 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 ; }
27582756 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 ; }
27592757 public virtual Azure . Response GetRun ( string threadId , string runId , Azure . RequestContext context ) { throw null ; }
27602758 public virtual Azure . Response < Azure . AI . Agents . Persistent . ThreadRun > GetRun ( string threadId , string runId , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
@@ -3309,6 +3307,30 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write
33093307 public override string ToString ( ) { throw null ; }
33103308 }
33113309}
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+ }
33123334namespace Microsoft . Extensions . Azure
33133335{
33143336 public static partial class AIAgentsPersistentClientBuilderExtensions
0 commit comments