@@ -279,6 +279,10 @@ public AgentsClient(System.Uri endpoint, string subscriptionId, string resourceG
279279 public virtual Azure . Response < Azure . AI . Projects . AgentThread > GetThread ( string threadId , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
280280 public virtual System . Threading . Tasks . Task < Azure . Response > GetThreadAsync ( string threadId , Azure . RequestContext context ) { throw null ; }
281281 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . AI . Projects . AgentThread > > GetThreadAsync ( string threadId , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
282+ public virtual Azure . Response < Azure . AI . Projects . OpenAIPageableListOfAgentThread > GetThreads ( int ? limit = default ( int ? ) , Azure . AI . Projects . ListSortOrder ? order = default ( Azure . AI . Projects . ListSortOrder ? ) , string after = null , string before = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
283+ public virtual Azure . Response GetThreads ( int ? limit , string order , string after , string before , Azure . RequestContext context ) { throw null ; }
284+ public virtual System . Threading . Tasks . Task < Azure . Response < Azure . AI . Projects . OpenAIPageableListOfAgentThread > > GetThreadsAsync ( int ? limit = default ( int ? ) , Azure . AI . Projects . ListSortOrder ? order = default ( Azure . AI . Projects . ListSortOrder ? ) , string after = null , string before = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
285+ public virtual System . Threading . Tasks . Task < Azure . Response > GetThreadsAsync ( int ? limit , string order , string after , string before , Azure . RequestContext context ) { throw null ; }
282286 public virtual Azure . Response GetVectorStore ( string vectorStoreId , Azure . RequestContext context ) { throw null ; }
283287 public virtual Azure . Response < Azure . AI . Projects . VectorStore > GetVectorStore ( string vectorStoreId , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
284288 public virtual System . Threading . Tasks . Task < Azure . Response > GetVectorStoreAsync ( string vectorStoreId , Azure . RequestContext context ) { throw null ; }
@@ -358,6 +362,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer
358362 public static Azure . AI . Projects . AgentsNamedToolChoiceType BingCustomSearch { get { throw null ; } }
359363 public static Azure . AI . Projects . AgentsNamedToolChoiceType BingGrounding { get { throw null ; } }
360364 public static Azure . AI . Projects . AgentsNamedToolChoiceType CodeInterpreter { get { throw null ; } }
365+ public static Azure . AI . Projects . AgentsNamedToolChoiceType ConnectedAgent { get { throw null ; } }
361366 public static Azure . AI . Projects . AgentsNamedToolChoiceType FileSearch { get { throw null ; } }
362367 public static Azure . AI . Projects . AgentsNamedToolChoiceType Function { get { throw null ; } }
363368 public static Azure . AI . Projects . AgentsNamedToolChoiceType MicrosoftFabric { get { throw null ; } }
@@ -517,6 +522,7 @@ public static partial class AIProjectsModelFactory
517522 public static Azure . AI . Projects . MessageTextAnnotation MessageTextAnnotation ( string type = null , string text = null ) { throw null ; }
518523 public static Azure . AI . Projects . MessageTextUrlCitationAnnotation MessageTextUrlCitationAnnotation ( string text = null , Azure . AI . Projects . MessageTextUrlCitationDetails urlCitation = null , int ? startIndex = default ( int ? ) , int ? endIndex = default ( int ? ) ) { throw null ; }
519524 public static Azure . AI . Projects . MessageTextUrlCitationDetails MessageTextUrlCitationDetails ( string url = null , string title = null ) { throw null ; }
525+ public static Azure . AI . Projects . OpenAIPageableListOfAgentThread OpenAIPageableListOfAgentThread ( Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject @object = default ( Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject ) , System . Collections . Generic . IEnumerable < Azure . AI . Projects . AgentThread > data = null , string firstId = null , string lastId = null , bool hasMore = false ) { throw null ; }
520526 public static Azure . AI . Projects . RequiredToolCall RequiredToolCall ( string type = null , string id = null ) { throw null ; }
521527 public static Azure . AI . Projects . ResponseFormatJsonSchemaType ResponseFormatJsonSchemaType ( Azure . AI . Projects . ResponseFormatJsonSchemaTypeType type = default ( Azure . AI . Projects . ResponseFormatJsonSchemaTypeType ) , Azure . AI . Projects . ResponseFormatJsonSchema jsonSchema = null ) { throw null ; }
522528 public static Azure . AI . Projects . RunCompletionUsage RunCompletionUsage ( long completionTokens = ( long ) 0 , long promptTokens = ( long ) 0 , long totalTokens = ( long ) 0 ) { throw null ; }
@@ -760,6 +766,30 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer
760766 string System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . CodeInterpreterToolResource > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
761767 System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . CodeInterpreterToolResource > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
762768 }
769+ public partial class ConnectedAgentDetails : System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectedAgentDetails > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentDetails >
770+ {
771+ public ConnectedAgentDetails ( string id , string name , string description ) { }
772+ public string Description { get { throw null ; } set { } }
773+ public string Id { get { throw null ; } set { } }
774+ public string Name { get { throw null ; } set { } }
775+ protected virtual void JsonModelWriteCore ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
776+ Azure . AI . Projects . ConnectedAgentDetails System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectedAgentDetails > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
777+ void System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectedAgentDetails > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
778+ Azure . AI . Projects . ConnectedAgentDetails System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentDetails > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
779+ string System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentDetails > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
780+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentDetails > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
781+ }
782+ public partial class ConnectedAgentToolDefinition : Azure . AI . Projects . ToolDefinition , System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectedAgentToolDefinition > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentToolDefinition >
783+ {
784+ public ConnectedAgentToolDefinition ( Azure . AI . Projects . ConnectedAgentDetails connectedAgent ) { }
785+ public Azure . AI . Projects . ConnectedAgentDetails ConnectedAgent { get { throw null ; } set { } }
786+ protected override void JsonModelWriteCore ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
787+ Azure . AI . Projects . ConnectedAgentToolDefinition System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectedAgentToolDefinition > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
788+ void System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectedAgentToolDefinition > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
789+ Azure . AI . Projects . ConnectedAgentToolDefinition System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentToolDefinition > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
790+ string System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentToolDefinition > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
791+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectedAgentToolDefinition > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
792+ }
763793 public abstract partial class ConnectionProperties : System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . ConnectionProperties > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . ConnectionProperties >
764794 {
765795 protected ConnectionProperties ( Azure . AI . Projects . ConnectionType category , string target ) { }
@@ -1699,6 +1729,38 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write
16991729 string System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . MicrosoftFabricToolDefinition > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
17001730 System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . MicrosoftFabricToolDefinition > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
17011731 }
1732+ public partial class OpenAIPageableListOfAgentThread : System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread >
1733+ {
1734+ internal OpenAIPageableListOfAgentThread ( ) { }
1735+ public System . Collections . Generic . IReadOnlyList < Azure . AI . Projects . AgentThread > Data { get { throw null ; } }
1736+ public string FirstId { get { throw null ; } }
1737+ public bool HasMore { get { throw null ; } }
1738+ public string LastId { get { throw null ; } }
1739+ public Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject Object { get { throw null ; } }
1740+ protected virtual void JsonModelWriteCore ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
1741+ Azure . AI . Projects . OpenAIPageableListOfAgentThread System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
1742+ void System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
1743+ Azure . AI . Projects . OpenAIPageableListOfAgentThread System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
1744+ string System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
1745+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . OpenAIPageableListOfAgentThread > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
1746+ }
1747+ [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
1748+ public readonly partial struct OpenAIPageableListOfAgentThreadObject : System . IEquatable < Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject >
1749+ {
1750+ private readonly object _dummy ;
1751+ private readonly int _dummyPrimitive ;
1752+ public OpenAIPageableListOfAgentThreadObject ( string value ) { throw null ; }
1753+ public static Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject List { get { throw null ; } }
1754+ public bool Equals ( Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject other ) { throw null ; }
1755+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
1756+ public override bool Equals ( object obj ) { throw null ; }
1757+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
1758+ public override int GetHashCode ( ) { throw null ; }
1759+ public static bool operator == ( Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject left , Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject right ) { throw null ; }
1760+ public static implicit operator Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject ( string value ) { throw null ; }
1761+ public static bool operator != ( Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject left , Azure . AI . Projects . OpenAIPageableListOfAgentThreadObject right ) { throw null ; }
1762+ public override string ToString ( ) { throw null ; }
1763+ }
17021764 public partial class OpenApiAnonymousAuthDetails : Azure . AI . Projects . OpenApiAuthDetails , System . ClientModel . Primitives . IJsonModel < Azure . AI . Projects . OpenApiAnonymousAuthDetails > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Projects . OpenApiAnonymousAuthDetails >
17031765 {
17041766 public OpenApiAnonymousAuthDetails ( ) { }
0 commit comments