Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 28 additions & 25 deletions sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.net8.0.cs

Large diffs are not rendered by default.

53 changes: 28 additions & 25 deletions sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public static ThreadMessage ThreadMessage(string id = null, DateTimeOffset creat
attachments ??= new List<MessageAttachment>();
metadata ??= new Dictionary<string, string>();

return new ThreadMessage(id, @object: null, createdAt, threadId, status, incompleteDetails, completedAt, incompleteAt, role, contentItems?.ToList(), agentId, runId, attachments?.ToList(), metadata, serializedAdditionalRawData: null);
return new ThreadMessage(id, @object: null, createdAt, threadId, status, incompleteDetails, completedAt, incompleteAt, role, contentItems?.ToList(), agentId, runId, attachments?.ToList(), (IReadOnlyDictionary<string, string>)metadata, serializedAdditionalRawData: null);
}

public static RequiredFunctionToolCall RequiredFunctionToolCall(string toolCallId, string functionName, string functionArguments)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public virtual AsyncCollectionResult<StreamingUpdate> CreateRunStreamingAsync(st
overrideModelName,
overrideInstructions,
additionalInstructions,
additionalMessages?.ToList() as IReadOnlyList<ThreadMessage> ?? new ChangeTrackingList<ThreadMessage>(),
additionalMessages?.ToList() as IReadOnlyList<ThreadMessageOptions> ?? new ChangeTrackingList<ThreadMessageOptions>(),
overrideTools?.ToList() as IReadOnlyList<ToolDefinition> ?? new ChangeTrackingList<ToolDefinition>(),
stream: true,
temperature,
Expand Down Expand Up @@ -142,7 +142,7 @@ public virtual CollectionResult<StreamingUpdate> CreateRunStreaming(string threa
overrideModelName,
overrideInstructions,
additionalInstructions,
additionalMessages?.ToList() as IReadOnlyList<ThreadMessage> ?? new ChangeTrackingList<ThreadMessage>(),
additionalMessages?.ToList() as IReadOnlyList<ThreadMessageOptions> ?? new ChangeTrackingList<ThreadMessageOptions>(),
overrideTools?.ToList() as IReadOnlyList<ToolDefinition> ?? new ChangeTrackingList<ToolDefinition>(),
stream: true,
temperature,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions sdk/ai/Azure.AI.Projects/src/Generated/AgentsClient.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions sdk/ai/Azure.AI.Projects/src/Generated/CreateRunRequest.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading