SYMBOL INDEX (24585 symbols across 2324 files) FILE: .github/scripts/stale_issue_pr_ping.py function get_team_members (line 31) | def get_team_members(g: Github, org: str, team_slug: str) -> set[str]: function find_last_team_comment (line 52) | def find_last_team_comment( function author_replied_after (line 62) | def author_replied_after( function should_ping (line 76) | def should_ping( function ping (line 123) | def ping(issue: Issue, dry_run: bool) -> bool: function main (line 155) | def main() -> None: FILE: .github/tests/test_stale_issue_pr_ping.py function _make_comment (line 37) | def _make_comment(login: str | None, created_at: datetime) -> MagicMock: function _make_label (line 49) | def _make_label(name: str) -> MagicMock: function _make_issue (line 55) | def _make_issue( class TestFindLastTeamComment (line 82) | class TestFindLastTeamComment: method test_returns_last_team_comment (line 83) | def test_returns_last_team_comment(self): method test_returns_none_when_no_team_comments (line 89) | def test_returns_none_when_no_team_comments(self): method test_returns_none_for_empty_list (line 93) | def test_returns_none_for_empty_list(self): method test_skips_deleted_user (line 96) | def test_skips_deleted_user(self): method test_only_deleted_users (line 101) | def test_only_deleted_users(self): class TestAuthorRepliedAfter (line 110) | class TestAuthorRepliedAfter: method test_author_replied (line 111) | def test_author_replied(self): method test_author_not_replied (line 116) | def test_author_not_replied(self): method test_different_user_replied (line 121) | def test_different_user_replied(self): method test_deleted_user_comment (line 126) | def test_deleted_user_comment(self): class TestShouldPing (line 136) | class TestShouldPing: method test_should_ping_stale_issue (line 137) | def test_should_ping_stale_issue(self): method test_skip_team_member_author (line 142) | def test_skip_team_member_author(self): method test_skip_already_pinged (line 146) | def test_skip_already_pinged(self): method test_skip_no_comments (line 150) | def test_skip_no_comments(self): method test_skip_no_team_comment (line 154) | def test_skip_no_team_comment(self): method test_skip_author_replied (line 159) | def test_skip_author_replied(self): method test_skip_not_enough_days (line 165) | def test_skip_not_enough_days(self): method test_aware_datetime_handled (line 170) | def test_aware_datetime_handled(self): method test_naive_datetime_handled (line 177) | def test_naive_datetime_handled(self): class TestPing (line 190) | class TestPing: method test_dry_run (line 191) | def test_dry_run(self, capsys): method test_success (line 197) | def test_success(self, capsys): method test_retry_on_failure (line 204) | def test_retry_on_failure(self, mock_sleep): method test_idempotent_retry_skips_comment_on_label_failure (line 212) | def test_idempotent_retry_skips_comment_on_label_failure(self, mock_sl... method test_all_retries_fail (line 222) | def test_all_retries_fail(self, mock_sleep): class TestGetTeamMembers (line 233) | class TestGetTeamMembers: method test_success (line 234) | def test_success(self): method test_403_error_message (line 241) | def test_403_error_message(self, capsys): method test_404_error_message (line 254) | def test_404_error_message(self, capsys): method test_generic_error (line 267) | def test_generic_error(self, capsys): class TestMain (line 278) | class TestMain: method test_invalid_days_threshold (line 285) | def test_invalid_days_threshold(self, capsys): method test_missing_team_slug (line 294) | def test_missing_team_slug(self, capsys): FILE: .github/workflows/python-check-coverage.py class PackageCoverage (line 53) | class PackageCoverage: method line_coverage_percent (line 65) | def line_coverage_percent(self) -> float: method branch_coverage_percent (line 70) | def branch_coverage_percent(self) -> float: function normalize_coverage_path (line 75) | def normalize_coverage_path(path: str) -> str: function parse_coverage_xml (line 80) | def parse_coverage_xml( function format_coverage_value (line 188) | def format_coverage_value(coverage: float, threshold: float, is_enforced... function print_coverage_table (line 206) | def print_coverage_table( function check_coverage (line 280) | def check_coverage(xml_path: str, threshold: float) -> bool: function main (line 353) | def main() -> int: FILE: dotnet/samples/01-get-started/04_memory/Program.cs class UserInfoMemory (line 89) | internal sealed class UserInfoMemory : AIContextProvider method UserInfoMemory (line 95) | public UserInfoMemory(IChatClient chatClient, Func ProvideAIContextAsync(Invoking... class UserInfo (line 157) | internal sealed class UserInfo FILE: dotnet/samples/01-get-started/05_first_workflow/Program.cs class Program (line 18) | public static class Program method Main (line 20) | private static async Task Main() class ReverseTextExecutor (line 48) | internal sealed class ReverseTextExecutor() : Executor("... method HandleAsync (line 58) | public override ValueTask HandleAsync(string message, IWorkflo... FILE: dotnet/samples/02-agents/AGUI/Step02_BackendTools/Server/Program.cs class RestaurantSearchRequest (line 96) | internal sealed class RestaurantSearchRequest class RestaurantSearchResponse (line 102) | internal sealed class RestaurantSearchResponse class RestaurantInfo (line 109) | internal sealed class RestaurantInfo FILE: dotnet/samples/02-agents/AGUI/Step04_HumanInLoop/Client/ServerFunctionApprovalClientAgent.cs class ServerFunctionApprovalClientAgent (line 15) | internal sealed class ServerFunctionApprovalClientAgent : DelegatingAIAgent method ServerFunctionApprovalClientAgent (line 19) | public ServerFunctionApprovalClientAgent(AIAgent innerAgent, JsonSeria... method RunCoreAsync (line 25) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 35) | protected override async IAsyncEnumerable RunCore... method ConvertApprovalResponseToToolResult (line 53) | private static FunctionResultContent ConvertApprovalResponseToToolResu... method CopyMessagesUpToIndex (line 66) | private static List CopyMessagesUpToIndex(List CopyContentsUpToIndex(IList ... method ProcessOutgoingServerFunctionApprovals (line 86) | private static List ProcessOutgoingServerFunctionApprovals( method ProcessIncomingServerApprovalRequests (line 169) | private static AgentResponseUpdate ProcessIncomingServerApprovalRequests( class ApprovalRequest (line 242) | public sealed class ApprovalRequest class ApprovalResponse (line 257) | public sealed class ApprovalResponse FILE: dotnet/samples/02-agents/AGUI/Step04_HumanInLoop/Server/ServerFunctionApprovalServerAgent.cs class ServerFunctionApprovalAgent (line 15) | internal sealed class ServerFunctionApprovalAgent : DelegatingAIAgent method ServerFunctionApprovalAgent (line 19) | public ServerFunctionApprovalAgent(AIAgent innerAgent, JsonSerializerO... method RunCoreAsync (line 25) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 35) | protected override async IAsyncEnumerable RunCore... method ConvertToolCallToApprovalRequest (line 53) | private static ToolApprovalRequestContent ConvertToolCallToApprovalReq... method ConvertToolResultToApprovalResponse (line 78) | private static ToolApprovalResponseContent ConvertToolResultToApproval... method CopyMessagesUpToIndex (line 95) | private static List CopyMessagesUpToIndex(List CopyContentsUpToIndex(IList ... method ProcessIncomingFunctionApprovals (line 115) | private static List ProcessIncomingFunctionApprovals( method ProcessOutgoingApprovalRequests (line 175) | private static AgentResponseUpdate ProcessOutgoingApprovalRequests( class ApprovalRequest (line 233) | public sealed class ApprovalRequest class ApprovalResponse (line 248) | public sealed class ApprovalResponse FILE: dotnet/samples/02-agents/AGUI/Step05_StateManagement/Client/Program.cs class AgentState (line 196) | internal sealed class AgentState class RecipeState (line 203) | internal sealed class RecipeState FILE: dotnet/samples/02-agents/AGUI/Step05_StateManagement/Client/StatefulAgent.cs class StatefulAgent (line 14) | internal sealed class StatefulAgent : DelegatingAIAgent method StatefulAgent (line 30) | public StatefulAgent(AIAgent innerAgent, JsonSerializerOptions jsonSer... method RunCoreAsync (line 38) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 49) | protected override async IAsyncEnumerable RunCore... FILE: dotnet/samples/02-agents/AGUI/Step05_StateManagement/Server/RecipeModels.cs class AgentState (line 8) | internal sealed class AgentState class RecipeState (line 15) | internal sealed class RecipeState FILE: dotnet/samples/02-agents/AGUI/Step05_StateManagement/Server/SharedStateAgent.cs class SharedStateAgent (line 10) | internal sealed class SharedStateAgent : DelegatingAIAgent method SharedStateAgent (line 14) | public SharedStateAgent(AIAgent innerAgent, JsonSerializerOptions json... method RunCoreAsync (line 20) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 30) | protected override async IAsyncEnumerable RunCore... method TryDeserialize (line 138) | private static bool TryDeserialize(string json, JsonSerializerOptio... FILE: dotnet/samples/02-agents/AgentProviders/Agent_With_CustomImplementation/Program.cs class UpperCaseParrotAgent (line 28) | internal sealed class UpperCaseParrotAgent : AIAgent method CreateSessionCoreAsync (line 34) | protected override ValueTask CreateSessionCoreAsync(Canc... method SerializeSessionCoreAsync (line 37) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 47) | protected override ValueTask DeserializeSessionCoreAsync... method RunCoreAsync (line 50) | protected override async Task RunCoreAsync(IEnumerable<... method RunCoreStreamingAsync (line 79) | protected override async IAsyncEnumerable RunCore... method CloneAndToUpperCase (line 114) | private static IEnumerable CloneAndToUpperCase(IEnumerabl... class CustomAgentSession (line 140) | internal sealed class CustomAgentSession : AgentSession method CustomAgentSession (line 142) | internal CustomAgentSession() method CustomAgentSession (line 146) | [JsonConstructor] FILE: dotnet/samples/02-agents/AgentWithMemory/AgentWithMemory_Step05_BoundedChatHistory/BoundedChatHistoryProvider.cs class BoundedChatHistoryProvider (line 19) | internal sealed class BoundedChatHistoryProvider : ChatHistoryProvider, ... method BoundedChatHistoryProvider (line 36) | public BoundedChatHistoryProvider( method ProvideChatHistoryAsync (line 74) | protected override async ValueTask> ProvideCh... method StoreChatHistoryAsync (line 109) | protected override async ValueTask StoreChatHistoryAsync( method Dispose (line 129) | public void Dispose() FILE: dotnet/samples/02-agents/AgentWithMemory/AgentWithMemory_Step05_BoundedChatHistory/TruncatingChatReducer.cs class TruncatingChatReducer (line 12) | internal sealed class TruncatingChatReducer : IChatReducer method TruncatingChatReducer (line 20) | public TruncatingChatReducer(int maxMessages) method ReduceAsync (line 31) | public Task> ReduceAsync(IEnumerable RunAsync( method RunStreamingAsync (line 78) | public virtual IAsyncEnumerable RunStre... method RunCoreAsync (line 90) | protected sealed override Task RunCoreAsync(IEnumerable... method RunCoreStreamingAsync (line 94) | protected override IAsyncEnumerable RunCoreStream... FILE: dotnet/samples/02-agents/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/OpenAIResponseClientAgent.cs class OpenAIResponseClientAgent (line 14) | public class OpenAIResponseClientAgent : DelegatingAIAgent method OpenAIResponseClientAgent (line 25) | public OpenAIResponseClientAgent( method OpenAIResponseClientAgent (line 48) | public OpenAIResponseClientAgent( method RunAsync (line 62) | public virtual async Task RunAsync( method RunStreamingAsync (line 81) | public virtual async IAsyncEnumerable RunStre... method RunCoreAsync (line 111) | protected sealed override Task RunCoreAsync(IEnumerable... method RunCoreStreamingAsync (line 115) | protected sealed override IAsyncEnumerable RunCor... FILE: dotnet/samples/02-agents/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/TextSearchStore/TextSearchDocument.cs class TextSearchDocument (line 8) | public sealed class TextSearchDocument FILE: dotnet/samples/02-agents/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/TextSearchStore/TextSearchStore.cs class TextSearchStore (line 22) | public sealed partial class TextSearchStore : IDisposable method AnyLanguageWordRegex (line 25) | [GeneratedRegex(@"\p{L}+", RegexOptions.IgnoreCase, "en-US")] method AnyLanguageWordRegex (line 31) | private static Regex AnyLanguageWordRegex() => s_anyLanguageWordRegex; method TextSearchStore (line 61) | public TextSearchStore( method UpsertTextAsync (line 122) | public async Task UpsertTextAsync(IEnumerable textChunks, Canc... method UpsertDocumentsAsync (line 158) | public async Task UpsertDocumentsAsync(IEnumerable... method SearchAsync (line 210) | public async Task> SearchAsync(string ... method SearchCoreAsync (line 231) | private async Task>> SearchCor... method EnsureCollectionExistsAsync (line 317) | private async Task RunCoreAsync( method GetChatMessages (line 59) | private List GetChatMessages(string? textResponseText) method GetChatOptions (line 73) | private ChatOptions GetChatOptions(AgentRunOptions? options) FILE: dotnet/samples/02-agents/Agents/Agent_Step02_StructuredOutput/StructuredOutputAgentOptions.cs class StructuredOutputAgentOptions (line 12) | internal sealed class StructuredOutputAgentOptions FILE: dotnet/samples/02-agents/Agents/Agent_Step02_StructuredOutput/StructuredOutputAgentResponse.cs class StructuredOutputAgentResponse (line 12) | internal sealed class StructuredOutputAgentResponse : AgentResponse method StructuredOutputAgentResponse (line 19) | public StructuredOutputAgentResponse(ChatResponse chatResponse, AgentR... FILE: dotnet/samples/02-agents/Agents/Agent_Step04_3rdPartyChatHistoryStorage/Program.cs class VectorChatHistoryProvider (line 79) | internal sealed class VectorChatHistoryProvider : ChatHistoryProvider method VectorChatHistoryProvider (line 85) | public VectorChatHistoryProvider( method GetSessionDbKey (line 98) | public string GetSessionDbKey(AgentSession session) method ProvideChatHistoryAsync (line 101) | protected override async ValueTask> ProvideCh... method StoreChatHistoryAsync (line 119) | protected override async ValueTask StoreChatHistoryAsync(InvokedContex... class State (line 141) | public sealed class State method State (line 143) | public State(string sessionDbKey) class ChatHistoryItem (line 154) | private sealed class ChatHistoryItem FILE: dotnet/samples/02-agents/Agents/Agent_Step06_DependencyInjection/Program.cs class SampleService (line 48) | internal sealed class SampleService(AIAgent agent, IHostApplicationLifet... method StartAsync (line 52) | public async Task StartAsync(CancellationToken cancellationToken) method RunAsync (line 59) | public async Task RunAsync(CancellationToken cancellationToken) method StopAsync (line 87) | public Task StopAsync(CancellationToken cancellationToken) => Task.Com... FILE: dotnet/samples/02-agents/Agents/Agent_Step11_Middleware/Program.cs class DateTimeContextProvider (line 298) | internal sealed class DateTimeContextProvider : MessageAIContextProvider method ProvideMessagesAsync (line 300) | protected override ValueTask> ProvideMessages... FILE: dotnet/samples/02-agents/Agents/Agent_Step12_Plugins/Program.cs class AgentPlugin (line 49) | internal sealed class AgentPlugin(WeatherProvider weatherProvider) method GetWeather (line 59) | public string GetWeather(string location) method GetCurrentTime (line 73) | public DateTimeOffset GetCurrentTime(IServiceProvider sp, string locat... method AsAITools (line 89) | public IEnumerable AsAITools() class WeatherProvider (line 99) | internal sealed class WeatherProvider method GetWeather (line 110) | public string GetWeather(string location) class CurrentTimeProvider (line 122) | internal sealed class CurrentTimeProvider method GetCurrentTime (line 129) | public DateTimeOffset GetCurrentTime(string location) FILE: dotnet/samples/02-agents/Agents/Agent_Step17_AdditionalAIContext/Program.cs class TodoListAIContextProvider (line 87) | internal sealed class TodoListAIContextProvider : AIContextProvider method GetTodoItems (line 89) | private static List GetTodoItems(AgentSession? session) method SetTodoItems (line 92) | private static void SetTodoItems(AgentSession? session, List i... method ProvideAIContextAsync (line 95) | protected override ValueTask ProvideAIContextAsync(Invoking... method RemoveTodoItem (line 128) | private static void RemoveTodoItem(AgentSession? session, int index) method AddTodoItem (line 135) | private static void AddTodoItem(AgentSession? session, string item) class CalendarSearchAIContextProvider (line 151) | internal sealed class CalendarSearchAIContextProvider(Func> Prov... FILE: dotnet/samples/02-agents/DevUI/DevUI_Step01_BasicUsage/Program.cs class Program (line 35) | internal static class Program method Main (line 41) | private static void Main(string[] args) FILE: dotnet/samples/02-agents/FoundryAgents/FoundryAgents_Step05_StructuredOutput/Program.cs class PersonInfo (line 83) | [Description("Information about a person including their name, age, and ... FILE: dotnet/samples/02-agents/FoundryAgents/FoundryAgents_Step08_DependencyInjection/Program.cs class SampleService (line 53) | internal sealed class SampleService(AIProjectClient client, AIAgent agen... method StartAsync (line 57) | public async Task StartAsync(CancellationToken cancellationToken) method RunAsync (line 64) | public async Task RunAsync(CancellationToken cancellationToken) method StopAsync (line 92) | public async Task StopAsync(CancellationToken cancellationToken) FILE: dotnet/samples/02-agents/FoundryAgents/FoundryAgents_Step13_Plugins/Program.cs class AgentPlugin (line 58) | internal sealed class AgentPlugin(WeatherProvider weatherProvider) method GetWeather (line 68) | public string GetWeather(string location) method GetCurrentTime (line 82) | public DateTimeOffset GetCurrentTime(IServiceProvider sp, string locat... method AsAITools (line 98) | public IEnumerable AsAITools() class WeatherProvider (line 108) | internal sealed class WeatherProvider method GetWeather (line 119) | public string GetWeather(string location) class CurrentTimeProvider (line 131) | internal sealed class CurrentTimeProvider method GetCurrentTime (line 138) | public DateTimeOffset GetCurrentTime(string location) FILE: dotnet/samples/02-agents/FoundryAgents/FoundryAgents_Step15_ComputerUse/ComputerUseUtil.cs type SearchState (line 10) | internal enum SearchState class ComputerUseUtil (line 17) | internal static class ComputerUseUtil method LoadScreenshotAssets (line 22) | internal static Dictionary LoadScreenshotAssets() method HandleComputerActionAndTakeScreenshot (line 46) | internal static (SearchState CurrentState, byte[] ImageBytes) HandleCo... method DetermineNextState (line 59) | private static SearchState DetermineNextState(ComputerCallAction actio... method IsEnterKeyAction (line 83) | private static bool IsEnterKeyAction(ComputerCallAction action, string... method GetImageKey (line 92) | private static string GetImageKey(SearchState state) => state switch FILE: dotnet/samples/02-agents/FoundryAgents/FoundryAgents_Step15_ComputerUse/Program.cs class Program (line 14) | internal sealed class Program method Main (line 16) | private static async Task Main(string[] args) method InvokeComputerUseAgentAsync (line 73) | private static async Task InvokeComputerUseAgentAsync(AIAgent agent) FILE: dotnet/samples/02-agents/FoundryAgents/FoundryAgents_Step23_LocalMCP/Program.cs class LoggingMcpTool (line 79) | internal sealed class LoggingMcpTool(AIFunction innerFunction) : Delegat... method InvokeCoreAsync (line 81) | protected override ValueTask InvokeCoreAsync(AIFunctionArgume... FILE: dotnet/samples/03-workflows/Agents/CustomAgentExecutors/Program.cs class Program (line 30) | public static class Program method Main (line 32) | private static async Task Main() class SloganResult (line 77) | public sealed class SloganResult class FeedbackResult (line 89) | public sealed class FeedbackResult class SloganGeneratedEvent (line 104) | internal sealed class SloganGeneratedEvent(SloganResult sloganResult) : ... method ToString (line 106) | public override string ToString() => $"Slogan: {sloganResult.Slogan}"; class SloganWriterExecutor (line 115) | internal sealed partial class SloganWriterExecutor : Executor method SloganWriterExecutor (line 125) | public SloganWriterExecutor(string id, IChatClient chatClient) : base(id) method HandleAsync (line 139) | [MessageHandler] method HandleAsync (line 152) | [MessageHandler] class FeedbackEvent (line 175) | internal sealed class FeedbackEvent(FeedbackResult feedbackResult) : Wor... method ToString (line 178) | public override string ToString() => $"Feedback:\n{JsonSerializer.Seri... class FeedbackExecutor (line 184) | [SendsMessage(typeof(FeedbackResult))] method FeedbackExecutor (line 202) | public FeedbackExecutor(string id, IChatClient chatClient) : base(id) method HandleAsync (line 216) | public override async ValueTask HandleAsync(SloganResult message, IWor... FILE: dotnet/samples/03-workflows/Agents/FoundryAgent/Program.cs class Program (line 19) | public static class Program method Main (line 21) | private static async Task Main() method CreateTranslationAgentAsync (line 72) | private static async Task CreateTranslationAgentAsync( FILE: dotnet/samples/03-workflows/Agents/GroupChatToolApproval/DeploymentGroupChatManager.cs class DeploymentGroupChatManager (line 18) | internal sealed class DeploymentGroupChatManager : GroupChatManager method DeploymentGroupChatManager (line 22) | public DeploymentGroupChatManager(IReadOnlyList agents) method SelectNextAgentAsync (line 27) | protected override ValueTask SelectNextAgentAsync( FILE: dotnet/samples/03-workflows/Agents/GroupChatToolApproval/Program.cs class Program (line 41) | public static class Program method Main (line 43) | private static async Task Main() method RunTests (line 147) | [Description("Run automated tests for the application.")] method CheckStagingStatus (line 151) | [Description("Check the current status of the staging environment.")] method DeployToProduction (line 155) | [Description("Deploy specified components to production. Requires huma... method CreateRollbackPlan (line 161) | [Description("Create a rollback plan for the deployment.")] FILE: dotnet/samples/03-workflows/Agents/WorkflowAsAnAgent/Program.cs class Program (line 28) | public static class Program method Main (line 30) | private static async Task Main() FILE: dotnet/samples/03-workflows/Agents/WorkflowAsAnAgent/WorkflowFactory.cs class WorkflowFactory (line 9) | internal static class WorkflowFactory method BuildWorkflow (line 16) | internal static Workflow BuildWorkflow(IChatClient chatClient) method GetLanguageAgent (line 38) | private static ChatClientAgent GetLanguageAgent(string targetLanguage,... class ConcurrentAggregationExecutor (line 44) | [YieldsOutput(typeof(string))] method HandleAsync (line 57) | public override async ValueTask HandleAsync(List messag... method ResetAsync (line 69) | public ValueTask ResetAsync() FILE: dotnet/samples/03-workflows/Checkpoint/CheckpointAndRehydrate/Program.cs class Program (line 23) | public static class Program method Main (line 25) | private static async Task Main() FILE: dotnet/samples/03-workflows/Checkpoint/CheckpointAndRehydrate/WorkflowFactory.cs class WorkflowFactory (line 7) | internal static class WorkflowFactory method BuildWorkflow (line 16) | internal static Workflow BuildWorkflow() type NumberSignal (line 34) | internal enum NumberSignal class GuessNumberExecutor (line 44) | [SendsMessage(typeof(int))] method GuessNumberExecutor (line 64) | public GuessNumberExecutor(int lowerBound, int upperBound) : this() method HandleAsync (line 72) | public override async ValueTask HandleAsync(NumberSignal message, IWor... method OnCheckpointingAsync (line 94) | protected override ValueTask OnCheckpointingAsync(IWorkflowContext con... method OnCheckpointRestoredAsync (line 101) | protected override async ValueTask OnCheckpointRestoredAsync(IWorkflow... class JudgeExecutor (line 108) | [SendsMessage(typeof(NumberSignal))] method JudgeExecutor (line 120) | public JudgeExecutor(int targetNumber) : this() method HandleAsync (line 125) | public override async ValueTask HandleAsync(int message, IWorkflowCont... method OnCheckpointingAsync (line 146) | protected override ValueTask OnCheckpointingAsync(IWorkflowContext con... method OnCheckpointRestoredAsync (line 153) | protected override async ValueTask OnCheckpointRestoredAsync(IWorkflow... FILE: dotnet/samples/03-workflows/Checkpoint/CheckpointAndResume/Program.cs class Program (line 22) | public static class Program method Main (line 24) | private static async Task Main() FILE: dotnet/samples/03-workflows/Checkpoint/CheckpointAndResume/WorkflowFactory.cs class WorkflowFactory (line 7) | internal static class WorkflowFactory method BuildWorkflow (line 16) | internal static Workflow BuildWorkflow() type NumberSignal (line 34) | internal enum NumberSignal class GuessNumberExecutor (line 44) | [SendsMessage(typeof(int))] method GuessNumberExecutor (line 64) | public GuessNumberExecutor(int lowerBound, int upperBound) : this() method HandleAsync (line 72) | public override async ValueTask HandleAsync(NumberSignal message, IWor... method OnCheckpointingAsync (line 94) | protected override ValueTask OnCheckpointingAsync(IWorkflowContext con... method OnCheckpointRestoredAsync (line 101) | protected override async ValueTask OnCheckpointRestoredAsync(IWorkflow... class JudgeExecutor (line 108) | [SendsMessage(typeof(NumberSignal))] method JudgeExecutor (line 120) | public JudgeExecutor(int targetNumber) : this() method HandleAsync (line 125) | public override async ValueTask HandleAsync(int message, IWorkflowCont... method OnCheckpointingAsync (line 146) | protected override ValueTask OnCheckpointingAsync(IWorkflowContext con... method OnCheckpointRestoredAsync (line 153) | protected override async ValueTask OnCheckpointRestoredAsync(IWorkflow... FILE: dotnet/samples/03-workflows/Checkpoint/CheckpointWithHumanInTheLoop/Program.cs class Program (line 25) | public static class Program method Main (line 27) | private static async Task Main() method HandleExternalRequest (line 99) | private static ExternalResponse HandleExternalRequest(ExternalRequest ... method ReadIntegerFromConsole (line 120) | private static int ReadIntegerFromConsole(string prompt) FILE: dotnet/samples/03-workflows/Checkpoint/CheckpointWithHumanInTheLoop/WorkflowFactory.cs class WorkflowFactory (line 7) | internal static class WorkflowFactory method BuildWorkflow (line 13) | internal static Workflow BuildWorkflow() type NumberSignal (line 31) | internal enum NumberSignal class SignalWithNumber (line 41) | internal sealed class SignalWithNumber method SignalWithNumber (line 46) | public SignalWithNumber(NumberSignal signal, int? number = null) class JudgeExecutor (line 56) | [SendsMessage(typeof(SignalWithNumber))] method JudgeExecutor (line 68) | public JudgeExecutor(int targetNumber) : this() method HandleAsync (line 73) | public override async ValueTask HandleAsync(int message, IWorkflowCont... method OnCheckpointingAsync (line 94) | protected override ValueTask OnCheckpointingAsync(IWorkflowContext con... method OnCheckpointRestoredAsync (line 101) | protected override async ValueTask OnCheckpointRestoredAsync(IWorkflow... FILE: dotnet/samples/03-workflows/Concurrent/Concurrent/Program.cs class Program (line 30) | public static class Program method Main (line 32) | private static async Task Main() class ConcurrentStartExecutor (line 75) | [SendsMessage(typeof(ChatMessage))] method HandleAsync (line 88) | [MessageHandler] class ConcurrentAggregationExecutor (line 102) | [YieldsOutput(typeof(string))] method HandleAsync (line 116) | public override async ValueTask HandleAsync(List message,... FILE: dotnet/samples/03-workflows/Concurrent/MapReduce/Program.cs class Program (line 34) | public static class Program method Main (line 36) | private static async Task Main() method BuildWorkflow (line 50) | public static Workflow BuildWorkflow() method RunWorkflowAsync (line 82) | private static async Task RunWorkflowAsync(Workflow workflow) class Split (line 131) | [SendsMessage(typeof(SplitComplete))] method HandleAsync (line 141) | public override async ValueTask HandleAsync(string message, IWorkflowC... method Preprocess (line 174) | private static string[] Preprocess(string data) class Mapper (line 190) | [SendsMessage(typeof(MapComplete))] method HandleAsync (line 196) | public override async ValueTask HandleAsync(SplitComplete message, IWo... class Shuffler (line 217) | [SendsMessage(typeof(ShuffleComplete))] method HandleAsync (line 228) | public override async ValueTask HandleAsync(MapComplete message, IWork... method PreprocessAsync (line 257) | private async Task values)>>> Preproc... class Reducer (line 317) | [SendsMessage(typeof(ReduceComplete))] method HandleAsync (line 323) | public override async ValueTask HandleAsync(ShuffleComplete message, I... class CompletionExecutor (line 359) | [YieldsOutput(typeof(List))] method HandleAsync (line 366) | public override async ValueTask HandleAsync(List messa... class MapComplete (line 380) | internal sealed class SplitComplete : WorkflowEvent; class ShuffleComplete (line 393) | internal sealed class ShuffleComplete(string FilePath, string ReducerId)... class ReduceComplete (line 402) | internal sealed class ReduceComplete(string FilePath) : WorkflowEvent class MapReduceConstants (line 416) | internal static class MapReduceConstants FILE: dotnet/samples/03-workflows/ConditionalEdges/01_EdgeCondition/Program.cs class Program (line 33) | public static class Program method Main (line 35) | private static async Task Main() method GetCondition (line 80) | private static Func GetCondition(bool expectedResult) => method GetSpamDetectionAgent (line 87) | private static ChatClientAgent GetSpamDetectionAgent(IChatClient chatC... method GetEmailAssistantAgent (line 101) | private static ChatClientAgent GetEmailAssistantAgent(IChatClient chat... class EmailStateConstants (line 115) | internal static class EmailStateConstants class DetectionResult (line 123) | public sealed class DetectionResult class Email (line 139) | internal sealed class Email class SpamDetectionExecutor (line 151) | internal sealed class SpamDetectionExecutor : Executor HandleAsync(ChatMessa... class EmailResponse (line 187) | public sealed class EmailResponse class EmailAssistantExecutor (line 196) | internal sealed class EmailAssistantExecutor : Executor HandleAsync(DetectionRe... class SendEmailExecutor (line 231) | [YieldsOutput(typeof(string))] method HandleAsync (line 237) | public override async ValueTask HandleAsync(EmailResponse message, IWo... class HandleSpamExecutor (line 244) | [YieldsOutput(typeof(string))] method HandleAsync (line 250) | public override async ValueTask HandleAsync(DetectionResult message, I... FILE: dotnet/samples/03-workflows/ConditionalEdges/01_EdgeCondition/Resources.cs class Resources (line 8) | internal static class Resources method Read (line 12) | public static string Read(string fileName) => File.ReadAllText(Path.Co... FILE: dotnet/samples/03-workflows/ConditionalEdges/02_SwitchCase/Program.cs class Program (line 34) | public static class Program method Main (line 36) | private static async Task Main() method GetCondition (line 96) | private static Func GetCondition(SpamDecision expectedD... method GetSpamDetectionAgent (line 102) | private static ChatClientAgent GetSpamDetectionAgent(IChatClient chatC... method GetEmailAssistantAgent (line 116) | private static ChatClientAgent GetEmailAssistantAgent(IChatClient chat... class EmailStateConstants (line 130) | internal static class EmailStateConstants type SpamDecision (line 138) | public enum SpamDecision class DetectionResult (line 148) | public sealed class DetectionResult class Email (line 164) | internal sealed class Email class SpamDetectionExecutor (line 176) | internal sealed class SpamDetectionExecutor : Executor HandleAsync(ChatMessa... class EmailResponse (line 212) | public sealed class EmailResponse class EmailAssistantExecutor (line 221) | internal sealed class EmailAssistantExecutor : Executor HandleAsync(DetectionRe... class SendEmailExecutor (line 255) | [YieldsOutput(typeof(string))] method HandleAsync (line 261) | public override async ValueTask HandleAsync(EmailResponse message, IWo... class HandleSpamExecutor (line 268) | [YieldsOutput(typeof(string))] method HandleAsync (line 274) | public override async ValueTask HandleAsync(DetectionResult message, I... class HandleUncertainExecutor (line 290) | [YieldsOutput(typeof(string))] method HandleAsync (line 296) | public override async ValueTask HandleAsync(DetectionResult message, I... FILE: dotnet/samples/03-workflows/ConditionalEdges/02_SwitchCase/Resources.cs class Resources (line 8) | internal static class Resources method Read (line 12) | public static string Read(string fileName) => File.ReadAllText(Path.Co... FILE: dotnet/samples/03-workflows/ConditionalEdges/03_MultiSelection/Program.cs class Program (line 34) | public static class Program method Main (line 38) | private static async Task Main() method GetTargetAssigner (line 108) | private static Func> GetTargetA... method GetEmailAnalysisAgent (line 142) | private static ChatClientAgent GetEmailAnalysisAgent(IChatClient chatC... method GetEmailAssistantAgent (line 156) | private static ChatClientAgent GetEmailAssistantAgent(IChatClient chat... method GetEmailSummaryAgent (line 170) | private static ChatClientAgent GetEmailSummaryAgent(IChatClient chatCl... class EmailStateConstants (line 181) | internal static class EmailStateConstants type SpamDecision (line 189) | public enum SpamDecision class AnalysisResult (line 199) | public sealed class AnalysisResult class Email (line 221) | internal sealed class Email class EmailAnalysisExecutor (line 233) | internal sealed class EmailAnalysisExecutor : Executor HandleAsync(ChatMessag... class EmailResponse (line 270) | public sealed class EmailResponse class EmailAssistantExecutor (line 279) | internal sealed class EmailAssistantExecutor : Executor HandleAsync(AnalysisRes... class SendEmailExecutor (line 313) | [YieldsOutput(typeof(string))] method HandleAsync (line 319) | public override async ValueTask HandleAsync(EmailResponse message, IWo... class HandleSpamExecutor (line 326) | [YieldsOutput(typeof(string))] method HandleAsync (line 332) | public override async ValueTask HandleAsync(AnalysisResult message, IW... class HandleUncertainExecutor (line 348) | [YieldsOutput(typeof(string))] method HandleAsync (line 354) | public override async ValueTask HandleAsync(AnalysisResult message, IW... class EmailSummary (line 371) | public sealed class EmailSummary class EmailSummaryExecutor (line 380) | internal sealed class EmailSummaryExecutor : Executor HandleAsync(AnalysisRe... class DatabaseEvent (line 411) | internal sealed class DatabaseEvent(string message) : WorkflowEvent(mess... class DatabaseAccessExecutor (line 416) | internal sealed class DatabaseAccessExecutor() : Executor File.ReadAllText(Path.Co... FILE: dotnet/samples/03-workflows/Declarative/ConfirmInput/Program.cs class Program (line 16) | internal sealed class Program method Main (line 18) | public static async Task Main(string[] args) FILE: dotnet/samples/03-workflows/Declarative/CustomerSupport/Program.cs class Program (line 22) | internal sealed class Program method Main (line 24) | public static async Task Main(string[] args) method CreateAgentsAsync (line 62) | private static async Task CreateAgentsAsync(Uri foundryEndpoint, IConf... method DefineSelfServiceAgent (line 100) | private static PromptAgentDefinition DefineSelfServiceAgent(IConfigura... method DefineTicketingAgent (line 147) | private static PromptAgentDefinition DefineTicketingAgent(IConfigurati... method DefineTicketRoutingAgent (line 211) | private static PromptAgentDefinition DefineTicketRoutingAgent(IConfigu... method DefineWindowsSupportAgent (line 256) | private static PromptAgentDefinition DefineWindowsSupportAgent(IConfig... method DefineResolutionAgent (line 326) | private static PromptAgentDefinition DefineResolutionAgent(IConfigurat... method TicketEscalationAgent (line 360) | private static PromptAgentDefinition TicketEscalationAgent(IConfigurat... FILE: dotnet/samples/03-workflows/Declarative/CustomerSupport/TicketingPlugin.cs class TicketingPlugin (line 7) | internal sealed class TicketingPlugin method GetTicket (line 11) | [Description("Retrieve a ticket by identifier from Azure DevOps.")] method CreateTicket (line 21) | [Description("Create a ticket in Azure DevOps and return its identifie... method ResolveTicket (line 39) | [Description("Resolve an existing ticket in Azure DevOps given its ide... method SendNotification (line 50) | [Description("Send an email notification to escalate ticket engagement... method Trace (line 56) | private static void Trace(string functionName) type TicketStatus (line 69) | public enum TicketStatus class TicketItem (line 77) | public sealed class TicketItem FILE: dotnet/samples/03-workflows/Declarative/DeepResearch/Program.cs class Program (line 21) | internal sealed class Program method Main (line 23) | public static async Task Main(string[] args) method CreateAgentsAsync (line 48) | private static async Task CreateAgentsAsync(Uri foundryEndpoint, IConf... method DefineResearchAgent (line 91) | private static PromptAgentDefinition DefineResearchAgent(IConfiguratio... method DefinePlannerAgent (line 123) | private static PromptAgentDefinition DefinePlannerAgent(IConfiguration... method DefineManagerAgent (line 142) | private static PromptAgentDefinition DefineManagerAgent(IConfiguration... method DefineSummaryAgent (line 228) | private static PromptAgentDefinition DefineSummaryAgent(IConfiguration... method DefineKnowledgeAgent (line 243) | private static PromptAgentDefinition DefineKnowledgeAgent(IConfigurati... method DefineCoderAgent (line 254) | private static PromptAgentDefinition DefineCoderAgent(IConfiguration c... method DefineWeatherAgent (line 268) | private static PromptAgentDefinition DefineWeatherAgent(IConfiguration... FILE: dotnet/samples/03-workflows/Declarative/ExecuteCode/Generated.cs class SampleWorkflowProvider (line 33) | public static class SampleWorkflowProvider class WorkflowDemoRootExecutor (line 38) | internal sealed class WorkflowDemoRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class QuestionStudentExecutor (line 52) | internal sealed class QuestionStudentExecutor(FormulaSession session, ... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class QuestionTeacherExecutor (line 89) | internal sealed class QuestionTeacherExecutor(FormulaSession session, ... method ExecuteAsync (line 92) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SetCountIncrementExecutor (line 128) | internal sealed class SetCountIncrementExecutor(FormulaSession session... method ExecuteAsync (line 131) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class CheckCompletionExecutor (line 143) | internal sealed class CheckCompletionExecutor(FormulaSession session) ... method ExecuteAsync (line 146) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendactivityDoneExecutor (line 167) | internal sealed class SendactivityDoneExecutor(FormulaSession session)... method ExecuteAsync (line 170) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendactivityTiredExecutor (line 188) | internal sealed class SendactivityTiredExecutor(FormulaSession session... method ExecuteAsync (line 191) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 206) | public static Workflow CreateWorkflow( FILE: dotnet/samples/03-workflows/Declarative/ExecuteCode/Program.cs class Program (line 23) | internal sealed class Program method Main (line 25) | public static async Task Main(string[] args) method ExecuteAsync (line 33) | private async Task ExecuteAsync() method CreateWorkflow (line 48) | private Workflow CreateWorkflow() method Program (line 69) | private Program(string? workflowInput) method GetWorkflowInput (line 90) | private string GetWorkflowInput() method ParseWorkflowInput (line 120) | private static string? ParseWorkflowInput(string[] args) method InitializeConfig (line 126) | private static IConfigurationRoot InitializeConfig() => method Notify (line 132) | private static void Notify(string message) FILE: dotnet/samples/03-workflows/Declarative/ExecuteWorkflow/Program.cs class Program (line 29) | internal sealed class Program method Main (line 31) | public static async Task Main(string[] args) method ExecuteAsync (line 46) | private async Task ExecuteAsync() method CreateWorkflow (line 72) | private Workflow CreateWorkflow() method Program (line 104) | private Program(string workflowFile, string? workflowInput) method ParseWorkflowFile (line 133) | private static string? ParseWorkflowFile(string[] args) method GetWorkflowInput (line 176) | private string GetWorkflowInput() method ParseWorkflowInput (line 206) | private static string? ParseWorkflowInput(string[] args) method InitializeConfig (line 219) | private static IConfigurationRoot InitializeConfig() => method Notify (line 225) | private static void Notify(string message) FILE: dotnet/samples/03-workflows/Declarative/FunctionTools/MenuPlugin.cs class MenuPlugin (line 9) | public sealed class MenuPlugin method GetMenu (line 11) | [Description("Provides a list items on the menu.")] method GetSpecials (line 17) | [Description("Provides a list of specials from the menu.")] method GetItemPrice (line 23) | [Description("Provides the price of the requested menu item.")] class MenuItem (line 74) | public sealed class MenuItem FILE: dotnet/samples/03-workflows/Declarative/FunctionTools/Program.cs class Program (line 22) | internal sealed class Program method Main (line 24) | public static async Task Main(string[] args) method CreateAgentAsync (line 57) | private static async Task CreateAgentAsync(Uri foundryEndpoint, IConfi... method DefineMenuAgent (line 70) | private static PromptAgentDefinition DefineMenuAgent(IConfiguration co... FILE: dotnet/samples/03-workflows/Declarative/GenerateCode/Program.cs class Program (line 17) | internal sealed class Program method Main (line 19) | public static void Main(string[] args) method Execute (line 25) | private void Execute() method Program (line 49) | private Program(string[] args) method ParseWorkflowFile (line 54) | private static string ParseWorkflowFile(string[] args) method Notify (line 93) | private static void Notify(string message) FILE: dotnet/samples/03-workflows/Declarative/HostedWorkflow/Program.cs class Program (line 30) | internal sealed class Program method Main (line 32) | public static async Task Main(string[] args) method CreateWorkflowAsync (line 88) | private static async Task CreateWorkflowAsync(AIProjectC... method CreateAgentsAsync (line 103) | private static async Task CreateAgentsAsync(AIProjectClient agentClien... method DefineStudentAgent (line 116) | private static PromptAgentDefinition DefineStudentAgent(IConfiguration... method DefineTeacherAgent (line 129) | private static PromptAgentDefinition DefineTeacherAgent(IConfiguration... method GetWorkflowInput (line 141) | private static string GetWorkflowInput(string[] args) FILE: dotnet/samples/03-workflows/Declarative/InputArguments/Program.cs class Program (line 21) | internal sealed class Program method Main (line 23) | public static async Task Main(string[] args) method CreateAgentAsync (line 48) | private static async Task CreateAgentAsync(Uri foundryEndpoint, IConfi... method DefineLocationTriageAgent (line 71) | private static PromptAgentDefinition DefineLocationTriageAgent(IConfig... method DefineLocationCaptureAgent (line 82) | private static PromptAgentDefinition DefineLocationCaptureAgent(IConfi... method DefineLocationAwareAgent (line 131) | private static PromptAgentDefinition DefineLocationAwareAgent(IConfigu... FILE: dotnet/samples/03-workflows/Declarative/InvokeFunctionTool/MenuPlugin.cs class MenuPlugin (line 13) | public sealed class MenuPlugin method GetMenu (line 15) | [Description("Provides a list items on the menu.")] method GetSpecials (line 21) | [Description("Provides a list of specials from the menu.")] method GetItemPrice (line 27) | [Description("Provides the price of the requested menu item.")] class MenuItem (line 78) | public sealed class MenuItem FILE: dotnet/samples/03-workflows/Declarative/InvokeFunctionTool/Program.cs class Program (line 24) | internal sealed class Program method Main (line 26) | public static async Task Main(string[] args) method CreateAgentAsync (line 55) | private static async Task CreateAgentAsync(Uri foundryEndpoint, IConfi... method DefineMenuAgent (line 66) | private static PromptAgentDefinition DefineMenuAgent(IConfiguration co... FILE: dotnet/samples/03-workflows/Declarative/InvokeMcpTool/Program.cs class Program (line 42) | internal sealed class Program method Main (line 44) | public static async Task Main(string[] args) method CreateAgentAsync (line 117) | private static async Task CreateAgentAsync(Uri foundryEndpoint, IConfi... method DefineSearchAgent (line 128) | private static PromptAgentDefinition DefineSearchAgent(IConfiguration ... FILE: dotnet/samples/03-workflows/Declarative/Marketing/Program.cs class Program (line 20) | internal sealed class Program method Main (line 22) | public static async Task Main(string[] args) method CreateAgentsAsync (line 47) | private static async Task CreateAgentsAsync(Uri foundryEndpoint, IConf... method DefineAnalystAgent (line 70) | private static PromptAgentDefinition DefineAnalystAgent(IConfiguration... method DefineWriterAgent (line 88) | private static PromptAgentDefinition DefineWriterAgent(IConfiguration ... method DefineEditorAgent (line 99) | private static PromptAgentDefinition DefineEditorAgent(IConfiguration ... FILE: dotnet/samples/03-workflows/Declarative/StudentTeacher/Program.cs class Program (line 20) | internal sealed class Program method Main (line 22) | public static async Task Main(string[] args) method CreateAgentsAsync (line 47) | private static async Task CreateAgentsAsync(Uri foundryEndpoint, IConf... method DefineStudentAgent (line 65) | private static PromptAgentDefinition DefineStudentAgent(IConfiguration... method DefineTeacherAgent (line 78) | private static PromptAgentDefinition DefineTeacherAgent(IConfiguration... FILE: dotnet/samples/03-workflows/Declarative/ToolApproval/Program.cs class Program (line 21) | internal sealed class Program method Main (line 23) | public static async Task Main(string[] args) method CreateAgentAsync (line 48) | private static async Task CreateAgentAsync(Uri foundryEndpoint, IConfi... method DefineSearchAgent (line 61) | private static PromptAgentDefinition DefineSearchAgent(IConfiguration ... FILE: dotnet/samples/03-workflows/HumanInTheLoop/HumanInTheLoopBasic/Program.cs class Program (line 22) | public static class Program method Main (line 24) | private static async Task Main() method HandleExternalRequest (line 49) | private static ExternalResponse HandleExternalRequest(ExternalRequest ... method ReadIntegerFromConsole (line 70) | private static int ReadIntegerFromConsole(string prompt) FILE: dotnet/samples/03-workflows/HumanInTheLoop/HumanInTheLoopBasic/WorkflowFactory.cs class WorkflowFactory (line 7) | internal static class WorkflowFactory method BuildWorkflow (line 13) | internal static Workflow BuildWorkflow() type NumberSignal (line 31) | internal enum NumberSignal class JudgeExecutor (line 41) | [SendsMessage(typeof(NumberSignal))] method JudgeExecutor (line 52) | public JudgeExecutor(int targetNumber) : this() method HandleAsync (line 57) | public override async ValueTask HandleAsync(int message, IWorkflowCont... FILE: dotnet/samples/03-workflows/Loop/Program.cs class Program (line 19) | public static class Program method Main (line 21) | private static async Task Main() type NumberSignal (line 49) | internal enum NumberSignal class GuessNumberExecutor (line 59) | [SendsMessage(typeof(int))] method GuessNumberExecutor (line 78) | public GuessNumberExecutor(string id, int lowerBound, int upperBound) ... method HandleAsync (line 86) | public override async ValueTask HandleAsync(NumberSignal message, IWor... class JudgeExecutor (line 108) | [SendsMessage(typeof(NumberSignal))] method JudgeExecutor (line 120) | public JudgeExecutor(string id, int targetNumber) : base(id) method HandleAsync (line 125) | public override async ValueTask HandleAsync(int message, IWorkflowCont... FILE: dotnet/samples/03-workflows/Observability/ApplicationInsights/Program.cs class Program (line 23) | public static class Program method Main (line 28) | private static async Task Main() class UppercaseExecutor (line 77) | internal sealed class UppercaseExecutor() : Executor("Up... method HandleAsync (line 87) | public override async ValueTask HandleAsync(string message, IW... class ReverseTextExecutor (line 94) | internal sealed class ReverseTextExecutor() : Executor("... method HandleAsync (line 104) | public override async ValueTask HandleAsync(string message, IW... FILE: dotnet/samples/03-workflows/Observability/AspireDashboard/Program.cs class Program (line 24) | public static class Program method Main (line 29) | private static async Task Main() class UppercaseExecutor (line 79) | internal sealed class UppercaseExecutor() : Executor("Up... method HandleAsync (line 89) | public override async ValueTask HandleAsync(string message, IW... class ReverseTextExecutor (line 96) | internal sealed class ReverseTextExecutor() : Executor("... method HandleAsync (line 106) | public override async ValueTask HandleAsync(string message, IW... FILE: dotnet/samples/03-workflows/Observability/WorkflowAsAnAgent/Program.cs class Program (line 44) | public static class Program method Main (line 49) | private static async Task Main() FILE: dotnet/samples/03-workflows/Observability/WorkflowAsAnAgent/WorkflowHelper.cs class WorkflowHelper (line 9) | internal static partial class WorkflowHelper method GetWorkflow (line 17) | internal static Workflow GetWorkflow(IChatClient chatClient, string so... method GetLanguageAgent (line 40) | private static AIAgent GetLanguageAgent(string targetLanguage, IChatCl... class ConcurrentStartExecutor (line 53) | private sealed partial class ConcurrentStartExecutor() : Executor("Con... method RouteMessages (line 55) | [MessageHandler] method RouteTurnTokenAsync (line 61) | [MessageHandler] class ConcurrentAggregationExecutor (line 71) | [YieldsOutput(typeof(List))] method HandleAsync (line 83) | public override async ValueTask HandleAsync(List messag... FILE: dotnet/samples/03-workflows/SharedStates/Program.cs class Program (line 17) | public static class Program method Main (line 19) | private static async Task Main() class FileContentStateConstants (line 49) | internal static class FileContentStateConstants class FileReadExecutor (line 54) | internal sealed class FileReadExecutor() : Executor("Fil... method HandleAsync (line 56) | public override async ValueTask HandleAsync(string message, IW... class FileStats (line 68) | internal sealed class FileStats class WordCountingExecutor (line 74) | internal sealed class WordCountingExecutor() : Executor HandleAsync(string message,... class ParagraphCountingExecutor (line 88) | internal sealed class ParagraphCountingExecutor() : Executor HandleAsync(string message,... class AggregationExecutor (line 105) | [YieldsOutput(typeof(string))] method HandleAsync (line 110) | public override async ValueTask HandleAsync(FileStats message, IWorkfl... FILE: dotnet/samples/03-workflows/SharedStates/Resources.cs class Resources (line 8) | internal static class Resources method Read (line 12) | public static string Read(string fileName) => File.ReadAllText(Path.Co... FILE: dotnet/samples/03-workflows/Visualization/Program.cs class Program (line 15) | internal static class Program method Main (line 21) | private static void Main(string[] args) FILE: dotnet/samples/03-workflows/_StartHere/01_Streaming/Program.cs class Program (line 17) | public static class Program method Main (line 19) | private static async Task Main() class UppercaseExecutor (line 45) | internal sealed class UppercaseExecutor() : Executor("Up... method HandleAsync (line 55) | public override ValueTask HandleAsync(string message, IWorkflo... class ReverseTextExecutor (line 62) | internal sealed class ReverseTextExecutor() : Executor("... method HandleAsync (line 72) | public override ValueTask HandleAsync(string message, IWorkflo... FILE: dotnet/samples/03-workflows/_StartHere/02_AgentsInWorkflows/Program.cs class Program (line 26) | public static class Program method Main (line 28) | private static async Task Main() method GetTranslationAgent (line 68) | private static ChatClientAgent GetTranslationAgent(string targetLangua... FILE: dotnet/samples/03-workflows/_StartHere/03_AgentWorkflowPatterns/Program.cs class Program (line 21) | public static class Program method Main (line 23) | private static async Task Main() method GetTranslationAgent (line 121) | private static ChatClientAgent GetTranslationAgent(string targetLangua... FILE: dotnet/samples/03-workflows/_StartHere/05_SubWorkflows/Program.cs class Program (line 23) | public static class Program method Main (line 25) | private static async Task Main() class PrefixExecutor (line 96) | internal sealed class PrefixExecutor(string prefix) : Executor HandleAsync(string message, IWorkflo... class UppercaseExecutor (line 109) | internal sealed class UppercaseExecutor() : Executor("Up... method HandleAsync (line 111) | public override ValueTask HandleAsync(string message, IWorkflo... class ReverseExecutor (line 122) | internal sealed class ReverseExecutor() : Executor("Reve... method HandleAsync (line 124) | public override ValueTask HandleAsync(string message, IWorkflo... class AppendSuffixExecutor (line 135) | internal sealed class AppendSuffixExecutor(string suffix) : Executor HandleAsync(string message, IWorkflo... class PostProcessExecutor (line 148) | internal sealed class PostProcessExecutor() : Executor("... method HandleAsync (line 150) | public override ValueTask HandleAsync(string message, IWorkflo... FILE: dotnet/samples/03-workflows/_StartHere/06_MixedWorkflowAgentsAndExecutors/Program.cs class Program (line 36) | public static class Program method Main (line 39) | private static async Task Main() method ExecuteWorkflowAsync (line 129) | private static async Task ExecuteWorkflowAsync(Workflow workflow, stri... class UserInputExecutor (line 171) | internal sealed class UserInputExecutor() : Executor("Us... method HandleAsync (line 173) | public override async ValueTask HandleAsync(string message, IW... class TextInverterExecutor (line 189) | internal sealed class TextInverterExecutor(string id) : Executor HandleAsync(string message, IWorkflo... class StringToChatMessageExecutor (line 208) | [SendsMessage(typeof(ChatMessage))] method HandleAsync (line 212) | public override async ValueTask HandleAsync(string message, IWorkflowC... class JailbreakSyncExecutor (line 239) | [SendsMessage(typeof(ChatMessage))] method HandleAsync (line 243) | public override async ValueTask HandleAsync(List message,... class FinalOutputExecutor (line 298) | internal sealed class FinalOutputExecutor() : Executor... method HandleAsync (line 300) | public override ValueTask HandleAsync(List messag... FILE: dotnet/samples/03-workflows/_StartHere/07_WriterCriticWorkflow/Program.cs class Program (line 41) | public static class Program method Main (line 45) | private static async Task Main() method ExecuteWorkflowAsync (line 89) | private static async Task ExecuteWorkflowAsync(Workflow workflow, stri... class FlowState (line 130) | internal sealed class FlowState class FlowStateShared (line 139) | internal static class FlowStateShared class FlowStateHelpers (line 148) | internal static class FlowStateHelpers method ReadFlowStateAsync (line 150) | public static async Task ReadFlowStateAsync(IWorkflowContex... method SaveFlowStateAsync (line 156) | public static ValueTask SaveFlowStateAsync(IWorkflowContext context, F... class CriticDecision (line 168) | [Description("Critic's review decision including approval status and fee... class WriterExecutor (line 196) | internal sealed partial class WriterExecutor : Executor method WriterExecutor (line 200) | public WriterExecutor(IChatClient chatClient) : base("Writer") method HandleInitialRequestAsync (line 216) | [MessageHandler] method HandleRevisionRequestAsync (line 228) | [MessageHandler] method HandleAsyncCoreAsync (line 244) | private async Task HandleAsyncCoreAsync( class CriticExecutor (line 276) | internal sealed class CriticExecutor : Executor HandleAsync( class SummaryExecutor (line 369) | internal sealed class SummaryExecutor : Executor HandleAsync( FILE: dotnet/samples/04-hosting/A2A/A2AAgent_AsFunctionTools/Program.cs class FunctionNameSanitizer (line 80) | internal static partial class FunctionNameSanitizer method Sanitize (line 82) | public static string Sanitize(string name) method InvalidNameCharsRegex (line 87) | [GeneratedRegex("[^0-9A-Za-z]+")] FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/02_AgentOrchestration_Chaining/FunctionTriggers.cs class FunctionTriggers (line 14) | public static class FunctionTriggers type TextResponse (line 16) | public sealed record TextResponse(string Text); method RunOrchestrationAsync (line 18) | [Function(nameof(RunOrchestrationAsync))] method StartOrchestrationAsync (line 36) | [Function(nameof(StartOrchestrationAsync))] method GetOrchestrationStatusAsync (line 55) | [Function(nameof(GetOrchestrationStatusAsync))] method GetStatusQueryGetUri (line 85) | private static string GetStatusQueryGetUri(HttpRequestData req, string... FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/03_AgentOrchestration_Concurrency/FunctionTriggers.cs class FunctionsTriggers (line 14) | public static class FunctionsTriggers type TextResponse (line 16) | public sealed record TextResponse(string Text); method RunOrchestrationAsync (line 18) | [Function(nameof(RunOrchestrationAsync))] method StartOrchestrationAsync (line 49) | [Function(nameof(StartOrchestrationAsync))] method GetOrchestrationStatusAsync (line 79) | [Function(nameof(GetOrchestrationStatusAsync))] method GetStatusQueryGetUri (line 109) | private static string GetStatusQueryGetUri(HttpRequestData req, string... FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/04_AgentOrchestration_Conditionals/FunctionTriggers.cs class FunctionTriggers (line 14) | public static class FunctionTriggers method RunOrchestrationAsync (line 16) | [Function(nameof(RunOrchestrationAsync))] method HandleSpamEmail (line 63) | [Function(nameof(HandleSpamEmail))] method SendEmail (line 69) | [Function(nameof(SendEmail))] method StartOrchestrationAsync (line 76) | [Function(nameof(StartOrchestrationAsync))] method GetOrchestrationStatusAsync (line 106) | [Function(nameof(GetOrchestrationStatusAsync))] method GetStatusQueryGetUri (line 136) | private static string GetStatusQueryGetUri(HttpRequestData req, string... FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/04_AgentOrchestration_Conditionals/Models.cs class Email (line 10) | public sealed class Email class DetectionResult (line 22) | public sealed class DetectionResult class EmailResponse (line 34) | public sealed class EmailResponse FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/05_AgentOrchestration_HITL/FunctionTriggers.cs class FunctionTriggers (line 15) | public static class FunctionTriggers method RunOrchestrationAsync (line 17) | [Function(nameof(RunOrchestrationAsync))] method StartOrchestrationAsync (line 95) | [Function(nameof(StartOrchestrationAsync))] method SendHumanApprovalAsync (line 125) | [Function(nameof(SendHumanApprovalAsync))] method GetOrchestrationStatusAsync (line 154) | [Function(nameof(GetOrchestrationStatusAsync))] method NotifyUserForApproval (line 185) | [Function(nameof(NotifyUserForApproval))] method PublishContent (line 204) | [Function(nameof(PublishContent))] method GetStatusQueryGetUri (line 222) | private static string GetStatusQueryGetUri(HttpRequestData req, string... FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/05_AgentOrchestration_HITL/Models.cs class ContentGenerationInput (line 10) | public sealed class ContentGenerationInput class GeneratedContent (line 25) | public sealed class GeneratedContent class HumanApprovalResponse (line 37) | public sealed class HumanApprovalResponse FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/06_LongRunningTools/FunctionTriggers.cs class FunctionTriggers (line 11) | public static class FunctionTriggers method RunOrchestrationAsync (line 13) | [Function(nameof(RunOrchestrationAsync))] method NotifyUserForApproval (line 115) | [Function(nameof(NotifyUserForApproval))] method PublishContent (line 134) | [Function(nameof(PublishContent))] FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/06_LongRunningTools/Models.cs class ContentGenerationInput (line 10) | public sealed class ContentGenerationInput class GeneratedContent (line 25) | public sealed class GeneratedContent class HumanApprovalResponse (line 37) | public sealed class HumanApprovalResponse FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/06_LongRunningTools/Tools.cs class Tools (line 13) | internal sealed class Tools(ILogger logger) method StartContentGenerationWorkflow (line 17) | [Description("Starts a content generation workflow and returns the ins... method GetWorkflowStatusAsync (line 43) | [Description("Gets the status of a workflow orchestration.")] method SubmitHumanApprovalAsync (line 76) | [Description("Raises a feedback event for the content generation workf... method SanitizeLogValue (line 89) | private static string SanitizeLogValue(string value) => FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/08_ReliableStreaming/FunctionTriggers.cs class FunctionTriggers (line 34) | public sealed class FunctionTriggers method FunctionTriggers (line 44) | public FunctionTriggers(RedisStreamResponseHandler streamHandler, ILog... method CreateAsync (line 81) | [Function(nameof(CreateAsync))] method StreamAsync (line 144) | [Function(nameof(StreamAsync))] method StreamToClientAsync (line 181) | private async Task StreamToClientAsync( method WriteChunkAsync (line 236) | private static async Task WriteChunkAsync( method WriteEndOfStreamAsync (line 257) | private static async Task WriteEndOfStreamAsync( method WriteErrorAsync (line 278) | private static async Task WriteErrorAsync( method WriteSSEEventAsync (line 299) | private static async Task WriteSSEEventAsync( method SanitizeLogValue (line 324) | private static string? SanitizeLogValue(string? value) FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/08_ReliableStreaming/RedisStreamResponseHandler.cs type StreamChunk (line 17) | public readonly record struct StreamChunk(string EntryId, string? Text, ... class RedisStreamResponseHandler (line 35) | public sealed class RedisStreamResponseHandler : IAgentResponseHandler method RedisStreamResponseHandler (line 48) | public RedisStreamResponseHandler(IConnectionMultiplexer redis, TimeSp... method OnStreamingResponseUpdateAsync (line 55) | public async ValueTask OnStreamingResponseUpdateAsync( method OnAgentResponseAsync (line 115) | public ValueTask OnAgentResponseAsync(AgentResponse message, Cancellat... method ReadStreamAsync (line 130) | public async IAsyncEnumerable ReadStreamAsync( method GetStreamKey (line 211) | internal static string GetStreamKey(string conversationId) => $"agent-... FILE: dotnet/samples/04-hosting/DurableAgents/AzureFunctions/08_ReliableStreaming/Tools.cs class TravelTools (line 11) | internal static class TravelTools method GetWeatherForecast (line 20) | [Description("Gets the weather forecast for a destination on a specifi... method GetLocalEvents (line 72) | [Description("Gets local events and activities happening at a destinat... method GetWeatherRecommendation (line 143) | private static string GetWeatherRecommendation(string condition) FILE: dotnet/samples/04-hosting/DurableAgents/ConsoleApps/02_AgentOrchestration_Chaining/Models.cs type TextResponse (line 6) | public sealed record TextResponse(string Text); FILE: dotnet/samples/04-hosting/DurableAgents/ConsoleApps/03_AgentOrchestration_Concurrency/Models.cs type TextResponse (line 6) | public sealed record TextResponse(string Text); FILE: dotnet/samples/04-hosting/DurableAgents/ConsoleApps/04_AgentOrchestration_Conditionals/Models.cs class Email (line 10) | public sealed class Email class DetectionResult (line 22) | public sealed class DetectionResult class EmailResponse (line 34) | public sealed class EmailResponse FILE: dotnet/samples/04-hosting/DurableAgents/ConsoleApps/05_AgentOrchestration_HITL/Models.cs class ContentGenerationInput (line 10) | public sealed class ContentGenerationInput class GeneratedContent (line 25) | public sealed class GeneratedContent class HumanApprovalResponse (line 37) | public sealed class HumanApprovalResponse FILE: dotnet/samples/04-hosting/DurableAgents/ConsoleApps/06_LongRunningTools/Models.cs class ContentGenerationInput (line 10) | public sealed class ContentGenerationInput class GeneratedContent (line 25) | public sealed class GeneratedContent class HumanFeedbackResponse (line 37) | public sealed class HumanFeedbackResponse FILE: dotnet/samples/04-hosting/DurableAgents/ConsoleApps/07_ReliableStreaming/RedisStreamResponseHandler.cs type StreamChunk (line 17) | public readonly record struct StreamChunk(string EntryId, string? Text, ... class RedisStreamResponseHandler (line 35) | public sealed class RedisStreamResponseHandler : IAgentResponseHandler method RedisStreamResponseHandler (line 48) | public RedisStreamResponseHandler(IConnectionMultiplexer redis, TimeSp... method OnStreamingResponseUpdateAsync (line 55) | public async ValueTask OnStreamingResponseUpdateAsync( method OnAgentResponseAsync (line 116) | public ValueTask OnAgentResponseAsync(AgentResponse message, Cancellat... method ReadStreamAsync (line 131) | public async IAsyncEnumerable ReadStreamAsync( method GetStreamKey (line 215) | internal static string GetStreamKey(string conversationId) => $"agent-... FILE: dotnet/samples/04-hosting/DurableWorkflows/AzureFunctions/01_SequentialWorkflow/OrderCancelExecutors.cs class OrderLookup (line 10) | internal sealed class OrderLookup() : Executor("OrderLook... method HandleAsync (line 12) | public override async ValueTask HandleAsync( class OrderCancel (line 44) | internal sealed class OrderCancel() : Executor("OrderCancel") method HandleAsync (line 46) | public override async ValueTask HandleAsync( class SendEmail (line 80) | internal sealed class SendEmail() : Executor("SendEmail") method HandleAsync (line 82) | public override ValueTask HandleAsync( type Order (line 104) | internal sealed record Order(string Id, DateTime OrderDate, bool IsCance... type Customer (line 106) | internal sealed record Customer(string Name, string Email); type BatchCancelRequest (line 113) | internal sealed record BatchCancelRequest(string[] OrderIds, string Reas... type BatchCancelResult (line 119) | internal sealed record BatchCancelResult(int TotalOrders, int CancelledC... class StatusReport (line 124) | internal sealed class StatusReport() : Executor("StatusRe... method HandleAsync (line 126) | public override ValueTask HandleAsync( class BatchCancelProcessor (line 153) | internal sealed class BatchCancelProcessor() : Executor HandleAsync( class BatchCancelSummary (line 193) | internal sealed class BatchCancelSummary() : Executor HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/AzureFunctions/02_ConcurrentWorkflow/ExpertExecutors.cs class ParseQuestionExecutor (line 10) | internal sealed class ParseQuestionExecutor() : Executor... method HandleAsync (line 12) | public override ValueTask HandleAsync( class AggregatorExecutor (line 41) | internal sealed class AggregatorExecutor() : Executor(... method HandleAsync (line 43) | public override ValueTask HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/AzureFunctions/03_WorkflowHITL/Executors.cs type ApprovalRequest (line 8) | public record ApprovalRequest(string ExpenseId, decimal Amount, string E... type ApprovalResponse (line 11) | public record ApprovalResponse(bool Approved, string? Comments); class CreateApprovalRequest (line 14) | internal sealed class CreateApprovalRequest() : Executor HandleAsync( class PrepareFinanceReview (line 27) | internal sealed class PrepareFinanceReview() : Executor HandleAsync( class ExpenseReimburse (line 45) | internal sealed class ExpenseReimburse() : Executor HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/01_SequentialWorkflow/OrderCancelExecutors.cs type OrderCancelRequest (line 12) | internal sealed record OrderCancelRequest(string OrderId, string Reason); class OrderLookup (line 17) | internal sealed class OrderLookup() : Executor HandleAsync( class OrderCancel (line 53) | internal sealed class OrderCancel() : Executor("OrderCancel") method HandleAsync (line 55) | public override async ValueTask HandleAsync( class SendEmail (line 90) | internal sealed class SendEmail() : Executor("SendEmail") method HandleAsync (line 92) | public override ValueTask HandleAsync( type Order (line 114) | internal sealed record Order(string Id, DateTime OrderDate, bool IsCance... type Customer (line 116) | internal sealed record Customer(string Name, string Email); FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/02_ConcurrentWorkflow/ExpertExecutors.cs class ParseQuestionExecutor (line 10) | internal sealed class ParseQuestionExecutor() : Executor... method HandleAsync (line 12) | public override ValueTask HandleAsync( class AggregatorExecutor (line 41) | internal sealed class AggregatorExecutor() : Executor(... method HandleAsync (line 43) | public override ValueTask HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/03_ConditionalEdges/NotifyFraud.cs class Order (line 7) | internal sealed class Order method Order (line 9) | public Order(string id, decimal amount) type Customer (line 20) | public sealed record Customer(int Id, string Name, bool IsBlocked); class OrderIdParser (line 22) | internal sealed class OrderIdParser() : Executor("OrderId... method HandleAsync (line 24) | public override async ValueTask HandleAsync(string message, IWo... method GetOrder (line 29) | private static Order GetOrder(string id) class OrderEnrich (line 36) | internal sealed class OrderEnrich() : Executor("EnrichOrder") method HandleAsync (line 38) | public override async ValueTask HandleAsync(Order message, IWor... method GetCustomerForOrder (line 44) | private static Customer GetCustomerForOrder(string orderId) class PaymentProcessor (line 55) | internal sealed class PaymentProcessor() : Executor("Payme... method HandleAsync (line 57) | public override async ValueTask HandleAsync(Order message, IWor... class NotifyFraud (line 65) | internal sealed class NotifyFraud() : Executor("NotifyFra... method HandleAsync (line 67) | public override async ValueTask HandleAsync(Order message, IWo... class OrderRouteConditions (line 74) | internal static class OrderRouteConditions method WhenBlocked (line 79) | internal static Func WhenBlocked() => order => order?.Cu... method WhenNotBlocked (line 84) | internal static Func WhenNotBlocked() => order => order?... FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/04_WorkflowAndAgents/ParseQuestionExecutor.cs class ParseQuestionExecutor (line 10) | internal sealed class ParseQuestionExecutor() : Executor... method HandleAsync (line 12) | public override ValueTask HandleAsync( class ResponseAggregatorExecutor (line 41) | internal sealed class ResponseAggregatorExecutor() : Executor HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/05_WorkflowEvents/Executors.cs class OrderLookupStartedEvent (line 11) | internal sealed class OrderLookupStartedEvent(string orderId) : Workflow... class OrderFoundEvent (line 16) | internal sealed class OrderFoundEvent(string customerName) : WorkflowEve... class CancellationProgressEvent (line 21) | internal sealed class CancellationProgressEvent(int percentComplete, str... class EmailSentEvent (line 27) | internal sealed class OrderCancelledEvent() : WorkflowEvent("Order cance... type Order (line 38) | internal sealed record Order(string Id, DateTime OrderDate, bool IsCance... type Customer (line 40) | internal sealed record Customer(string Name, string Email); class OrderLookup (line 49) | internal sealed class OrderLookup() : Executor("OrderLook... method HandleAsync (line 51) | public override async ValueTask HandleAsync( class OrderCancel (line 80) | internal sealed class OrderCancel() : Executor("OrderCancel") method HandleAsync (line 82) | public override async ValueTask HandleAsync( class SendEmail (line 111) | internal sealed class SendEmail() : Executor("SendEmail") method HandleAsync (line 113) | public override async ValueTask HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/06_WorkflowSharedState/Executors.cs type OrderDetails (line 14) | internal sealed record OrderDetails(string OrderId, string CustomerName,... type AuditEntry (line 21) | internal sealed record AuditEntry(string Step, string Timestamp, string ... class ValidateOrder (line 34) | [YieldsOutput(typeof(string))] method HandleAsync (line 37) | public override async ValueTask HandleAsync( class EnrichOrder (line 77) | [YieldsOutput(typeof(string))] method HandleAsync (line 80) | public override async ValueTask HandleAsync( class ProcessPayment (line 120) | internal sealed class ProcessPayment() : Executor(... method HandleAsync (line 122) | public override async ValueTask HandleAsync( class GenerateInvoice (line 153) | internal sealed class GenerateInvoice() : Executor("Gene... method HandleAsync (line 155) | public override async ValueTask HandleAsync( FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/07_SubWorkflows/Executors.cs class FraudRiskAssessedEvent (line 10) | internal sealed class FraudRiskAssessedEvent(int riskScore) : WorkflowEv... class OrderInfo (line 18) | internal sealed class OrderInfo class OrderReceived (line 36) | internal sealed class OrderReceived() : Executor("Ord... method HandleAsync (line 38) | public override ValueTask HandleAsync(string message, IWork... class OrderCompleted (line 58) | internal sealed class OrderCompleted() : Executor("Or... method HandleAsync (line 60) | public override ValueTask HandleAsync(OrderInfo message, IWork... class ValidatePayment (line 80) | internal sealed class ValidatePayment() : Executor... method HandleAsync (line 82) | public override async ValueTask HandleAsync(OrderInfo messa... class ChargePayment (line 102) | internal sealed class ChargePayment() : Executor("... method HandleAsync (line 104) | public override async ValueTask HandleAsync(OrderInfo messa... class AnalyzePatterns (line 127) | internal sealed class AnalyzePatterns() : Executor... method HandleAsync (line 129) | public override async ValueTask HandleAsync(OrderInfo messa... class CalculateRiskScore (line 152) | internal sealed class CalculateRiskScore() : Executor HandleAsync(OrderInfo messa... class SelectCarrier (line 188) | internal sealed class SelectCarrier() : Executor("SelectCarri... method HandleAsync (line 190) | public override async ValueTask HandleAsync(OrderInfo message, IWorkfl... class CreateShipment (line 214) | internal sealed class CreateShipment() : Executor(... method HandleAsync (line 216) | public override async ValueTask HandleAsync(OrderInfo messa... FILE: dotnet/samples/04-hosting/DurableWorkflows/ConsoleApps/08_WorkflowHITL/Executors.cs type ApprovalRequest (line 13) | public record ApprovalRequest(string ExpenseId, decimal Amount, string E... type ApprovalResponse (line 20) | public record ApprovalResponse(bool Approved, string? Comments); class CreateApprovalRequest (line 25) | internal sealed class CreateApprovalRequest() : Executor HandleAsync( class PrepareFinanceReview (line 41) | internal sealed class PrepareFinanceReview() : Executor HandleAsync( class ExpenseReimburse (line 62) | internal sealed class ExpenseReimburse() : Executor HandleAsync( FILE: dotnet/samples/05-end-to-end/A2AClientServer/A2AClient/HostClientAgent.cs class HostClientAgent (line 11) | internal sealed class HostClientAgent method HostClientAgent (line 13) | internal HostClientAgent(ILoggerFactory loggerFactory) method InitializeAgentAsync (line 18) | internal async Task InitializeAgentAsync(string modelId, string apiKey... method CreateAgentAsync (line 49) | private static async Task CreateAgentAsync(string agentUri) FILE: dotnet/samples/05-end-to-end/A2AClientServer/A2AClient/Program.cs class Program (line 11) | public static class Program method Main (line 13) | public static async Task Main(string[] args) method HandleCommandsAsync (line 23) | private static async Task HandleCommandsAsync(CancellationToken cancel... FILE: dotnet/samples/05-end-to-end/A2AClientServer/A2AServer/HostAgentFactory.cs class HostAgentFactory (line 13) | internal static class HostAgentFactory method CreateFoundryHostAgentAsync (line 15) | internal static async Task<(AIAgent, AgentCard)> CreateFoundryHostAgen... method CreateChatCompletionHostAgentAsync (line 36) | internal static async Task<(AIAgent, AgentCard)> CreateChatCompletionH... method GetInvoiceAgentCard (line 54) | private static AgentCard GetInvoiceAgentCard() method GetPolicyAgentCard (line 86) | private static AgentCard GetPolicyAgentCard() method GetLogisticsAgentCard (line 118) | private static AgentCard GetLogisticsAgentCard() FILE: dotnet/samples/05-end-to-end/A2AClientServer/A2AServer/Models/InvoiceQuery.cs class Product (line 10) | public class Product method Product (line 16) | public Product(string name, int quantity, decimal price) method TotalPrice (line 23) | public decimal TotalPrice() => this.Quantity * this.Price; class Invoice (line 26) | public class Invoice method Invoice (line 34) | public Invoice(string transactionId, string invoiceId, string companyN... method TotalInvoicePrice (line 43) | public decimal TotalInvoicePrice() => this.Products.Sum(product => pro... class InvoiceQuery (line 46) | public class InvoiceQuery method InvoiceQuery (line 50) | public InvoiceQuery() method GetRandomDateWithinLastTwoMonths (line 118) | public static DateTime GetRandomDateWithinLastTwoMonths() method QueryInvoices (line 134) | [Description("Retrieves invoices for the specified company and optiona... method QueryByTransactionId (line 152) | [Description("Retrieves invoice using the transaction id")] method QueryByInvoiceId (line 160) | [Description("Retrieves invoice using the invoice id")] FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIClient/Program.cs class Program (line 18) | public static class Program method Main (line 20) | public static async Task Main(string[] args) method HandleCommandsAsync (line 30) | private static async Task HandleCommandsAsync(CancellationToken cancel... method PrintArguments (line 198) | private static string PrintArguments(IDictionary? arg... FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIClient/SensorRequest.cs class SensorRequest (line 8) | internal sealed class SensorRequest FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIClient/SensorResponse.cs class SensorResponse (line 8) | internal sealed class SensorResponse FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AgenticUI/AgenticPlanningTools.cs class AgenticPlanningTools (line 7) | internal static class AgenticPlanningTools method CreatePlan (line 9) | [Description("Create a plan with multiple steps.")] method UpdatePlanStepAsync (line 18) | [Description("Update a step in the plan with new description or status... FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AgenticUI/AgenticUIAgent.cs class AgenticUIAgent (line 11) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method AgenticUIAgent (line 16) | public AgenticUIAgent(AIAgent innerAgent, JsonSerializerOptions jsonSe... method RunCoreAsync (line 22) | protected override Task RunCoreAsync(IEnumerable RunCore... FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AgenticUI/JsonPatchOperation.cs class JsonPatchOperation (line 7) | internal sealed class JsonPatchOperation FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AgenticUI/Plan.cs class Plan (line 7) | internal sealed class Plan FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AgenticUI/Step.cs class Step (line 7) | internal sealed class Step FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AgenticUI/StepStatus.cs type StepStatus (line 7) | [JsonConverter(typeof(JsonStringEnumConverter))] FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/BackendToolRendering/WeatherInfo.cs class WeatherInfo (line 7) | internal sealed class WeatherInfo FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/ChatClientAgentFactory.cs class ChatClientAgentFactory (line 17) | internal static class ChatClientAgentFactory method Initialize (line 22) | public static void Initialize(IConfiguration configuration) method CreateAgenticChat (line 35) | public static ChatClientAgent CreateAgenticChat() method CreateBackendToolRendering (line 44) | public static ChatClientAgent CreateBackendToolRendering() method CreateHumanInTheLoop (line 58) | public static ChatClientAgent CreateHumanInTheLoop() method CreateToolBasedGenerativeUI (line 67) | public static ChatClientAgent CreateToolBasedGenerativeUI() method CreateAgenticUI (line 76) | public static AIAgent CreateAgenticUI(JsonSerializerOptions options) method CreateSharedState (line 118) | public static AIAgent CreateSharedState(JsonSerializerOptions options) method CreatePredictiveStateUpdates (line 129) | public static AIAgent CreatePredictiveStateUpdates(JsonSerializerOptio... method GetWeather (line 167) | [Description("Get the weather for a given location.")] method WriteDocument (line 177) | [Description("Write a document in markdown format.")] FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/PredictiveStateUpdates/DocumentState.cs class DocumentState (line 7) | internal sealed class DocumentState FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/PredictiveStateUpdates/PredictiveStateUpdatesAgent.cs class PredictiveStateUpdatesAgent (line 11) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method PredictiveStateUpdatesAgent (line 17) | public PredictiveStateUpdatesAgent(AIAgent innerAgent, JsonSerializerO... method RunCoreAsync (line 23) | protected override Task RunCoreAsync(IEnumerable RunCore... FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/SharedState/Ingredient.cs class Ingredient (line 7) | internal sealed class Ingredient FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/SharedState/Recipe.cs class Recipe (line 7) | internal sealed class Recipe FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/SharedState/RecipeResponse.cs class RecipeResponse (line 8) | internal sealed class RecipeResponse FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/SharedState/SharedStateAgent.cs class SharedStateAgent (line 11) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method SharedStateAgent (line 16) | public SharedStateAgent(AIAgent innerAgent, JsonSerializerOptions json... method RunCoreAsync (line 22) | protected override Task RunCoreAsync(IEnumerable RunCore... method TryDeserialize (line 107) | private static bool TryDeserialize(string json, JsonSerializerOptio... FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIServer/ServerWeatherForecastRequest.cs class ServerWeatherForecastRequest (line 5) | internal sealed class ServerWeatherForecastRequest FILE: dotnet/samples/05-end-to-end/AGUIClientServer/AGUIServer/ServerWeatherForecastResponse.cs class ServerWeatherForecastResponse (line 5) | internal sealed class ServerWeatherForecastResponse FILE: dotnet/samples/05-end-to-end/AGUIWebChat/Client/Components/Pages/Chat/ChatInput.razor.js function init (line 1) | function init(elem) { function resizeToFit (line 18) | function resizeToFit(elem) { function afterPropertyWritten (line 26) | function afterPropertyWritten(target, propName, callback) { function getPropertyDescriptor (line 40) | function getPropertyDescriptor(target, propertyName) { FILE: dotnet/samples/05-end-to-end/AGUIWebChat/Client/Components/Pages/Chat/ChatMessageList.razor.js method connectedCallback (line 7) | connectedCallback() { method disconnectedCallback (line 12) | disconnectedCallback() { method _scheduleAutoScroll (line 16) | _scheduleAutoScroll(mutations) { method _elemIsNearScrollBoundary (line 29) | _elemIsNearScrollBoundary(elem, threshold) { FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AgentHost/ActorFrameworkWebApplicationExtensions.cs class ActorFrameworkWebApplicationExtensions (line 9) | internal static class ActorFrameworkWebApplicationExtensions method MapAgentDiscovery (line 11) | public static void MapAgentDiscovery(this IEndpointRouteBuilder endpoi... class AgentDiscoveryCard (line 33) | internal sealed class AgentDiscoveryCard FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AgentHost/Custom/CustomAITools.cs class CustomFunctionTool (line 7) | public class CustomAITool : AITool; method InvokeCoreAsync (line 11) | protected override ValueTask InvokeCoreAsync(AIFunctionArgume... FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientConnectionInfo.cs class ChatClientConnectionInfo (line 8) | public class ChatClientConnectionInfo method TryParse (line 18) | public static bool TryParse(string? connectionString, [NotNullWhen(tru... type ClientChatProvider (line 73) | public enum ClientChatProvider FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs class ChatClientExtensions (line 9) | public static class ChatClientExtensions method AddChatClient (line 11) | public static ChatClientBuilder AddChatClient(this IHostApplicationBui... method AddOpenAIClient (line 36) | private static ChatClientBuilder AddOpenAIClient(this IHostApplication... method AddOllamaClient (line 44) | private static ChatClientBuilder AddOllamaClient(this IHostApplication... method AddKeyedChatClient (line 59) | public static ChatClientBuilder AddKeyedChatClient(this IHostApplicati... method AddKeyedOpenAIClient (line 84) | private static ChatClientBuilder AddKeyedOpenAIClient(this IHostApplic... method AddKeyedOllamaClient (line 92) | private static ChatClientBuilder AddKeyedOllamaClient(this IHostApplic... FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AppHost/ModelExtensions.cs class ModelExtensions (line 5) | public static class ModelExtensions method AddAIModel (line 7) | public static IResourceBuilder AddAIModel(this IDistributedAp... method RunAsOpenAI (line 13) | public static IResourceBuilder RunAsOpenAI(this IResourceBuil... method PublishAsOpenAI (line 23) | public static IResourceBuilder PublishAsOpenAI(this IResource... method RunAsAzureOpenAI (line 33) | public static IResourceBuilder RunAsAzureOpenAI(this IResourc... method PublishAsAzureOpenAI (line 43) | public static IResourceBuilder PublishAsAzureOpenAI(this IRes... method AsAzureOpenAI (line 53) | public static IResourceBuilder AsAzureOpenAI(this IResourceBu... method RunAsAzureAIInference (line 68) | public static IResourceBuilder RunAsAzureAIInference(this IRe... method PublishAsAzureAIInference (line 78) | public static IResourceBuilder PublishAsAzureAIInference(this... method AsAzureAIInference (line 88) | public static IResourceBuilder AsAzureAIInference(this IResou... method RunAsAzureAIInference (line 128) | public static IResourceBuilder RunAsAzureAIInference(this IRe... method PublishAsAzureAIInference (line 138) | public static IResourceBuilder PublishAsAzureAIInference(this... method AsAzureAIInference (line 148) | public static IResourceBuilder AsAzureAIInference(this IResou... method AsOpenAI (line 188) | public static IResourceBuilder AsOpenAI(this IResourceBuilder... method Reset (line 227) | private static void Reset(this IResourceBuilder builder) class AIModel (line 246) | public class AIModel(string name) : Resource(name), IResourceWithConnect... method Build (line 255) | public ReferenceExpression Build() FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.ServiceDefaults/ServiceDefaultsExtensions.cs class ServiceDefaultsExtensions (line 17) | public static class ServiceDefaultsExtensions method AddServiceDefaults (line 19) | public static TBuilder AddServiceDefaults(this TBuilder buil... method ConfigureOpenTelemetry (line 46) | public static TBuilder ConfigureOpenTelemetry(this TBuilder ... method AddOpenTelemetryExporters (line 78) | private static TBuilder AddOpenTelemetryExporters(this TBuil... method AddDefaultHealthChecks (line 97) | public static TBuilder AddDefaultHealthChecks(this TBuilder ... method MapDefaultEndpoints (line 106) | public static WebApplication MapDefaultEndpoints(this WebApplication app) FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.Web/A2AAgentClient.cs class A2AAgentClient (line 13) | internal sealed class A2AAgentClient : AgentClientBase method A2AAgentClient (line 22) | public A2AAgentClient(ILogger logger, Uri baseUri) method RunStreamingAsync (line 28) | public override async IAsyncEnumerable RunStreami... method GetAgentCardAsync (line 125) | public override async Task GetAgentCardAsync(string agentN... method ResolveClient (line 141) | private (A2AClient, A2ACardResolver) ResolveClient(string agentName) => method ConvertMetadataToAdditionalProperties (line 154) | private static AdditionalPropertiesDictionary? ConvertMetadataToAdditi... FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.Web/AgentDiscoveryClient.cs class AgentDiscoveryClient (line 8) | public class AgentDiscoveryClient(HttpClient httpClient, ILogger> GetAgentsAsync(Cancellatio... class AgentDiscoveryCard (line 22) | public class AgentDiscoveryCard FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.Web/IAgentClient.cs class AgentClientBase (line 12) | internal abstract class AgentClientBase method RunStreamingAsync (line 22) | public abstract IAsyncEnumerable RunStreamingAsync( method GetAgentCardAsync (line 34) | public virtual Task GetAgentCardAsync(string agentName, Ca... FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.Web/OpenAIChatCompletionsAgentClient.cs class OpenAIChatCompletionsAgentClient (line 17) | internal sealed class OpenAIChatCompletionsAgentClient(HttpClient httpCl... method RunStreamingAsync (line 19) | public override async IAsyncEnumerable RunStreami... FILE: dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.Web/OpenAIResponsesAgentClient.cs class OpenAIResponsesAgentClient (line 16) | internal sealed class OpenAIResponsesAgentClient(HttpClient httpClient) ... method RunStreamingAsync (line 18) | public override async IAsyncEnumerable RunStreami... FILE: dotnet/samples/05-end-to-end/AspNetAgentAuthorization/RazorWebClient/Pages/Chat.cshtml.cs class ChatModel (line 12) | public class ChatModel : PageModel method ChatModel (line 16) | public ChatModel(IHttpClientFactory httpClientFactory) method OnGet (line 28) | public void OnGet() method OnPostAsync (line 32) | public async Task OnPostAsync() FILE: dotnet/samples/05-end-to-end/AspNetAgentAuthorization/RazorWebClient/Pages/Index.cshtml.cs class IndexModel (line 11) | public class IndexModel : PageModel method OnGet (line 13) | public void OnGet() method OnGetLogout (line 17) | public IActionResult OnGetLogout() FILE: dotnet/samples/05-end-to-end/AspNetAgentAuthorization/Service/ExpenseService.cs class Expense (line 11) | public sealed class Expense class ExpenseService (line 31) | public sealed class ExpenseService method ExpenseService (line 48) | public ExpenseService(IUserContext userContext) method ListPendingExpenses (line 56) | [Description("Lists all pending expenses awaiting approval. Requires t... method ApproveExpense (line 81) | [Description("Approves a pending expense by its ID. Requires the expen... FILE: dotnet/samples/05-end-to-end/AspNetAgentAuthorization/Service/Program.cs type ChatRequest (line 125) | internal sealed record ChatRequest(string Message); type ChatResponse (line 126) | internal sealed record ChatResponse(string Reply, string User); FILE: dotnet/samples/05-end-to-end/AspNetAgentAuthorization/Service/UserContext.cs type IUserContext (line 10) | public interface IUserContext class KeycloakUserContext (line 33) | public sealed class KeycloakUserContext : IUserContext method KeycloakUserContext (line 39) | public KeycloakUserContext(IHttpContextAccessor httpContextAccessor) method GetOrCreateCachedInfo (line 52) | private CachedUserInfo GetOrCreateCachedInfo() method ParseClaims (line 70) | private static CachedUserInfo ParseClaims(ClaimsPrincipal? user) type CachedUserInfo (line 98) | private sealed record CachedUserInfo(string UserId, string UserName, s... FILE: dotnet/samples/05-end-to-end/HostedAgents/AgentWithLocalTools/Program.cs type Hotel (line 132) | internal sealed record Hotel(string Name, int PricePerNight, double Rati... FILE: dotnet/samples/05-end-to-end/HostedAgents/FoundrySingleAgent/Program.cs type Hotel (line 130) | internal sealed record Hotel(string Name, int PricePerNight, double Rati... FILE: dotnet/samples/05-end-to-end/M365Agent/AFAgentApplication.cs class AFAgentApplication (line 19) | internal sealed class AFAgentApplication : AgentApplication method AFAgentApplication (line 24) | public AFAgentApplication(AIAgent agent, AgentApplicationOptions optio... method MessageActivityAsync (line 36) | private async Task MessageActivityAsync(ITurnContext turnContext, ITur... method WelcomeMessageAsync (line 93) | private async Task WelcomeMessageAsync(ITurnContext turnContext, ITurn... method HandleUserInput (line 115) | private static ChatMessage HandleUserInput(ITurnContext turnContext) method HandleUserInputRequests (line 139) | private static void HandleUserInputRequests(AgentResponse response, re... FILE: dotnet/samples/05-end-to-end/M365Agent/Agents/AdaptiveCardAIContent.cs class AdaptiveCardAIContent (line 13) | internal sealed class AdaptiveCardAIContent : AIContent method AdaptiveCardAIContent (line 15) | public AdaptiveCardAIContent(AdaptiveCard adaptiveCard) method AdaptiveCardAIContent (line 21) | [JsonConstructor] FILE: dotnet/samples/05-end-to-end/M365Agent/Agents/WeatherForecastAgent.cs class WeatherForecastAgent (line 15) | public class WeatherForecastAgent : DelegatingAIAgent method WeatherForecastAgent (line 30) | public WeatherForecastAgent(IChatClient chatClient) method RunCoreAsync (line 51) | protected override async Task RunCoreAsync(IEnumerable<... method GetWeather (line 84) | [Description("Get the weather for a given location.")] method CreateWeatherCard (line 91) | private static AdaptiveCard CreateWeatherCard(string? location, string... method TryDeserialize (line 116) | private static bool TryDeserialize(string json, JsonSerializerOptio... FILE: dotnet/samples/05-end-to-end/M365Agent/Agents/WeatherForecastAgentResponse.cs class WeatherForecastAgentResponse (line 11) | internal sealed class WeatherForecastAgentResponse FILE: dotnet/samples/05-end-to-end/M365Agent/Agents/WeatherForecastAgentResponseContentType.cs type WeatherForecastAgentResponseContentType (line 10) | internal enum WeatherForecastAgentResponseContentType FILE: dotnet/samples/05-end-to-end/M365Agent/Auth/AspNetExtensions.cs class AspNetExtensions (line 19) | internal static class AspNetExtensions method AddAgentAspNetAuthentication (line 64) | public static void AddAgentAspNetAuthentication(this IServiceCollectio... method AddAgentAspNetAuthentication (line 81) | public static void AddAgentAspNetAuthentication(this IServiceCollectio... FILE: dotnet/samples/05-end-to-end/M365Agent/Auth/TokenValidationOptions.cs class TokenValidationOptions (line 7) | internal sealed class TokenValidationOptions FILE: dotnet/samples/05-end-to-end/M365Agent/JsonUtilities.cs class JsonUtilities (line 14) | internal static partial class JsonUtilities method CreateDefaultOptions (line 39) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/LegacySupport/CallerAttributes/CallerArgumentExpressionAttribute.cs class CallerArgumentExpressionAttribute (line 10) | [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inher... method CallerArgumentExpressionAttribute (line 18) | public CallerArgumentExpressionAttribute(string parameterName) FILE: dotnet/src/LegacySupport/CompilerFeatureRequiredAttribute/CompilerFeatureRequiredAttribute.cs class CompilerFeatureRequiredAttribute (line 10) | [AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = ... method CompilerFeatureRequiredAttribute (line 13) | public CompilerFeatureRequiredAttribute(string featureName) FILE: dotnet/src/LegacySupport/DiagnosticAttributes/NullableAttributes.cs class AllowNullAttribute (line 9) | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | At... class DisallowNullAttribute (line 16) | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | At... class MaybeNullAttribute (line 23) | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | At... class NotNullAttribute (line 30) | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | At... class MaybeNullWhenAttribute (line 37) | [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] method MaybeNullWhenAttribute (line 45) | public MaybeNullWhenAttribute(bool returnValue) => this.ReturnValue = ... class NotNullWhenAttribute (line 52) | [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] method NotNullWhenAttribute (line 60) | public NotNullWhenAttribute(bool returnValue) => this.ReturnValue = re... class NotNullIfNotNullAttribute (line 67) | [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property |... method NotNullIfNotNullAttribute (line 75) | public NotNullIfNotNullAttribute(string parameterName) => this.Paramet... class DoesNotReturnAttribute (line 82) | [AttributeUsage(AttributeTargets.Method, Inherited = false)] class DoesNotReturnIfAttribute (line 89) | [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] method DoesNotReturnIfAttribute (line 98) | public DoesNotReturnIfAttribute(bool parameterValue) => this.Parameter... class MemberNotNullAttribute (line 106) | [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inh... method MemberNotNullAttribute (line 114) | public MemberNotNullAttribute(string member) => this.Members = new[] {... method MemberNotNullAttribute (line 120) | public MemberNotNullAttribute(params string[] members) => this.Members... class MemberNotNullWhenAttribute (line 127) | [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inh... method MemberNotNullWhenAttribute (line 138) | public MemberNotNullWhenAttribute(bool returnValue, string member) method MemberNotNullWhenAttribute (line 151) | public MemberNotNullWhenAttribute(bool returnValue, params string[] me... FILE: dotnet/src/LegacySupport/DiagnosticClasses/UnreachableException.cs class UnreachableException (line 13) | internal sealed class UnreachableException : Exception method UnreachableException (line 20) | public UnreachableException() method UnreachableException (line 30) | public UnreachableException(string? message) method UnreachableException (line 42) | public UnreachableException(string? message, Exception? innerException) FILE: dotnet/src/LegacySupport/ExperimentalAttribute/ExperimentalAttribute.cs class ExperimentalAttribute (line 10) | [ExcludeFromCodeCoverage] method ExperimentalAttribute (line 29) | public ExperimentalAttribute(string diagnosticId) FILE: dotnet/src/LegacySupport/TrimAttributes/DynamicallyAccessedMemberTypes.cs type DynamicallyAccessedMemberTypes (line 13) | [Flags] FILE: dotnet/src/LegacySupport/TrimAttributes/DynamicallyAccessedMembersAttribute.cs class DynamicallyAccessedMembersAttribute (line 27) | [AttributeUsage( method DynamicallyAccessedMembersAttribute (line 40) | public DynamicallyAccessedMembersAttribute(DynamicallyAccessedMemberTy... FILE: dotnet/src/LegacySupport/TrimAttributes/RequiresDynamicCodeAttribute.cs class RequiresDynamicCodeAttribute (line 12) | [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor |... method RequiresDynamicCodeAttribute (line 23) | public RequiresDynamicCodeAttribute(string message) FILE: dotnet/src/LegacySupport/TrimAttributes/RequiresUnreferencedCodeAttribute.cs class RequiresUnreferencedCodeAttribute (line 13) | [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor |... method RequiresUnreferencedCodeAttribute (line 24) | public RequiresUnreferencedCodeAttribute(string message) FILE: dotnet/src/LegacySupport/TrimAttributes/UnconditionalSuppressMessageAttribute.cs class UnconditionalSuppressMessageAttribute (line 14) | [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple =... method UnconditionalSuppressMessageAttribute (line 24) | public UnconditionalSuppressMessageAttribute(string category, string c... FILE: dotnet/src/Microsoft.Agents.AI.A2A/A2AAgent.cs class A2AAgent (line 27) | public sealed class A2AAgent : AIAgent method A2AAgent (line 45) | public A2AAgent(A2AClient a2aClient, string? id = null, string? name =... method CreateSessionCoreAsync (line 57) | protected sealed override ValueTask CreateSessionCoreAsy... method CreateSessionAsync (line 65) | public ValueTask CreateSessionAsync(string contextId) method CreateSessionAsync (line 74) | public ValueTask CreateSessionAsync(string contextId, st... method SerializeSessionCoreAsync (line 78) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 91) | protected override ValueTask DeserializeSessionCoreAsync... method RunCoreAsync (line 95) | protected override async Task RunCoreAsync(IEnumerable<... method RunCoreStreamingAsync (line 164) | protected override async IAsyncEnumerable RunCore... method GetService (line 241) | public override object? GetService(Type serviceType, object? serviceKe... method GetA2ASessionAsync (line 247) | private async ValueTask GetA2ASessionAsync(AgentSessi... method UpdateSession (line 267) | private static void UpdateSession(A2AAgentSession? session, string? co... method CreateA2AMessage (line 287) | private static AgentMessage CreateA2AMessage(A2AAgentSession typedSess... method GetContinuationToken (line 302) | private static A2AContinuationToken? GetContinuationToken(IEnumerable<... method CreateContinuationToken (line 317) | private static A2AContinuationToken? CreateContinuationToken(string ta... method ConvertToAgentResponseUpdate (line 327) | private AgentResponseUpdate ConvertToAgentResponseUpdate(AgentMessage ... method ConvertToAgentResponseUpdate (line 342) | private AgentResponseUpdate ConvertToAgentResponseUpdate(AgentTask task) method ConvertToAgentResponseUpdate (line 356) | private AgentResponseUpdate ConvertToAgentResponseUpdate(TaskUpdateEve... method MapTaskStateToFinishReason (line 380) | private static ChatFinishReason? MapTaskStateToFinishReason(TaskState ... FILE: dotnet/src/Microsoft.Agents.AI.A2A/A2AAgentLogMessages.cs class A2AAgentLogMessages (line 11) | [ExcludeFromCodeCoverage] method LogA2AAgentInvokingAgent (line 17) | [LoggerMessage( method LogAgentChatClientInvokedAgent (line 29) | [LoggerMessage( FILE: dotnet/src/Microsoft.Agents.AI.A2A/A2AAgentSession.cs class A2AAgentSession (line 13) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method A2AAgentSession (line 16) | internal A2AAgentSession() method A2AAgentSession (line 20) | [JsonConstructor] method Serialize (line 40) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializerOp... method Deserialize (line 46) | internal static A2AAgentSession Deserialize(JsonElement serializedStat... FILE: dotnet/src/Microsoft.Agents.AI.A2A/A2AContinuationToken.cs class A2AContinuationToken (line 11) | internal class A2AContinuationToken : ResponseContinuationToken method A2AContinuationToken (line 13) | internal A2AContinuationToken(string taskId) method FromToken (line 22) | internal static A2AContinuationToken FromToken(ResponseContinuationTok... method ToBytes (line 65) | public override ReadOnlyMemory ToBytes() FILE: dotnet/src/Microsoft.Agents.AI.A2A/A2AJsonUtilities.cs class A2AJsonUtilities (line 14) | public static partial class A2AJsonUtilities method CreateDefaultOptions (line 43) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AAIContentExtensions.cs class A2AAIContentExtensions (line 11) | internal static class A2AAIContentExtensions method ToParts (line 18) | internal static List? ToParts(this IEnumerable contents) FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AAgentCardExtensions.cs class A2AAgentCardExtensions (line 16) | public static class A2AAgentCardExtensions method AsAIAgent (line 30) | public static AIAgent AsAIAgent(this AgentCard card, HttpClient? httpC... FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AAgentTaskExtensions.cs class A2AAgentTaskExtensions (line 12) | internal static class A2AAgentTaskExtensions method ToChatMessages (line 14) | internal static IList? ToChatMessages(this AgentTask agen... method ToAIContents (line 31) | internal static IList? ToAIContents(this AgentTask agentTask) FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AArtifactExtensions.cs class A2AArtifactExtensions (line 11) | internal static class A2AArtifactExtensions method ToChatMessage (line 13) | internal static ChatMessage ToChatMessage(this Artifact artifact) method ToAIContents (line 22) | internal static List ToAIContents(this Artifact artifact) FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2ACardResolverExtensions.cs class A2ACardResolverExtensions (line 25) | public static class A2ACardResolverExtensions method GetAIAgentAsync (line 40) | public static async Task GetAIAgentAsync(this A2ACardResolver... FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AClientExtensions.cs class A2AClientExtensions (line 22) | public static class A2AClientExtensions method AsAIAgent (line 38) | public static AIAgent AsAIAgent(this A2AClient client, string? id = nu... FILE: dotnet/src/Microsoft.Agents.AI.A2A/Extensions/ChatMessageExtensions.cs class ChatMessageExtensions (line 12) | internal static class ChatMessageExtensions method ToA2AMessage (line 14) | internal static AgentMessage ToA2AMessage(this IEnumerable GetResponseAsync(IEnumerable GetStreamin... method CopyResponseUpdate (line 139) | private static ChatResponseUpdate CopyResponseUpdate(ChatResponseUpdat... class AGUIChatClientHandler (line 154) | private sealed class AGUIChatClientHandler : IChatClient method AGUIChatClientHandler (line 162) | public AGUIChatClientHandler( method GetResponseAsync (line 181) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 190) | public async IAsyncEnumerable GetStreamingRespon... method ExtractThreadIdFromOptions (line 280) | private static string? ExtractThreadIdFromOptions(ChatOptions? options) method ExtractTemporaryThreadId (line 292) | private static string? ExtractTemporaryThreadId(List me... method ExtractAndRemoveStateFromMessages (line 316) | private JsonElement ExtractAndRemoveStateFromMessages(List PostRunAsync( method ItemParser (line 47) | private static BaseEvent ItemParser(string type, ReadOnlySpan data) FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIAssistantMessage.cs class AGUIAssistantMessage (line 11) | internal sealed class AGUIAssistantMessage : AGUIMessage method AGUIAssistantMessage (line 13) | public AGUIAssistantMessage() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIChatMessageExtensions.cs class AGUIChatMessageExtensions (line 14) | internal static class AGUIChatMessageExtensions method AsChatMessages (line 18) | public static IEnumerable AsChatMessages( method AsAGUIMessages (line 112) | public static IEnumerable AsAGUIMessages( method MapAssistantMessage (line 147) | private static AGUIAssistantMessage? MapAssistantMessage(JsonSerialize... method MapToolMessages (line 191) | private static IEnumerable MapToolMessages(JsonSerial... method MapChatRole (line 209) | public static ChatRole MapChatRole(string role) => FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIContextItem.cs class AGUIContextItem (line 11) | internal sealed class AGUIContextItem FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIDeveloperMessage.cs class AGUIDeveloperMessage (line 9) | internal sealed class AGUIDeveloperMessage : AGUIMessage method AGUIDeveloperMessage (line 11) | public AGUIDeveloperMessage() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIEventTypes.cs class AGUIEventTypes (line 9) | internal static class AGUIEventTypes FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIFunctionCall.cs class AGUIFunctionCall (line 11) | internal sealed class AGUIFunctionCall FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIMessage.cs class AGUIMessage (line 11) | [JsonConverter(typeof(AGUIMessageJsonConverter))] FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIMessageJsonConverter.cs class AGUIMessageJsonConverter (line 13) | internal sealed class AGUIMessageJsonConverter : JsonConverter method CanConvert (line 17) | public override bool CanConvert(Type typeToConvert) => method Read (line 20) | public override AGUIMessage Read( method Write (line 55) | public override void Write( FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIRoles.cs class AGUIRoles (line 9) | internal static class AGUIRoles FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUISystemMessage.cs class AGUISystemMessage (line 9) | internal sealed class AGUISystemMessage : AGUIMessage method AGUISystemMessage (line 11) | public AGUISystemMessage() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUITool.cs class AGUITool (line 12) | internal sealed class AGUITool FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIToolCall.cs class AGUIToolCall (line 11) | internal sealed class AGUIToolCall FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIToolMessage.cs class AGUIToolMessage (line 11) | internal sealed class AGUIToolMessage : AGUIMessage method AGUIToolMessage (line 13) | public AGUIToolMessage() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AGUIUserMessage.cs class AGUIUserMessage (line 11) | internal sealed class AGUIUserMessage : AGUIMessage method AGUIUserMessage (line 13) | public AGUIUserMessage() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/AIToolExtensions.cs class AIToolExtensions (line 12) | internal static class AIToolExtensions method AsAGUITools (line 14) | public static IEnumerable AsAGUITools(this IEnumerable AsAITools(this IEnumerable... FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/BaseEvent.cs class BaseEvent (line 11) | [JsonConverter(typeof(BaseEventJsonConverter))] FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/BaseEventJsonConverter.cs class BaseEventJsonConverter (line 13) | internal sealed class BaseEventJsonConverter : JsonConverter method CanConvert (line 17) | public override bool CanConvert(Type typeToConvert) => method Read (line 20) | public override BaseEvent Read( method Write (line 61) | public override void Write( FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/ChatResponseUpdateAGUIExtensions.cs class ChatResponseUpdateAGUIExtensions (line 20) | internal static class ChatResponseUpdateAGUIExtensions method AsChatResponseUpdatesAsync (line 25) | public static async IAsyncEnumerable AsChatRespons... method CreateStateSnapshotUpdate (line 95) | private static ChatResponseUpdate CreateStateSnapshotUpdate( method CreateStateDeltaUpdate (line 119) | private static ChatResponseUpdate CreateStateDeltaUpdate( class TextMessageBuilder (line 143) | private sealed class TextMessageBuilder() method SetConversationAndResponseIds (line 150) | public void SetConversationAndResponseIds(string? conversationId, st... method AddTextStart (line 156) | public void AddTextStart(TextMessageStartEvent textStart) method EmitTextUpdate (line 167) | internal ChatResponseUpdate EmitTextUpdate(TextMessageContentEvent t... method EndCurrentMessage (line 180) | internal void EndCurrentMessage(TextMessageEndEvent textEnd) method ValidateAndEmitRunStart (line 191) | private static ChatResponseUpdate ValidateAndEmitRunStart(RunStartedEv... method ValidateAndEmitRunFinished (line 203) | private static ChatResponseUpdate ValidateAndEmitRunFinished(string? c... class ToolCallBuilder (line 223) | private sealed class ToolCallBuilder method AddToolCallStart (line 230) | public void AddToolCallStart(ToolCallStartEvent toolCallStart) method AddToolCallArgs (line 243) | public void AddToolCallArgs(ToolCallArgsEvent toolCallArgs, JsonSeri... method EmitToolCallUpdate (line 259) | internal ChatResponseUpdate EmitToolCallUpdate(ToolCallEndEvent tool... method EmitToolCallResult (line 286) | public ChatResponseUpdate EmitToolCallResult(ToolCallResultEvent too... method SetConversationAndResponseIds (line 301) | internal void SetConversationAndResponseIds(string conversationId, s... method DeserializeArgumentsIfAvailable (line 308) | private static IDictionary? DeserializeArgumentsIfAva... method DeserializeResultIfAvailable (line 320) | private static object? DeserializeResultIfAvailable(ToolCallResultEven... method AsAGUIEventStreamAsync (line 330) | public static async IAsyncEnumerable AsAGUIEventStreamAsync( method SerializeResultContent (line 486) | private static string? SerializeResultContent(FunctionResultContent fu... FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/RunAgentInput.cs class RunAgentInput (line 13) | internal sealed class RunAgentInput FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/RunErrorEvent.cs class RunErrorEvent (line 11) | internal sealed class RunErrorEvent : BaseEvent method RunErrorEvent (line 13) | public RunErrorEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/RunFinishedEvent.cs class RunFinishedEvent (line 12) | internal sealed class RunFinishedEvent : BaseEvent method RunFinishedEvent (line 14) | public RunFinishedEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/RunStartedEvent.cs class RunStartedEvent (line 11) | internal sealed class RunStartedEvent : BaseEvent method RunStartedEvent (line 13) | public RunStartedEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/StateDeltaEvent.cs class StateDeltaEvent (line 12) | internal sealed class StateDeltaEvent : BaseEvent method StateDeltaEvent (line 14) | public StateDeltaEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/StateSnapshotEvent.cs class StateSnapshotEvent (line 12) | internal sealed class StateSnapshotEvent : BaseEvent method StateSnapshotEvent (line 14) | public StateSnapshotEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/TextMessageContentEvent.cs class TextMessageContentEvent (line 11) | internal sealed class TextMessageContentEvent : BaseEvent method TextMessageContentEvent (line 13) | public TextMessageContentEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/TextMessageEndEvent.cs class TextMessageEndEvent (line 11) | internal sealed class TextMessageEndEvent : BaseEvent method TextMessageEndEvent (line 13) | public TextMessageEndEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/TextMessageStartEvent.cs class TextMessageStartEvent (line 11) | internal sealed class TextMessageStartEvent : BaseEvent method TextMessageStartEvent (line 13) | public TextMessageStartEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/ToolCallArgsEvent.cs class ToolCallArgsEvent (line 11) | internal sealed class ToolCallArgsEvent : BaseEvent method ToolCallArgsEvent (line 13) | public ToolCallArgsEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/ToolCallEndEvent.cs class ToolCallEndEvent (line 11) | internal sealed class ToolCallEndEvent : BaseEvent method ToolCallEndEvent (line 13) | public ToolCallEndEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/ToolCallResultEvent.cs class ToolCallResultEvent (line 11) | internal sealed class ToolCallResultEvent : BaseEvent method ToolCallResultEvent (line 13) | public ToolCallResultEvent() FILE: dotnet/src/Microsoft.Agents.AI.AGUI/Shared/ToolCallStartEvent.cs class ToolCallStartEvent (line 11) | internal sealed class ToolCallStartEvent : BaseEvent method ToolCallStartEvent (line 13) | public ToolCallStartEvent() FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AIAgent.cs class AIAgent (line 37) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method GetService (line 118) | public virtual object? GetService(Type serviceType, object? serviceKey... method GetService (line 135) | public TService? GetService(object? serviceKey = null) method CreateSessionAsync (line 155) | public ValueTask CreateSessionAsync(CancellationToken ca... method CreateSessionCoreAsync (line 166) | protected abstract ValueTask CreateSessionCoreAsync(Canc... method SerializeSessionAsync (line 187) | public ValueTask SerializeSessionAsync(AgentSession sessi... method SerializeSessionCoreAsync (line 200) | protected abstract ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionAsync (line 222) | public ValueTask DeserializeSessionAsync(JsonElement ser... method DeserializeSessionCoreAsync (line 235) | protected abstract ValueTask DeserializeSessionCoreAsync... method RunAsync (line 251) | public Task RunAsync( method RunAsync (line 273) | public Task RunAsync( method RunAsync (line 296) | public Task RunAsync( method RunAsync (line 334) | public Task RunAsync( method RunCoreAsync (line 366) | protected abstract Task RunCoreAsync( method RunStreamingAsync (line 382) | public IAsyncEnumerable RunStreamingAsync( method RunStreamingAsync (line 404) | public IAsyncEnumerable RunStreamingAsync( method RunStreamingAsync (line 427) | public IAsyncEnumerable RunStreamingAsync( method RunStreamingAsync (line 464) | public async IAsyncEnumerable RunStreamingAsync( method RunCoreStreamingAsync (line 502) | protected abstract IAsyncEnumerable RunCoreStream... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AIAgentMetadata.cs class AIAgentMetadata (line 14) | [DebuggerDisplay("ProviderName = {ProviderName}")] method AIAgentMetadata (line 24) | public AIAgentMetadata(string? providerName = null) FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AIAgentStructuredOutput.cs class AIAgent (line 16) | public abstract partial class AIAgent method RunAsync (line 34) | public Task> RunAsync( method RunAsync (line 59) | public Task> RunAsync( method RunAsync (line 85) | public Task> RunAsync( method RunAsync (line 120) | public async Task> RunAsync( FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AIContentExtensions.cs class AIContentExtensions (line 17) | internal static class AIContentExtensions method ConcatText (line 20) | public static string ConcatText(this IEnumerable contents) method ConcatText (line 65) | public static string ConcatText(this IList messages) FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AIContext.cs class AIContext (line 31) | public sealed class AIContext FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AIContextProvider.cs class AIContextProvider (line 40) | public abstract class AIContextProvider method DefaultExternalOnlyFilter (line 42) | private static IEnumerable DefaultExternalOnlyFilter(IEnu... method DefaultNoopFilter (line 44) | private static IEnumerable DefaultNoopFilter(IEnumerable<... method AIContextProvider (line 55) | protected AIContextProvider( method InvokingAsync (line 113) | public ValueTask InvokingAsync(InvokingContext context, Can... method InvokingCoreAsync (line 144) | protected virtual async ValueTask InvokingCoreAsync(Invokin... method ProvideAIContextAsync (line 223) | protected virtual ValueTask ProvideAIContextAsync(InvokingC... method InvokedAsync (line 254) | public ValueTask InvokedAsync(InvokedContext context, CancellationToke... method InvokedCoreAsync (line 290) | protected virtual ValueTask InvokedCoreAsync(InvokedContext context, C... method StoreAIContextAsync (line 325) | protected virtual ValueTask StoreAIContextAsync(InvokedContext context... method GetService (line 338) | public virtual object? GetService(Type serviceType, object? serviceKey... method GetService (line 355) | public TService? GetService(object? serviceKey = null) class InvokingContext (line 366) | public sealed class InvokingContext method InvokingContext (line 375) | public InvokingContext( class InvokedContext (line 423) | public sealed class InvokedContext method InvokedContext (line 434) | public InvokedContext( method InvokedContext (line 455) | public InvokedContext( FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AdditionalPropertiesExtensions.cs class AdditionalPropertiesExtensions (line 12) | public static class AdditionalPropertiesExtensions method Add (line 20) | public static void Add(this AdditionalPropertiesDictionary addition... method TryAdd (line 40) | public static bool TryAdd(this AdditionalPropertiesDictionary addit... method TryGetValue (line 63) | public static bool TryGetValue(this AdditionalPropertiesDictionary ... method Contains (line 78) | public static bool Contains(this AdditionalPropertiesDictionary add... method Remove (line 93) | public static bool Remove(this AdditionalPropertiesDictionary addit... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentAbstractionsJsonUtilities.cs class AgentAbstractionsJsonUtilities (line 15) | public static partial class AgentAbstractionsJsonUtilities method CreateDefaultOptions (line 44) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRequestMessageSourceAttribution.cs type AgentRequestMessageSourceAttribution (line 16) | public readonly struct AgentRequestMessageSourceAttribution : IEquatable... method AgentRequestMessageSourceAttribution (line 29) | public AgentRequestMessageSourceAttribution(AgentRequestMessageSourceT... method Equals (line 50) | public bool Equals(AgentRequestMessageSourceAttribution other) method Equals (line 61) | public override bool Equals(object? obj) method ToString (line 70) | public override string ToString() method GetHashCode (line 81) | public override int GetHashCode() FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRequestMessageSourceType.cs type AgentRequestMessageSourceType (line 16) | public readonly struct AgentRequestMessageSourceType : IEquatable this.Value = Thr... method Equals (line 49) | public bool Equals(AgentRequestMessageSourceType other) method Equals (line 59) | public override bool Equals(object? obj) => obj is AgentRequestMessage... method ToString (line 65) | public override string ToString() => this.Value; method GetHashCode (line 71) | public override int GetHashCode() => this.Value?.GetHashCode() ?? 0; FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentResponse.cs class AgentResponse (line 28) | public class AgentResponse method AgentResponse (line 34) | public AgentResponse() method AgentResponse (line 41) | public AgentResponse(ChatMessage message) method AgentResponse (line 58) | public AgentResponse(ChatResponse response) method AgentResponse (line 82) | protected AgentResponse(AgentResponse response) method AgentResponse (line 100) | public AgentResponse(IList? messages) method ToString (line 243) | public override string ToString() => this.Text; method ToAgentResponseUpdates (line 265) | public AgentResponseUpdate[] ToAgentResponseUpdates() FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentResponseExtensions.cs class AgentResponseExtensions (line 16) | public static class AgentResponseExtensions method AsChatResponse (line 31) | public static ChatResponse AsChatResponse(this AgentResponse response) method AsChatResponseUpdate (line 63) | public static ChatResponseUpdate AsChatResponseUpdate(this AgentRespon... method AsChatResponseUpdatesAsync (line 95) | public static async IAsyncEnumerable AsChatRespons... method ToAgentResponse (line 118) | public static AgentResponse ToAgentResponse( method ToAgentResponseAsync (line 153) | public static Task ToAgentResponseAsync( method AsChatResponseUpdatesWithAdditionalDetails (line 178) | private static IEnumerable AsChatResponseUpdatesWi... method AsChatResponseUpdatesWithAdditionalDetailsAsync (line 189) | private static async IAsyncEnumerable AsChatRespon... method UpdateAdditionalDetails (line 201) | private static void UpdateAdditionalDetails(AgentResponseUpdate update... class AgentResponseDetails (line 209) | private sealed class AgentResponseDetails FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentResponseUpdate.cs class AgentResponseUpdate (line 34) | [DebuggerDisplay("[{Role}] {ContentForDebuggerDisplay}{EllipsesForDebugg... method AgentResponseUpdate (line 41) | [JsonConstructor] method AgentResponseUpdate (line 49) | public AgentResponseUpdate(ChatRole? role, string? content) method AgentResponseUpdate (line 57) | public AgentResponseUpdate(ChatRole? role, IList? contents) method AgentResponseUpdate (line 65) | public AgentResponseUpdate(ChatResponseUpdate chatResponseUpdate) method ToString (line 167) | public override string ToString() => this.Text; FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentResponse{T}.cs class AgentResponse (line 22) | public class AgentResponse : AgentResponse method AgentResponse (line 32) | public AgentResponse(AgentResponse response, JsonSerializerOptions ser... method DeserializeFirstTopLevelObject (line 76) | private static T? DeserializeFirstTopLevelObject(string json, JsonType... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunContext.cs class AgentRunContext (line 10) | public sealed class AgentRunContext method AgentRunContext (line 19) | public AgentRunContext( FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunOptions.cs class AgentRunOptions (line 19) | public class AgentRunOptions method AgentRunOptions (line 24) | public AgentRunOptions() method AgentRunOptions (line 33) | protected AgentRunOptions(AgentRunOptions options) method Clone (line 127) | public virtual AgentRunOptions Clone() => new(this); FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentSession.cs class AgentSession (line 58) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method AgentSession (line 64) | protected AgentSession() method AgentSession (line 71) | protected AgentSession(AgentSessionStateBag stateBag) method GetService (line 97) | public virtual object? GetService(Type serviceType, object? serviceKey... method GetService (line 114) | public TService? GetService(object? serviceKey = null) FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentSessionExtensions.cs class AgentSessionExtensions (line 14) | public static class AgentSessionExtensions method TryGetInMemoryChatHistory (line 28) | public static bool TryGetInMemoryChatHistory(this AgentSession session... method SetInMemoryChatHistory (line 55) | public static void SetInMemoryChatHistory(this AgentSession session, L... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentSessionStateBag.cs class AgentSessionStateBag (line 20) | [JsonConverter(typeof(AgentSessionStateBagJsonConverter))] method AgentSessionStateBag (line 28) | public AgentSessionStateBag() method AgentSessionStateBag (line 37) | internal AgentSessionStateBag(ConcurrentDictionary(string key, out T? value, JsonSerializerOpt... method GetValue (line 78) | public T? GetValue(string key, JsonSerializerOptions? jsonSerialize... method SetValue (line 99) | public void SetValue(string key, T? value, JsonSerializerOptions? j... method TryRemoveValue (line 116) | public bool TryRemoveValue(string key) method Serialize (line 124) | public JsonElement Serialize() method Deserialize (line 134) | public static AgentSessionStateBag Deserialize(JsonElement jsonElement) FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentSessionStateBagJsonConverter.cs class AgentSessionStateBagJsonConverter (line 13) | public sealed class AgentSessionStateBagJsonConverter : JsonConverter(out T? value, JsonSerializerOp... method ReadDeserializedValue (line 121) | public T? ReadDeserializedValue(JsonSerializerOptions? jsonSerializ... method SetDeserialized (line 159) | public void SetDeserialized(T? deserializedValue, Type valueType, J... type DeserializedCache (line 167) | private readonly struct DeserializedCache method DeserializedCache (line 169) | public DeserializedCache(object? value, Type valueType, JsonSerializ... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/AgentSessionStateBagValueJsonConverter.cs class AgentSessionStateBagValueJsonConverter (line 13) | internal sealed class AgentSessionStateBagValueJsonConverter : JsonConve... method Read (line 16) | public override AgentSessionStateBagValue Read(ref Utf8JsonReader read... method Write (line 23) | public override void Write(Utf8JsonWriter writer, AgentSessionStateBag... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/ChatHistoryProvider.cs class ChatHistoryProvider (line 49) | public abstract class ChatHistoryProvider method DefaultExcludeChatHistoryFilter (line 51) | private static IEnumerable DefaultExcludeChatHistoryFilte... method DefaultNoopFilter (line 53) | private static IEnumerable DefaultNoopFilter(IEnumerable<... method ChatHistoryProvider (line 67) | protected ChatHistoryProvider( method InvokingAsync (line 109) | public ValueTask> InvokingAsync(InvokingConte... method InvokingCoreAsync (line 139) | protected virtual async ValueTask> InvokingCo... method ProvideChatHistoryAsync (line 182) | protected virtual ValueTask> ProvideChatHisto... method InvokedAsync (line 212) | public ValueTask InvokedAsync(InvokedContext context, CancellationToke... method InvokedCoreAsync (line 246) | protected virtual ValueTask InvokedCoreAsync(InvokedContext context, C... method StoreChatHistoryAsync (line 294) | protected virtual ValueTask StoreChatHistoryAsync(InvokedContext conte... method GetService (line 306) | public virtual object? GetService(Type serviceType, object? serviceKey... method GetService (line 323) | public TService? GetService(object? serviceKey = null) class InvokingContext (line 334) | public sealed class InvokingContext method InvokingContext (line 343) | public InvokingContext( class InvokedContext (line 391) | public sealed class InvokedContext method InvokedContext (line 402) | public InvokedContext( method InvokedContext (line 423) | public InvokedContext( FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/ChatMessageExtensions.cs class ChatMessageExtensions (line 10) | public static class ChatMessageExtensions method GetAgentRequestMessageSourceType (line 18) | public static AgentRequestMessageSourceType GetAgentRequestMessageSour... method GetAgentRequestMessageSourceId (line 35) | public static string? GetAgentRequestMessageSourceId(this ChatMessage ... method WithAgentRequestMessageSource (line 57) | public static ChatMessage WithAgentRequestMessageSource(this ChatMessa... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/DelegatingAIAgent.cs class DelegatingAIAgent (line 28) | public abstract class DelegatingAIAgent : AIAgent method DelegatingAIAgent (line 39) | protected DelegatingAIAgent(AIAgent innerAgent) method GetService (line 66) | public override object? GetService(Type serviceType, object? serviceKe... method CreateSessionCoreAsync (line 77) | protected override ValueTask CreateSessionCoreAsync(Canc... method SerializeSessionCoreAsync (line 80) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 84) | protected override ValueTask DeserializeSessionCoreAsync... method RunCoreAsync (line 88) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 96) | protected override IAsyncEnumerable RunCoreStream... FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/InMemoryChatHistoryProvider.cs class InMemoryChatHistoryProvider (line 27) | public sealed class InMemoryChatHistoryProvider : ChatHistoryProvider method InMemoryChatHistoryProvider (line 39) | public InMemoryChatHistoryProvider(InMemoryChatHistoryProviderOptions?... method GetMessages (line 71) | public List GetMessages(AgentSession? session) method SetMessages (line 80) | public void SetMessages(AgentSession? session, List messa... method ProvideChatHistoryAsync (line 89) | protected override async ValueTask> ProvideCh... method StoreChatHistoryAsync (line 103) | protected override async ValueTask StoreChatHistoryAsync(InvokedContex... method ReduceMessagesAsync (line 118) | private static async Task ReduceMessagesAsync(IChatReducer reducer, St... class State (line 126) | public sealed class State FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/InMemoryChatHistoryProviderOptions.cs class InMemoryChatHistoryProviderOptions (line 13) | public sealed class InMemoryChatHistoryProviderOptions type ChatReducerTriggerEvent (line 91) | public enum ChatReducerTriggerEvent FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/MessageAIContextProvider.cs class MessageAIContextProvider (line 31) | public abstract class MessageAIContextProvider : AIContextProvider method MessageAIContextProvider (line 39) | protected MessageAIContextProvider( method ProvideAIContextAsync (line 48) | protected override async ValueTask ProvideAIContextAsync(AI... method InvokingAsync (line 76) | public ValueTask> InvokingAsync(InvokingConte... method InvokingCoreAsync (line 106) | protected virtual async ValueTask> InvokingCo... method ProvideMessagesAsync (line 144) | protected virtual ValueTask> ProvideMessagesA... class InvokingContext (line 157) | public new sealed class InvokingContext method InvokingContext (line 166) | public InvokingContext( FILE: dotnet/src/Microsoft.Agents.AI.Abstractions/ProviderSessionState{TState}.cs class ProviderSessionState (line 26) | public class ProviderSessionState method ProviderSessionState (line 38) | public ProviderSessionState( method GetOrInitializeState (line 58) | public TState GetOrInitializeState(AgentSession? session) method SaveState (line 80) | public void SaveState(AgentSession? session, TState state) FILE: dotnet/src/Microsoft.Agents.AI.Anthropic/AnthropicBetaServiceExtensions.cs class AnthropicBetaServiceExtensions (line 13) | public static class AnthropicBetaServiceExtensions method AsAIAgent (line 34) | public static ChatClientAgent AsAIAgent( method AsAIAgent (line 84) | public static ChatClientAgent AsAIAgent( FILE: dotnet/src/Microsoft.Agents.AI.Anthropic/AnthropicClientExtensions.cs class AnthropicClientExtensions (line 13) | public static class AnthropicClientExtensions method AsAIAgent (line 34) | public static ChatClientAgent AsAIAgent( method AsAIAgent (line 84) | public static ChatClientAgent AsAIAgent( FILE: dotnet/src/Microsoft.Agents.AI.AzureAI.Persistent/PersistentAgentsClientExtensions.cs class PersistentAgentsClientExtensions (line 11) | public static class PersistentAgentsClientExtensions method AsAIAgent (line 22) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method AsAIAgent (line 47) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method GetAIAgentAsync (line 98) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method AsAIAgent (line 131) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method AsAIAgent (line 157) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method GetAIAgentAsync (line 219) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method CreateAIAgentAsync (line 265) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method CreateAIAgentAsync (line 316) | [Obsolete("Please use the latest Foundry Agents service via the Micros... method ConvertAIToolsToToolDefinitions (line 365) | private static (List? ToolDefinitions, ToolResources? ... FILE: dotnet/src/Microsoft.Agents.AI.AzureAI/AzureAIProjectChatClient.cs class AzureAIProjectChatClient (line 19) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method AzureAIProjectChatClient (line 39) | internal AzureAIProjectChatClient(AIProjectClient aiProjectClient, Age... method AzureAIProjectChatClient (line 60) | internal AzureAIProjectChatClient(AIProjectClient aiProjectClient, Age... method AzureAIProjectChatClient (line 66) | internal AzureAIProjectChatClient(AIProjectClient aiProjectClient, Age... method CreateAgentReference (line 82) | private static AgentReference CreateAgentReference(AgentVersion agentV... method GetService (line 91) | public override object? GetService(Type serviceType, object? serviceKe... method GetResponseAsync (line 107) | public override async Task GetResponseAsync(IEnumerable<... method GetStreamingResponseAsync (line 115) | public override async IAsyncEnumerable GetStreamin... method GetAgentEnabledChatOptions (line 125) | private ChatOptions GetAgentEnabledChatOptions(ChatOptions? options) FILE: dotnet/src/Microsoft.Agents.AI.AzureAI/AzureAIProjectChatClientExtensions.cs class AzureAIProjectChatClientExtensions (line 27) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method AsAIAgent (line 45) | public static ChatClientAgent AsAIAgent( method GetAIAgentAsync (line 82) | public static async Task GetAIAgentAsync( method AsAIAgent (line 113) | public static ChatClientAgent AsAIAgent( method AsAIAgent (line 144) | public static ChatClientAgent AsAIAgent( method GetAIAgentAsync (line 175) | public static async Task GetAIAgentAsync( method CreateAIAgentAsync (line 221) | public static Task CreateAIAgentAsync( method CreateAIAgentAsync (line 259) | public static async Task CreateAIAgentAsync( method CreateAIAgentAsync (line 333) | public static Task CreateAIAgentAsync( method GetAgentRecordByNameAsync (line 361) | private static async Task GetAgentRecordByNameAsync(AIPro... method CreateAgentVersionWithProtocolAsync (line 372) | private static async Task CreateAgentVersionWithProtocol... method CreateAIAgentAsync (line 382) | private static async Task CreateAIAgentAsync( method AsChatClientAgent (line 410) | private static ChatClientAgent AsChatClientAgent( method AsChatClientAgent (line 428) | private static ChatClientAgent AsChatClientAgent( method AsChatClientAgent (line 446) | private static ChatClientAgent AsChatClientAgent( method AsChatClientAgent (line 464) | private static ChatClientAgent AsChatClientAgent( method AsChatClientAgent (line 479) | private static ChatClientAgent AsChatClientAgent( method CreateChatClientAgentOptions (line 506) | private static ChatClientAgentOptions CreateChatClientAgentOptions(Age... method CreateChatClientAgentOptions (line 594) | private static ChatClientAgentOptions CreateChatClientAgentOptions(Age... method ApplyToolsToAgentDefinition (line 614) | private static void ApplyToolsToAgentDefinition(AgentDefinition agentD... method ToOpenAIResponseTextFormat (line 647) | private static ResponseTextFormat? ToOpenAIResponseTextFormat(ChatResp... method HasStrict (line 668) | private static bool? HasStrict(IReadOnlyDictionary? a... class NoOpChatClient (line 748) | private sealed class NoOpChatClient : IChatClient method Dispose (line 750) | public void Dispose() { } method GetResponseAsync (line 752) | public Task GetResponseAsync(IEnumerable ... method GetService (line 755) | public object? GetService(Type serviceType, object? serviceKey = nul... method GetStreamingResponseAsync (line 757) | public async IAsyncEnumerable GetStreamingRespon... method AgentNameValidationRegex (line 765) | [GeneratedRegex("^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$")] method AgentNameValidationRegex (line 768) | private static Regex AgentNameValidationRegex() => new("^[a-zA-Z0-9]([... method ThrowIfInvalidAgentName (line 771) | private static string ThrowIfInvalidAgentName(string? name) method ToResponseReasoningOptions (line 781) | private static ResponseReasoningOptions? ToResponseReasoningOptions(Re... FILE: dotnet/src/Microsoft.Agents.AI.AzureAI/RequestOptionsExtensions.cs class RequestOptionsExtensions (line 8) | internal static class RequestOptionsExtensions method ToRequestOptions (line 11) | public static RequestOptions ToRequestOptions(this CancellationToken c... class MeaiUserAgentPolicy (line 25) | private sealed class MeaiUserAgentPolicy : PipelinePolicy method Process (line 31) | public override void Process(PipelineMessage message, IReadOnlyList<... method ProcessAsync (line 37) | public override ValueTask ProcessAsync(PipelineMessage message, IRea... method AddUserAgentHeader (line 43) | private static void AddUserAgentHeader(PipelineMessage message) => method CreateUserAgentValue (line 46) | private static string CreateUserAgentValue() FILE: dotnet/src/Microsoft.Agents.AI.CopilotStudio/ActivityProcessor.cs class ActivityProcessor (line 14) | internal static class ActivityProcessor method ProcessActivityAsync (line 16) | public static async IAsyncEnumerable ProcessActivityAsync... method CreateChatMessageFromActivity (line 38) | private static ChatMessage CreateChatMessageFromActivity(IActivity act... FILE: dotnet/src/Microsoft.Agents.AI.CopilotStudio/CopilotStudioAgent.cs class CopilotStudioAgent (line 22) | public class CopilotStudioAgent : AIAgent method CopilotStudioAgent (line 38) | public CopilotStudioAgent(CopilotClient client, ILoggerFactory? logger... method CreateSessionCoreAsync (line 45) | protected sealed override ValueTask CreateSessionCoreAsy... method CreateSessionAsync (line 53) | public ValueTask CreateSessionAsync(string conversationId) method SerializeSessionCoreAsync (line 57) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 70) | protected override ValueTask DeserializeSessionCoreAsync... method RunCoreAsync (line 74) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 112) | protected override async IAsyncEnumerable RunCore... method StartNewConversationAsync (line 153) | private async Task StartNewConversationAsync(CancellationToken... method GetService (line 173) | public override object? GetService(Type serviceType, object? serviceKe... FILE: dotnet/src/Microsoft.Agents.AI.CopilotStudio/CopilotStudioAgentSession.cs class CopilotStudioAgentSession (line 13) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method CopilotStudioAgentSession (line 16) | internal CopilotStudioAgentSession() method CopilotStudioAgentSession (line 20) | [JsonConstructor] method Serialize (line 37) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializerOp... method Deserialize (line 43) | internal static CopilotStudioAgentSession Deserialize(JsonElement seri... FILE: dotnet/src/Microsoft.Agents.AI.CopilotStudio/CopilotStudioJsonUtilities.cs class CopilotStudioJsonUtilities (line 13) | internal static partial class CopilotStudioJsonUtilities method CreateDefaultOptions (line 24) | private static JsonSerializerOptions CreateDefaultOptions() FILE: dotnet/src/Microsoft.Agents.AI.CosmosNoSql/CosmosChatHistoryProvider.cs class CosmosChatHistoryProvider (line 38) | [RequiresUnreferencedCode("The CosmosChatHistoryProvider uses JSON seria... method CreateDefaultJsonOptions (line 54) | private static JsonSerializerOptions CreateDefaultJsonOptions() method CosmosChatHistoryProvider (line 113) | public CosmosChatHistoryProvider( method CosmosChatHistoryProvider (line 151) | public CosmosChatHistoryProvider( method CosmosChatHistoryProvider (line 178) | public CosmosChatHistoryProvider( method UseHierarchicalPartitioning (line 195) | private static bool UseHierarchicalPartitioning(State state) => method BuildPartitionKey (line 201) | private static PartitionKey BuildPartitionKey(State state) method ProvideChatHistoryAsync (line 216) | protected override async ValueTask> ProvideCh... method StoreChatHistoryAsync (line 279) | protected override async ValueTask StoreChatHistoryAsync(InvokedContex... method AddMessagesInBatchAsync (line 311) | private async Task AddMessagesInBatchAsync(PartitionKey partitionKey, ... method ExecuteBatchOperationAsync (line 327) | private async Task ExecuteBatchOperationAsync(PartitionKey partitionKe... method AddSingleMessageAsync (line 401) | private async Task AddSingleMessageAsync(PartitionKey partitionKey, St... method CreateMessageDocument (line 422) | private CosmosMessageDocument CreateMessageDocument(State state, ChatM... method GetMessageCountAsync (line 450) | public async Task GetMessageCountAsync(AgentSession? session, Can... method ClearMessagesAsync (line 484) | public async Task ClearMessagesAsync(AgentSession? session, Cance... method Dispose (line 535) | public void Dispose() class State (line 550) | public sealed class State method State (line 558) | public State(string conversationId, string? tenantId = null, string?... class CosmosMessageDocument (line 584) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal ... FILE: dotnet/src/Microsoft.Agents.AI.CosmosNoSql/CosmosCheckpointStore.cs class CosmosCheckpointStore (line 21) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON serializa... method CosmosCheckpointStore (line 38) | public CosmosCheckpointStore(string connectionString, string databaseI... method CosmosCheckpointStore (line 56) | public CosmosCheckpointStore(string accountEndpoint, TokenCredential t... method CosmosCheckpointStore (line 79) | public CosmosCheckpointStore(CosmosClient cosmosClient, string databas... method CreateCheckpointAsync (line 98) | public override async ValueTask CreateCheckpointAsync(... method RetrieveCheckpointAsync (line 130) | public override async ValueTask RetrieveCheckpointAsync(s... method RetrieveIndexAsync (line 164) | public override async ValueTask> RetrieveI... method Dispose (line 198) | public void Dispose() method Dispose (line 208) | protected virtual void Dispose(bool disposing) class CosmosCheckpointDocument (line 221) | internal sealed class CosmosCheckpointDocument class CheckpointQueryResult (line 245) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal ... method CosmosCheckpointStore (line 261) | public CosmosCheckpointStore(string connectionString, string databaseI... method CosmosCheckpointStore (line 267) | public CosmosCheckpointStore(string accountEndpoint, TokenCredential t... method CosmosCheckpointStore (line 273) | public CosmosCheckpointStore(CosmosClient cosmosClient, string databas... class CosmosCheckpointStore (line 256) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON serializa... method CosmosCheckpointStore (line 38) | public CosmosCheckpointStore(string connectionString, string databaseI... method CosmosCheckpointStore (line 56) | public CosmosCheckpointStore(string accountEndpoint, TokenCredential t... method CosmosCheckpointStore (line 79) | public CosmosCheckpointStore(CosmosClient cosmosClient, string databas... method CreateCheckpointAsync (line 98) | public override async ValueTask CreateCheckpointAsync(... method RetrieveCheckpointAsync (line 130) | public override async ValueTask RetrieveCheckpointAsync(s... method RetrieveIndexAsync (line 164) | public override async ValueTask> RetrieveI... method Dispose (line 198) | public void Dispose() method Dispose (line 208) | protected virtual void Dispose(bool disposing) class CosmosCheckpointDocument (line 221) | internal sealed class CosmosCheckpointDocument class CheckpointQueryResult (line 245) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal ... method CosmosCheckpointStore (line 261) | public CosmosCheckpointStore(string connectionString, string databaseI... method CosmosCheckpointStore (line 267) | public CosmosCheckpointStore(string accountEndpoint, TokenCredential t... method CosmosCheckpointStore (line 273) | public CosmosCheckpointStore(CosmosClient cosmosClient, string databas... FILE: dotnet/src/Microsoft.Agents.AI.CosmosNoSql/CosmosDBChatExtensions.cs class CosmosDBChatExtensions (line 13) | public static class CosmosDBChatExtensions method WithCosmosDBChatHistoryProvider (line 29) | [RequiresUnreferencedCode("The CosmosChatHistoryProvider uses JSON ser... method WithCosmosDBChatHistoryProviderUsingManagedIdentity (line 60) | [RequiresUnreferencedCode("The CosmosChatHistoryProvider uses JSON ser... method WithCosmosDBChatHistoryProvider (line 96) | [RequiresUnreferencedCode("The CosmosChatHistoryProvider uses JSON ser... FILE: dotnet/src/Microsoft.Agents.AI.CosmosNoSql/CosmosDBWorkflowExtensions.cs class CosmosDBWorkflowExtensions (line 14) | public static class CosmosDBWorkflowExtensions method CreateCheckpointStore (line 24) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON seriali... method CreateCheckpointStoreUsingManagedIdentity (line 59) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON seriali... method CreateCheckpointStore (line 99) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON seriali... method CreateCheckpointStore (line 133) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON seriali... method CreateCheckpointStoreUsingManagedIdentity (line 169) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON seriali... method CreateCheckpointStore (line 210) | [RequiresUnreferencedCode("The CosmosCheckpointStore uses JSON seriali... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/AgentBotElementYaml.cs class AgentBotElementYaml (line 18) | internal static class AgentBotElementYaml method FromYaml (line 25) | [RequiresDynamicCode("Calls YamlDotNet.Serialization.DeserializerBuild... class AgentFeatureConfiguration (line 44) | private sealed class AgentFeatureConfiguration : IFeatureConfiguration method GetInt64Value (line 46) | public long GetInt64Value(string settingName, long defaultValue) => ... method GetStringValue (line 48) | public string GetStringValue(string settingName, string defaultValue... method IsEnvironmentFeatureEnabled (line 50) | public bool IsEnvironmentFeatureEnabled(string featureName, bool def... method IsTenantFeatureEnabled (line 52) | public bool IsTenantFeatureEnabled(string featureName, bool defaultV... method WrapPromptAgentWithBot (line 55) | public static BotDefinition WrapPromptAgentWithBot(this GptComponentMe... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/AggregatorPromptAgentFactory.cs class AggregatorPromptAgentFactory (line 13) | public sealed class AggregatorPromptAgentFactory : PromptAgentFactory method AggregatorPromptAgentFactory (line 22) | public AggregatorPromptAgentFactory(params PromptAgentFactory[] agentF... method TryCreateAsync (line 35) | public override async Task TryCreateAsync(GptComponentMetada... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/ChatClient/ChatClientPromptAgentFactory.cs class ChatClientPromptAgentFactory (line 18) | public sealed class ChatClientPromptAgentFactory : PromptAgentFactory method ChatClientPromptAgentFactory (line 23) | public ChatClientPromptAgentFactory(IChatClient chatClient, IList TryCreateAsync(GptComponentMetadata pro... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/BoolExpressionExtensions.cs class BoolExpressionExtensions (line 11) | internal static class BoolExpressionExtensions method Eval (line 19) | internal static bool? Eval(this BoolExpression? expression, RecalcEngi... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/CodeInterpreterToolExtensions.cs class CodeInterpreterToolExtensions (line 11) | internal static class CodeInterpreterToolExtensions method AsCodeInterpreterTool (line 17) | internal static HostedCodeInterpreterTool AsCodeInterpreterTool(this C... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/FileSearchToolExtensions.cs class FileSearchToolExtensions (line 12) | internal static class FileSearchToolExtensions method CreateFileSearchTool (line 18) | internal static HostedFileSearchTool CreateFileSearchTool(this FileSea... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/FunctionToolExtensions.cs class FunctionToolExtensions (line 14) | internal static class FunctionToolExtensions method CreateOrGetAITool (line 25) | internal static AITool CreateOrGetAITool(this InvokeClientTaskAction t... method Matches (line 52) | internal static bool Matches(this InvokeClientTaskAction tool, AIFunct... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/IntExpressionExtensions.cs class IntExpressionExtensions (line 12) | internal static class IntExpressionExtensions method Eval (line 20) | internal static long? Eval(this IntExpression? expression, RecalcEngin... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/McpServerToolApprovalModeExtensions.cs class McpServerToolApprovalModeExtensions (line 10) | internal static class McpServerToolApprovalModeExtensions method AsHostedMcpServerToolApprovalMode (line 16) | internal static HostedMcpServerToolApprovalMode AsHostedMcpServerToolA... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/McpServerToolExtensions.cs class McpServerToolExtensions (line 12) | internal static class McpServerToolExtensions method CreateHostedMcpTool (line 18) | internal static HostedMcpServerTool CreateHostedMcpTool(this McpServer... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/ModelOptionsExtensions.cs class ModelOptionsExtensions (line 13) | internal static class ModelOptionsExtensions method AsChatToolMode (line 19) | internal static ChatToolMode? AsChatToolMode(this ModelOptions modelOp... method GetAdditionalProperties (line 43) | internal static AdditionalPropertiesDictionary? GetAdditionalPropertie... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/NumberExpressionExtensions.cs class NumberExpressionExtensions (line 12) | internal static class NumberExpressionExtensions method Eval (line 20) | internal static double? Eval(this NumberExpression? expression, Recalc... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/PromptAgentExtensions.cs class PromptAgentExtensions (line 14) | public static class PromptAgentExtensions method GetChatOptions (line 22) | public static ChatOptions? GetChatOptions(this GptComponentMetadata pr... method GetAITools (line 61) | internal static List? GetAITools(this GptComponentMetadata pro... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/PropertyInfoExtensions.cs class PropertyInfoExtensions (line 11) | public static class PropertyInfoExtensions method AsObjectDictionary (line 18) | public static Dictionary AsObjectDictionary(this IRead... method BuildPropertySchema (line 31) | private static Dictionary BuildPropertySchema(Property... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/RecordDataTypeExtensions.cs class RecordDataTypeExtensions (line 13) | public static class RecordDataTypeExtensions method AsChatResponseFormat (line 19) | internal static ChatResponseFormat? AsChatResponseFormat(this RecordDa... method GetSchema (line 41) | public static JsonElement GetSchema(this RecordDataType recordDataType) method GetSchemaName (line 61) | private static string? GetSchemaName(this RecordDataType recordDataType) method GetSchemaDescription (line 71) | private static string? GetSchemaDescription(this RecordDataType record... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/RecordDataValueExtensions.cs class RecordDataValueExtensions (line 14) | public static class RecordDataValueExtensions method GetNumber (line 21) | public static decimal? GetNumber(this RecordDataValue recordData, stri... method GetBoolean (line 34) | public static bool? GetBoolean(this RecordDataValue recordData, string... method ToDictionary (line 46) | public static IReadOnlyDictionary ToDictionary(this Re... method GetSchema (line 62) | public static JsonElement? GetSchema(this RecordDataValue recordData) method ToObject (line 91) | internal static object? ToObject(this DataValue? value) FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/StringExpressionExtensions.cs class StringExpressionExtensions (line 11) | public static class StringExpressionExtensions method Eval (line 19) | public static string? Eval(this StringExpression? expression, RecalcEn... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/WebSearchToolExtensions.cs class WebSearchToolExtensions (line 11) | internal static class WebSearchToolExtensions method CreateWebSearchTool (line 17) | internal static HostedWebSearchTool CreateWebSearchTool(this WebSearch... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/Extensions/YamlAgentFactoryExtensions.cs class YamlAgentFactoryExtensions (line 13) | public static class YamlAgentFactoryExtensions method CreateFromYamlAsync (line 21) | [RequiresDynamicCode("Calls YamlDotNet.Serialization.DeserializerBuild... FILE: dotnet/src/Microsoft.Agents.AI.Declarative/PromptAgentFactory.cs class PromptAgentFactory (line 16) | public abstract class PromptAgentFactory method PromptAgentFactory (line 23) | protected PromptAgentFactory(RecalcEngine? engine = null, IConfigurati... method CreateAsync (line 48) | public async Task CreateAsync(GptComponentMetadata promptAgen... method TryCreateAsync (line 62) | public abstract Task TryCreateAsync(GptComponentMetadata pro... FILE: dotnet/src/Microsoft.Agents.AI.DevUI/DevUIExtensions.cs class DevUIExtensions (line 10) | public static class DevUIExtensions method MapDevUI (line 30) | public static IEndpointConventionBuilder MapDevUI( method MapDevUI (line 51) | internal static IEndpointConventionBuilder MapDevUI( FILE: dotnet/src/Microsoft.Agents.AI.DevUI/DevUIMiddleware.cs class DevUIMiddleware (line 17) | internal sealed partial class DevUIMiddleware method NewlineRegex (line 19) | [GeneratedRegex(@"[\r\n]+")] method DevUIMiddleware (line 41) | public DevUIMiddleware(ILogger logger, string basePath) method HandleRequestAsync (line 63) | public async Task HandleRequestAsync(HttpContext context) method TryServeResourceAsync (line 124) | private async Task TryServeResourceAsync(HttpContext context, st... method IsGZipAccepted (line 195) | private static bool IsGZipAccepted(HttpRequest httpRequest) method CreateResourceEntry (line 216) | private static ResourceEntry CreateResourceEntry(string resourceName) class ResourceEntry (line 250) | private sealed class ResourceEntry(string resourceName, byte[] decompr... FILE: dotnet/src/Microsoft.Agents.AI.DevUI/Entities/EntityInfo.cs type EnvVarRequirement (line 11) | internal sealed record EnvVarRequirement( type EntityInfo (line 28) | internal sealed record EntityInfo( type DiscoveryResponse (line 106) | internal sealed record DiscoveryResponse( FILE: dotnet/src/Microsoft.Agents.AI.DevUI/Entities/MetaResponse.cs type MetaResponse (line 18) | internal sealed record MetaResponse FILE: dotnet/src/Microsoft.Agents.AI.DevUI/Entities/WorkflowSerializationExtensions.cs class WorkflowSerializationExtensions (line 13) | internal static class WorkflowSerializationExtensions method ToDevUIDict (line 24) | public static Dictionary ToDevUIDict(this Workflo... method ConvertExecutorsToDict (line 60) | private static Dictionary> ConvertE... method ConvertEdgesToEdgeGroups (line 97) | private static List> ConvertEdgesToEdg... method Serialize (line 206) | private static JsonElement Serialize(T value, JsonTypeInfo typeI... FILE: dotnet/src/Microsoft.Agents.AI.DevUI/EntitiesApiExtensions.cs class EntitiesApiExtensions (line 13) | internal static class EntitiesApiExtensions method MapEntities (line 29) | public static IEndpointConventionBuilder MapEntities(this IEndpointRou... method ListEntitiesAsync (line 55) | private static async Task ListEntitiesAsync( method GetEntityInfoAsync (line 87) | private static async Task GetEntityInfoAsync( method DiscoverAgents (line 123) | private static IEnumerable DiscoverAgents(IEnumerable DiscoverWorkflows(IEnumerable GetRegisteredEntities(IServiceProvide... FILE: dotnet/src/Microsoft.Agents.AI.DevUI/HostApplicationBuilderExtensions.cs class MicrosoftAgentAIDevUIHostApplicationBuilderExtensions (line 8) | public static class MicrosoftAgentAIDevUIHostApplicationBuilderExtensions method AddDevUI (line 15) | public static IHostApplicationBuilder AddDevUI(this IHostApplicationBu... FILE: dotnet/src/Microsoft.Agents.AI.DevUI/MetaApiExtensions.cs class MetaApiExtensions (line 10) | internal static class MetaApiExtensions method MapMeta (line 25) | public static IEndpointConventionBuilder MapMeta(this IEndpointRouteBu... method GetMeta (line 34) | private static IResult GetMeta() FILE: dotnet/src/Microsoft.Agents.AI.DevUI/ServiceCollectionsExtensions.cs class MicrosoftAgentAIDevUIServiceCollectionsExtensions (line 12) | public static class MicrosoftAgentAIDevUIServiceCollectionsExtensions method AddDevUI (line 19) | public static IServiceCollection AddDevUI(this IServiceCollection serv... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/AIAgentExtensions.cs class AIAgentExtensions (line 11) | public static class AIAgentExtensions method AsDurableAgentProxy (line 29) | public static AIAgent AsDurableAgentProxy(this AIAgent agent, IService... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/AgentEntity.cs class AgentEntity (line 13) | internal class AgentEntity(IServiceProvider services, CancellationToken ... method RunAgentAsync (line 24) | public Task RunAgentAsync(RunRequest request) method Run (line 32) | public async Task Run(RunRequest request) method CheckAndDeleteIfExpired (line 166) | public void CheckAndDeleteIfExpired() method ScheduleDeletionCheck (line 197) | private void ScheduleDeletionCheck(AgentSessionId sessionId, ILogger l... method GetAgent (line 217) | private AIAgent GetAgent(AgentSessionId sessionId) method GetLogger (line 229) | private ILogger GetLogger(string agentName, string sessionKey) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/AgentNotRegisteredException.cs class AgentNotRegisteredException (line 8) | public sealed class AgentNotRegisteredException : InvalidOperationException method AgentNotRegisteredException (line 11) | private AgentNotRegisteredException() method AgentNotRegisteredException (line 20) | public AgentNotRegisteredException(string agentName) method AgentNotRegisteredException (line 31) | public AgentNotRegisteredException(string agentName, Exception? innerE... method GetMessage (line 42) | private static string GetMessage(string agentName) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/AgentRunHandle.cs class AgentRunHandle (line 13) | internal sealed class AgentRunHandle method AgentRunHandle (line 18) | internal AgentRunHandle( method ReadAgentResponseAsync (line 47) | public async Task ReadAgentResponseAsync(CancellationTo... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/AgentSessionId.cs type AgentSessionId (line 12) | [JsonConverter(typeof(AgentSessionIdJsonConverter))] method AgentSessionId (line 23) | public AgentSessionId(string name, string key) method ToEntityName (line 44) | internal static string ToEntityName(string name) => $"{EntityNamePrefi... method ToEntityId (line 50) | internal EntityInstanceId ToEntityId() => this._entityId; method WithRandomKey (line 57) | public static AgentSessionId WithRandomKey(string name) => method Equals (line 83) | public bool Equals(AgentSessionId other) => this == other; method Equals (line 90) | public override bool Equals(object? obj) => obj is AgentSessionId othe... method GetHashCode (line 96) | public override int GetHashCode() => this._entityId.GetHashCode(); method ToString (line 102) | public override string ToString() => this._entityId.ToString(); method Parse (line 111) | public static AgentSessionId Parse(string sessionIdString) class AgentSessionIdJsonConverter (line 148) | public sealed class AgentSessionIdJsonConverter : JsonConverter RunAgentAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAIAgent.cs class DurableAIAgent (line 15) | public sealed class DurableAIAgent : AIAgent method DurableAIAgent (line 25) | internal DurableAIAgent(TaskOrchestrationContext context, string agent... method CreateSessionCoreAsync (line 36) | protected override ValueTask CreateSessionCoreAsync(Canc... method SerializeSessionCoreAsync (line 49) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 71) | protected override ValueTask DeserializeSessionCoreAsync( method RunCoreAsync (line 89) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 159) | protected override async IAsyncEnumerable RunCore... method RunAsync (line 191) | public new Task> RunAsync( method RunAsync (line 215) | public new Task> RunAsync( method RunAsync (line 244) | public new Task> RunAsync( method RunAsync (line 272) | public new async Task> RunAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAIAgentProxy.cs class DurableAIAgentProxy (line 8) | internal class DurableAIAgentProxy(string name, IDurableAgentClient agen... method SerializeSessionCoreAsync (line 14) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 29) | protected override ValueTask DeserializeSessionCoreAsync( method CreateSessionCoreAsync (line 36) | protected override ValueTask CreateSessionCoreAsync(Canc... method RunCoreAsync (line 41) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 93) | protected override IAsyncEnumerable RunCoreStream... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAgentContext.cs class DurableAgentContext (line 15) | public class DurableAgentContext method DurableAgentContext (line 21) | internal DurableAgentContext( method SetCurrent (line 61) | internal static void SetCurrent(DurableAgentContext context) method ClearCurrent (line 75) | internal static void ClearCurrent() method ScheduleNewOrchestration (line 92) | public string ScheduleNewOrchestration( method GetOrchestrationStatusAsync (line 106) | public Task GetOrchestrationStatusAsync(string... method RaiseOrchestrationEventAsync (line 118) | public Task RaiseOrchestrationEventAsync(string instanceId, string eve... method GetService (line 133) | public TService? GetService(object? serviceKey = null) method GetService (line 147) | public object? GetService(Type serviceType, object? serviceKey = null) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAgentJsonUtilities.cs class DurableAgentJsonUtilities (line 30) | internal static partial class DurableAgentJsonUtilities method Serialize (line 42) | public static JsonElement Serialize(this IEnumerable mess... method DeserializeMessages (line 50) | public static List DeserializeMessages(this JsonElement e... method CreateDefaultOptions (line 57) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAgentRunOptions.cs class DurableAgentRunOptions (line 8) | public sealed class DurableAgentRunOptions : AgentRunOptions method DurableAgentRunOptions (line 13) | public DurableAgentRunOptions() method DurableAgentRunOptions (line 21) | private DurableAgentRunOptions(DurableAgentRunOptions options) method Clone (line 50) | public override AgentRunOptions Clone() => new DurableAgentRunOptions(... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAgentSession.cs class DurableAgentSession (line 12) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method DurableAgentSession (line 15) | internal DurableAgentSession(AgentSessionId sessionId) method DurableAgentSession (line 20) | [JsonConstructor] method Serialize (line 34) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializerOp... method Deserialize (line 46) | internal static DurableAgentSession Deserialize(JsonElement serialized... method GetService (line 64) | public override object? GetService(Type serviceType, object? serviceKe... method ToString (line 75) | public override string ToString() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableAgentsOptions.cs class DurableAgentsOptions (line 8) | public sealed class DurableAgentsOptions method DurableAgentsOptions (line 14) | internal DurableAgentsOptions() method AddAIAgentFactory (line 63) | public DurableAgentsOptions AddAIAgentFactory(string name, Func ag... method AddAIAgent (line 103) | public DurableAgentsOptions AddAIAgent(AIAgent agent, TimeSpan? timeTo... method GetAgentFactories (line 130) | internal IReadOnlyDictionary> ... method GetTimeToLive (line 140) | internal TimeSpan? GetTimeToLive(string agentName) method ContainsAgent (line 150) | internal bool ContainsAgent(string agentName) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableDataConverter.cs class DurableDataConverter (line 18) | internal sealed class DurableDataConverter : DataConverter method Deserialize (line 26) | [UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "F... method Serialize (line 46) | [return: NotNullIfNotNull(nameof(value))] FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/DurableOptions.cs class DurableOptions (line 11) | [DebuggerDisplay("Workflows = {Workflows.Workflows.Count}, Agents = {Age... method DurableOptions (line 17) | internal DurableOptions() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/EntityAgentWrapper.cs class EntityAgentWrapper (line 11) | internal sealed class EntityAgentWrapper( method RunCoreAsync (line 24) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 40) | protected override async IAsyncEnumerable RunCore... method GetService (line 58) | public override object? GetService(Type serviceType, object? serviceKe... method GetAgentEntityRunOptions (line 71) | private AgentRunOptions GetAgentEntityRunOptions(AgentRunOptions? opti... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/IAgentResponseHandler.cs type IAgentResponseHandler (line 8) | public interface IAgentResponseHandler method OnStreamingResponseUpdateAsync (line 19) | ValueTask OnStreamingResponseUpdateAsync( method OnAgentResponseAsync (line 32) | ValueTask OnAgentResponseAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/IDurableAgentClient.cs type IDurableAgentClient (line 8) | internal interface IDurableAgentClient method RunAgentAsync (line 17) | Task RunAgentAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Logs.cs class Logs (line 7) | internal static partial class Logs method LogAgentRequest (line 9) | [LoggerMessage( method LogAgentResponse (line 19) | [LoggerMessage( method LogSignallingAgent (line 32) | [LoggerMessage( method LogStartPollingForResponse (line 38) | [LoggerMessage( method LogDonePollingForResponse (line 44) | [LoggerMessage( method LogTTLExpirationTimeUpdated (line 50) | [LoggerMessage( method LogTTLDeletionScheduled (line 59) | [LoggerMessage( method LogTTLDeletionCheck (line 68) | [LoggerMessage( method LogTTLEntityExpired (line 78) | [LoggerMessage( method LogTTLRescheduled (line 87) | [LoggerMessage( method LogTTLExpirationTimeCleared (line 96) | [LoggerMessage( method LogWorkflowStarting (line 106) | [LoggerMessage( method LogSuperstepStarting (line 115) | [LoggerMessage( method LogSuperstepExecutors (line 124) | [LoggerMessage( method LogWorkflowCompleted (line 133) | [LoggerMessage( method LogWorkflowMaxSuperstepsExceeded (line 140) | [LoggerMessage( method LogFanInAggregated (line 150) | [LoggerMessage( method LogExecutorResultReceived (line 160) | [LoggerMessage( method LogDispatchingExecutor (line 170) | [LoggerMessage( method LogAgentNotFound (line 179) | [LoggerMessage( method LogEdgeConditionFalse (line 187) | [LoggerMessage( method LogEdgeConditionEvaluationFailed (line 196) | [LoggerMessage( method LogEdgeRoutingMessage (line 206) | [LoggerMessage( method LogWaitingForExternalEvent (line 215) | [LoggerMessage( method LogReceivedExternalEvent (line 223) | [LoggerMessage( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/RunRequest.cs type RunRequest (line 11) | public record RunRequest FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/ServiceCollectionExtensions.cs class ServiceCollectionExtensions (line 17) | public static class ServiceCollectionExtensions method GetDurableAgentProxy (line 26) | public static AIAgent GetDurableAgentProxy(this IServiceProvider servi... method ConfigureDurableAgents (line 50) | public static IServiceCollection ConfigureDurableAgents( method ConfigureDurableWorkflows (line 80) | public static IServiceCollection ConfigureDurableWorkflows( method ConfigureDurableOptions (line 125) | public static IServiceCollection ConfigureDurableOptions( method GetOrCreateSharedOptions (line 149) | private static DurableOptions GetOrCreateSharedOptions(IServiceCollect... method RegisterAgentKeyedServices (line 166) | private static void RegisterAgentKeyedServices(IServiceCollection serv... method EnsureDurableServicesRegistered (line 182) | private static void EnsureDurableServicesRegistered( method RegisterTasksFromOptions (line 230) | private static void RegisterTasksFromOptions(DurableTaskRegistry regis... method BuildWorkflowRegistrationRecursive (line 275) | private static void BuildWorkflowRegistrationRecursive( method BuildWorkflowRegistration (line 308) | private static WorkflowRegistrationInfo BuildWorkflowRegistration( method IsActivityBinding (line 337) | private static bool IsActivityBinding(ExecutorBinding binding) method RunWorkflowOrchestrationAsync (line 342) | private static async Task RunWorkflowOrchestrat... type WorkflowRegistrationInfo (line 354) | private sealed record WorkflowRegistrationInfo(string OrchestrationNam... type ActivityRegistrationInfo (line 356) | private sealed record ActivityRegistrationInfo(string ActivityName, Ex... method ValidateAgentIsRegistered (line 369) | internal static void ValidateAgentIsRegistered(IServiceProvider servic... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentState.cs class DurableAgentState (line 10) | [JsonConverter(typeof(DurableAgentStateJsonConverter))] FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateContent.cs class DurableAgentStateContent (line 12) | [JsonPolymorphic(TypeDiscriminatorPropertyName = "$type")] method ToAIContent (line 36) | public abstract AIContent ToAIContent(); method FromAIContent (line 43) | public static DurableAgentStateContent FromAIContent(AIContent content) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateData.cs class DurableAgentStateData (line 11) | internal sealed class DurableAgentStateData FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateDataContent.cs class DurableAgentStateDataContent (line 11) | internal sealed class DurableAgentStateDataContent : DurableAgentStateCo... method FromDataContent (line 31) | public static DurableAgentStateDataContent FromDataContent(DataContent... method ToAIContent (line 41) | public override AIContent ToAIContent() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateEntry.cs class DurableAgentStateEntry (line 12) | [JsonPolymorphic(TypeDiscriminatorPropertyName = "$type")] FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateErrorContent.cs class DurableAgentStateErrorContent (line 11) | internal sealed class DurableAgentStateErrorContent : DurableAgentStateC... method FromErrorContent (line 40) | public static DurableAgentStateErrorContent FromErrorContent(ErrorCont... method ToAIContent (line 51) | public override AIContent ToAIContent() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateFunctionCallContent.cs class DurableAgentStateFunctionCallContent (line 12) | internal sealed class DurableAgentStateFunctionCallContent : DurableAgen... method FromFunctionCallContent (line 45) | public static DurableAgentStateFunctionCallContent FromFunctionCallCon... method ToAIContent (line 56) | public override AIContent ToAIContent() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateFunctionResultContent.cs class DurableAgentStateFunctionResultContent (line 11) | internal sealed class DurableAgentStateFunctionResultContent : DurableAg... method FromFunctionResultContent (line 35) | public static DurableAgentStateFunctionResultContent FromFunctionResul... method ToAIContent (line 45) | public override AIContent ToAIContent() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateHostedFileContent.cs class DurableAgentStateHostedFileContent (line 11) | internal sealed class DurableAgentStateHostedFileContent : DurableAgentS... method FromHostedFileContent (line 26) | public static DurableAgentStateHostedFileContent FromHostedFileContent... method ToAIContent (line 35) | public override AIContent ToAIContent() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateHostedVectorStoreContent.cs class DurableAgentStateHostedVectorStoreContent (line 11) | internal sealed class DurableAgentStateHostedVectorStoreContent : Durabl... method FromHostedVectorStoreContent (line 26) | public static DurableAgentStateHostedVectorStoreContent FromHostedVect... method ToAIContent (line 35) | public override AIContent ToAIContent() FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/State/DurableAgentStateJsonConverter.cs class DurableAgentStateJsonConverter (line 11) | internal sealed class DurableAgentStateJsonConverter : JsonConverter GetStatusAsync(CancellationTo... method WatchStreamAsync (line 88) | public IAsyncEnumerable WatchStreamAsync(CancellationTo... method WatchStreamAsync (line 97) | private async IAsyncEnumerable WatchStreamAsync( method SendResponseAsync (line 235) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Serial... method WaitForCompletionAsync (line 257) | public async ValueTask WaitForCompletionAsync(Cance... method DrainNewEvents (line 290) | private static (List Events, int UpdatedIndex) DrainNew... method TryParseWorkflowResult (line 316) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... method ExtractResult (line 342) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... method TryDeserializeEvent (line 373) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... method DeserializeEventByType (line 401) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... method GetDataProperty (line 436) | private static JsonElement? GetDataProperty(JsonElement root) method ExtractRequestPorts (line 446) | private static Dictionary ExtractRequestPorts(Wor... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowClient.cs class DurableWorkflowClient (line 13) | internal sealed class DurableWorkflowClient : IWorkflowClient method DurableWorkflowClient (line 22) | public DurableWorkflowClient(DurableTaskClient client) method RunAsync (line 29) | public async ValueTask RunAsync( method RunAsync (line 55) | public ValueTask RunAsync( method StreamAsync (line 63) | public async ValueTask StreamAsync( method StreamAsync (line 89) | public ValueTask StreamAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowCompletedEvent.cs class DurableWorkflowCompletedEvent (line 11) | [DebuggerDisplay("Completed: {Result}")] method DurableWorkflowCompletedEvent (line 18) | public DurableWorkflowCompletedEvent(string? result) : base(result) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowContext.cs class DurableWorkflowContext (line 18) | [DebuggerDisplay("Executor = {_executor.Id}, StateEntries = {_initialSta... method DurableWorkflowContext (line 36) | internal DurableWorkflowContext(Dictionary? initialSta... method AddEventAsync (line 68) | public ValueTask AddEventAsync( method SendMessageAsync (line 81) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Serial... method YieldOutputAsync (line 102) | public ValueTask YieldOutputAsync( method RequestHaltAsync (line 123) | public ValueTask RequestHaltAsync() method ReadStateAsync (line 131) | public ValueTask ReadStateAsync( method ReadOrInitStateAsync (line 164) | public async ValueTask ReadOrInitStateAsync( method ReadStateKeysAsync (line 191) | public ValueTask> ReadStateKeysAsync( method QueueStateUpdateAsync (line 238) | public ValueTask QueueStateUpdateAsync( method QueueClearScopeAsync (line 252) | public ValueTask QueueClearScopeAsync( method GetScopeKey (line 277) | private static string GetScopeKey(string? scopeName, string key) method HasStateKey (line 284) | private bool HasStateKey(string key, string? scopeName) method GetScopePrefix (line 308) | private static string GetScopePrefix(string? scopeName) method SerializeState (line 311) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Serial... method DeserializeStateAsync (line 316) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowFailedEvent.cs class DurableWorkflowFailedEvent (line 12) | [DebuggerDisplay("Failed: {ErrorMessage}")] method DurableWorkflowFailedEvent (line 20) | public DurableWorkflowFailedEvent(string errorMessage, TaskFailureDeta... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowInput.cs class DurableWorkflowInput (line 9) | internal sealed class DurableWorkflowInput FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowLiveStatus.cs class DurableWorkflowLiveStatus (line 23) | internal sealed class DurableWorkflowLiveStatus method TryParse (line 38) | [System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("AOT", "... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowOptions.cs class DurableWorkflowOptions (line 11) | [DebuggerDisplay("Workflows = {Workflows.Count}")] method DurableWorkflowOptions (line 20) | internal DurableWorkflowOptions(DurableOptions? parentOptions = null) method AddWorkflow (line 51) | public void AddWorkflow(Workflow workflow) method AddWorkflows (line 69) | public void AddWorkflows(params Workflow[] workflows) method RegisterWorkflowExecutors (line 82) | private void RegisterWorkflowExecutors(Workflow workflow) method TryRegisterAgent (line 98) | private static void TryRegisterAgent(ExecutorBinding binding, DurableA... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowResult.cs class DurableWorkflowResult (line 13) | internal sealed class DurableWorkflowResult FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowRun.cs class DurableWorkflowRun (line 13) | [DebuggerDisplay("{WorkflowName} ({RunId})")] method DurableWorkflowRun (line 26) | internal DurableWorkflowRun(DurableTaskClient client, string instanceI... method WaitForCompletionAsync (line 49) | public async ValueTask WaitForCompletionAsync(Cance... method WaitForCompletionAsync (line 85) | public ValueTask WaitForCompletionAsync(CancellationToken can... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowRunner.cs class DurableWorkflowRunner (line 70) | internal sealed class DurableWorkflowRunner method DurableWorkflowRunner (line 78) | public DurableWorkflowRunner(DurableOptions durableOptions) method RunWorkflowOrchestrationAsync (line 98) | internal async Task RunWorkflowOrchestrationAsync( method GetWorkflowOrThrow (line 121) | private Workflow GetWorkflowOrThrow(string orchestrationName) method RunSuperstepLoopAsync (line 136) | [UnconditionalSuppressMessage("AOT", "IL2026:RequiresUnreferencedCode"... method CountRemainingExecutors (line 221) | private static int CountRemainingExecutors(Dictionary DispatchExecutorsInParallelAsync( class SuperstepState (line 254) | private sealed class SuperstepState method SuperstepState (line 256) | public SuperstepState(Workflow workflow, DurableEdgeMap edgeMap) type ExecutorInput (line 289) | private sealed record ExecutorInput(string ExecutorId, DurableMessageE... method CollectExecutorInputs (line 294) | private static List CollectExecutorInputs( method GetNextEnvelope (line 313) | private static DurableMessageEnvelope GetNextEnvelope( method AggregateQueueMessages (line 329) | private static DurableMessageEnvelope AggregateQueueMessages( method ProcessSuperstepResults (line 365) | private static bool ProcessSuperstepResults( method MergeStateUpdates (line 411) | private static void MergeStateUpdates( method ApplyClearedScopes (line 437) | private static void ApplyClearedScopes(Dictionary shar... method PublishEventsToLiveStatus (line 480) | private static void PublishEventsToLiveStatus( method RouteOutputToSuccessors (line 494) | private static void RouteOutputToSuccessors( method SerializeToJsonArray (line 521) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Serial... method CreateExecutorInfo (line 532) | private static WorkflowExecutorInfo CreateExecutorInfo( method GetFinalResult (line 551) | private static string GetFinalResult(Dictionary lastRe... type ExecutorResultInfo (line 560) | private sealed record ExecutorResultInfo( method ParseActivityResult (line 571) | private static ExecutorResultInfo ParseActivityResult(string rawResult) method HasMeaningfulContent (line 610) | private static bool HasMeaningfulContent(DurableExecutorOutput output) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/DurableWorkflowWaitingForInputEvent.cs class DurableWorkflowWaitingForInputEvent (line 15) | [DebuggerDisplay("RequestPort = {RequestPort.Id}")] method GetInputAs (line 36) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/EdgeRouters/DurableDirectEdgeRouter.cs class DurableDirectEdgeRouter (line 55) | internal sealed class DurableDirectEdgeRouter : IDurableEdgeRouter method DurableDirectEdgeRouter (line 69) | internal DurableDirectEdgeRouter( method RouteMessage (line 82) | public void RouteMessage( method DeserializeForCondition (line 126) | [UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Deseri... method EnqueueMessage (line 143) | private static void EnqueueMessage( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/EdgeRouters/DurableEdgeMap.cs class DurableEdgeMap (line 75) | internal sealed class DurableEdgeMap method DurableEdgeMap (line 85) | internal DurableEdgeMap(WorkflowGraphInfo graphInfo) method RouteMessage (line 145) | internal void RouteMessage( method EnqueueInitialInput (line 174) | internal void EnqueueInitialInput( method IsFanInExecutor (line 187) | internal bool IsFanInExecutor(string executorId) method EnqueueMessage (line 192) | private static void EnqueueMessage( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/EdgeRouters/DurableFanOutEdgeRouter.cs class DurableFanOutEdgeRouter (line 35) | internal sealed class DurableFanOutEdgeRouter : IDurableEdgeRouter method DurableFanOutEdgeRouter (line 45) | internal DurableFanOutEdgeRouter(string sourceId, List WaitForCompletionAsync(CancellationToken ... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/IStreamingWorkflowRun.cs type IStreamingWorkflowRun (line 14) | public interface IStreamingWorkflowRun method WatchStreamAsync (line 41) | IAsyncEnumerable WatchStreamAsync(CancellationToken can... method SendResponseAsync (line 51) | ValueTask SendResponseAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/IWorkflowClient.cs type IWorkflowClient (line 10) | public interface IWorkflowClient method RunAsync (line 21) | ValueTask RunAsync( method RunAsync (line 36) | ValueTask RunAsync( method StreamAsync (line 51) | ValueTask StreamAsync( method StreamAsync (line 66) | ValueTask StreamAsync( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/IWorkflowRun.cs type IWorkflowRun (line 10) | public interface IWorkflowRun FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/PendingRequestPortStatus.cs type PendingRequestPortStatus (line 10) | internal sealed record PendingRequestPortStatus( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/TypedPayload.cs class TypedPayload (line 9) | internal sealed class TypedPayload FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/WorkflowAnalyzer.cs class WorkflowAnalyzer (line 11) | internal static class WorkflowAnalyzer method GetExecutorsFromWorkflowInOrder (line 22) | internal static List GetExecutorsFromWorkflowInO... method BuildGraphInfo (line 50) | internal static WorkflowGraphInfo BuildGraphInfo(Workflow workflow) method IsAgentExecutorType (line 72) | internal static bool IsAgentExecutorType(Type executorType) method CreateExecutorInfo (line 87) | private static WorkflowExecutorInfo CreateExecutorInfo(string executor... method InitializeExecutorMappings (line 101) | private static void InitializeExecutorMappings(WorkflowGraphInfo graph... method PopulateGraphFromEdges (line 116) | private static void PopulateGraphFromEdges(WorkflowGraphInfo graphInfo... method AddSuccessorsFromEdge (line 137) | private static void AddSuccessorsFromEdge( method TryAddEdgeCondition (line 160) | private static void TryAddEdgeCondition(WorkflowGraphInfo graphInfo, E... method GetExecutorOutputType (line 178) | private static Type? GetExecutorOutputType(Type executorType) method TryExtractOutputTypeFromGeneric (line 201) | private static Type? TryExtractOutputTypeFromGeneric(Type type) method IsVoidExecutorType (line 231) | private static bool IsVoidExecutorType(Type type) FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/WorkflowExecutorInfo.cs type WorkflowExecutorInfo (line 14) | internal sealed record WorkflowExecutorInfo( FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/WorkflowGraphInfo.cs class WorkflowGraphInfo (line 70) | [DebuggerDisplay("Start = {StartExecutorId}, Executors = {Successors.Cou... FILE: dotnet/src/Microsoft.Agents.AI.DurableTask/Workflows/WorkflowNamingHelper.cs class WorkflowNamingHelper (line 10) | internal static class WorkflowNamingHelper method ToOrchestrationFunctionName (line 21) | internal static string ToOrchestrationFunctionName(string workflowName) method ToWorkflowName (line 33) | internal static string ToWorkflowName(string orchestrationFunctionName) method GetExecutorName (line 62) | internal static string GetExecutorName(string executorId) method IsGuidSuffix (line 82) | private static bool IsGuidSuffix(ReadOnlySpan value) method TryGetWorkflowName (line 100) | private static bool TryGetWorkflowName(string? orchestrationFunctionNa... FILE: dotnet/src/Microsoft.Agents.AI.FoundryMemory/AIProjectClientExtensions.cs class AIProjectClientExtensions (line 13) | internal static class AIProjectClientExtensions method CreateMemoryStoreIfNotExistsAsync (line 18) | internal static async Task CreateMemoryStoreIfNotExistsAsync( FILE: dotnet/src/Microsoft.Agents.AI.FoundryMemory/FoundryMemoryJsonUtilities.cs class FoundryMemoryJsonUtilities (line 11) | internal static class FoundryMemoryJsonUtilities FILE: dotnet/src/Microsoft.Agents.AI.FoundryMemory/FoundryMemoryProvider.cs class FoundryMemoryProvider (line 29) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method FoundryMemoryProvider (line 57) | public FoundryMemoryProvider( method ValidateStateInitializer (line 88) | private static Func ValidateStateInitializer(Fun... method ProvideAIContextAsync (line 102) | protected override async ValueTask ProvideAIContextAsync(In... method StoreAIContextAsync (line 190) | protected override async ValueTask StoreAIContextAsync(InvokedContext ... method EnsureStoredMemoriesDeletedAsync (line 259) | public async Task EnsureStoredMemoriesDeletedAsync(AgentSession sessio... method EnsureMemoryStoreCreatedAsync (line 297) | public async Task EnsureMemoryStoreCreatedAsync( method WhenUpdatesCompletedAsync (line 341) | public async Task WhenUpdatesCompletedAsync( method WaitForUpdateAsync (line 358) | private async Task WaitForUpdateAsync(string updateId, TimeSpan interv... method ToResponseItem (line 401) | private static MessageResponseItem ToResponseItem(ChatRole role, strin... method IsAllowedRole (line 416) | private static bool IsAllowedRole(ChatRole role) => method SanitizeLogData (line 419) | private string? SanitizeLogData(string? data) => this._enableSensitive... class State (line 424) | public sealed class State method State (line 430) | [JsonConstructor] FILE: dotnet/src/Microsoft.Agents.AI.FoundryMemory/FoundryMemoryProviderOptions.cs class FoundryMemoryProviderOptions (line 12) | public sealed class FoundryMemoryProviderOptions FILE: dotnet/src/Microsoft.Agents.AI.FoundryMemory/FoundryMemoryProviderScope.cs class FoundryMemoryProviderScope (line 16) | public sealed class FoundryMemoryProviderScope method FoundryMemoryProviderScope (line 23) | public FoundryMemoryProviderScope(string scope) FILE: dotnet/src/Microsoft.Agents.AI.GitHub.Copilot/CopilotClientExtensions.cs class CopilotClientExtensions (line 24) | public static class CopilotClientExtensions method AsAIAgent (line 36) | public static AIAgent AsAIAgent( method AsAIAgent (line 60) | public static AIAgent AsAIAgent( FILE: dotnet/src/Microsoft.Agents.AI.GitHub.Copilot/GitHubCopilotAgent.cs class GitHubCopilotAgent (line 21) | public sealed class GitHubCopilotAgent : AIAgent, IAsyncDisposable method GitHubCopilotAgent (line 42) | public GitHubCopilotAgent( method GitHubCopilotAgent (line 70) | public GitHubCopilotAgent( method CreateSessionCoreAsync (line 89) | protected sealed override ValueTask CreateSessionCoreAsy... method CreateSessionAsync (line 97) | public ValueTask CreateSessionAsync(string sessionId) method SerializeSessionCoreAsync (line 101) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 114) | protected override ValueTask DeserializeSessionCoreAsync( method RunCoreAsync (line 121) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 129) | protected override async IAsyncEnumerable RunCore... method DisposeAsync (line 255) | public async ValueTask DisposeAsync() method EnsureClientStartedAsync (line 263) | private async Task EnsureClientStartedAsync(CancellationToken cancella... method CreateResumeConfig (line 271) | private ResumeSessionConfig CreateResumeConfig() method CopySessionConfig (line 280) | internal static SessionConfig CopySessionConfig(SessionConfig source) method CopyResumeSessionConfig (line 309) | internal static ResumeSessionConfig CopyResumeSessionConfig(SessionCon... method ConvertToAgentResponseUpdate (line 334) | private AgentResponseUpdate ConvertToAgentResponseUpdate(AssistantMess... method ConvertToAgentResponseUpdate (line 349) | internal AgentResponseUpdate ConvertToAgentResponseUpdate(AssistantMes... method ConvertToAgentResponseUpdate (line 365) | private AgentResponseUpdate ConvertToAgentResponseUpdate(AssistantUsag... method GetAdditionalCounts (line 388) | private static AdditionalPropertiesDictionary? GetAdditionalCoun... method ConvertToAgentResponseUpdate (line 418) | private AgentResponseUpdate ConvertToAgentResponseUpdate(SessionEvent ... method GetSessionConfig (line 433) | private static SessionConfig? GetSessionConfig(IList? tools, s... method ProcessDataContentAttachmentsAsync (line 446) | private static async Task<(List? Attac... method CleanupTempDir (line 476) | private static void CleanupTempDir(string? tempDir) FILE: dotnet/src/Microsoft.Agents.AI.GitHub.Copilot/GitHubCopilotAgentSession.cs class GitHubCopilotAgentSession (line 13) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method GitHubCopilotAgentSession (line 25) | internal GitHubCopilotAgentSession() method GitHubCopilotAgentSession (line 29) | [JsonConstructor] method Serialize (line 36) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializerOp... method Deserialize (line 42) | internal static GitHubCopilotAgentSession Deserialize(JsonElement seri... FILE: dotnet/src/Microsoft.Agents.AI.GitHub.Copilot/GitHubCopilotJsonUtilities.cs class GitHubCopilotJsonUtilities (line 13) | internal static partial class GitHubCopilotJsonUtilities method CreateDefaultOptions (line 24) | private static JsonSerializerOptions CreateDefaultOptions() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.A2A.AspNetCore/EndpointRouteBuilderExtensions.cs class MicrosoftAgentAIHostingA2AEndpointRouteBuilderExtensions (line 21) | [Experimental(DiagnosticIds.Experiments.AIResponseContinuations)] method MapA2A (line 36) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 47) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 60) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 71) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 91) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 105) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 125) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 141) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 153) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 168) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 189) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 209) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 227) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 241) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 252) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 263) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 275) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 302) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 319) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 336) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 354) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... method MapA2A (line 377) | public static IEndpointConventionBuilder MapA2A(this IEndpointRouteBui... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2AHostingJsonUtilities.cs class A2AHostingJsonUtilities (line 10) | public static class A2AHostingJsonUtilities method CreateDefaultOptions (line 17) | private static JsonSerializerOptions CreateDefaultOptions() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2ARunDecisionContext.cs class A2ARunDecisionContext (line 10) | public sealed class A2ARunDecisionContext method A2ARunDecisionContext (line 12) | internal A2ARunDecisionContext(MessageSendParams messageSendParams) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.A2A/AIAgentExtensions.cs class AIAgentExtensions (line 20) | [Experimental(DiagnosticIds.Experiments.AIResponseContinuations)] method MapA2A (line 37) | public static ITaskManager MapA2A( method MapA2A (line 86) | public static ITaskManager MapA2A( method OnMessageReceivedAsync (line 111) | private static async Task OnMessageReceivedAsync( method OnTaskUpdatedAsync (line 158) | private static async Task OnTaskUpdatedAsync( method OnTaskCancelledAsync (line 211) | private static Task OnTaskCancelledAsync(AgentTask agentTask, Cancella... method CreateMessageFromResponse (line 219) | private static AgentMessage CreateMessageFromResponse(string contextId... method CreateArtifactFromResponse (line 231) | private static Artifact CreateArtifactFromResponse(AgentResponse respo... method InitializeTaskAsync (line 239) | private static async Task InitializeTaskAsync( method StoreContinuationToken (line 258) | private static void StoreContinuationToken( method TransitionToWorkingAsync (line 271) | private static async Task TransitionToWorkingAsync( method CompleteWithArtifactAsync (line 283) | private static async Task CompleteWithArtifactAsync( method ExtractChatMessagesFromTaskHistory (line 294) | private static List ExtractChatMessagesFromTaskHistory(Ag... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.A2A/AgentRunMode.cs class AgentRunMode (line 14) | [Experimental(DiagnosticIds.Experiments.AIResponseContinuations)] method AgentRunMode (line 24) | private AgentRunMode(string value, Func ShouldRunInBackgroundAsync(A2ARunDecisionCont... method Equals (line 86) | public bool Equals(AgentRunMode? other) => method Equals (line 90) | public override bool Equals(object? obj) => this.Equals(obj as AgentRu... method GetHashCode (line 93) | public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.... method ToString (line 96) | public override string ToString() => this._value; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.A2A/Converters/MessageConverter.cs class MessageConverter (line 9) | internal static class MessageConverter method ToParts (line 11) | public static List ToParts(this IList chatMessages) method ToChatMessages (line 38) | public static List ToChatMessages(this MessageSendParams ... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore/AGUIChatResponseUpdateStreamExtensions.cs class AGUIChatResponseUpdateStreamExtensions (line 12) | internal static class AGUIChatResponseUpdateStreamExtensions method FilterServerToolsFromMixedToolInvocationsAsync (line 14) | public static async IAsyncEnumerable FilterServerT... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore/AGUIEndpointRouteBuilderExtensions.cs class AGUIEndpointRouteBuilderExtensions (line 22) | public static class AGUIEndpointRouteBuilderExtensions method MapAGUI (line 31) | public static IEndpointConventionBuilder MapAGUI( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore/AGUIJsonSerializerOptions.cs class AGUIJsonSerializerOptions (line 10) | internal static class AGUIJsonSerializerOptions method Create (line 17) | private static JsonSerializerOptions Create() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore/AGUIServerSentEventsResult.cs class AGUIServerSentEventsResult (line 17) | internal sealed partial class AGUIServerSentEventsResult : IResult, IDis... method AGUIServerSentEventsResult (line 23) | internal AGUIServerSentEventsResult(IAsyncEnumerable events... method ExecuteAsync (line 29) | public async Task ExecuteAsync(HttpContext httpContext) method WrapEventsAsSseItemsAsync (line 78) | private static async IAsyncEnumerable> WrapEventsAs... method WrapEventsAsSseItemsAsync (line 88) | private static async IAsyncEnumerable> WrapEventsAs... method SerializeEvent (line 97) | private void SerializeEvent(SseItem item, IBufferWriter RunWorkflowOrchestrationHtt... method GetWorkflowStatusAsync (line 73) | public static async Task GetWorkflowStatusAsync( method RespondToWorkflowAsync (line 112) | public static async Task RespondToWorkflowAsync( method InvokeWorkflowActivityAsync (line 189) | public static Task InvokeWorkflowActivityAsync( method RunWorkflowOrchestration (line 214) | public static string RunWorkflowOrchestration( method InvokeAgentAsync (line 226) | public static Task InvokeAgentAsync( method RunAgentHttpAsync (line 246) | public static async Task RunAgentHttpAsync( method RunMcpToolAsync (line 349) | public static async Task RunMcpToolAsync( method CreateErrorResponseAsync (line 389) | private static async Task CreateErrorResponseAsync( method CreateSuccessResponseAsync (line 422) | private static async Task CreateSuccessResponseAsync( method CreateAcceptedResponseAsync (line 456) | private static async Task CreateAcceptedResponseAsync( method GetAgentName (line 481) | private static string GetAgentName(FunctionContext context) type AgentRunRequest (line 502) | private sealed record AgentRunRequest( type ErrorResponse (line 511) | private sealed record ErrorResponse( type AgentRunSuccessResponse (line 521) | private sealed record AgentRunSuccessResponse( type AgentRunAcceptedResponse (line 531) | private sealed record AgentRunAcceptedResponse( type WorkflowRespondRequest (line 540) | private sealed record WorkflowRespondRequest( class CombinedServiceProvider (line 547) | private sealed class CombinedServiceProvider(IServiceProvider original... method GetKeyedService (line 553) | public object? GetKeyedService(Type serviceType, object? serviceKey) method GetRequiredKeyedService (line 563) | public object GetRequiredKeyedService(Type serviceType, object? serv... method GetService (line 573) | public object? GetService(Type serviceType) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DefaultFunctionsAgentOptionsProvider.cs class DefaultFunctionsAgentOptionsProvider (line 11) | internal sealed class DefaultFunctionsAgentOptionsProvider(IReadOnlyDict... method TryGet (line 31) | public bool TryGet(string agentName, [NotNullWhen(true)] out Functions... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableAgentFunctionMetadataTransformer.cs class DurableAgentFunctionMetadataTransformer (line 12) | internal sealed class DurableAgentFunctionMetadataTransformer : IFunctio... method DurableAgentFunctionMetadataTransformer (line 19) | public DurableAgentFunctionMetadataTransformer( method Transform (line 33) | public void Transform(IList original) method CreateMcpToolTrigger (line 63) | private static DefaultFunctionMetadata CreateMcpToolTrigger(string age... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableAgentsOptionsExtensions.cs class DurableAgentsOptionsExtensions (line 10) | public static class DurableAgentsOptionsExtensions method AddAIAgent (line 23) | public static DurableAgentsOptions AddAIAgent( method AddAIAgent (line 51) | public static DurableAgentsOptions AddAIAgent( method AddAIAgentFactory (line 81) | public static DurableAgentsOptions AddAIAgentFactory( method AddAIAgentFactory (line 110) | public static DurableAgentsOptions AddAIAgentFactory( method GetAgentOptionsSnapshot (line 133) | internal static IReadOnlyDictionary Get... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableTaskClientExtensions.cs class DurableTaskClientExtensions (line 13) | public static class DurableTaskClientExtensions method AsDurableAgentProxy (line 30) | public static AIAgent AsDurableAgentProxy( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/FunctionMetadataFactory.cs class FunctionMetadataFactory (line 12) | internal static class FunctionMetadataFactory method CreateEntityTrigger (line 19) | internal static DefaultFunctionMetadata CreateEntityTrigger(string name) method CreateHttpTrigger (line 43) | internal static DefaultFunctionMetadata CreateHttpTrigger(string name,... method CreateActivityTrigger (line 65) | internal static DefaultFunctionMetadata CreateActivityTrigger(string f... method CreateOrchestrationTrigger (line 87) | internal static DefaultFunctionMetadata CreateOrchestrationTrigger(str... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/FunctionsAgentOptions.cs class FunctionsAgentOptions (line 8) | public sealed class FunctionsAgentOptions FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/FunctionsApplicationBuilderExtensions.cs class FunctionsApplicationBuilderExtensions (line 16) | public static class FunctionsApplicationBuilderExtensions method ConfigureDurableAgents (line 24) | public static FunctionsApplicationBuilder ConfigureDurableAgents( method ConfigureDurableOptions (line 58) | public static FunctionsApplicationBuilder ConfigureDurableOptions( method ConfigureDurableWorkflows (line 86) | public static FunctionsApplicationBuilder ConfigureDurableWorkflows( method EnsureMiddlewareRegistered (line 95) | private static void EnsureMiddlewareRegistered(FunctionsApplicationBui... method GetOrCreateSharedOptions (line 118) | private static FunctionsDurableOptions GetOrCreateSharedOptions(IServi... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/FunctionsDurableOptions.cs class FunctionsDurableOptions (line 10) | internal sealed class FunctionsDurableOptions : DurableOptions method EnableStatusEndpoint (line 17) | internal void EnableStatusEndpoint(string workflowName) method IsStatusEndpointEnabled (line 25) | internal bool IsStatusEndpointEnabled(string workflowName) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/HttpTriggerOptions.cs class HttpTriggerOptions (line 12) | public sealed class HttpTriggerOptions(bool isEnabled) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/IFunctionsAgentOptionsProvider.cs type IFunctionsAgentOptionsProvider (line 10) | internal interface IFunctionsAgentOptionsProvider method TryGet (line 18) | bool TryGet(string agentName, [NotNullWhen(true)] out FunctionsAgentOp... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/Logs.cs class Logs (line 7) | internal static partial class Logs method LogTransformingFunctionMetadata (line 9) | [LoggerMessage( method LogRegisteringTriggerForAgent (line 15) | [LoggerMessage( method LogRegisteringWorkflowTrigger (line 21) | [LoggerMessage( method LogTransformationComplete (line 27) | [LoggerMessage( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/McpToolTriggerOptions.cs class McpToolTriggerOptions (line 12) | public sealed class McpToolTriggerOptions(bool isEnabled) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/Middlewares/BuiltInFunctionExecutionMiddleware.cs class BuiltInFunctionExecutionMiddleware (line 12) | internal sealed class BuiltInFunctionExecutionMiddleware(BuiltInFunction... method Invoke (line 17) | public async Task Invoke(FunctionContext context, FunctionExecutionDel... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/Workflows/DurableWorkflowOptionsExtensions.cs class DurableWorkflowOptionsExtensions (line 11) | public static class DurableWorkflowOptionsExtensions method AddWorkflow (line 19) | public static void AddWorkflow(this DurableWorkflowOptions options, Wo... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/Workflows/DurableWorkflowsFunctionMetadataTransformer.cs class DurableWorkflowsFunctionMetadataTransformer (line 25) | internal sealed class DurableWorkflowsFunctionMetadataTransformer : IFun... method DurableWorkflowsFunctionMetadataTransformer (line 35) | public DurableWorkflowsFunctionMetadataTransformer( method Transform (line 48) | public void Transform(IList original) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/Workflows/WorkflowOrchestrator.cs class WorkflowOrchestrator (line 14) | internal sealed class WorkflowOrchestrator : ITaskOrchestrator method WorkflowOrchestrator (line 22) | public WorkflowOrchestrator(IServiceProvider serviceProvider) method RunAsync (line 34) | public async Task RunAsync(TaskOrchestrationContext context, ... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/AIAgentChatCompletionsProcessor.cs class AIAgentChatCompletionsProcessor (line 19) | internal static class AIAgentChatCompletionsProcessor method CreateChatCompletionAsync (line 21) | public static async Task CreateChatCompletionAsync(AIAgent ag... class StreamingResponse (line 37) | private sealed class StreamingResponse( method ExecuteAsync (line 43) | public Task ExecuteAsync(HttpContext httpContext) method GetStreamingChunksAsync (line 67) | private async IAsyncEnumerable> GetStre... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/AgentResponseExtensions.cs class AgentResponseExtensions (line 15) | internal static class AgentResponseExtensions method ToChatCompletion (line 17) | public static ChatCompletion ToChatCompletion(this AgentResponse agent... method ToChoices (line 32) | public static List ToChoices(this AgentResponse ... method ToCompletionUsage (line 124) | public static CompletionUsage ToCompletionUsage(this UsageDetails? usage) method ToChoiceMessageAnnotations (line 149) | public static IList ToChoiceMessageAnnotation... method ToChoiceMessageToolCall (line 195) | public static ChoiceMessageToolCall ToChoiceMessageToolCall(this Funct... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/ChatCompletionsJsonSerializerOptions.cs class ChatCompletionsJsonSerializerOptions (line 10) | internal static class ChatCompletionsJsonSerializerOptions method Create (line 17) | private static JsonSerializerOptions Create() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Converters/ChatClientAgentRunOptionsConverter.cs class ChatClientAgentRunOptionsConverter (line 11) | internal static class ChatClientAgentRunOptionsConverter method BuildOptions (line 15) | public static ChatClientAgentRunOptions BuildOptions(this CreateChatCo... method ToChatResponseFormat (line 45) | private static ChatResponseFormat ToChatResponseFormat(this ResponseFo... method ToAITool (line 64) | private static AITool ToAITool(this Tool tool) method ToChatToolMode (line 80) | private static ChatToolMode? ToChatToolMode(this ToolChoice toolChoice) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Converters/MessageContentPartConverter.cs class MessageContentPartConverter (line 9) | internal static class MessageContentPartConverter method AudioFormatToMediaType (line 11) | private static string AudioFormatToMediaType(string format) => method ToAIContent (line 19) | public static AIContent? ToAIContent(MessageContentPart part) method ImageUriToMediaType (line 46) | private static string ImageUriToMediaType(Uri uri) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/ChatCompletion.cs type ChatCompletion (line 11) | internal sealed record ChatCompletion FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/ChatCompletionChoice.cs type ChatCompletionChoice (line 11) | internal sealed record ChatCompletionChoice type ChoiceMessage (line 39) | internal sealed record ChoiceMessage type ChoiceMessageAudio (line 94) | internal sealed record ChoiceMessageAudio type ChoiceMessageFunctionCall (line 126) | internal sealed record ChoiceMessageFunctionCall type ChoiceMessageToolCall (line 148) | internal sealed record ChoiceMessageToolCall type ChoiceMessageAnnotation (line 173) | internal sealed record ChoiceMessageAnnotation type AnnotationUrlCitation (line 191) | internal sealed record AnnotationUrlCitation FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/ChatCompletionChunk.cs type ChatCompletionChunk (line 11) | internal sealed record ChatCompletionChunk type ChatCompletionChoiceChunk (line 70) | internal sealed record ChatCompletionChoiceChunk type ChatCompletionDelta (line 91) | internal sealed record ChatCompletionDelta FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/ChatCompletionRequestMessage.cs type ChatCompletionRequestMessage (line 14) | [JsonPolymorphic(TypeDiscriminatorPropertyName = "role", UnknownDerivedT... type DeveloperMessage (line 60) | internal sealed record DeveloperMessage : ChatCompletionRequestMessage type SystemMessage (line 78) | internal sealed record SystemMessage : ChatCompletionRequestMessage type UserMessage (line 96) | internal sealed record UserMessage : ChatCompletionRequestMessage type AssistantMessage (line 114) | internal sealed record AssistantMessage : ChatCompletionRequestMessage type ToolMessage (line 132) | internal sealed record ToolMessage : ChatCompletionRequestMessage type FunctionMessage (line 149) | internal sealed record FunctionMessage : ChatCompletionRequestMessage FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/CompletionUsage.cs type CompletionUsage (line 10) | internal sealed record CompletionUsage type CompletionTokensDetails (line 74) | internal sealed record CompletionTokensDetails type PromptTokensDetails (line 114) | internal sealed record PromptTokensDetails FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/CreateChatCompletion.cs type CreateChatCompletion (line 12) | internal sealed record CreateChatCompletion FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/MessageContent.cs type MessageContent (line 16) | [JsonConverter(typeof(MessageContentJsonConverter))] class MessageContentJsonConverter (line 129) | internal sealed class MessageContentJsonConverter : JsonConverter method Read (line 144) | public override StopSequences? Read(ref Utf8JsonReader reader, Type ty... method Write (line 172) | public override void Write(Utf8JsonWriter writer, StopSequences? value... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/Tool.cs type Tool (line 13) | [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] type FunctionTool (line 28) | internal sealed record FunctionTool : Tool type FunctionDefinition (line 47) | internal sealed record FunctionDefinition type CustomTool (line 86) | internal sealed record CustomTool : Tool class CustomAITool (line 105) | internal sealed class CustomAITool : AITool method CustomAITool (line 107) | public CustomAITool(string name, string? description, IReadOnlyDiction... type CustomToolProperties (line 123) | internal sealed record CustomToolProperties type CustomToolFormat (line 150) | internal sealed record CustomToolFormat FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/ToolChoice.cs type ToolChoice (line 14) | [JsonConverter(typeof(ToolChoiceConverter))] type AllowedToolsChoice (line 184) | internal sealed record AllowedToolsChoice type AllowedToolsConfiguration (line 203) | internal sealed record AllowedToolsConfiguration type ToolDefinition (line 225) | internal sealed record ToolDefinition type FunctionReference (line 245) | internal sealed record FunctionReference type FunctionToolChoice (line 258) | internal sealed record FunctionToolChoice type CustomToolChoice (line 277) | internal sealed record CustomToolChoice type CustomToolObject (line 296) | internal sealed record CustomToolObject class ToolChoiceConverter (line 309) | internal sealed class ToolChoiceConverter : JsonConverter method Read (line 312) | public override ToolChoice? Read(ref Utf8JsonReader reader, Type typeT... method Write (line 355) | public override void Write(Utf8JsonWriter writer, ToolChoice? value, J... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/ConversationsHttpHandler.cs class ConversationsHttpHandler (line 19) | internal sealed class ConversationsHttpHandler method ConversationsHttpHandler (line 29) | public ConversationsHttpHandler(IConversationStorage storage, IAgentCo... method ListConversationsByAgentAsync (line 38) | public async Task ListConversationsByAgentAsync( method CreateConversationAsync (line 87) | public async Task CreateConversationAsync( method GetConversationAsync (line 121) | public async Task GetConversationAsync( method UpdateConversationAsync (line 141) | public async Task UpdateConversationAsync( method DeleteConversationAsync (line 171) | public async Task DeleteConversationAsync( method CreateItemsAsync (line 208) | public async Task CreateItemsAsync( method ListItemsAsync (line 243) | public async Task ListItemsAsync( method GetItemAsync (line 285) | public async Task GetItemAsync( method DeleteItemAsync (line 307) | public async Task DeleteItemAsync( method ParseOrder (line 333) | private static SortOrder? ParseOrder(string? order) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/IAgentConversationIndex.cs type IAgentConversationIndex (line 13) | internal interface IAgentConversationIndex method AddConversationAsync (line 22) | Task AddConversationAsync(string agentId, string conversationId, Cance... method RemoveConversationAsync (line 31) | Task RemoveConversationAsync(string agentId, string conversationId, Ca... method GetConversationIdsAsync (line 39) | Task> GetConversationIdsAsync(string agentId, Can... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/IConversationStorage.cs type IConversationStorage (line 17) | internal interface IConversationStorage method CreateConversationAsync (line 25) | Task CreateConversationAsync(Conversation conversation, ... method GetConversationAsync (line 33) | Task GetConversationAsync(string conversationId, Cancel... method UpdateConversationAsync (line 41) | Task UpdateConversationAsync(Conversation conversation,... method DeleteConversationAsync (line 49) | Task DeleteConversationAsync(string conversationId, Cancellation... method AddItemsAsync (line 61) | Task AddItemsAsync(string conversationId, IEnumerable it... method GetItemAsync (line 70) | Task GetItemAsync(string conversationId, string itemId,... method ListItemsAsync (line 81) | Task> ListItemsAsync( method DeleteItemAsync (line 95) | Task DeleteItemAsync(string conversationId, string itemId, Cance... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/InMemoryAgentConversationIndex.cs class InMemoryAgentConversationIndex (line 16) | internal sealed class InMemoryAgentConversationIndex : IAgentConversatio... class ConversationSet (line 21) | private sealed class ConversationSet method Add (line 26) | public void Add(string conversationId) method Remove (line 34) | public bool Remove(string conversationId) method GetAll (line 42) | public string[] GetAll() method InMemoryAgentConversationIndex (line 51) | public InMemoryAgentConversationIndex() method InMemoryAgentConversationIndex (line 56) | public InMemoryAgentConversationIndex(InMemoryStorageOptions options) method GetOrCreateConversationSetAsync (line 63) | private async Task GetOrCreateConversationSetAsync(st... method AddConversationAsync (line 78) | public async Task AddConversationAsync(string agentId, string conversa... method RemoveConversationAsync (line 88) | public async Task RemoveConversationAsync(string agentId, string conve... method GetConversationIdsAsync (line 100) | public async Task> GetConversationIdsAsync(string... method Dispose (line 115) | public void Dispose() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/InMemoryConversationStorage.cs class InMemoryConversationStorage (line 19) | internal sealed class InMemoryConversationStorage : IConversationStorage... method InMemoryConversationStorage (line 26) | public InMemoryConversationStorage() method InMemoryConversationStorage (line 31) | public InMemoryConversationStorage(InMemoryStorageOptions options) method CreateConversationAsync (line 39) | public Task CreateConversationAsync(Conversation convers... method GetConversationAsync (line 54) | public Task GetConversationAsync(string conversationId,... method UpdateConversationAsync (line 65) | public Task UpdateConversationAsync(Conversation conver... method DeleteConversationAsync (line 80) | public Task DeleteConversationAsync(string conversationId, Cance... method AddItemsAsync (line 92) | public Task AddItemsAsync(string conversationId, IEnumerable GetItemAsync(string conversationId, string ... method ListItemsAsync (line 125) | public Task> ListItemsAsync( method DeleteItemAsync (line 187) | public Task DeleteItemAsync(string conversationId, string itemId... class ConversationState (line 208) | private sealed class ConversationState method ConversationState (line 214) | public ConversationState(Conversation conversation) method UpdateConversation (line 232) | public void UpdateConversation(Conversation conversation) method AddItem (line 240) | public void AddItem(ItemResource item) method GetItem (line 251) | public ItemResource? GetItem(string itemId) method GetAllItems (line 260) | public List GetAllItems() method RemoveItem (line 268) | public bool RemoveItem(string itemId) method ConversationState (line 279) | public ConversationState(Conversation conversation) method UpdateConversation (line 297) | public void UpdateConversation(Conversation conversation) method AddItem (line 305) | public void AddItem(ItemResource item) method GetItem (line 318) | public ItemResource? GetItem(string itemId) method GetAllItems (line 326) | public List GetAllItems() method RemoveItem (line 334) | public bool RemoveItem(string itemId) method Dispose (line 344) | public void Dispose() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/Models/AddMessageRequest.cs class CreateItemsRequest (line 12) | internal sealed class CreateItemsRequest FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/Models/Conversation.cs type Conversation (line 12) | internal sealed record Conversation FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/Models/CreateConversationRequest.cs class CreateConversationRequest (line 12) | internal sealed class CreateConversationRequest FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/Models/UpdateConversationRequest.cs class UpdateConversationRequest (line 11) | internal sealed class UpdateConversationRequest FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Conversations/SortOrderExtensions.cs class SortOrderExtensions (line 10) | internal static class SortOrderExtensions method ToOrderString (line 17) | public static string ToOrderString(this SortOrder order) method IsAscending (line 27) | public static bool IsAscending(this SortOrder order) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/EndpointRouteBuilderExtensions.ChatCompletions.cs class MicrosoftAgentAIHostingOpenAIEndpointRouteBuilderExtensions (line 16) | public static partial class MicrosoftAgentAIHostingOpenAIEndpointRouteBu... method MapOpenAIChatCompletions (line 23) | public static IEndpointConventionBuilder MapOpenAIChatCompletions(this... method MapOpenAIChatCompletions (line 32) | public static IEndpointConventionBuilder MapOpenAIChatCompletions(this... method MapOpenAIChatCompletions (line 43) | public static IEndpointConventionBuilder MapOpenAIChatCompletions(this... method MapOpenAIChatCompletions (line 52) | public static IEndpointConventionBuilder MapOpenAIChatCompletions( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/EndpointRouteBuilderExtensions.Conversations.cs class MicrosoftAgentAIHostingOpenAIEndpointRouteBuilderExtensions (line 14) | public static partial class MicrosoftAgentAIHostingOpenAIEndpointRouteBu... method MapOpenAIConversations (line 20) | public static IEndpointConventionBuilder MapOpenAIConversations(this I... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/EndpointRouteBuilderExtensions.Responses.cs class MicrosoftAgentAIHostingOpenAIEndpointRouteBuilderExtensions (line 19) | public static partial class MicrosoftAgentAIHostingOpenAIEndpointRouteBu... method MapOpenAIResponses (line 26) | public static IEndpointConventionBuilder MapOpenAIResponses(this IEndp... method MapOpenAIResponses (line 35) | public static IEndpointConventionBuilder MapOpenAIResponses(this IEndp... method MapOpenAIResponses (line 49) | public static IEndpointConventionBuilder MapOpenAIResponses(this IEndp... method MapOpenAIResponses (line 58) | public static IEndpointConventionBuilder MapOpenAIResponses( method MapOpenAIResponses (line 113) | public static IEndpointConventionBuilder MapOpenAIResponses(this IEndp... method MapOpenAIResponses (line 121) | public static IEndpointConventionBuilder MapOpenAIResponses( method ValidateAgentName (line 162) | private static void ValidateAgentName([NotNull] string agentName) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/HostApplicationBuilderExtensions.cs class MicrosoftAgentAIHostingOpenAIHostApplicationBuilderExtensions (line 13) | public static class MicrosoftAgentAIHostingOpenAIHostApplicationBuilderE... method AddOpenAIChatCompletions (line 20) | public static IHostApplicationBuilder AddOpenAIChatCompletions(this IH... method AddOpenAIResponses (line 34) | public static IHostApplicationBuilder AddOpenAIResponses(this IHostApp... method AddOpenAIConversations (line 48) | public static IHostApplicationBuilder AddOpenAIConversations(this IHos... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs class IdGenerator (line 13) | internal sealed partial class IdGenerator method WatermarkRegex (line 19) | [GeneratedRegex("^[A-Za-z0-9]+$")] method WatermarkRegex (line 23) | private static Regex WatermarkRegex() => s_watermarkRegex; method IdGenerator (line 32) | public IdGenerator(string? responseId, string? conversationId, int? ra... method From (line 45) | public static IdGenerator From(CreateResponse request) method Generate (line 67) | public string Generate(string? category = null) method GenerateFunctionCallId (line 77) | public string GenerateFunctionCallId() => this.Generate("func"); method GenerateFunctionOutputId (line 83) | public string GenerateFunctionOutputId() => this.Generate("funcout"); method GenerateMessageId (line 89) | public string GenerateMessageId() => this.Generate("msg"); method GenerateReasoningId (line 95) | public string GenerateReasoningId() => this.Generate("rs"); method NewId (line 111) | public static string NewId(string prefix, int stringLength = 32, int p... method GetRandomString (line 144) | private static string GetRandomString(int stringLength, Random? random) method GetPartitionIdOrDefault (line 175) | private static string? GetPartitionIdOrDefault(string? id, int stringL... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/InMemoryStorageOptions.cs class InMemoryStorageOptions (line 11) | internal sealed class InMemoryStorageOptions method ToMemoryCacheOptions (line 36) | internal MemoryCacheOptions ToMemoryCacheOptions() => new() method ToMemoryCacheEntryOptions (line 44) | internal MemoryCacheEntryOptions ToMemoryCacheEntryOptions() => new() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/MemoryCacheExtensions.cs class MemoryCacheExtensions (line 20) | internal static class MemoryCacheExtensions method GetOrCreateAtomicAsync (line 34) | public static async Task GetOrCreateAtomicAsync( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Models/DeleteResponse.cs class DeleteResponse (line 11) | internal sealed class DeleteResponse FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Models/ErrorResponse.cs class ErrorResponse (line 10) | internal sealed class ErrorResponse class ErrorDetails (line 22) | internal sealed class ErrorDetails FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Models/ListResponse.cs class ListResponse (line 13) | internal sealed class ListResponse FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Models/SortOrder.cs type SortOrder (line 12) | [JsonConverter(typeof(SortOrderJsonConverter))] class SortOrderJsonConverter (line 29) | internal sealed class SortOrderJsonConverter : JsonConverter method Read (line 32) | public override SortOrder Read(ref Utf8JsonReader reader, Type typeToC... method Write (line 45) | public override void Write(Utf8JsonWriter writer, SortOrder value, Jso... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/OpenAIHostingJsonUtilities.cs class OpenAIHostingJsonUtilities (line 16) | internal static class OpenAIHostingJsonUtilities method CreateDefaultOptions (line 24) | private static JsonSerializerOptions CreateDefaultOptions() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AIAgentResponseExecutor.cs class AIAgentResponseExecutor (line 17) | internal sealed class AIAgentResponseExecutor : IResponseExecutor method AIAgentResponseExecutor (line 21) | public AIAgentResponseExecutor(AIAgent agent) method ValidateRequestAsync (line 27) | public ValueTask ValidateRequestAsync( method ExecuteAsync (line 31) | public async IAsyncEnumerable ExecuteAsync( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentInvocationContext.cs class AgentInvocationContext (line 12) | internal sealed class AgentInvocationContext(IdGenerator idGenerator, Js... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentResponseExtensions.cs class AgentResponseExtensions (line 16) | internal static class AgentResponseExtensions method ToResponse (line 27) | public static Response ToResponse( method ToItemResource (line 91) | public static IEnumerable ToItemResource(this ChatMessag... method ToFunctionToolCallItemResource (line 155) | public static FunctionToolCallItemResource ToFunctionToolCallItemResou... method ToFunctionToolCallOutputItemResource (line 176) | public static FunctionToolCallOutputItemResource ToFunctionToolCallOut... method ToItemResource (line 198) | public static IEnumerable ToItemResource(this InputMessa... method ToResponseUsage (line 240) | public static ResponseUsage ToResponseUsage(this UsageDetails? usage) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentResponseUpdateExtensions.cs class AgentResponseUpdateExtensions (line 21) | internal static class AgentResponseUpdateExtensions method ToStreamingResponseAsync (line 31) | public static async IAsyncEnumerable ToStreami... method IsSameMessage (line 282) | private static bool IsSameMessage(AgentResponseUpdate? first, AgentRes... method CreateWorkflowEventResponse (line 295) | private static StreamingWorkflowEventComplete CreateWorkflowEventRespo... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/AgentReferenceExtensions.cs class AgentReferenceExtensions (line 10) | internal static class AgentReferenceExtensions method ToAgentId (line 17) | public static AgentId? ToAgentId(this AgentReference? agent) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/ItemContentConverter.cs class ItemContentConverter (line 12) | internal static class ItemContentConverter method AudioFormatToMediaType (line 14) | private static string AudioFormatToMediaType(string? format) => method MediaTypeToAudioFormat (line 23) | private static string MediaTypeToAudioFormat(string mediaType) => method ToAIContent (line 36) | public static AIContent? ToAIContent(ItemContent itemContent) method ToItemContent (line 96) | public static ItemContent? ToItemContent(AIContent content) method GetImageDetail (line 153) | private static string? GetImageDetail(AIContent content) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/ItemParamConverter.cs class ItemParamConverter (line 13) | internal sealed class ItemParamConverter : JsonConverter method Read (line 15) | public override ItemParam? Read(ref Utf8JsonReader reader, Type typeTo... method Write (line 51) | public override void Write(Utf8JsonWriter writer, ItemParam value, Jso... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/ItemResourceConversions.cs class ItemResourceConversions (line 14) | internal static class ItemResourceConversions method ToChatMessages (line 20) | public static List ToChatMessages(IEnumerable ConvertContents(List conte... method ParseArguments (line 82) | private static Dictionary? ParseArguments(string? arg... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/ItemResourceConverter.cs class ItemResourceConverter (line 13) | internal sealed class ItemResourceConverter : JsonConverter method Read (line 16) | public override ItemResource? Read(ref Utf8JsonReader reader, Type typ... method Write (line 54) | public override void Write(Utf8JsonWriter writer, ItemResource value, ... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/ResponsesMessageItemParamConverter.cs class ResponsesMessageItemParamConverter (line 13) | internal sealed class ResponsesMessageItemParamConverter : JsonConverter... method Read (line 16) | public override ResponsesMessageItemParam? Read(ref Utf8JsonReader rea... method Write (line 39) | public override void Write(Utf8JsonWriter writer, ResponsesMessageItem... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/ResponsesMessageItemResourceConverter.cs class ResponsesMessageItemResourceConverter (line 14) | [ExcludeFromCodeCoverage] method Read (line 18) | public override ResponsesMessageItemResource? Read(ref Utf8JsonReader ... method Write (line 42) | public override void Write(Utf8JsonWriter writer, ResponsesMessageItem... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Converters/SnakeCaseEnumConverter.cs class SnakeCaseEnumConverter (line 13) | internal sealed class SnakeCaseEnumConverter : JsonStringEnumConverte... method SnakeCaseEnumConverter (line 18) | public SnakeCaseEnumConverter() : base(JsonNamingPolicy.SnakeCaseLower) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/HostedAgentResponseExecutor.cs class HostedAgentResponseExecutor (line 20) | internal sealed class HostedAgentResponseExecutor : IResponseExecutor method HostedAgentResponseExecutor (line 30) | public HostedAgentResponseExecutor( method ValidateRequestAsync (line 42) | public ValueTask ValidateRequestAsync( method ExecuteAsync (line 82) | public async IAsyncEnumerable ExecuteAsync( method GetAgentName (line 131) | private static string? GetAgentName(CreateResponse request) FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/IResponseExecutor.cs type IResponseExecutor (line 15) | internal interface IResponseExecutor method ValidateRequestAsync (line 23) | ValueTask ValidateRequestAsync( method ExecuteAsync (line 35) | IAsyncEnumerable ExecuteAsync( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/IResponsesService.cs type IResponsesService (line 15) | internal interface IResponsesService method ValidateRequestAsync (line 28) | ValueTask ValidateRequestAsync( method CreateResponseAsync (line 38) | Task CreateResponseAsync( method CreateResponseStreamingAsync (line 48) | IAsyncEnumerable CreateResponseStreamingAsync( method GetResponseAsync (line 58) | Task GetResponseAsync( method GetResponseStreamingAsync (line 69) | IAsyncEnumerable GetResponseStreamingAsync( method CancelResponseAsync (line 80) | Task CancelResponseAsync( method DeleteResponseAsync (line 90) | Task DeleteResponseAsync( method ListResponseInputItemsAsync (line 104) | Task> ListResponseInputItemsAsync( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/InMemoryResponsesService.cs class InMemoryResponsesService (line 20) | internal sealed class InMemoryResponsesService : IResponsesService, IDis... class ResponseState (line 27) | private sealed class ResponseState method AddStreamingEvent (line 40) | public void AddStreamingEvent(StreamingResponseEvent streamingEvent) method UpdateResponseOutput (line 68) | private void UpdateResponseOutput() method StreamUpdatesAsync (line 78) | public async IAsyncEnumerable StreamUpdatesA... method WaitForUpdateAsync (line 117) | private Task WaitForUpdateAsync(CancellationToken cancellationToken) method SignalUpdate (line 123) | internal void SignalUpdate() method InMemoryResponsesService (line 130) | public InMemoryResponsesService(IResponseExecutor executor) method InMemoryResponsesService (line 135) | public InMemoryResponsesService(IResponseExecutor executor, InMemorySt... method InMemoryResponsesService (line 140) | public InMemoryResponsesService(IResponseExecutor executor, InMemorySt... method ValidateRequestAsync (line 150) | public async ValueTask ValidateRequestAsync( method CreateResponseAsync (line 167) | public async Task CreateResponseAsync( method CreateResponseStreamingAsync (line 197) | public async IAsyncEnumerable CreateResponseSt... method GetResponseAsync (line 220) | public Task GetResponseAsync(string responseId, Cancellatio... method GetResponseStreamingAsync (line 226) | public async IAsyncEnumerable GetResponseStrea... method CancelResponseAsync (line 243) | public async Task CancelResponseAsync(string responseId, Can... method DeleteResponseAsync (line 271) | public Task DeleteResponseAsync(string responseId, CancellationT... method ListResponseInputItemsAsync (line 286) | public Task> ListResponseInputItemsAsync( method InitializeResponse (line 352) | private ResponseState InitializeResponse(string responseId, CreateResp... method ExecuteResponseAsync (line 417) | private async Task ExecuteResponseAsync(string responseId, ResponseSta... method GetInputItems (line 539) | private static List GetInputItems(string responseId, Res... method Dispose (line 556) | public void Dispose() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Models/AgentId.cs class AgentId (line 10) | internal sealed class AgentId method AgentId (line 18) | public AgentId(AgentIdType type, string name, string version) class AgentIdType (line 47) | internal sealed class AgentIdType method AgentIdType (line 53) | public AgentIdType(string value) class AgentReference (line 68) | internal sealed class AgentReference FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Models/ConversationReference.cs class ConversationReference (line 13) | [JsonConverter(typeof(ConversationReferenceJsonConverter))] method FromId (line 31) | public static ConversationReference FromId(string id) => new() { Id = ... method FromObject (line 36) | public static ConversationReference FromObject(string id, Dictionary contents) method FromText (line 34) | public static InputMessageContent FromText(string text) => new(text); method FromContents (line 39) | public static InputMessageContent FromContents(List conte... method FromContents (line 44) | public static InputMessageContent FromContents(params ItemContent[] co... method Equals (line 86) | public bool Equals(InputMessageContent? other) method Equals (line 115) | public override bool Equals(object? obj) => this.Equals(obj as InputMe... method GetHashCode (line 118) | public override int GetHashCode() method ToItemContents (line 152) | public List ToItemContents() class InputMessageContentJsonConverter (line 163) | internal sealed class InputMessageContentJsonConverter : JsonConverter))] type Response (line 51) | internal sealed record Response type ResponseError (line 259) | internal sealed record ResponseError type IncompleteDetails (line 277) | internal sealed record IncompleteDetails type ResponseUsage (line 289) | internal sealed record ResponseUsage type InputTokensDetails (line 359) | internal sealed record InputTokensDetails type OutputTokensDetails (line 371) | internal sealed record OutputTokensDetails FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Models/ResponseInput.cs class ResponseInput (line 15) | [JsonConverter(typeof(ResponseInputJsonConverter))] method ResponseInput (line 18) | private ResponseInput(string text) method ResponseInput (line 24) | private ResponseInput(List messages) method FromText (line 33) | public static ResponseInput FromText(string text) => new(text); method FromMessages (line 38) | public static ResponseInput FromMessages(List messages) ... method FromMessages (line 43) | public static ResponseInput FromMessages(params InputMessage[] message... method GetInputMessages (line 83) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1024:Use... method Equals (line 99) | public bool Equals(ResponseInput? other) method Equals (line 128) | public override bool Equals(object? obj) => this.Equals(obj as Respons... method GetHashCode (line 131) | public override int GetHashCode() class ResponseInputJsonConverter (line 166) | internal sealed class ResponseInputJsonConverter : JsonConverter CreateResponseAsync( method GetResponseAsync (line 97) | public async Task GetResponseAsync( method CancelResponseAsync (line 135) | public async Task CancelResponseAsync( method DeleteResponseAsync (line 160) | public async Task DeleteResponseAsync( method ListResponseInputItemsAsync (line 180) | public async Task ListResponseInputItemsAsync( FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/AssistantMessageEventGenerator.cs class AssistantMessageEventGenerator (line 15) | internal sealed class AssistantMessageEventGenerator( type State (line 27) | private enum State method IsSupported (line 34) | public override bool IsSupported(AIContent content) => content is Text... method ProcessContent (line 36) | public override IEnumerable ProcessContent(AIC... method Complete (line 91) | public override IEnumerable Complete() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/AudioContentEventGenerator.cs class AudioContentEventGenerator (line 14) | internal sealed class AudioContentEventGenerator( method IsSupported (line 19) | public override bool IsSupported(AIContent content) => method ProcessContent (line 22) | public override IEnumerable ProcessContent(AIC... method Complete (line 75) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/ErrorContentEventGenerator.cs class ErrorContentEventGenerator (line 14) | internal sealed class ErrorContentEventGenerator( method IsSupported (line 19) | public override bool IsSupported(AIContent content) => content is Erro... method ProcessContent (line 21) | public override IEnumerable ProcessContent(AIC... method Complete (line 74) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/FileContentEventGenerator.cs class FileContentEventGenerator (line 14) | internal sealed class FileContentEventGenerator( method IsSupported (line 19) | public override bool IsSupported(AIContent content) => method ProcessContent (line 24) | public override IEnumerable ProcessContent(AIC... method Complete (line 79) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/FunctionApprovalRequestEventGenerator.cs class ToolApprovalRequestEventGenerator (line 15) | internal sealed class ToolApprovalRequestEventGenerator( method IsSupported (line 21) | public override bool IsSupported(AIContent content) => content is Tool... method ProcessContent (line 23) | public override IEnumerable ProcessContent(AIC... method Complete (line 51) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/FunctionApprovalResponseEventGenerator.cs class ToolApprovalResponseEventGenerator (line 14) | internal sealed class ToolApprovalResponseEventGenerator( method IsSupported (line 19) | public override bool IsSupported(AIContent content) => content is Tool... method ProcessContent (line 21) | public override IEnumerable ProcessContent(AIC... method Complete (line 38) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/FunctionCallEventGenerator.cs class FunctionCallEventGenerator (line 14) | internal sealed class FunctionCallEventGenerator( method IsSupported (line 20) | public override bool IsSupported(AIContent content) => content is Func... method ProcessContent (line 22) | public override IEnumerable ProcessContent(AIC... method Complete (line 61) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/FunctionResultEventGenerator.cs class FunctionResultEventGenerator (line 13) | internal sealed class FunctionResultEventGenerator( method IsSupported (line 18) | public override bool IsSupported(AIContent content) => content is Func... method ProcessContent (line 20) | public override IEnumerable ProcessContent(AIC... method Complete (line 43) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/HostedFileContentEventGenerator.cs class HostedFileContentEventGenerator (line 14) | internal sealed class HostedFileContentEventGenerator( method IsSupported (line 19) | public override bool IsSupported(AIContent content) => content is Host... method ProcessContent (line 21) | public override IEnumerable ProcessContent(AIC... method Complete (line 74) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/ImageContentEventGenerator.cs class ImageContentEventGenerator (line 14) | internal sealed class ImageContentEventGenerator( method IsSupported (line 19) | public override bool IsSupported(AIContent content) => method ProcessContent (line 23) | public override IEnumerable ProcessContent(AIC... method Complete (line 72) | public override IEnumerable Complete() => []; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/SequenceNumber.cs class SequenceNumber (line 8) | internal sealed class SequenceNumber method Increment (line 16) | public int Increment() => this._sequenceNumber++; FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/StreamingEventGenerator.cs class StreamingEventGenerator (line 12) | internal abstract class StreamingEventGenerator method IsSupported (line 19) | public abstract bool IsSupported(AIContent content); method ProcessContent (line 26) | public abstract IEnumerable ProcessContent(AIC... method Complete (line 32) | public abstract IEnumerable Complete(); FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/Streaming/TextReasoningContentEventGenerator.cs class TextReasoningContentEventGenerator (line 15) | internal sealed class TextReasoningContentEventGenerator( type State (line 28) | private enum State method IsSupported (line 35) | public override bool IsSupported(AIContent content) => content is Text... method ProcessContent (line 37) | public override IEnumerable ProcessContent(AIC... method Complete (line 82) | public override IEnumerable Complete() FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ServiceCollectionExtensions.cs class MicrosoftAgentAIHostingOpenAIServiceCollectionExtensions (line 17) | public static class MicrosoftAgentAIHostingOpenAIServiceCollectionExtens... method AddOpenAIChatCompletions (line 24) | public static IServiceCollection AddOpenAIChatCompletions(this IServic... method AddOpenAIResponses (line 39) | public static IServiceCollection AddOpenAIResponses(this IServiceColle... method AddOpenAIConversations (line 68) | public static IServiceCollection AddOpenAIConversations(this IServiceC... FILE: dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/SseJsonResult.cs class SseJsonResult (line 19) | internal sealed class SseJsonResult : IResult method SseJsonResult (line 31) | public SseJsonResult(IAsyncEnumerable events, Func getE... method ExecuteAsync (line 42) | public async Task ExecuteAsync(HttpContext httpContext) method GetItemsAsync (line 61) | private async IAsyncEnumerable> GetItemsAsync() method FormatItem (line 69) | private void FormatItem(SseItem sseItem, IBufferWriter buffer... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/AIHostAgent.cs class AIHostAgent (line 24) | public class AIHostAgent : DelegatingAIAgent method AIHostAgent (line 36) | public AIHostAgent(AIAgent innerAgent, AgentSessionStore sessionStore) method GetOrCreateSessionAsync (line 50) | public ValueTask GetOrCreateSessionAsync(string conversa... method SaveSessionAsync (line 66) | public ValueTask SaveSessionAsync(string conversationId, AgentSession ... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/AgentHostingServiceCollectionExtensions.cs class AgentHostingServiceCollectionExtensions (line 14) | public static class AgentHostingServiceCollectionExtensions method AddAIAgent (line 25) | public static IHostedAgentBuilder AddAIAgent(this IServiceCollection s... method AddAIAgent (line 47) | public static IHostedAgentBuilder AddAIAgent(this IServiceCollection s... method AddAIAgent (line 68) | public static IHostedAgentBuilder AddAIAgent(this IServiceCollection s... method AddAIAgent (line 91) | public static IHostedAgentBuilder AddAIAgent(this IServiceCollection s... method AddAIAgent (line 113) | public static IHostedAgentBuilder AddAIAgent(this IServiceCollection s... method AddKeyedService (line 138) | internal static void AddKeyedService(this IServiceCollection servic... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs class AgentSessionStore (line 16) | public abstract class AgentSessionStore method SaveSessionAsync (line 26) | public abstract ValueTask SaveSessionAsync( method GetSessionAsync (line 42) | public abstract ValueTask GetSessionAsync( FILE: dotnet/src/Microsoft.Agents.AI.Hosting/HostApplicationBuilderAgentExtensions.cs class HostApplicationBuilderAgentExtensions (line 14) | public static class HostApplicationBuilderAgentExtensions method AddAIAgent (line 25) | public static IHostedAgentBuilder AddAIAgent(this IHostApplicationBuil... method AddAIAgent (line 41) | public static IHostedAgentBuilder AddAIAgent(this IHostApplicationBuil... method AddAIAgent (line 59) | public static IHostedAgentBuilder AddAIAgent(this IHostApplicationBuil... method AddAIAgent (line 76) | public static IHostedAgentBuilder AddAIAgent(this IHostApplicationBuil... method AddAIAgent (line 92) | public static IHostedAgentBuilder AddAIAgent(this IHostApplicationBuil... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/HostApplicationBuilderWorkflowExtensions.cs class HostApplicationBuilderWorkflowExtensions (line 14) | public static class HostApplicationBuilderWorkflowExtensions method AddWorkflow (line 29) | public static IHostedWorkflowBuilder AddWorkflow(this IHostApplication... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/HostedAgentBuilder.cs class HostedAgentBuilder (line 8) | internal sealed class HostedAgentBuilder : IHostedAgentBuilder method HostedAgentBuilder (line 14) | public HostedAgentBuilder(string name, IHostApplicationBuilder builder... method HostedAgentBuilder (line 19) | public HostedAgentBuilder(string name, IServiceCollection serviceColle... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/HostedAgentBuilderExtensions.cs class HostedAgentBuilderExtensions (line 13) | public static class HostedAgentBuilderExtensions method WithInMemorySessionStore (line 20) | public static IHostedAgentBuilder WithInMemorySessionStore(this IHoste... method WithSessionStore (line 33) | public static IHostedAgentBuilder WithSessionStore(this IHostedAgentBu... method WithSessionStore (line 48) | public static IHostedAgentBuilder WithSessionStore(this IHostedAgentBu... method WithAITool (line 68) | public static IHostedAgentBuilder WithAITool(this IHostedAgentBuilder ... method WithAITools (line 85) | public static IHostedAgentBuilder WithAITools(this IHostedAgentBuilder... method WithAITool (line 110) | public static IHostedAgentBuilder WithAITool(this IHostedAgentBuilder ... method ValidateToolLifetime (line 127) | internal static void ValidateToolLifetime(ServiceLifetime agentLifetim... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/HostedWorkflowBuilder.cs class HostedWorkflowBuilder (line 7) | internal sealed class HostedWorkflowBuilder : IHostedWorkflowBuilder method HostedWorkflowBuilder (line 12) | public HostedWorkflowBuilder(string name, IHostApplicationBuilder host... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/HostedWorkflowBuilderExtensions.cs class HostedWorkflowBuilderExtensions (line 11) | public static class HostedWorkflowBuilderExtensions method AddAsAIAgent (line 19) | public static IHostedAgentBuilder AddAsAIAgent(this IHostedWorkflowBui... method AddAsAIAgent (line 29) | public static IHostedAgentBuilder AddAsAIAgent(this IHostedWorkflowBui... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/IHostedAgentBuilder.cs type IHostedAgentBuilder (line 10) | public interface IHostedAgentBuilder FILE: dotnet/src/Microsoft.Agents.AI.Hosting/IHostedWorkflowBuilder.cs type IHostedWorkflowBuilder (line 10) | public interface IHostedWorkflowBuilder FILE: dotnet/src/Microsoft.Agents.AI.Hosting/Local/InMemoryAgentSessionStore.cs class InMemoryAgentSessionStore (line 28) | public sealed class InMemoryAgentSessionStore : AgentSessionStore method SaveSessionAsync (line 33) | public override async ValueTask SaveSessionAsync(AIAgent agent, string... method GetSessionAsync (line 40) | public override async ValueTask GetSessionAsync(AIAgent ... method GetKey (line 52) | private static string GetKey(string conversationId, string agentId) =>... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/NoopAgentSessionStore.cs class NoopAgentSessionStore (line 12) | public sealed class NoopAgentSessionStore : AgentSessionStore method SaveSessionAsync (line 15) | public override ValueTask SaveSessionAsync(AIAgent agent, string conve... method GetSessionAsync (line 21) | public override ValueTask GetSessionAsync(AIAgent agent,... FILE: dotnet/src/Microsoft.Agents.AI.Hosting/WorkflowCatalog.cs class WorkflowCatalog (line 12) | public abstract class WorkflowCatalog method WorkflowCatalog (line 17) | protected WorkflowCatalog() method GetWorkflowsAsync (line 25) | public abstract IAsyncEnumerable GetWorkflowsAsync(Cancellat... FILE: dotnet/src/Microsoft.Agents.AI.Mem0/Mem0Client.cs class Mem0Client (line 19) | internal sealed class Mem0Client method Mem0Client (line 30) | public Mem0Client(HttpClient httpClient) method SearchAsync (line 45) | public async Task> SearchAsync(string? application... method CreateMemoryAsync (line 80) | public async Task CreateMemoryAsync(string? applicationId, string? age... method ClearMemoryAsync (line 116) | public async Task ClearMemoryAsync(string? applicationId, string? agen... class CreateMemoryRequest (line 130) | internal sealed class CreateMemoryRequest class CreateMemoryMessage (line 139) | internal sealed class CreateMemoryMessage class SearchRequest (line 145) | internal sealed class SearchRequest class SearchResponseItem (line 154) | internal sealed class SearchResponseItem FILE: dotnet/src/Microsoft.Agents.AI.Mem0/Mem0JsonUtilities.cs class Mem0JsonUtilities (line 11) | public static partial class Mem0JsonUtilities method CreateDefaultOptions (line 36) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI.Mem0/Mem0Provider.cs class Mem0Provider (line 46) | public sealed class Mem0Provider : MessageAIContextProvider method Mem0Provider (line 77) | public Mem0Provider(HttpClient httpClient, Func ... method ValidateStateInitializer (line 100) | private static Func ValidateStateInitializer(Fun... method ProvideMessagesAsync (line 118) | protected override async ValueTask> ProvideMe... method StoreAIContextAsync (line 194) | protected override async ValueTask StoreAIContextAsync(InvokedContext ... method ClearStoredMemoriesAsync (line 228) | public Task ClearStoredMemoriesAsync(AgentSession session, Cancellatio... method PersistMessagesAsync (line 242) | private async Task PersistMessagesAsync(Mem0ProviderScope storageScope... class State (line 275) | public sealed class State method State (line 282) | [JsonConstructor] method SanitizeLogData (line 300) | private string? SanitizeLogData(string? data) => this._enableSensitive... FILE: dotnet/src/Microsoft.Agents.AI.Mem0/Mem0ProviderOptions.cs class Mem0ProviderOptions (line 12) | public sealed class Mem0ProviderOptions FILE: dotnet/src/Microsoft.Agents.AI.Mem0/Mem0ProviderScope.cs class Mem0ProviderScope (line 14) | public sealed class Mem0ProviderScope method Mem0ProviderScope (line 19) | public Mem0ProviderScope() { } method Mem0ProviderScope (line 25) | public Mem0ProviderScope(Mem0ProviderScope sourceScope) FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/ChatClient/AsyncStreamingChatCompletionUpdateCollectionResult.cs class AsyncStreamingChatCompletionUpdateCollectionResult (line 10) | internal sealed class AsyncStreamingChatCompletionUpdateCollectionResult... method AsyncStreamingChatCompletionUpdateCollectionResult (line 14) | internal AsyncStreamingChatCompletionUpdateCollectionResult(IAsyncEnum... method GetContinuationToken (line 19) | public override ContinuationToken? GetContinuationToken(ClientResult p... method GetRawPagesAsync (line 21) | public override async IAsyncEnumerable GetRawPagesAsync() method GetValuesFromPageAsync (line 26) | protected override IAsyncEnumerable Get... FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/ChatClient/AsyncStreamingResponseUpdateCollectionResult.cs class AsyncStreamingResponseUpdateCollectionResult (line 10) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method AsyncStreamingResponseUpdateCollectionResult (line 15) | internal AsyncStreamingResponseUpdateCollectionResult(IAsyncEnumerable... method GetContinuationToken (line 20) | public override ContinuationToken? GetContinuationToken(ClientResult p... method GetRawPagesAsync (line 22) | public override async IAsyncEnumerable GetRawPagesAsync() method GetValuesFromPageAsync (line 27) | protected async override IAsyncEnumerable Get... FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/ChatClient/StreamingUpdatePipelineResponse.cs class StreamingUpdatePipelineResponse (line 7) | internal sealed class StreamingUpdatePipelineResponse : PipelineResponse method BufferContent (line 41) | public override BinaryData BufferContent(CancellationToken cancellatio... method BufferContentAsync (line 47) | public override ValueTask BufferContentAsync(CancellationT... method Dispose (line 53) | public override void Dispose() method StreamingUpdatePipelineResponse (line 58) | internal StreamingUpdatePipelineResponse(IAsyncEnumerable> GetEnumera... FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/Extensions/AIAgentWithOpenAIExtensions.cs class AIAgentWithOpenAIExtensions (line 23) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method RunAsync (line 42) | public static async Task RunAsync(this AIAgent agent, ... method RunStreamingAsync (line 68) | public static AsyncCollectionResult Run... method RunAsync (line 94) | public static async Task RunAsync(this AIAgent agent, ... method RunStreamingAsync (line 122) | public static AsyncCollectionResult RunStream... FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/Extensions/AgentResponseExtensions.cs class AgentResponseExtensions (line 16) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method AsOpenAIChatCompletion (line 25) | public static ChatCompletion AsOpenAIChatCompletion(this AgentResponse... method AsOpenAIResponse (line 40) | public static ResponseResult AsOpenAIResponse(this AgentResponse respo... FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/Extensions/OpenAIAssistantClientExtensions.cs class OpenAIAssistantClientExtensions (line 23) | [Experimental(DiagnosticIds.Experiments.AIOpenAIAssistants)] method AsAIAgent (line 35) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method AsAIAgent (line 60) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method GetAIAgentAsync (line 109) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method AsAIAgent (line 142) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method AsAIAgent (line 168) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method GetAIAgentAsync (line 230) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method CreateAIAgentAsync (line 274) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method CreateAIAgentAsync (line 315) | [Obsolete("The Assistants API has been deprecated. Please use the Resp... method ConvertAIToolsToToolDefinitions (line 366) | private static (List? ToolDefinitions, ToolResources? ... FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/Extensions/OpenAIChatClientExtensions.cs class OpenAIChatClientExtensions (line 20) | public static class OpenAIChatClientExtensions method AsAIAgent (line 35) | public static ChatClientAgent AsAIAgent( method AsAIAgent (line 69) | public static ChatClientAgent AsAIAgent( FILE: dotnet/src/Microsoft.Agents.AI.OpenAI/Extensions/OpenAIResponseClientExtensions.cs class OpenAIResponseClientExtensions (line 22) | [Experimental(DiagnosticIds.Experiments.AIOpenAIResponses)] method AsAIAgent (line 39) | public static ChatClientAgent AsAIAgent( method AsAIAgent (line 80) | public static ChatClientAgent AsAIAgent( method AsIChatClientWithStoredOutputDisabled (line 117) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] FILE: dotnet/src/Microsoft.Agents.AI.Purview/BackgroundJobRunner.cs class BackgroundJobRunner (line 15) | internal sealed class BackgroundJobRunner : IBackgroundJobRunner method BackgroundJobRunner (line 28) | public BackgroundJobRunner(IChannelHandler channelHandler, IPurviewCli... method RunJobAsync (line 61) | private async Task RunJobAsync(BackgroundJobBase job) method ShutdownAsync (line 77) | public async Task ShutdownAsync() FILE: dotnet/src/Microsoft.Agents.AI.Purview/CacheProvider.cs class CacheProvider (line 15) | internal sealed class CacheProvider : ICacheProvider method CacheProvider (line 25) | public CacheProvider(IDistributedCache cache, PurviewSettings purviewS... method GetAsync (line 39) | public async Task GetAsync(TKey key, Cancellati... method SetAsync (line 63) | public Task SetAsync(TKey key, TValue value, Cancellatio... method RemoveAsync (line 82) | public Task RemoveAsync(TKey key, CancellationToken cancellation... FILE: dotnet/src/Microsoft.Agents.AI.Purview/ChannelHandler.cs class ChannelHandler (line 15) | internal class ChannelHandler : IChannelHandler method ChannelHandler (line 28) | public ChannelHandler(PurviewSettings purviewSettings, ILogger logger,... method QueueJob (line 38) | public void QueueJob(BackgroundJobBase job) method AddRunner (line 84) | public void AddRunner(Func, Task> runnerTask) method StopAndWaitForCompletionAsync (line 90) | public async Task StopAndWaitForCompletionAsync() FILE: dotnet/src/Microsoft.Agents.AI.Purview/Constants.cs class Constants (line 8) | internal static class Constants FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewAuthenticationException.cs class PurviewAuthenticationException (line 10) | public class PurviewAuthenticationException : PurviewException method PurviewAuthenticationException (line 13) | public PurviewAuthenticationException(string message) method PurviewAuthenticationException (line 19) | public PurviewAuthenticationException() : base() method PurviewAuthenticationException (line 24) | public PurviewAuthenticationException(string? message, Exception? inne... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewException.cs class PurviewException (line 10) | public class PurviewException : Exception method PurviewException (line 13) | public PurviewException(string message) method PurviewException (line 19) | public PurviewException() : base() method PurviewException (line 24) | public PurviewException(string? message, Exception? innerException) : ... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewJobException.cs class PurviewJobException (line 11) | internal class PurviewJobException : PurviewException method PurviewJobException (line 14) | public PurviewJobException(string message) : base(message) method PurviewJobException (line 19) | public PurviewJobException() : base() method PurviewJobException (line 24) | public PurviewJobException(string? message, Exception? innerException)... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewJobLimitExceededException.cs class PurviewJobLimitExceededException (line 11) | internal class PurviewJobLimitExceededException : PurviewJobException method PurviewJobLimitExceededException (line 14) | public PurviewJobLimitExceededException(string message) : base(message) method PurviewJobLimitExceededException (line 19) | public PurviewJobLimitExceededException() : base() method PurviewJobLimitExceededException (line 24) | public PurviewJobLimitExceededException(string? message, Exception? in... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewPaymentRequiredException.cs class PurviewPaymentRequiredException (line 10) | public class PurviewPaymentRequiredException : PurviewException method PurviewPaymentRequiredException (line 13) | public PurviewPaymentRequiredException(string message) : base(message) method PurviewPaymentRequiredException (line 18) | public PurviewPaymentRequiredException() : base() method PurviewPaymentRequiredException (line 23) | public PurviewPaymentRequiredException(string? message, Exception? inn... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewRateLimitException.cs class PurviewRateLimitException (line 10) | public class PurviewRateLimitException : PurviewException method PurviewRateLimitException (line 13) | public PurviewRateLimitException(string message) method PurviewRateLimitException (line 19) | public PurviewRateLimitException() : base() method PurviewRateLimitException (line 24) | public PurviewRateLimitException(string? message, Exception? innerExce... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Exceptions/PurviewRequestException.cs class PurviewRequestException (line 11) | public class PurviewRequestException : PurviewException method PurviewRequestException (line 19) | public PurviewRequestException(HttpStatusCode statusCode, string endpo... method PurviewRequestException (line 26) | public PurviewRequestException(string message) method PurviewRequestException (line 32) | public PurviewRequestException() : base() method PurviewRequestException (line 37) | public PurviewRequestException(string? message, Exception? innerExcept... FILE: dotnet/src/Microsoft.Agents.AI.Purview/IBackgroundJobRunner.cs type IBackgroundJobRunner (line 10) | internal interface IBackgroundJobRunner method ShutdownAsync (line 15) | Task ShutdownAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Purview/ICacheProvider.cs type ICacheProvider (line 11) | internal interface ICacheProvider method GetAsync (line 21) | Task GetAsync(TKey key, CancellationToken cance... method SetAsync (line 32) | Task SetAsync(TKey key, TValue value, CancellationToken ... method RemoveAsync (line 41) | Task RemoveAsync(TKey key, CancellationToken cancellationToken); FILE: dotnet/src/Microsoft.Agents.AI.Purview/IChannelHandler.cs type IChannelHandler (line 13) | internal interface IChannelHandler method QueueJob (line 19) | void QueueJob(BackgroundJobBase job); method AddRunner (line 25) | void AddRunner(Func, Task> runnerTask); method StopAndWaitForCompletionAsync (line 31) | Task StopAndWaitForCompletionAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Purview/IPurviewClient.cs type IPurviewClient (line 19) | internal interface IPurviewClient method GetUserInfoFromTokenAsync (line 28) | Task GetUserInfoFromTokenAsync(CancellationToken cancellati... method ProcessContentAsync (line 37) | Task ProcessContentAsync(ProcessContentRequest... method GetProtectionScopesAsync (line 46) | Task GetProtectionScopesAsync(ProtectionScop... method SendContentActivitiesAsync (line 55) | Task SendContentActivitiesAsync(ContentActi... FILE: dotnet/src/Microsoft.Agents.AI.Purview/IScopedContentProcessor.cs type IScopedContentProcessor (line 14) | internal interface IScopedContentProcessor method ProcessMessagesAsync (line 27) | Task<(bool shouldBlock, string? userId)> ProcessMessagesAsync(IEnumera... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/AIAgentInfo.cs class AIAgentInfo (line 10) | internal sealed class AIAgentInfo FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/AIInteractionPlugin.cs class AIInteractionPlugin (line 10) | internal sealed class AIInteractionPlugin FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/AccessedResourceDetails.cs class AccessedResourceDetails (line 10) | internal sealed class AccessedResourceDetails FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/Activity.cs type Activity (line 11) | [DataContract] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ActivityMetadata.cs class ActivityMetadata (line 11) | [DataContract] method ActivityMetadata (line 18) | public ActivityMetadata(Activity activity) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ClassificationErrorBase.cs class ClassificationErrorBase (line 10) | [JsonDerivedType(typeof(ProcessingError))] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ClassificationInnerError.cs class ClassificationInnerError (line 11) | internal sealed class ClassificationInnerError FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ContentBase.cs class ContentBase (line 10) | [JsonDerivedType(typeof(PurviewTextContent))] method ContentBase (line 18) | protected ContentBase(string dataType) : base(dataType) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ContentProcessingErrorType.cs type ContentProcessingErrorType (line 10) | [JsonConverter(typeof(JsonStringEnumConverter))] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/DlpActionInfo.cs class DlpActionInfo (line 10) | internal sealed class DlpActionInfo FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ErrorDetails.cs class ErrorDetails (line 10) | internal sealed class ErrorDetails FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ExecutionMode.cs type ExecutionMode (line 10) | [JsonConverter(typeof(JsonStringEnumConverter))] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/GraphDataTypeBase.cs class GraphDataTypeBase (line 10) | internal abstract class GraphDataTypeBase method GraphDataTypeBase (line 16) | protected GraphDataTypeBase(string dataType) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/IntegratedAppMetadata.cs class IntegratedAppMetadata (line 11) | [JsonDerivedType(typeof(ProtectedAppMetadata))] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/OperatingSystemSpecifications.cs class OperatingSystemSpecifications (line 10) | internal sealed class OperatingSystemSpecifications FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/PolicyBinding.cs class PolicyBinding (line 11) | internal sealed class PolicyBinding FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/PolicyLocation.cs class PolicyLocation (line 10) | internal sealed class PolicyLocation : GraphDataTypeBase method PolicyLocation (line 17) | public PolicyLocation(string dataType, string value) : base(dataType) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/PolicyPivotProperty.cs type PolicyPivotProperty (line 11) | [DataContract] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/PolicyScope.cs class PolicyScopeBase (line 11) | internal sealed class PolicyScopeBase FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProcessContentMetadataBase.cs class ProcessContentMetadataBase (line 11) | [JsonDerivedType(typeof(ProcessConversationMetadata))] method ProcessContentMetadataBase (line 25) | protected ProcessContentMetadataBase(ContentBase content, string ident... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProcessConversationMetadata.cs class ProcessConversationMetadata (line 11) | internal sealed class ProcessConversationMetadata : ProcessContentMetada... method ProcessConversationMetadata (line 18) | public ProcessConversationMetadata(ContentBase contentBase, string ide... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProcessFileMetadata.cs class ProcessFileMetadata (line 10) | internal sealed class ProcessFileMetadata : ProcessContentMetadataBase method ProcessFileMetadata (line 17) | public ProcessFileMetadata(ContentBase contentBase, string identifier,... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProcessingError.cs class ProcessingError (line 11) | internal sealed class ProcessingError : ClassificationErrorBase FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProtectedAppMetadata.cs class ProtectedAppMetadata (line 10) | internal sealed class ProtectedAppMetadata : IntegratedAppMetadata method ProtectedAppMetadata (line 16) | public ProtectedAppMetadata(PolicyLocation applicationLocation) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProtectionScopeActivities.cs type ProtectionScopeActivities (line 12) | [Flags] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProtectionScopeState.cs type ProtectionScopeState (line 10) | [JsonConverter(typeof(JsonStringEnumConverter))] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ProtectionScopesCacheKey.cs class ProtectionScopesCacheKey (line 11) | internal sealed class ProtectionScopesCacheKey method ProtectionScopesCacheKey (line 23) | public ProtectionScopesCacheKey( method ProtectionScopesCacheKey (line 45) | public ProtectionScopesCacheKey( FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/PurviewBinaryContent.cs class PurviewBinaryContent (line 10) | internal sealed class PurviewBinaryContent : ContentBase method PurviewBinaryContent (line 18) | public PurviewBinaryContent(byte[] data) : base(BinaryContentDataType) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/PurviewTextContent.cs class PurviewTextContent (line 10) | internal sealed class PurviewTextContent : ContentBase method PurviewTextContent (line 18) | public PurviewTextContent(string data) : base(TextContentDataType) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ResourceAccessStatus.cs type ResourceAccessStatus (line 11) | [DataContract] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/ResourceAccessType.cs type ResourceAccessType (line 12) | [Flags] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/RestrictionAction.cs type RestrictionAction (line 10) | [JsonConverter(typeof(JsonStringEnumConverter))] FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/Scope.cs class Scope (line 10) | internal sealed class Scope FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Common/TokenInfo.cs class TokenInfo (line 8) | internal sealed class TokenInfo FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Jobs/ContentActivityJob.cs class ContentActivityJob (line 10) | internal sealed class ContentActivityJob : BackgroundJobBase method ContentActivityJob (line 16) | public ContentActivityJob(ContentActivitiesRequest request) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Jobs/ProcessContentJob.cs class ProcessContentJob (line 10) | internal sealed class ProcessContentJob : BackgroundJobBase method ProcessContentJob (line 16) | public ProcessContentJob(ProcessContentRequest request) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Requests/ContentActivitiesRequest.cs class ContentActivitiesRequest (line 12) | internal sealed class ContentActivitiesRequest method ContentActivitiesRequest (line 22) | public ContentActivitiesRequest(string userId, string tenantId, Conten... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Requests/ProcessContentRequest.cs class ProcessContentRequest (line 12) | internal sealed class ProcessContentRequest method ProcessContentRequest (line 20) | public ProcessContentRequest(ContentToProcess contentToProcess, string... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Requests/ProtectionScopesRequest.cs class ProtectionScopesRequest (line 14) | [DataContract] method ProtectionScopesRequest (line 22) | public ProtectionScopesRequest(string userId, string tenantId) FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Responses/ContentActivitiesResponse.cs class ContentActivitiesResponse (line 12) | internal sealed class ContentActivitiesResponse FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Responses/ProcessContentResponse.cs class ProcessContentResponse (line 14) | internal sealed class ProcessContentResponse FILE: dotnet/src/Microsoft.Agents.AI.Purview/Models/Responses/ProtectionScopesResponse.cs class ProtectionScopesResponse (line 12) | internal sealed class ProtectionScopesResponse FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewAgent.cs class PurviewAgent (line 16) | internal class PurviewAgent : AIAgent, IDisposable method PurviewAgent (line 26) | public PurviewAgent(AIAgent innerAgent, PurviewWrapper purviewWrapper) method SerializeSessionCoreAsync (line 33) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 39) | protected override ValueTask DeserializeSessionCoreAsync... method CreateSessionCoreAsync (line 45) | protected override ValueTask CreateSessionCoreAsync(Canc... method RunCoreAsync (line 51) | protected override Task RunCoreAsync(IEnumerable RunCore... method Dispose (line 67) | public void Dispose() FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewAppLocation.cs class PurviewAppLocation (line 11) | public class PurviewAppLocation method PurviewAppLocation (line 18) | public PurviewAppLocation(PurviewLocationType locationType, string loc... method GetPolicyLocation (line 39) | internal PolicyLocation GetPolicyLocation() FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewChatClient.cs class PurviewChatClient (line 15) | internal class PurviewChatClient : IChatClient method PurviewChatClient (line 25) | public PurviewChatClient(IChatClient innerChatClient, PurviewWrapper p... method Dispose (line 32) | public void Dispose() method GetResponseAsync (line 39) | public Task GetResponseAsync(IEnumerable me... method GetService (line 45) | public object? GetService(Type serviceType, object? serviceKey = null) method GetStreamingResponseAsync (line 51) | public async IAsyncEnumerable GetStreamingResponse... FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewClient.cs class PurviewClient (line 24) | internal sealed class PurviewClient : IPurviewClient method CreateExceptionForStatusCode (line 32) | private static PurviewException CreateExceptionForStatusCode(HttpStatu... method PurviewClient (line 56) | public PurviewClient(TokenCredential tokenCredential, PurviewSettings ... method ExtractTokenInfo (line 66) | private static TokenInfo ExtractTokenInfo(string tokenString) method GetUserInfoFromTokenAsync (line 105) | public async Task GetUserInfoFromTokenAsync(CancellationTok... method ProcessContentAsync (line 116) | public async Task ProcessContentAsync(ProcessC... method GetProtectionScopesAsync (line 189) | public async Task GetProtectionScopesAsync(P... method SendContentActivitiesAsync (line 258) | public async Task SendContentActivitiesAsyn... FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewExtensions.cs class PurviewExtensions (line 21) | public static class PurviewExtensions method CreateWrapper (line 23) | private static PurviewWrapper CreateWrapper(TokenCredential tokenCrede... method WithPurview (line 59) | public static AIAgentBuilder WithPurview(this AIAgentBuilder builder, ... method WithPurview (line 74) | public static ChatClientBuilder WithPurview(this ChatClientBuilder bui... method PurviewChatMiddleware (line 88) | public static Func PurviewChatMiddleware(Tok... method PurviewAgentMiddleware (line 102) | public static Func PurviewAgentMiddleware(TokenCrede... method SetUserId (line 113) | public static void SetUserId(this ChatMessage message, Guid userId) FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewLocationType.cs type PurviewLocationType (line 8) | public enum PurviewLocationType FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewSettings.cs class PurviewSettings (line 14) | public class PurviewSettings method PurviewSettings (line 20) | public PurviewSettings(string appName) FILE: dotnet/src/Microsoft.Agents.AI.Purview/PurviewWrapper.cs class PurviewWrapper (line 16) | internal sealed class PurviewWrapper : IDisposable method PurviewWrapper (line 30) | public PurviewWrapper(IScopedContentProcessor scopedProcessor, Purview... method GetSessionIdFromAgentSession (line 38) | private static string GetSessionIdFromAgentSession(AgentSession? sessi... method ProcessChatContentAsync (line 67) | public async Task ProcessChatContentAsync(IEnumerable ProcessAgentContentAsync(IEnumerable<... method Dispose (line 218) | public void Dispose() FILE: dotnet/src/Microsoft.Agents.AI.Purview/ScopedContentProcessor.cs class ScopedContentProcessor (line 18) | internal sealed class ScopedContentProcessor : IScopedContentProcessor method ScopedContentProcessor (line 30) | public ScopedContentProcessor(IPurviewClient purviewClient, ICacheProv... method ProcessMessagesAsync (line 38) | public async Task<(bool shouldBlock, string? userId)> ProcessMessagesA... method TryGetUserIdFromPayload (line 70) | private static bool TryGetUserIdFromPayload(IEnumerable m... method MapMessageToPCRequestsAsync (line 102) | private async Task> MapMessageToPCRequests... method ProcessContentWithProtectionScopesAsync (line 192) | private async Task ProcessContentWithProtectio... method CombinePolicyActions (line 247) | private static ProcessContentResponse CombinePolicyActions(ProcessCont... method CheckApplicableScopes (line 265) | private static (bool shouldProcess, List dlpActions, Ex... method CreateProtectionScopesRequest (line 317) | private static ProtectionScopesRequest CreateProtectionScopesRequest(P... method TranslateActivity (line 334) | private static ProtectionScopeActivities TranslateActivity(Activity ac... FILE: dotnet/src/Microsoft.Agents.AI.Purview/Serialization/PurviewSerializationUtils.cs class PurviewSerializationUtils (line 14) | [JsonSerializable(typeof(ProtectionScopesRequest))] FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.AzureAI/AzureAgentProvider.cs class AzureAgentProvider (line 29) | public sealed class AzureAgentProvider(Uri projectEndpoint, TokenCredent... method CreateConversationAsync (line 54) | public override async Task CreateConversationAsync(Cancellatio... method CreateMessageAsync (line 64) | public override async Task CreateMessageAsync(string conv... method InvokeAgentAsync (line 94) | public override async IAsyncEnumerable InvokeAgen... method QueryAgentAsync (line 136) | private async Task QueryAgentAsync(string agentName, str... method GetAgentAsync (line 169) | private async Task GetAgentAsync(AgentVersion agentVersion, C... method GetMessageAsync (line 207) | public override async Task GetMessageAsync(string convers... method GetMessagesAsync (line 215) | public override async IAsyncEnumerable GetMessagesAsync( method GetAgentClient (line 235) | private AIProjectClient GetAgentClient() method GetConversationClient (line 254) | private ProjectConversationsClient GetConversationClient() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Mcp/DefaultMcpToolHandler.cs class DefaultMcpToolHandler (line 25) | public sealed class DefaultMcpToolHandler : IMcpToolHandler, IAsyncDispo... method DefaultMcpToolHandler (line 40) | public DefaultMcpToolHandler(Func InvokeToolAsync( method DisposeAsync (line 76) | public async ValueTask DisposeAsync() method GetOrCreateClientAsync (line 104) | private async Task GetOrCreateClientAsync( method CreateClientAsync (line 131) | private async Task CreateClientAsync( method ComputeHeadersHash (line 165) | private static string ComputeHeadersHash(IDictionary? ... method PopulateResultContent (line 186) | private static void PopulateResultContent(McpServerToolResultContent r... method ConvertContentBlock (line 226) | internal static AIContent ConvertContentBlock(ContentBlock block) method CreateDataContent (line 237) | private static DataContent CreateDataContent(ReadOnlyMemory base... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ActionTemplate.cs class ActionTemplate (line 9) | internal abstract class ActionTemplate : CodeTemplate, IModeledAction method Initialize (line 19) | protected TAction Initialize(TAction model) where TAction : D... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/AddConversationMessageTemplate.cs class AddConversationMessageTemplate (line 19) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 25) | public override string TransformText() method AssignVariable (line 97) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateRecordExpression (line 125) | void EvaluateRecordExpression(ObjectExpression( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ClearAllVariablesTemplateCode.cs class ClearAllVariablesTemplate (line 10) | internal partial class ClearAllVariablesTemplate method ClearAllVariablesTemplate (line 12) | public ClearAllVariablesTemplate(ClearAllVariables model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/CodeTemplate.cs method TransformText (line 23) | public abstract string TransformText(); method VariableName (line 27) | public static string VariableName(PropertyPath path) => Throw.IfNull(pat... method VariableScope (line 28) | public static string VariableScope(PropertyPath path) => Throw.IfNull(pa... method FormatBoolValue (line 30) | public static string FormatBoolValue(bool? value, bool defaultValue = fa... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ConditionGroupTemplate.cs class ConditionGroupTemplate (line 19) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 25) | public override string TransformText() method AssignVariable (line 65) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateBoolExpression (line 93) | void EvaluateBoolExpression(BoolExpression expression, string targetVa... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ConditionGroupTemplateCode.cs class ConditionGroupTemplate (line 7) | internal partial class ConditionGroupTemplate method ConditionGroupTemplate (line 9) | public ConditionGroupTemplate(ConditionGroup model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/CopyConversationMessagesTemplate.cs class CopyConversationMessagesTemplate (line 19) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 25) | public override string TransformText() method AssignVariable (line 65) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateStringExpression (line 93) | void EvaluateStringExpression(StringExpression expression, string targ... method EvaluateValueExpression (line 214) | void EvaluateValueExpression(ValueExpression expression, string target... method EvaluateValueExpression (line 217) | void EvaluateValueExpression(ValueExpression expression, strin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/CopyConversationMessagesTemplateCode.cs class CopyConversationMessagesTemplate (line 7) | internal partial class CopyConversationMessagesTemplate method CopyConversationMessagesTemplate (line 9) | public CopyConversationMessagesTemplate(CopyConversationMessages model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/CreateConversationTemplate.cs class CreateConversationTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() method AssignVariable (line 50) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/CreateConversationTemplateCode.cs class CreateConversationTemplate (line 8) | internal partial class CreateConversationTemplate method CreateConversationTemplate (line 10) | public CreateConversationTemplate(CreateConversation model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/DefaultTemplate.cs class DefaultTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/DefaultTemplateCode.cs class DefaultTemplate (line 8) | internal partial class DefaultTemplate method DefaultTemplate (line 10) | public DefaultTemplate(DialogAction model, string rootId, string? acti... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/EdgeTemplate.cs class EdgeTemplate (line 17) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 23) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/EdgeTemplateCode.cs class EdgeTemplate (line 7) | internal partial class EdgeTemplate method EdgeTemplate (line 9) | public EdgeTemplate(string sourceId, string targetId, string? conditio... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/EditTableV2Template.cs class EditTableV2Template (line 17) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 23) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/EditTableV2TemplateCode.cs class EditTableV2Template (line 7) | internal partial class EditTableV2Template method EditTableV2Template (line 9) | public EditTableV2Template(EditTableV2 model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/EmptyTemplate.cs class EmptyTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/EmptyTemplateCode.cs class EmptyTemplate (line 7) | internal partial class EmptyTemplate method EmptyTemplate (line 9) | public EmptyTemplate(string actionId, string rootId, string? action = ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ForeachTemplate.cs class ForeachTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() method AssignVariable (line 112) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateValueExpression (line 140) | void EvaluateValueExpression(ValueExpression expression, string target... method EvaluateValueExpression (line 143) | void EvaluateValueExpression(ValueExpression expression, strin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ForeachTemplateCode.cs class ForeachTemplate (line 8) | internal partial class ForeachTemplate method ForeachTemplate (line 10) | public ForeachTemplate(Foreach model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/InstanceTemplate.cs class InstanceTemplate (line 17) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 23) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/InstanceTemplateCode.cs class InstanceTemplate (line 7) | internal partial class InstanceTemplate method InstanceTemplate (line 9) | public InstanceTemplate(string executorId, string rootId, bool hasProv... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/InvokeAzureAgentTemplate.cs class InvokeAzureAgentTemplate (line 21) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 27) | public override string TransformText() method AssignVariable (line 79) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateBoolExpression (line 107) | void EvaluateBoolExpression(BoolExpression expression, string targetVa... method EvaluateListExpression (line 186) | void EvaluateListExpression(ValueExpression expression, stri... method EvaluateStringExpression (line 294) | void EvaluateStringExpression(StringExpression expression, string targ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/InvokeAzureAgentTemplateCode.cs class InvokeAzureAgentTemplate (line 7) | internal partial class InvokeAzureAgentTemplate method InvokeAzureAgentTemplate (line 9) | public InvokeAzureAgentTemplate(InvokeAzureAgent model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ParseValueTemplate.cs class ParseValueTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() method AssignVariable (line 71) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ParseValueTemplateCode.cs class ParseValueTemplate (line 9) | internal partial class ParseValueTemplate method ParseValueTemplate (line 11) | public ParseValueTemplate(ParseValue model) method GetVariableType (line 20) | private string GetVariableType() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ProviderTemplate.cs class ProviderTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ProviderTemplateCode.cs class ProviderTemplate (line 8) | internal partial class ProviderTemplate method ProviderTemplate (line 10) | public ProviderTemplate( method ByLine (line 33) | public static IEnumerable ByLine(IEnumerable templates... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/QuestionTemplate.cs class QuestionTemplate (line 17) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 23) | public override string TransformText() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/QuestionTemplateCode.cs class QuestionTemplate (line 7) | internal partial class QuestionTemplate method QuestionTemplate (line 9) | public QuestionTemplate(Question model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ResetVariableTemplate.cs class ResetVariableTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() method AssignVariable (line 46) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/ResetVariableTemplateCode.cs class ResetVariableTemplate (line 8) | internal partial class ResetVariableTemplate method ResetVariableTemplate (line 10) | public ResetVariableTemplate(ResetVariable model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/RetrieveConversationMessageTemplate.cs class RetrieveConversationMessageTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() method AssignVariable (line 53) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateRecordExpression (line 81) | void EvaluateRecordExpression(ObjectExpression( method EvaluateIntExpression (line 247) | void EvaluateIntExpression(IntExpression expression, string targetVari... method EvaluateRecordExpression (line 355) | void EvaluateRecordExpression(ObjectExpression(ValueExpression expression, strin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/SetMultipleVariablesTemplateCode.cs class SetMultipleVariablesTemplate (line 7) | internal partial class SetMultipleVariablesTemplate method SetMultipleVariablesTemplate (line 9) | public SetMultipleVariablesTemplate(SetMultipleVariables model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/SetTextVariableTemplate.cs class SetTextVariableTemplate (line 19) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 25) | public override string TransformText() method AssignVariable (line 48) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateMessageTemplate (line 76) | void EvaluateMessageTemplate(TemplateLine templateLine, string variabl... method FormatMessageTemplate (line 104) | void FormatMessageTemplate(TemplateLine line) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/SetTextVariableTemplateCode.cs class SetTextVariableTemplate (line 8) | internal partial class SetTextVariableTemplate method SetTextVariableTemplate (line 10) | public SetTextVariableTemplate(SetTextVariable model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/SetVariableTemplate.cs class SetVariableTemplate (line 18) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Visua... method TransformText (line 24) | public override string TransformText() method AssignVariable (line 48) | void AssignVariable(PropertyPath targetVariable, string valueVariable,... method EvaluateValueExpression (line 76) | void EvaluateValueExpression(ValueExpression expression, string target... method EvaluateValueExpression (line 79) | void EvaluateValueExpression(ValueExpression expression, strin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/CodeGen/SetVariableTemplateCode.cs class SetVariableTemplate (line 8) | internal partial class SetVariableTemplate method SetVariableTemplate (line 10) | internal SetVariableTemplate(SetVariable model) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/DeclarativeWorkflowBuilder.cs class DeclarativeWorkflowBuilder (line 17) | public static class DeclarativeWorkflowBuilder method DefaultTransform (line 25) | public static ChatMessage DefaultTransform(object message) => method Build (line 41) | public static Workflow Build( method Build (line 59) | public static Workflow Build( method Eject (line 91) | public static string Eject( method Eject (line 109) | public static string Eject( method ReadWorkflow (line 132) | private static AdaptiveDialog ReadWorkflow(TextReader yamlReader) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/DeclarativeWorkflowLanguage.cs type DeclarativeWorkflowLanguage (line 8) | public enum DeclarativeWorkflowLanguage FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/DeclarativeWorkflowOptions.cs class DeclarativeWorkflowOptions (line 16) | public sealed class DeclarativeWorkflowOptions(ResponseAgentProvider age... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Entities/EntityExtractionResult.cs type EntityExtractionResult (line 7) | internal sealed record class EntityExtractionResult FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Entities/EntityExtractor.cs class EntityExtractor (line 11) | internal static partial class EntityExtractor method NumberUnitRegex (line 16) | [GeneratedRegex(NumberUnitRegExExpression, RegexOptions.IgnoreCase)] method NumberUnitRegex (line 19) | private static Regex NumberUnitRegex() => s_numberUnitRegex; method Parse (line 23) | public static EntityExtractionResult Parse(EntityReference? entity, st... method TryParseBoolean (line 55) | private static EntityExtractionResult TryParseBoolean(string value) method TryParseDate (line 65) | private static EntityExtractionResult TryParseDate(string value) method TryParseDateTimeNoTimeZone (line 75) | private static EntityExtractionResult TryParseDateTimeNoTimeZone(strin... method TryParseDateTime (line 87) | private static EntityExtractionResult TryParseDateTime(string value) method TryParseDuration (line 97) | private static EntityExtractionResult TryParseDuration(string value) method TryParseEmail (line 107) | private static EntityExtractionResult TryParseEmail(string value) method TryParseNumberUnit (line 120) | private static EntityExtractionResult TryParseNumberUnit(string value,... method TryParseNumber (line 131) | private static EntityExtractionResult TryParseNumber(string value) method TryParseString (line 141) | private static EntityExtractionResult TryParseString(string value) method TryParseURL (line 151) | private static EntityExtractionResult TryParseURL(string value) method UndefinedEntity (line 161) | private static EntityExtractionResult UndefinedEntity(string value) method UnsupportedEntity (line 171) | private static EntityExtractionResult UnsupportedEntity(EntityReferenc... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Events/ConversationUpdateEvent.cs class ConversationUpdateEvent (line 8) | public sealed class ConversationUpdateEvent : WorkflowEvent method ConversationUpdateEvent (line 24) | public ConversationUpdateEvent(string conversationId) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Events/DeclarativeActionCompletedEvent.cs class DeclarativeActionCompletedEvent (line 11) | public sealed class DeclarativeActionCompletedEvent : WorkflowEvent method DeclarativeActionCompletedEvent (line 33) | internal DeclarativeActionCompletedEvent(DialogAction action) : base(a... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Events/DeclarativeActionInvokedEvent.cs class DeclarativeActionInvokedEvent (line 11) | public sealed class DeclarativeActionInvokedEvent : WorkflowEvent method DeclarativeActionInvokedEvent (line 33) | internal DeclarativeActionInvokedEvent(DialogAction action, string? pr... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Events/ExternalInputRequest.cs class ExternalInputRequest (line 11) | public sealed class ExternalInputRequest method ExternalInputRequest (line 18) | [JsonConstructor] method ExternalInputRequest (line 24) | internal ExternalInputRequest(ChatMessage message) method ExternalInputRequest (line 29) | internal ExternalInputRequest(string text) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Events/ExternalInputResponse.cs class ExternalInputResponse (line 12) | public sealed class ExternalInputResponse method ExternalInputResponse (line 25) | public ExternalInputResponse(ChatMessage message) method ExternalInputResponse (line 34) | [JsonConstructor] FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Events/MessageActivityEvent.cs class MessageActivityEvent (line 8) | public sealed class MessageActivityEvent : WorkflowEvent method MessageActivityEvent (line 15) | internal MessageActivityEvent(string message) : base(message) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Exceptions/DeclarativeActionException.cs class DeclarativeActionException (line 10) | public sealed class DeclarativeActionException : DeclarativeWorkflowExce... method DeclarativeActionException (line 15) | public DeclarativeActionException() method DeclarativeActionException (line 23) | public DeclarativeActionException(string? message) : base(message) method DeclarativeActionException (line 32) | public DeclarativeActionException(string? message, Exception? innerExc... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Exceptions/DeclarativeModelException.cs class DeclarativeModelException (line 10) | public sealed class DeclarativeModelException : DeclarativeWorkflowExcep... method DeclarativeModelException (line 15) | public DeclarativeModelException() method DeclarativeModelException (line 23) | public DeclarativeModelException(string? message) : base(message) method DeclarativeModelException (line 32) | public DeclarativeModelException(string? message, Exception? innerExce... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Exceptions/DeclarativeWorkflowException.cs class DeclarativeWorkflowException (line 10) | public class DeclarativeWorkflowException : Exception method DeclarativeWorkflowException (line 15) | public DeclarativeWorkflowException() method DeclarativeWorkflowException (line 23) | public DeclarativeWorkflowException(string? message) : base(message) method DeclarativeWorkflowException (line 32) | public DeclarativeWorkflowException(string? message, Exception? innerE... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/AgentProviderExtensions.cs class AgentProviderExtensions (line 10) | internal static class AgentProviderExtensions method InvokeAgentAsync (line 12) | public static async ValueTask InvokeAgentAsync( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/BotElementExtensions.cs class BotElementExtensions (line 7) | internal static class BotElementExtensions method GetParentId (line 9) | public static string? GetParentId(this BotElement element) => element.... method GetId (line 11) | public static string GetId(this BotElement element) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/ChatMessageExtensions.cs class ChatMessageExtensions (line 14) | internal static class ChatMessageExtensions method ToRecord (line 16) | public static RecordValue ToRecord(this ChatMessage message) => method ToTable (line 19) | public static TableValue ToTable(this IEnumerable message... method ToChatMessages (line 22) | public static IEnumerable? ToChatMessages(this DataValue?... method ToChatMessages (line 47) | public static IEnumerable ToChatMessages(this TableDataVa... method ToChatMessage (line 64) | public static ChatMessage? ToChatMessage(this DataValue message) method ToChatMessage (line 84) | public static ChatMessage ToChatMessage(this RecordDataValue message) => method ToChatMessage (line 91) | public static ChatMessage ToChatMessage(this StringDataValue message) ... method ToChatMessage (line 93) | public static ChatMessage ToChatMessage(this IEnumerable method ToChatRole (line 121) | public static ChatRole ToChatRole(this AgentMessageRole? role) => role... method ToContent (line 123) | public static AIContent? ToContent(this AgentMessageContentType conten... method GetRole (line 139) | private static ChatRole GetRole(this RecordDataValue message) method GetContent (line 156) | private static IEnumerable GetContent(this RecordDataValue ... method InferMediaType (line 181) | private static string InferMediaType(string value) method GetImageContent (line 206) | private static AIContent GetImageContent(string uriText, string mediaT... method GetProperty (line 211) | private static TValue? GetProperty(this RecordDataValue record... method GetMessageFields (line 222) | private static IEnumerable GetMessageFields(this ChatMessa... method GetContentRecords (line 233) | private static IEnumerable GetContentRecords(this ChatMes... method GetContentFields (line 236) | private static IEnumerable GetContentFields(this AIContent... method ToRecord (line 259) | private static RecordValue ToRecord(this AdditionalPropertiesDictionar... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/DataValueExtensions.cs class DataValueExtensions (line 17) | internal static class DataValueExtensions method ToDataValue (line 19) | public static DataValue ToDataValue(this object? value) => method ToFormula (line 41) | public static FormulaValue ToFormula(this DataValue? value) => method ToFormulaType (line 62) | public static FormulaType ToFormulaType(this DataValue? value) => valu... method ToFormulaType (line 64) | public static FormulaType ToFormulaType(this DataType? type) => method ToObject (line 85) | public static object? ToObject(this DataValue? value) => method ToClrType (line 103) | public static Type ToClrType(this DataType type) => method AsList (line 118) | public static IList? AsList(this DataValue? value) method NewBlank (line 128) | public static FormulaValue NewBlank(this DataType? type) => FormulaVal... method ToRecordValue (line 130) | public static RecordValue ToRecordValue(this RecordDataValue recordDat... method ToRecordType (line 135) | public static RecordType ToRecordType(this RecordDataType record) method ToRecordValue (line 145) | public static RecordDataValue ToRecordValue(this IDictionary value) method ToTableValue (line 158) | public static TableDataValue ToTableValue(this IEnumerable values) method ParseRecordType (line 190) | private static RecordType ParseRecordType(this RecordDataValue record) method ToObject (line 200) | private static object ToObject(this TableDataValue table) method ToObject (line 232) | private static object ToObject(this RecordDataValue record) method ToDictionary (line 250) | private static Dictionary ToDictionary(this RecordDat... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/DeclarativeWorkflowOptionsExtensions.cs class DeclarativeWorkflowOptionsExtensions (line 8) | internal static class DeclarativeWorkflowOptionsExtensions method CreateRecalcEngine (line 12) | public static RecalcEngine CreateRecalcEngine(this DeclarativeWorkflow... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/DialogBaseExtensions.cs class DialogBaseExtensions (line 8) | internal static class DialogBaseExtensions method WrapWithBot (line 10) | public static TDialog WrapWithBot(this TDialog dialog) where ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/ExpandoObjectExtensions.cs class ExpandoObjectExtensions (line 10) | internal static class ExpandoObjectExtensions method ToRecordType (line 12) | public static RecordType ToRecordType(this ExpandoObject value) method ToRecord (line 24) | public static RecordValue ToRecord(this ExpandoObject value) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/FormulaValueExtensions.cs class FormulaValueExtensions (line 20) | internal static class FormulaValueExtensions method NewBlank (line 24) | public static FormulaValue NewBlank(this FormulaType? type) => Formula... method ToFormula (line 26) | public static FormulaValue ToFormula(this object? value) => method GetFormulaType (line 49) | public static FormulaType GetFormulaType(this object? value) => method ToDataValue (line 67) | public static DataValue ToDataValue(this FormulaValue value) => method GetDataType (line 84) | public static DataType GetDataType(this FormulaValue value) => method ToDataType (line 105) | public static DataType ToDataType(this FormulaType type) => method AsPortable (line 126) | public static object AsPortable(this FormulaValue? value) => (value?.T... method Format (line 128) | public static string Format(this FormulaValue value) => method ToTable (line 148) | public static TableDataValue ToTable(this TableValue value) => method ToRecord (line 151) | public static RecordDataValue ToRecord(this RecordValue value) => method ToRecord (line 154) | public static RecordValue ToRecord(this IDictionary value) method ToJson (line 167) | public static JsonNode ToJson(this FormulaValue value) => method ToRecord (line 184) | public static RecordValue ToRecord(this Dictionary GetKeyValuePair(this Na... method ToJson (line 277) | private static JsonArray ToJson(this TableValue value) method ToJson (line 291) | private static JsonObject ToJson(this RecordValue value) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/IWorkflowContextExtensions.cs class IWorkflowContextExtensions (line 15) | internal static class IWorkflowContextExtensions method RaiseInvocationEventAsync (line 17) | public static ValueTask RaiseInvocationEventAsync(this IWorkflowContex... method RaiseCompletionEventAsync (line 20) | public static ValueTask RaiseCompletionEventAsync(this IWorkflowContex... method ReadState (line 23) | public static FormulaValue ReadState(this IWorkflowContext context, Pr... method ReadState (line 26) | public static FormulaValue ReadState(this IWorkflowContext context, st... method SendResultMessageAsync (line 29) | public static ValueTask SendResultMessageAsync(this IWorkflowContext c... method SendResultMessageAsync (line 32) | public static ValueTask SendResultMessageAsync(this IWorkflowContext c... method QueueStateResetAsync (line 35) | public static ValueTask QueueStateResetAsync(this IWorkflowContext con... method QueueStateUpdateAsync (line 38) | public static ValueTask QueueStateUpdateAsync(this IWorkflowCo... method QueueEnvironmentUpdateAsync (line 41) | public static async ValueTask QueueEnvironmentUpdateAsync(this... method QueueSystemUpdateAsync (line 48) | public static async ValueTask QueueSystemUpdateAsync(this IWor... method QueueConversationUpdateAsync (line 55) | public static ValueTask QueueConversationUpdateAsync(this IWorkflowCon... method QueueConversationUpdateAsync (line 58) | public static async ValueTask QueueConversationUpdateAsync(this IWorkf... method GetWorkflowConversation (line 72) | public static string? GetWorkflowConversation(this IWorkflowContext co... method IsWorkflowConversation (line 79) | public static bool IsWorkflowConversation( method DeclarativeContext (line 88) | private static DeclarativeWorkflowContext DeclarativeContext(IWorkflow... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/JsonDocumentExtensions.cs class JsonDocumentExtensions (line 13) | internal static class JsonDocumentExtensions method ParseList (line 15) | public static List ParseList(this JsonDocument jsonDocument, ... method ParseRecord (line 27) | public static Dictionary ParseRecord(this JsonDocumen... method GetListTypeFromJson (line 48) | public static VariableType GetListTypeFromJson(this JsonElement arrayE... method ParseRecord (line 79) | private static Dictionary ParseRecord(this JsonElemen... method ParseTable (line 122) | private static List ParseTable(this JsonElement currentElemen... method ParseValue (line 174) | private static object? ParseValue(this JsonElement propertyElement, Va... method TryParseValue (line 184) | private static bool TryParseValue(this JsonElement propertyElement, Va... method TryParseNull (line 196) | private static bool TryParseNull(Type? valueType, out object? value) method TryParseBoolean (line 209) | private static bool TryParseBoolean(JsonElement propertyElement, out o... method TryParseString (line 223) | private static bool TryParseString(JsonElement propertyElement, Type? ... method TryParseNumber (line 266) | private static bool TryParseNumber(JsonElement element, Type? valueTyp... method TryParseObject (line 315) | private static bool TryParseObject(JsonElement propertyElement, Variab... method TryParseList (line 321) | private static bool TryParseList(JsonElement propertyElement, Variable... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/ObjectExtensions.cs class ObjectExtensions (line 15) | internal static class ObjectExtensions method AsList (line 17) | public static IList? AsList(this object? value) method AsPortable (line 50) | public static object AsPortable(this object? value) => method AsPortable (line 71) | public static object AsPortable(this IDictionary valu... method AsPortable (line 73) | public static object AsPortable(this IDictionary value) method AsPortable (line 86) | public static object AsPortable(this IEnumerable value) method ConvertType (line 100) | public static object? ConvertType(this object? sourceValue, VariableTy... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/PortableValueExtensions.cs class PortableValueExtensions (line 14) | internal static class PortableValueExtensions method ToFormula (line 16) | public static FormulaValue ToFormula(this PortableValue value) => method ToTable (line 40) | private static TableValue ToTable(this PortableValue[] values) method IsSystemType (line 73) | public static bool IsSystemType(this PortableValue value, [Not... method IsType (line 84) | public static bool IsType(this PortableValue value, [NotNullWh... method IsParentType (line 95) | public static bool IsParentType(this PortableValue value, [Not... method ParseRecordType (line 106) | private static RecordType ParseRecordType(this RecordValue record) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/StringExtensions.cs class StringExtensions (line 10) | internal static partial class StringExtensions method TrimJsonDelimiterRegex (line 13) | [GeneratedRegex(@"^```(?:\w*)\s*([\s\S]*?)\s*```$", RegexOptions.Multi... method TrimJsonDelimiterRegex (line 16) | private static Regex TrimJsonDelimiterRegex() => s_trimJsonDelimiterRe... method TrimJsonDelimiter (line 20) | public static string TrimJsonDelimiter(this string value) method ToFormula (line 30) | public static FormulaValue ToFormula(this string? value) => method FormatType (line 33) | public static string FormatType(this string identifier) => FormatIdent... method FormatName (line 35) | public static string FormatName(this string identifier) => FormatIdent... method FormatIdentifier (line 37) | private static string FormatIdentifier(string identifier, bool skipFir... method ByLine (line 51) | public static IEnumerable ByLine(this string source) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Extensions/TemplateExtensions.cs class TemplateExtensions (line 10) | internal static class TemplateExtensions method Format (line 12) | public static string Format(this RecalcEngine engine, IEnumerable InvokeToolAsync( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/DeclarativeActionExecutor.cs class DeclarativeActionExecutor (line 18) | internal abstract class DeclarativeActionExecutor(TAction model... method DeclarativeActionExecutor (line 29) | protected DeclarativeActionExecutor(DialogAction model, WorkflowFormul... method ConfigureProtocol (line 42) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method ResetAsync (line 65) | public ValueTask ResetAsync() method HandleAsync (line 71) | [SendsMessage(typeof(ActionExecutorResult))] method ExecuteAsync (line 111) | protected abstract ValueTask ExecuteAsync(IWorkflowContext co... method OnCheckpointRestoredAsync (line 117) | protected override ValueTask OnCheckpointRestoredAsync(IWorkflowContex... method AssignAsync (line 120) | protected async ValueTask AssignAsync(PropertyPath? targetPath, Formul... method Exception (line 141) | protected DeclarativeActionException Exception(string text, Exception?... class DeclarativeActionExecutor (line 25) | internal abstract class DeclarativeActionExecutor : Executor ExecuteAsync(IWorkflowContext co... method OnCheckpointRestoredAsync (line 117) | protected override ValueTask OnCheckpointRestoredAsync(IWorkflowContex... method AssignAsync (line 120) | protected async ValueTask AssignAsync(PropertyPath? targetPath, Formul... method Exception (line 141) | protected DeclarativeActionException Exception(string text, Exception?... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/DeclarativeWorkflowContext.cs class DeclarativeWorkflowContext (line 18) | internal sealed class DeclarativeWorkflowContext : IWorkflowContext method DeclarativeWorkflowContext (line 27) | public DeclarativeWorkflowContext(IWorkflowContext source, WorkflowFor... method AddEventAsync (line 41) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancellati... method YieldOutputAsync (line 45) | public ValueTask YieldOutputAsync(object output, CancellationToken can... method RequestHaltAsync (line 49) | public ValueTask RequestHaltAsync() => this.Source.RequestHaltAsync(); method QueueClearScopeAsync (line 52) | public async ValueTask QueueClearScopeAsync(string? scopeName = null, ... method QueueStateUpdateAsync (line 74) | public async ValueTask QueueStateUpdateAsync(string key, T? value, ... method IsManagedScope (line 80) | private static bool IsManagedScope(string? scopeName) => scopeName is ... method ReadStateAsync (line 83) | public async ValueTask ReadStateAsync(string key, str... method ReadOrInitStateAsync (line 97) | public async ValueTask ReadOrInitStateAsync(string key... method ReadStateKeysAsync (line 133) | public ValueTask> ReadStateKeysAsync(string? scopeName... method SendMessageAsync (line 137) | public ValueTask SendMessageAsync(object message, string? targetId = n... method UpdateStateAsync (line 140) | public ValueTask UpdateStateAsync(string key, T? value, string? sco... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/DeclarativeWorkflowExecutor.cs class DeclarativeWorkflowExecutor (line 16) | internal sealed class DeclarativeWorkflowExecutor( method ResetAsync (line 24) | public ValueTask ResetAsync() method HandleAsync (line 29) | [SendsMessage(typeof(ActionExecutorResult))] FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/DelegateActionExecutor.cs class DelegateActionExecutor (line 12) | internal sealed class DelegateActionExecutor(string actionId, WorkflowFo... method HandleAsync (line 15) | public override ValueTask HandleAsync(ActionExecutorResult message, IW... method DelegateActionExecutor (line 29) | public DelegateActionExecutor(string actionId, WorkflowFormulaState st... method ConfigureProtocol (line 37) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method ResetAsync (line 53) | public ValueTask ResetAsync() method HandleAsync (line 58) | [SendsMessage(typeof(ActionExecutorResult))] class DelegateActionExecutor (line 23) | internal class DelegateActionExecutor : Executor, IR... method HandleAsync (line 15) | public override ValueTask HandleAsync(ActionExecutorResult message, IW... method DelegateActionExecutor (line 29) | public DelegateActionExecutor(string actionId, WorkflowFormulaState st... method ConfigureProtocol (line 37) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method ResetAsync (line 53) | public ValueTask ResetAsync() method HandleAsync (line 58) | [SendsMessage(typeof(ActionExecutorResult))] FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/DurableProperty.cs class DurableProperty (line 7) | internal sealed class DurableProperty(string name) where TValue ... method ReadAsync (line 9) | public async ValueTask ReadAsync(IWorkflowContext context) method WriteAsync (line 15) | public ValueTask WriteAsync(IWorkflowContext context, TValue value) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/RequestPortAction.cs class RequestPortAction (line 5) | internal sealed class RequestPortAction(RequestPort port) : IModeledAction FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/WorkflowActionVisitor.cs class WorkflowActionVisitor (line 15) | internal sealed class WorkflowActionVisitor : DialogActionVisitor class Steps (line 19) | internal static class Steps method Root (line 21) | public static string Root(AdaptiveDialog action) => $"{action.BeginD... method Root (line 23) | public static string Root(string? actionId = null) => $"{actionId ??... method Post (line 25) | public static string Post(string actionId) => $"{actionId}_{nameof(P... method Restart (line 27) | public static string Restart(string actionId) => $"{actionId}_{nameo... method WorkflowActionVisitor (line 35) | public WorkflowActionVisitor( method Complete (line 48) | public Workflow Complete() method Visit (line 66) | protected override void Visit(ActionScope item) method VisitConditionItem (line 102) | public override void VisitConditionItem(ConditionItem item) method Visit (line 130) | protected override void Visit(ConditionGroup item) method Visit (line 167) | protected override void Visit(GotoAction item) method Visit (line 180) | protected override void Visit(Foreach item) method Visit (line 210) | protected override void Visit(BreakLoop item) method Visit (line 229) | protected override void Visit(ContinueLoop item) method Visit (line 248) | protected override void Visit(Question item) method Visit (line 280) | protected override void Visit(RequestExternalInput item) method Visit (line 298) | protected override void Visit(EndDialog item) method Visit (line 309) | protected override void Visit(EndConversation item) method Visit (line 320) | protected override void Visit(CancelAllDialogs item) method Visit (line 331) | protected override void Visit(CancelDialog item) method Visit (line 342) | protected override void Visit(CreateConversation item) method Visit (line 349) | protected override void Visit(AddConversationMessage item) method Visit (line 356) | protected override void Visit(CopyConversationMessages item) method Visit (line 363) | protected override void Visit(InvokeAzureAgent item) method Visit (line 393) | protected override void Visit(InvokeFunctionTool item) method Visit (line 414) | protected override void Visit(InvokeAzureResponse item) method Visit (line 419) | protected override void Visit(RetrieveConversationMessage item) method Visit (line 426) | protected override void Visit(RetrieveConversationMessages item) method Visit (line 433) | protected override void Visit(SetVariable item) method Visit (line 440) | protected override void Visit(SetMultipleVariables item) method Visit (line 447) | protected override void Visit(SetTextVariable item) method Visit (line 454) | protected override void Visit(ClearAllVariables item) method Visit (line 461) | protected override void Visit(ResetVariable item) method Visit (line 468) | protected override void Visit(EditTable item) method Visit (line 475) | protected override void Visit(EditTableV2 item) method Visit (line 482) | protected override void Visit(ParseValue item) method Visit (line 489) | protected override void Visit(SendActivity item) method Visit (line 496) | protected override void Visit(InvokeMcpTool item) method Visit (line 534) | protected override void Visit(AnswerQuestionWithAI item) => this.NotSu... method Visit (line 536) | protected override void Visit(DeleteActivity item) => this.NotSupporte... method Visit (line 538) | protected override void Visit(GetActivityMembers item) => this.NotSupp... method Visit (line 540) | protected override void Visit(UpdateActivity item) => this.NotSupporte... method Visit (line 542) | protected override void Visit(ActivateExternalTrigger item) => this.No... method Visit (line 544) | protected override void Visit(DisableTrigger item) => this.NotSupporte... method Visit (line 546) | protected override void Visit(WaitForConnectorTrigger item) => this.No... method Visit (line 548) | protected override void Visit(InvokeConnectorAction item) => this.NotS... method Visit (line 550) | protected override void Visit(InvokeCustomModelAction item) => this.No... method Visit (line 552) | protected override void Visit(InvokeFlowAction item) => this.NotSuppor... method Visit (line 554) | protected override void Visit(InvokeAIBuilderModelAction item) => this... method Visit (line 556) | protected override void Visit(InvokeSkillAction item) => this.NotSuppo... method Visit (line 558) | protected override void Visit(AdaptiveCardPrompt item) => this.NotSupp... method Visit (line 560) | protected override void Visit(CSATQuestion item) => this.NotSupported(... method Visit (line 562) | protected override void Visit(OAuthInput item) => this.NotSupported(it... method Visit (line 564) | protected override void Visit(BeginDialog item) => this.NotSupported(i... method Visit (line 566) | protected override void Visit(UnknownDialogAction item) => this.NotSup... method Visit (line 568) | protected override void Visit(RepeatDialog item) => this.NotSupported(... method Visit (line 570) | protected override void Visit(ReplaceDialog item) => this.NotSupported... method Visit (line 572) | protected override void Visit(EmitEvent item) => this.NotSupported(item); method Visit (line 574) | protected override void Visit(GetConversationMembers item) => this.Not... method Visit (line 576) | protected override void Visit(HttpRequestAction item) => this.NotSuppo... method Visit (line 578) | protected override void Visit(RecognizeIntent item) => this.NotSupport... method Visit (line 580) | protected override void Visit(TransferConversation item) => this.NotSu... method Visit (line 582) | protected override void Visit(TransferConversationV2 item) => this.Not... method Visit (line 584) | protected override void Visit(SignOutUser item) => this.NotSupported(i... method Visit (line 586) | protected override void Visit(LogCustomTelemetryEvent item) => this.No... method Visit (line 588) | protected override void Visit(DisconnectedNodeContainer item) => this.... method Visit (line 590) | protected override void Visit(CreateSearchQuery item) => this.NotSuppo... method Visit (line 592) | protected override void Visit(SearchKnowledgeSources item) => this.Not... method Visit (line 594) | protected override void Visit(SearchAndSummarizeWithCustomModel item) ... method Visit (line 596) | protected override void Visit(SearchAndSummarizeContent item) => this.... method ContinueWith (line 600) | private void ContinueWith( method ContinueWith (line 609) | private void ContinueWith( method ContinuationFor (line 619) | private string ContinuationFor(string parentId, DelegateAction method GetParentId (line 631) | private static string GetParentId(BotElement item) => method NotSupported (line 635) | private void NotSupported(DialogAction item) method Trace (line 641) | private void Trace(BotElement item) => method Trace (line 644) | private void Trace(DialogAction item) method FormatItem (line 655) | private static string FormatItem(BotElement element) => $"{element.Get... method FormatParent (line 657) | private static string FormatParent(BotElement element) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/WorkflowCodeBuilder.cs class WorkflowCodeBuilder (line 9) | internal sealed class WorkflowCodeBuilder : IModelBuilder method WorkflowCodeBuilder (line 17) | public WorkflowCodeBuilder(string rootId) method GenerateCode (line 26) | public string GenerateCode(string? workflowNamespace, string? workflow... method Connect (line 38) | public void Connect(IModeledAction source, IModeledAction target, stri... method HandelAction (line 48) | private void HandelAction(IModeledAction action) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/WorkflowElementWalker.cs class WorkflowElementWalker (line 7) | internal sealed class WorkflowElementWalker : BotElementWalker method WorkflowElementWalker (line 11) | public WorkflowElementWalker(DialogActionVisitor visitor) method DefaultVisit (line 16) | public override bool DefaultVisit(BotElement definition) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/WorkflowModel.cs type IModeledAction (line 10) | internal interface IModeledAction type IModelBuilder (line 15) | internal interface IModelBuilder where TCondition : class method Connect (line 17) | void Connect(IModeledAction source, IModeledAction target, TCondition?... class WorkflowModel (line 20) | internal sealed class WorkflowModel where TCondition : class method WorkflowModel (line 22) | public WorkflowModel(IModeledAction rootAction) method GetDepth (line 31) | public int GetDepth(string? nodeId) method AddNode (line 46) | public void AddNode(IModeledAction action, string parentId, Action? co... method AddLinkFromPeer (line 58) | public void AddLinkFromPeer(string parentId, string targetId, TConditi... method AddLink (line 75) | public void AddLink(string sourceId, string targetId, TCondition? cond... method Build (line 85) | public void Build(IModelBuilder builder) method DefineNode (line 109) | private ModelNode DefineNode(IModeledAction action, ModelNode? parentN... method LocateParent (line 118) | public TAction? LocateParent(string? itemId) where TAction : ... class ModelNode (line 143) | private sealed class ModelNode(IModeledAction action, ModelNode? paren... type ModelLink (line 156) | private sealed record class ModelLink(ModelNode Source, string TargetI... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Interpreter/WorkflowModelBuilder.cs class WorkflowModelBuilder (line 8) | internal sealed class WorkflowModelBuilder : IModelBuilder this.NotSupported... method Visit (line 370) | protected override void Visit(InvokeFunctionTool item) => this.NotSupp... method Visit (line 372) | protected override void Visit(AnswerQuestionWithAI item) => this.NotSu... method Visit (line 374) | protected override void Visit(DeleteActivity item) => this.NotSupporte... method Visit (line 376) | protected override void Visit(GetActivityMembers item) => this.NotSupp... method Visit (line 378) | protected override void Visit(UpdateActivity item) => this.NotSupporte... method Visit (line 380) | protected override void Visit(ActivateExternalTrigger item) => this.No... method Visit (line 382) | protected override void Visit(DisableTrigger item) => this.NotSupporte... method Visit (line 384) | protected override void Visit(WaitForConnectorTrigger item) => this.No... method Visit (line 386) | protected override void Visit(InvokeConnectorAction item) => this.NotS... method Visit (line 388) | protected override void Visit(InvokeCustomModelAction item) => this.No... method Visit (line 390) | protected override void Visit(InvokeFlowAction item) => this.NotSuppor... method Visit (line 392) | protected override void Visit(InvokeAIBuilderModelAction item) => this... method Visit (line 394) | protected override void Visit(InvokeSkillAction item) => this.NotSuppo... method Visit (line 396) | protected override void Visit(AdaptiveCardPrompt item) => this.NotSupp... method Visit (line 398) | protected override void Visit(CSATQuestion item) => this.NotSupported(... method Visit (line 400) | protected override void Visit(OAuthInput item) => this.NotSupported(it... method Visit (line 402) | protected override void Visit(BeginDialog item) => this.NotSupported(i... method Visit (line 404) | protected override void Visit(UnknownDialogAction item) => this.NotSup... method Visit (line 406) | protected override void Visit(RepeatDialog item) => this.NotSupported(... method Visit (line 408) | protected override void Visit(ReplaceDialog item) => this.NotSupported... method Visit (line 410) | protected override void Visit(EmitEvent item) => this.NotSupported(item); method Visit (line 412) | protected override void Visit(GetConversationMembers item) => this.Not... method Visit (line 414) | protected override void Visit(HttpRequestAction item) => this.NotSuppo... method Visit (line 416) | protected override void Visit(RecognizeIntent item) => this.NotSupport... method Visit (line 418) | protected override void Visit(TransferConversation item) => this.NotSu... method Visit (line 420) | protected override void Visit(TransferConversationV2 item) => this.Not... method Visit (line 422) | protected override void Visit(SignOutUser item) => this.NotSupported(i... method Visit (line 424) | protected override void Visit(LogCustomTelemetryEvent item) => this.No... method Visit (line 426) | protected override void Visit(DisconnectedNodeContainer item) => this.... method Visit (line 428) | protected override void Visit(CreateSearchQuery item) => this.NotSuppo... method Visit (line 430) | protected override void Visit(SearchKnowledgeSources item) => this.Not... method Visit (line 432) | protected override void Visit(SearchAndSummarizeWithCustomModel item) ... method Visit (line 434) | protected override void Visit(SearchAndSummarizeContent item) => this.... method ContinueWith (line 438) | private void ContinueWith( method ContinueWith (line 446) | private void ContinueWith( method ContinuationFor (line 456) | private string ContinuationFor(string parentId, string? stepAction = n... method ContinuationFor (line 458) | private string ContinuationFor(string actionId, string parentId, strin... method RestartAfter (line 467) | private void RestartAfter(string actionId, string parentId) => method GetParentId (line 470) | private static string GetParentId(BotElement item) => method NotSupported (line 474) | private void NotSupported(DialogAction item) method Trace (line 480) | private void Trace(BotElement item) => method Trace (line 483) | private void Trace(DialogAction item) method FormatItem (line 494) | private static string FormatItem(BotElement element) => $"{element.Get... method FormatParent (line 496) | private static string FormatParent(BotElement element) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/ActionExecutor.cs class ActionExecutor (line 16) | public abstract class ActionExecutor(string id, FormulaSession session) ... method ExecuteAsync (line 19) | protected override ValueTask ExecuteAsync(IWorkflowContext co... method ExecuteAsync (line 28) | protected abstract ValueTask ExecuteAsync(IWorkflowContext co... method IsMatch (line 36) | public static bool IsMatch(TValue value, object? message) wher... method ActionExecutor (line 63) | protected ActionExecutor(string id, FormulaSession session) method ResetAsync (line 70) | public ValueTask ResetAsync() method HandleAsync (line 76) | [SendsMessage(typeof(ActionExecutorResult))] method ExecuteAsync (line 92) | protected abstract ValueTask ExecuteAsync(IWorkflowContext co... class ActionExecutor (line 54) | public abstract class ActionExecutor : Executor, IRe... method ExecuteAsync (line 19) | protected override ValueTask ExecuteAsync(IWorkflowContext co... method ExecuteAsync (line 28) | protected abstract ValueTask ExecuteAsync(IWorkflowContext co... method IsMatch (line 36) | public static bool IsMatch(TValue value, object? message) wher... method ActionExecutor (line 63) | protected ActionExecutor(string id, FormulaSession session) method ResetAsync (line 70) | public ValueTask ResetAsync() method HandleAsync (line 76) | [SendsMessage(typeof(ActionExecutorResult))] method ExecuteAsync (line 92) | protected abstract ValueTask ExecuteAsync(IWorkflowContext co... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/ActionExecutorResult.cs type ActionExecutorResult (line 8) | public sealed record class ActionExecutorResult FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/AgentExecutor.cs class AgentExecutor (line 17) | public abstract class AgentExecutor(string id, FormulaSession session, R... method InvokeAgentAsync (line 29) | protected ValueTask InvokeAgentAsync( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/DelegateExecutor.cs class DelegateExecutor (line 28) | public class DelegateExecutor : ActionExecutor where... method DelegateExecutor (line 38) | public DelegateExecutor(string id, FormulaSession session, DelegateAct... method ExecuteAsync (line 45) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/FormulaSession.cs class FormulaSession (line 10) | public abstract class FormulaSession FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/IWorkflowContextExtensions.cs class IWorkflowContextExtensions (line 19) | public static class IWorkflowContextExtensions method FormatTemplateAsync (line 36) | public static ValueTask FormatTemplateAsync(this IWorkflowCont... method FormatTemplateAsync (line 54) | public static async ValueTask FormatTemplateAsync(this IWorkfl... method EvaluateValueAsync (line 74) | public static ValueTask EvaluateValueAsync(this IWorkflowCont... method EvaluateValueAsync (line 84) | public static async ValueTask EvaluateValueAsync(this... method EvaluateListAsync (line 101) | public static async ValueTask?> EvaluateListAsync ConvertValueAsync(this IWorkflo... method ConvertValueAsync (line 133) | public static async ValueTask ConvertValueAsync(this IWorkflo... method ReadListAsync (line 148) | public static async ValueTask?> ReadListAsync GetStateAsync(this IWo... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/PortableValueExtensions.cs class PortableValueExtensions (line 17) | public static class PortableValueExtensions method NormalizePortableValues (line 28) | public static IDictionary? NormalizePortableValues(th... method NormalizePortableValue (line 46) | public static object? NormalizePortableValue(this object? value) => method Normalize (line 62) | public static object? Normalize(this PortableValue value) => method NormalizePortableValues (line 77) | private static Dictionary NormalizePortableValues(thi... method NormalizePortableValues (line 90) | private static object?[] NormalizePortableValues(this IEnumerable sour... method GetValue (line 93) | private static object? GetValue(this JsonElement element) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/RootExecutor.cs class RootExecutor (line 18) | public abstract class RootExecutor : Executor, IResettab... method RootExecutor (line 38) | protected RootExecutor(string id, DeclarativeWorkflowOptions options, ... method ResetAsync (line 51) | public ValueTask ResetAsync() method HandleAsync (line 57) | [SendsMessage(typeof(ActionExecutorResult))] method ExecuteAsync (line 84) | protected abstract ValueTask ExecuteAsync(TInput message, IWorkflowCon... method InitializeEnvironmentAsync (line 93) | protected async ValueTask InitializeEnvironmentAsync(IWorkflowContext ... method DefaultInputTransform (line 116) | protected internal static ChatMessage DefaultInputTransform(TInput mes... class RootFormulaSession (line 124) | private sealed class RootFormulaSession : FormulaSession method RootFormulaSession (line 126) | internal RootFormulaSession(WorkflowFormulaState state) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/UnassignedValue.cs type UnassignedValue (line 8) | public sealed record class UnassignedValue FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/Kit/VariableType.cs class VariableType (line 17) | public sealed class VariableType : IEquatable method IsValid (line 50) | public static bool IsValid() => IsValid(typeof(TValue)); method IsValid (line 55) | public static bool IsValid(Type type) => method List (line 64) | public static VariableType List(params IEnumerable<(string Key, Variab... method Record (line 74) | public static VariableType Record(params IEnumerable<(string Key, Vari... method VariableType (line 83) | internal VariableType(DataType type) method VariableType (line 116) | public VariableType(Type type) method IsValid (line 150) | public bool IsValid() => IsValid(this.Type); method Equals (line 153) | public override bool Equals(object? obj) => method GetHashCode (line 163) | public override int GetHashCode() => HashCode.Combine(this.Type.GetHas... method Equals (line 166) | public bool Equals(VariableType? other) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/AddConversationMessageExecutor.cs class AddConversationMessageExecutor (line 15) | internal sealed class AddConversationMessageExecutor(AddConversationMess... method ExecuteAsync (line 18) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method GetContent (line 41) | private IEnumerable GetContent() method GetMetadata (line 53) | private AdditionalPropertiesDictionary? GetMetadata() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/ClearAllVariablesExecutor.cs class ClearAllVariablesExecutor (line 13) | internal sealed class ClearAllVariablesExecutor(ClearAllVariables model,... method ExecuteAsync (line 16) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/ConditionGroupExecutor.cs class ConditionGroupExecutor (line 15) | internal sealed class ConditionGroupExecutor : DeclarativeActionExecutor... class Steps (line 17) | public static class Steps method Item (line 19) | public static string Item(ConditionGroup model, ConditionItem condit... method Else (line 30) | public static string Else(ConditionGroup model) => model.ElseActions... method ConditionGroupExecutor (line 33) | public ConditionGroupExecutor(ConditionGroup model, WorkflowFormulaSta... method IsMatch (line 40) | public bool IsMatch(ConditionItem conditionItem, object? message) method IsElse (line 46) | public bool IsElse(object? message) method ExecuteAsync (line 52) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method DoneAsync (line 72) | public async ValueTask DoneAsync(IWorkflowContext context, ActionExecu... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/CopyConversationMessagesExecutor.cs class CopyConversationMessagesExecutor (line 16) | internal sealed class CopyConversationMessagesExecutor(CopyConversationM... method ExecuteAsync (line 19) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method GetInputMessages (line 43) | private IEnumerable? GetInputMessages() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/CreateConversationExecutor.cs class CreateConversationExecutor (line 14) | internal sealed class CreateConversationExecutor(CreateConversation mode... method ExecuteAsync (line 17) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/DefaultActionExecutor.cs class DefaultActionExecutor (line 11) | internal sealed class DefaultActionExecutor(DialogAction model, Workflow... method ExecuteAsync (line 14) | protected override ValueTask ExecuteAsync(IWorkflowContext co... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/EditTableExecutor.cs class EditTableExecutor (line 17) | internal sealed class EditTableExecutor(EditTable model, WorkflowFormula... method ExecuteAsync (line 19) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/EditTableV2Executor.cs class EditTableV2Executor (line 17) | internal sealed class EditTableV2Executor(EditTableV2 model, WorkflowFor... method ExecuteAsync (line 19) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/ForeachExecutor.cs class ForeachExecutor (line 16) | internal sealed class ForeachExecutor : DeclarativeActionExecutor class Steps (line 18) | public static class Steps method Start (line 20) | public static string Start(string id) => $"{id}_{nameof(Start)}"; method Next (line 21) | public static string Next(string id) => $"{id}_{nameof(Next)}"; method End (line 22) | public static string End(string id) => $"{id}_{nameof(End)}"; method ForeachExecutor (line 28) | public ForeachExecutor(Foreach model, WorkflowFormulaState state) method ExecuteAsync (line 38) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method TakeNextAsync (line 59) | public async ValueTask TakeNextAsync(IWorkflowContext context, object?... method CompleteAsync (line 76) | public async ValueTask CompleteAsync(IWorkflowContext context, object?... method ResetStateAsync (line 88) | private async Task ResetStateAsync(IWorkflowContext context, Cancellat... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/InvokeAzureAgentExecutor.cs class InvokeAzureAgentExecutor (line 20) | [SendsMessage(typeof(ExternalInputRequest))] class Steps (line 24) | public static class Steps method ExternalInput (line 26) | public static string ExternalInput(string id) => $"{id}_{nameof(Exte... method Resume (line 27) | public static string Resume(string id) => $"{id}_{nameof(Resume)}"; method RequiresInput (line 30) | public static bool RequiresInput(object? message) => message is Extern... method RequiresNothing (line 32) | public static bool RequiresNothing(object? message) => message is Acti... method ExecuteAsync (line 41) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method ResumeAsync (line 48) | public async ValueTask ResumeAsync(IWorkflowContext context, ExternalI... method CompleteAsync (line 54) | public async ValueTask CompleteAsync(IWorkflowContext context, ActionE... method InvokeAgentAsync (line 59) | private async ValueTask InvokeAgentAsync(IWorkflowContext context, IEn... method GetStructuredInputs (line 111) | private Dictionary? GetStructuredInputs() method GetInputMessages (line 128) | private IEnumerable? GetInputMessages() method FilterActionableContent (line 141) | private static IEnumerable FilterActionableContent(AgentR... method GetConversationId (line 166) | private string? GetConversationId() method GetAgentName (line 177) | private string GetAgentName() => method GetAutoSendValue (line 183) | private bool GetAutoSendValue() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/InvokeFunctionToolExecutor.cs class InvokeFunctionToolExecutor (line 23) | internal sealed class InvokeFunctionToolExecutor( class Steps (line 32) | public static class Steps method ExternalInput (line 37) | public static string ExternalInput(string id) => $"{id}_{nameof(Exte... method Resume (line 42) | public static string Resume(string id) => $"{id}_{nameof(Resume)}"; method ExecuteAsync (line 52) | [SendsMessage(typeof(ExternalInputRequest))] method CaptureResponseAsync (line 90) | public async ValueTask CaptureResponseAsync( method TransformConversationMessages (line 146) | private static IEnumerable TransformConversationMessages(... method AssignResultAsync (line 188) | private async ValueTask AssignResultAsync(IWorkflowContext context, Fu... method GetFunctionName (line 227) | private string GetFunctionName() => method GetConversationId (line 233) | private string? GetConversationId() method GetRequireApproval (line 244) | private bool GetRequireApproval() method GetAutoSendValue (line 254) | private bool GetAutoSendValue() method GetArguments (line 264) | private Dictionary? GetArguments() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/InvokeMcpToolExecutor.cs class InvokeMcpToolExecutor (line 23) | internal sealed class InvokeMcpToolExecutor( class Steps (line 33) | public static class Steps method ExternalInput (line 38) | public static string ExternalInput(string id) => $"{id}_{nameof(Exte... method Resume (line 43) | public static string Resume(string id) => $"{id}_{nameof(Resume)}"; method RequiresInput (line 49) | public static bool RequiresInput(object? message) => message is Extern... method RequiresNothing (line 54) | public static bool RequiresNothing(object? message) => message is Acti... method ExecuteAsync (line 63) | [SendsMessage(typeof(ExternalInputRequest))] method CaptureResponseAsync (line 125) | public async ValueTask CaptureResponseAsync( method CompleteAsync (line 165) | public async ValueTask CompleteAsync(IWorkflowContext context, ActionE... method ProcessResultAsync (line 170) | private async ValueTask ProcessResultAsync(IWorkflowContext context, M... method AssignResultAsync (line 199) | private async ValueTask AssignResultAsync(IWorkflowContext context, Mc... method AssignErrorAsync (line 257) | private async ValueTask AssignErrorAsync(IWorkflowContext context, str... method GetServerUrl (line 266) | private string GetServerUrl() => method GetServerLabel (line 272) | private string? GetServerLabel() method GetToolName (line 283) | private string GetToolName() => method GetConversationId (line 289) | private string? GetConversationId() method GetRequireApproval (line 300) | private bool GetRequireApproval() method GetAutoSendValue (line 310) | private bool GetAutoSendValue() method GetConnectionName (line 320) | private string? GetConnectionName() method GetArguments (line 331) | private Dictionary? GetArguments() method GetHeaders (line 347) | private Dictionary? GetHeaders() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/ParseValueExecutor.cs class ParseValueExecutor (line 17) | internal sealed class ParseValueExecutor(ParseValue model, WorkflowFormu... method ExecuteAsync (line 20) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/QuestionExecutor.cs class QuestionExecutor (line 19) | [SendsMessage(typeof(ExternalInputRequest))] class Steps (line 24) | public static class Steps method Prepare (line 26) | public static string Prepare(string id) => $"{id}_{nameof(Prepare)}"; method Input (line 27) | public static string Input(string id) => $"{id}_{nameof(Input)}"; method Capture (line 28) | public static string Capture(string id) => $"{id}_{nameof(Capture)}"; method IsComplete (line 38) | public static bool IsComplete(object? message) method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method PrepareResponseAsync (line 77) | public async ValueTask PrepareResponseAsync(IWorkflowContext context, ... method CaptureResponseAsync (line 85) | public async ValueTask CaptureResponseAsync(IWorkflowContext context, ... method CompleteAsync (line 138) | public async ValueTask CompleteAsync(IWorkflowContext context, ActionE... method PromptAsync (line 143) | private async ValueTask PromptAsync(IWorkflowContext context, Cancella... method FormatPrompt (line 166) | private string FormatPrompt(ActivityTemplateBase? promptTemplate) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/RequestExternalInputExecutor.cs class RequestExternalInputExecutor (line 15) | [SendsMessage(typeof(ExternalInputRequest))] class Steps (line 20) | public static class Steps method Input (line 22) | public static string Input(string id) => $"{id}_{nameof(Input)}"; method Capture (line 23) | public static string Capture(string id) => $"{id}_{nameof(Capture)}"; method ExecuteAsync (line 29) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method CaptureResponseAsync (line 38) | public async ValueTask CaptureResponseAsync(IWorkflowContext context, ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/ResetVariableExecutor.cs class ResetVariableExecutor (line 14) | internal sealed class ResetVariableExecutor(ResetVariable model, Workflo... method ExecuteAsync (line 17) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/RetrieveConversationMessageExecutor.cs class RetrieveConversationMessageExecutor (line 14) | internal sealed class RetrieveConversationMessageExecutor(RetrieveConver... method ExecuteAsync (line 17) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/RetrieveConversationMessagesExecutor.cs class RetrieveConversationMessagesExecutor (line 16) | internal sealed class RetrieveConversationMessagesExecutor(RetrieveConve... method ExecuteAsync (line 19) | protected override async ValueTask ExecuteAsync(IWorkflowCont... method GetLimit (line 43) | private int? GetLimit() method GetMessage (line 49) | private string? GetMessage(StringExpression? messagExpression) method IsDescending (line 59) | private bool IsDescending() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/SendActivityExecutor.cs class SendActivityExecutor (line 12) | internal sealed class SendActivityExecutor(SendActivity model, WorkflowF... method ExecuteAsync (line 15) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/SetMultipleVariablesExecutor.cs class SetMultipleVariablesExecutor (line 14) | internal sealed class SetMultipleVariablesExecutor(SetMultipleVariables ... method ExecuteAsync (line 17) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/SetTextVariableExecutor.cs class SetTextVariableExecutor (line 14) | internal sealed class SetTextVariableExecutor(SetTextVariable model, Wor... method ExecuteAsync (line 17) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ObjectModel/SetVariableExecutor.cs class SetVariableExecutor (line 14) | internal sealed class SetVariableExecutor(SetVariable model, WorkflowFor... method ExecuteAsync (line 17) | protected override async ValueTask ExecuteAsync(IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/Functions/AgentMessage.cs class AgentMessage (line 8) | internal sealed class AgentMessage : MessageFunction method AgentMessage (line 12) | public AgentMessage() : base(FunctionName) { } method Execute (line 14) | public static FormulaValue Execute(StringValue input) => Create(ChatRo... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/Functions/MessageFunction.cs class MessageFunction (line 10) | internal abstract class MessageFunction : ReflectionFunction method MessageFunction (line 12) | protected MessageFunction(string functionName) method Create (line 16) | protected static FormulaValue Create(ChatRole role, StringValue input) => FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/Functions/MessageText.cs class MessageText (line 9) | internal static class MessageText class StringInput (line 13) | public sealed class StringInput() method Execute (line 16) | public static FormulaValue Execute(StringValue input) => input; class RecordInput (line 19) | public sealed class RecordInput() : ReflectionFunction(FunctionName, F... method Execute (line 21) | public static FormulaValue Execute(RecordValue input) => FormulaValu... class TableInput (line 24) | public sealed class TableInput() : ReflectionFunction(FunctionName, Fo... method Execute (line 26) | public static FormulaValue Execute(TableValue tableValue) method GetTextFromRecord (line 44) | private static string GetTextFromRecord(RecordValue recordValue) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/Functions/UserMessage.cs class UserMessage (line 8) | internal sealed class UserMessage : MessageFunction method UserMessage (line 12) | public UserMessage() : base(FunctionName) { } method Execute (line 14) | public static FormulaValue Execute(StringValue input) => Create(ChatRo... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/RecalcEngineFactory.cs class RecalcEngineFactory (line 10) | internal static class RecalcEngineFactory method Create (line 12) | public static RecalcEngine Create( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/SystemScope.cs class SystemScope (line 16) | internal static class SystemScope class Names (line 20) | public static class Names method InitializeSystem (line 48) | public static void InitializeSystem(this WorkflowFormulaState state) method SetLastMessageAsync (line 94) | public static async ValueTask SetLastMessageAsync(this IWorkflowContex... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/TypeSchema.cs class TypeSchema (line 8) | internal static class TypeSchema class MessageContent (line 12) | public static class MessageContent class Fields (line 14) | public static class Fields class ContentTypes (line 21) | public static class ContentTypes class Message (line 35) | public static class Message class Fields (line 37) | public static class Fields FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/WorkflowDiagnostics.cs type WorkflowTypeInfo (line 16) | internal sealed record class WorkflowTypeInfo(ISet EnvironmentVa... class WorkflowDiagnostics (line 18) | internal static class WorkflowDiagnostics method SetFoundryProduct (line 22) | public static void SetFoundryProduct() method Describe (line 30) | public static WorkflowTypeInfo Describe(this TElement workfl... method Initialize (line 40) | public static void Initialize(this WorkflowFormulaState scop... method InitializeEnvironment (line 49) | private static void InitializeEnvironment(this WorkflowFormulaState sc... method InitializeDefaults (line 59) | private static void InitializeDefaults(this WorkflowFormulaState scope... class WorkflowFeatureConfiguration (line 80) | private sealed class WorkflowFeatureConfiguration : IFeatureConfiguration method GetInt64Value (line 82) | public long GetInt64Value(string settingName, long defaultValue) => ... method GetStringValue (line 84) | public string GetStringValue(string settingName, string defaultValue... method IsEnvironmentFeatureEnabled (line 86) | public bool IsEnvironmentFeatureEnabled(string featureName, bool def... method IsTenantFeatureEnabled (line 88) | public bool IsTenantFeatureEnabled(string featureName, bool defaultV... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/WorkflowExpressionEngine.cs class WorkflowExpressionEngine (line 16) | internal sealed class WorkflowExpressionEngine method WorkflowExpressionEngine (line 20) | public WorkflowExpressionEngine(RecalcEngine engine) method GetValue (line 25) | public EvaluationResult GetValue(BoolExpression boolean) => this... method GetValue (line 27) | public EvaluationResult GetValue(StringExpression expression) ... method GetValue (line 29) | public EvaluationResult GetValue(ValueExpression expression... method GetValue (line 31) | public EvaluationResult GetValue(IntExpression expression) => th... method GetValue (line 33) | public EvaluationResult GetValue(NumberExpression expression) ... method GetValue (line 35) | public EvaluationResult GetValue(ObjectExpression GetValue(ArrayExpression expression) =>... method GetValue (line 39) | public ImmutableArray GetValue(ArrayExpressionOnly expression... method GetValue (line 41) | public EvaluationResult GetValue(EnumExpression Evaluate(BoolExpression expression) method Evaluate (line 68) | private EvaluationResult Evaluate(StringExpression expression) method Evaluate (line 97) | private EvaluationResult Evaluate(IntExpression expression) method Evaluate (line 121) | private EvaluationResult Evaluate(NumberExpression expression) method Evaluate (line 150) | private EvaluationResult Evaluate(ValueExpression expression) method Evaluate (line 164) | private EvaluationResult Evaluate(EnumExpression Evaluate(ObjectExpression> Evaluate(Arra... method Evaluate (line 230) | private EvaluationResult> Evaluate(Arra... method ParseArrayResults (line 239) | private static ImmutableArray ParseArrayResults(Formul... method EvaluateScope (line 270) | private EvaluationResult EvaluateScope(ExpressionBase ex... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/PowerFx/WorkflowFormulaState.cs class WorkflowFormulaState (line 19) | internal sealed class WorkflowFormulaState method WorkflowFormulaState (line 38) | public WorkflowFormulaState(RecalcEngine engine) method Keys (line 47) | public IEnumerable Keys(string scopeName) => this.GetScope(sco... method Get (line 49) | public FormulaValue Get(string variableName, string? scopeName = null) method Set (line 59) | public void Set(string variableName, FormulaValue value, string? scope... method SetInitialized (line 62) | public bool SetInitialized() => Interlocked.CompareExchange(ref this._... method RestoreAsync (line 64) | public async ValueTask RestoreAsync(IWorkflowContext context, Cancella... method Bind (line 96) | public void Bind(string? scopeNameToBind = null) method GetScope (line 125) | private WorkflowScope GetScope(string? scopeName) => this._scopes[GetS... method GetScopeName (line 127) | public static string GetScopeName(string? scopeName) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/ResponseAgentProvider.cs class ResponseAgentProvider (line 22) | public abstract class ResponseAgentProvider method CreateConversationAsync (line 72) | public abstract Task CreateConversationAsync(CancellationToken... method CreateMessageAsync (line 80) | public abstract Task CreateMessageAsync(string conversati... method GetMessageAsync (line 89) | public abstract Task GetMessageAsync(string conversationI... method InvokeAgentAsync (line 101) | public abstract IAsyncEnumerable InvokeAgentAsync( method GetMessagesAsync (line 119) | public abstract IAsyncEnumerable GetMessagesAsync( method ConvertDictionaryToJson (line 132) | protected static JsonNode ConvertDictionaryToJson(IDictionary AnalyzeClassProtocolAt... method CombineOutputOnlyResults (line 265) | public static AnalysisResult CombineOutputOnlyResults(IEnumerable YieldTypes, ImmutableE... method ExtractTypeArray (line 612) | private static ImmutableArray ExtractTypeArray(TypedConstant t... method GetClassLevelTypes (line 646) | private static ImmutableEquatableArray GetClassLevelTypes(INam... method GetContainingTypeChain (line 672) | private static string GetContainingTypeChain(INamedTypeSymbol classSym... method GetGenericParameters (line 689) | private static string? GetGenericParameters(INamedTypeSymbol classSymbol) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Diagnostics/DiagnosticDescriptors.cs class DiagnosticDescriptors (line 11) | internal static class DiagnosticDescriptors method GetById (line 20) | public static DiagnosticDescriptor? GetById(string id) method Register (line 25) | private static DiagnosticDescriptor Register(DiagnosticDescriptor desc... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/ExecutorRouteGenerator.cs class ExecutorRouteGenerator (line 21) | [Generator] method Initialize (line 29) | public void Initialize(IncrementalGeneratorInitializationContext context) method CombineAllResults (line 94) | private static IEnumerable CombineAllResults( method GetHintName (line 131) | private static string GetHintName(ExecutorInfo info) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Generation/SourceBuilder.cs class SourceBuilder (line 18) | internal static class SourceBuilder method Generate (line 27) | public static string Generate(ExecutorInfo info) method GenerateConfigureRoutes (line 131) | private static void GenerateConfigureRoutes(StringBuilder sb, Executor... method AppendHandlerGenericArgs (line 177) | private static void AppendHandlerGenericArgs(StringBuilder sb, Handler... method GenerateConfigureSentTypes (line 197) | private static void GenerateConfigureSentTypes(StringBuilder sb, Execu... method GenerateConfigureYieldTypes (line 226) | private static void GenerateConfigureYieldTypes(StringBuilder sb, Exec... FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Models/AnalysisResult.cs class AnalysisResult (line 16) | internal sealed class AnalysisResult(ExecutorInfo? executorInfo, Immutab... method Success (line 31) | public static AnalysisResult Success(ExecutorInfo info) => method WithDiagnostics (line 37) | public static AnalysisResult WithDiagnostics(ImmutableArray(ImmutableArray array) : IE... method AsImmutableArray (line 25) | public ImmutableArray AsImmutableArray() => this._array; method Equals (line 43) | public bool Equals(EquatableArray other) method Equals (line 62) | public override bool Equals(object? obj) method GetHashCode (line 68) | public override int GetHashCode() method GetEnumerator (line 85) | public IEnumerator GetEnumerator() method GetEnumerator (line 91) | IEnumerator IEnumerable.GetEnumerator() FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Models/ExecutorInfo.cs type ExecutorInfo (line 18) | internal sealed record ExecutorInfo( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Models/HandlerInfo.cs type HandlerSignatureKind (line 8) | internal enum HandlerSignatureKind type HandlerInfo (line 34) | internal sealed record HandlerInfo( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Models/ImmutableEquatableArray.cs class ImmutableEquatableArray (line 14) | internal sealed class ImmutableEquatableArray : IEquatable values) => this._values ... method Equals (line 51) | public bool Equals(ImmutableEquatableArray? other) => other != null... method Equals (line 54) | public override bool Equals(object? obj) method GetHashCode (line 58) | public override int GetHashCode() method GetEnumerator (line 70) | public Enumerator GetEnumerator() => new(this._values); method GetEnumerator (line 72) | IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)this... method GetEnumerator (line 74) | IEnumerator IEnumerable.GetEnumerator() => this._values.GetEnumerator(); type Enumerator (line 77) | public struct Enumerator method Enumerator (line 82) | internal Enumerator(T[] values) method MoveNext (line 89) | public bool MoveNext() method ToImmutableEquatableArray (line 111) | public static ImmutableEquatableArray ToImmutableEquatableArray(... class ImmutableEquatableArray (line 109) | internal static class ImmutableEquatableArray method ImmutableEquatableArray (line 48) | public ImmutableEquatableArray(IEnumerable values) => this._values ... method Equals (line 51) | public bool Equals(ImmutableEquatableArray? other) => other != null... method Equals (line 54) | public override bool Equals(object? obj) method GetHashCode (line 58) | public override int GetHashCode() method GetEnumerator (line 70) | public Enumerator GetEnumerator() => new(this._values); method GetEnumerator (line 72) | IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)this... method GetEnumerator (line 74) | IEnumerator IEnumerable.GetEnumerator() => this._values.GetEnumerator(); type Enumerator (line 77) | public struct Enumerator method Enumerator (line 82) | internal Enumerator(T[] values) method MoveNext (line 89) | public bool MoveNext() method ToImmutableEquatableArray (line 111) | public static ImmutableEquatableArray ToImmutableEquatableArray(... class HashHelpers (line 116) | internal static class HashHelpers method Combine (line 118) | public static int Combine(int h1, int h2) FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Models/MethodAnalysisResult.cs type MethodAnalysisResult (line 15) | internal sealed record MethodAnalysisResult( FILE: dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Models/ProtocolAttributeKind.cs type ProtocolAttributeKind (line 8) | internal enum ProtocolAttributeKind FILE: dotnet/src/Microsoft.Agents.AI.Workflows/AIAgentBinding.cs type AIAgentBinding (line 14) | public record AIAgentBinding(AIAgent Agent, AIAgentHostOptions? Options ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/AIAgentExtensions.cs class AIAgentExtensions (line 7) | internal static partial class AIAgentExtensions method GetDescriptiveId (line 13) | public static string GetDescriptiveId(this AIAgent agent) method InvalidNameCharsRegex (line 23) | [GeneratedRegex("[^0-9A-Za-z]+")] method InvalidNameCharsRegex (line 26) | private static Regex InvalidNameCharsRegex() => s_invalidNameCharsRegex; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/AIAgentHostOptions.cs class AIAgentHostOptions (line 10) | public sealed class AIAgentHostOptions FILE: dotnet/src/Microsoft.Agents.AI.Workflows/AIAgentIDEqualityComparer.cs class AIAgentIDEqualityComparer (line 8) | internal sealed class AIAgentIDEqualityComparer : IEqualityComparer x?.Id == y?.Id; method GetHashCode (line 12) | public int GetHashCode([DisallowNull] AIAgent obj) => obj?.GetHashCode... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/AIAgentsAbstractionsExtensions.cs class AIAgentsAbstractionsExtensions (line 10) | internal static class AIAgentsAbstractionsExtensions method ToChatMessage (line 12) | public static ChatMessage ToChatMessage(this AgentResponseUpdate updat... method ChatAssistantToUserIfNotFromNamed (line 23) | public static ChatMessage ChatAssistantToUserIfNotFromNamed(this ChatM... method ChatAssistantToUserIfNotFromNamed (line 26) | private static ChatMessage ChatAssistantToUserIfNotFromNamed(this Chat... method ChangeAssistantToUserForOtherParticipants (line 51) | public static List? ChangeAssistantToUserForOtherParticip... method ResetUserToAssistantForChangedRoles (line 70) | public static void ResetUserToAssistantForChangedRoles(this List age... method BuildSequential (line 32) | public static Workflow BuildSequential(string workflowName, params IEn... method BuildSequentialCore (line 35) | private static Workflow BuildSequentialCore(string? workflowName, para... method BuildConcurrent (line 79) | public static Workflow BuildConcurrent( method BuildConcurrent (line 96) | public static Workflow BuildConcurrent( method BuildConcurrentCore (line 102) | private static Workflow BuildConcurrentCore( method CreateHandoffBuilderWith (line 157) | public static HandoffsWorkflowBuilder CreateHandoffBuilderWith(AIAgent... method CreateGroupChatBuilderWith (line 175) | public static GroupChatWorkflowBuilder CreateGroupChatBuilderWith(Func... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/AggregatingExecutor.cs class AggregatingExecutor (line 24) | public class AggregatingExecutor(string id, method HandleAsync (line 32) | public override async ValueTask HandleAsync(TInput messag... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Attributes/MessageHandlerAttribute.cs class MessageHandlerAttribute (line 48) | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherite... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Attributes/SendsMessageAttribute.cs class SendsMessageAttribute (line 32) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowM... method SendsMessageAttribute (line 45) | public SendsMessageAttribute(Type type) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Attributes/YieldsMessageAttribute.cs class YieldsMessageAttribute (line 32) | [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited ... method YieldsMessageAttribute (line 45) | public YieldsMessageAttribute(Type type) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Attributes/YieldsOutputAttribute.cs class YieldsOutputAttribute (line 32) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowM... method YieldsOutputAttribute (line 45) | public YieldsOutputAttribute(Type type) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ChatForwardingExecutor.cs class ChatForwardingExecutorOptions (line 14) | public class ChatForwardingExecutorOptions class ChatForwardingExecutor (line 32) | public sealed class ChatForwardingExecutor(string id, ChatForwardingExec... method ConfigureProtocol (line 37) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method ForwardMessageAsync (line 62) | private static ValueTask ForwardMessageAsync(ChatMessage message, IWor... method ForwardTurnTokenAsync (line 67) | private static ValueTask ForwardTurnTokenAsync(TurnToken message, IWor... method ForwardMessagesAsync (line 73) | private static ValueTask ForwardMessagesAsync(IEnumerable... method ForwardMessagesAsync (line 76) | private static ValueTask ForwardMessagesAsync(ChatMessage[] messages, ... method ResetAsync (line 80) | public ValueTask ResetAsync() => default; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ChatProtocol.cs class ChatProtocolExtensions (line 17) | public static class ChatProtocolExtensions method IsChatProtocol (line 27) | public static bool IsChatProtocol(this ProtocolDescriptor descriptor, ... method ThrowIfNotChatProtocol (line 62) | public static void ThrowIfNotChatProtocol(this ProtocolDescriptor desc... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ChatProtocolExecutor.cs class ChatProtocolExecutorOptions (line 15) | public class ChatProtocolExecutorOptions class ChatProtocolExecutor (line 34) | public abstract class ChatProtocolExecutor : StatefulExecutor messages... method TakeTurnAsync (line 137) | public ValueTask TakeTurnAsync(TurnToken token, IWorkflowContext conte... method ProcessTurnMessagesAsync (line 168) | protected ValueTask ProcessTurnMessagesAsync(Func, I... method TakeTurnAsync (line 187) | protected abstract ValueTask TakeTurnAsync(List messages,... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointInfo.cs class CheckpointInfo (line 12) | public sealed class CheckpointInfo : IEquatable method CheckpointInfo (line 27) | internal CheckpointInfo(string sessionId) : this(sessionId, Guid.NewGu... method CheckpointInfo (line 34) | [JsonConstructor] method Equals (line 42) | public bool Equals(CheckpointInfo? other) => method Equals (line 48) | public override bool Equals(object? obj) => this.Equals(obj as Checkpo... method GetHashCode (line 51) | public override int GetHashCode() => HashCode.Combine(this.SessionId, ... method ToString (line 54) | public override string ToString() => $"CheckpointInfo(SessionId: {this... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointManager.cs class CheckpointManager (line 13) | public sealed class CheckpointManager : ICheckpointManager method CreateImpl (line 17) | private static CheckpointManagerImpl CreateImpl new(new InMemoryCh... method CreateJson (line 47) | public static CheckpointManager CreateJson(ICheckpointStore ICheckpointManager.CommitCheckpointAsync(str... method LookupCheckpointAsync (line 56) | ValueTask ICheckpointManager.LookupCheckpointAsync(string ... method RetrieveIndexAsync (line 59) | ValueTask> ICheckpointManager.RetrieveInde... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointableRunBase.cs class CheckpointableRunBase (line 13) | public abstract class CheckpointableRunBase method CheckpointableRunBase (line 18) | internal CheckpointableRunBase(ICheckpointingHandle checkpointingHandle) method RestoreCheckpointAsync (line 47) | public ValueTask RestoreCheckpointAsync(CheckpointInfo checkpointInfo,... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/Checkpoint.cs class Checkpoint (line 10) | internal sealed class Checkpoint method Checkpoint (line 12) | [JsonConstructor] FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/CheckpointInfoConverter.cs class CheckpointInfoConverter (line 13) | internal sealed partial class CheckpointInfoConverter() : JsonConverterD... method CheckpointInfoPropertyNameRegex (line 20) | [GeneratedRegex(CheckpointInfoPropertyNamePattern, RegexOptions.Cultur... method CheckpointInfoPropertyNameRegex (line 23) | public static Regex CheckpointInfoPropertyNameRegex() => s_scopeKeyPro... method Parse (line 28) | protected override CheckpointInfo Parse(string propertyName) method Stringify (line 42) | protected override string Stringify([DisallowNull] CheckpointInfo value) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/CheckpointManagerImpl.cs class CheckpointManagerImpl (line 8) | internal sealed class CheckpointManagerImpl : ICheckpointM... method CheckpointManagerImpl (line 13) | public CheckpointManagerImpl(IWireMarshaller marshaller,... method CommitCheckpointAsync (line 19) | public ValueTask CommitCheckpointAsync(string sessionI... method LookupCheckpointAsync (line 26) | public async ValueTask LookupCheckpointAsync(string sessio... method RetrieveIndexAsync (line 32) | public ValueTask> RetrieveIndexAsync(strin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/DirectEdgeInfo.cs class DirectEdgeInfo (line 11) | public sealed class DirectEdgeInfo : EdgeInfo method DirectEdgeInfo (line 13) | internal DirectEdgeInfo(DirectEdgeData data) : this(data.Condition is ... method DirectEdgeInfo (line 15) | [JsonConstructor] method IsMatchInternal (line 26) | internal override bool IsMatchInternal(EdgeData edgeData) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/EdgeIdConverter.cs class EdgeIdConverter (line 12) | internal sealed class EdgeIdConverter : JsonConverterDictionarySupportBa... method Parse (line 16) | protected override EdgeId Parse(string propertyName) method Stringify (line 26) | protected override string Stringify([DisallowNull] EdgeId value) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/EdgeInfo.cs class EdgeInfo (line 12) | [JsonPolymorphic(UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHand... method EdgeInfo (line 28) | [JsonConstructor] method IsMatch (line 35) | internal bool IsMatch(Edge edge) method IsMatchInternal (line 42) | internal virtual bool IsMatchInternal(EdgeData edgeData) => true; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/ExecutorIdentityConverter.cs class ExecutorIdentityConverter (line 12) | internal sealed class ExecutorIdentityConverter() : JsonConverterDiction... method Parse (line 17) | protected override ExecutorIdentity Parse(string propertyName) method Stringify (line 32) | protected override string Stringify(ExecutorIdentity value) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/ExecutorInfo.cs type ExecutorInfo (line 5) | internal sealed record class ExecutorInfo(TypeId ExecutorType, string Ex... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/FanInEdgeInfo.cs class FanInEdgeInfo (line 11) | public sealed class FanInEdgeInfo : EdgeInfo method FanInEdgeInfo (line 13) | internal FanInEdgeInfo(FanInEdgeData data) : base(EdgeKind.FanIn, data... method FanInEdgeInfo (line 17) | [JsonConstructor] FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/FanOutEdgeInfo.cs class FanOutEdgeInfo (line 11) | public sealed class FanOutEdgeInfo : EdgeInfo method FanOutEdgeInfo (line 13) | internal FanOutEdgeInfo(FanOutEdgeData data) : this(data.EdgeAssigner ... method FanOutEdgeInfo (line 15) | [JsonConstructor] method IsMatchInternal (line 26) | internal override bool IsMatchInternal(EdgeData edgeData) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/FileSystemJsonCheckpointStore.cs class FileSystemJsonCheckpointStore (line 22) | public sealed class FileSystemJsonCheckpointStore : JsonCheckpointStore,... method FileSystemJsonCheckpointStore (line 37) | public FileSystemJsonCheckpointStore(DirectoryInfo directory) method Dispose (line 80) | public void Dispose() method CheckDisposed (line 86) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Maintainability", "C... method GetFileNameForCheckpoint (line 96) | private string GetFileNameForCheckpoint(string sessionId, CheckpointIn... method GetUnusedCheckpointInfo (line 99) | private CheckpointInfo GetUnusedCheckpointInfo(string sessionId) method CreateCheckpointAsync (line 111) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA183... method RetrieveCheckpointAsync (line 148) | public override async ValueTask RetrieveCheckpointAsync(s... method RetrieveIndexAsync (line 166) | public override ValueTask> RetrieveIndexAs... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/ICheckpointManager.cs type ICheckpointManager (line 11) | internal interface ICheckpointManager method CommitCheckpointAsync (line 19) | ValueTask CommitCheckpointAsync(string sessionId, Chec... method LookupCheckpointAsync (line 29) | ValueTask LookupCheckpointAsync(string sessionId, Checkpoi... method RetrieveIndexAsync (line 41) | ValueTask> RetrieveIndexAsync(string sessi... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/ICheckpointStore.cs type ICheckpointStore (line 12) | public interface ICheckpointStore method RetrieveIndexAsync (line 24) | ValueTask> RetrieveIndexAsync(string sessi... method CreateCheckpointAsync (line 36) | ValueTask CreateCheckpointAsync(string sessionId, TSto... method RetrieveCheckpointAsync (line 45) | ValueTask RetrieveCheckpointAsync(string sessionId, Chec... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/ICheckpointingHandle.cs type ICheckpointingHandle (line 9) | internal interface ICheckpointingHandle method RestoreCheckpointAsync (line 27) | ValueTask RestoreCheckpointAsync(CheckpointInfo checkpointInfo, Cancel... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/IDelayedDeserialization.cs type IDelayedDeserialization (line 12) | internal interface IDelayedDeserialization method Deserialize (line 19) | TValue Deserialize(); method Deserialize (line 26) | object? Deserialize(Type targetType); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/IWireMarshaller.cs type IWireMarshaller (line 11) | public interface IWireMarshaller method Marshal (line 19) | TWireContainer Marshal(object value, Type type); method Marshal (line 27) | TWireContainer Marshal(TValue value); method Marshal (line 35) | TValue Marshal(TWireContainer data); method Marshal (line 43) | object Marshal(Type targetType, TWireContainer data); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/InMemoryCheckpointManager.cs class InMemoryCheckpointManager (line 13) | internal sealed class InMemoryCheckpointManager : ICheckpointManager method InMemoryCheckpointManager (line 18) | public InMemoryCheckpointManager() { } method InMemoryCheckpointManager (line 20) | [JsonConstructor] method GetSessionStore (line 26) | private SessionCheckpointCache GetSessionStore(string sess... method CommitCheckpointAsync (line 36) | public ValueTask CommitCheckpointAsync(string sessionI... method LookupCheckpointAsync (line 49) | public ValueTask LookupCheckpointAsync(string sessionId, C... method HasCheckpoints (line 59) | internal bool HasCheckpoints(string sessionId) => this.GetSessionStore... method TryGetLastCheckpoint (line 61) | public bool TryGetLastCheckpoint(string sessionId, [NotNullWhen(true)]... method RetrieveIndexAsync (line 64) | public ValueTask> RetrieveIndexAsync(strin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/JsonCheckpointStore.cs class JsonCheckpointStore (line 13) | public abstract class JsonCheckpointStore : ICheckpointStore method CreateCheckpointAsync (line 21) | public abstract ValueTask CreateCheckpointAsync(string... method RetrieveCheckpointAsync (line 24) | public abstract ValueTask RetrieveCheckpointAsync(string ... method RetrieveIndexAsync (line 27) | public abstract ValueTask> RetrieveIndexAs... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/JsonConverterBase.cs class JsonConverterBase (line 14) | internal abstract class JsonConverterBase : JsonConverter method Read (line 18) | public override T? Read(ref Utf8JsonReader reader, Type typeToConvert,... method Write (line 26) | public override void Write(Utf8JsonWriter writer, T value, JsonSeriali... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/JsonConverterDictionarySupportBase.cs class JsonConverterDictionarySupportBase (line 17) | internal abstract class JsonConverterDictionarySupportBase : JsonConv... method Stringify (line 19) | protected abstract string Stringify([DisallowNull] T value); method Parse (line 20) | protected abstract T Parse(string propertyName); method Escape (line 22) | [return: NotNull] method Unescape (line 46) | protected static string? Unescape([DisallowNull] string value, char es... method ReadAsPropertyName (line 73) | public override T ReadAsPropertyName(ref Utf8JsonReader reader, Type t... method WriteAsPropertyName (line 83) | public override void WriteAsPropertyName(Utf8JsonWriter writer, [Disal... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/JsonMarshaller.cs class JsonMarshaller (line 9) | internal sealed class JsonMarshaller : IWireMarshaller method JsonMarshaller (line 14) | public JsonMarshaller(JsonSerializerOptions? serializerOptions = null) method LookupTypeInfo (line 32) | private JsonTypeInfo LookupTypeInfo(Type type) method Marshal (line 46) | public JsonElement Marshal(object value, Type type) method Marshal (line 49) | public JsonElement Marshal(TValue value) method Marshal (line 52) | public TValue Marshal(JsonElement data) method Marshal (line 65) | public object Marshal(Type targetType, JsonElement data) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/JsonWireSerializedValue.cs class JsonWireSerializedValue (line 16) | internal sealed class JsonWireSerializedValue(JsonMarshaller serializer,... method Deserialize (line 20) | public TValue Deserialize() => serializer.Marshal(data); method Deserialize (line 22) | public object? Deserialize(Type targetType) => serializer.Marshal(targ... method Equals (line 24) | public override bool Equals(object? obj) method GetHashCode (line 59) | public override int GetHashCode() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/PortableMessageEnvelope.cs class PortableMessageEnvelope (line 8) | internal sealed class PortableMessageEnvelope method PortableMessageEnvelope (line 15) | [JsonConstructor] method PortableMessageEnvelope (line 24) | public PortableMessageEnvelope(MessageEnvelope envelope) method ToMessageEnvelope (line 32) | public MessageEnvelope ToMessageEnvelope() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/PortableValueConverter.cs class PortableValueConverter (line 20) | internal sealed class PortableValueConverter(JsonMarshaller marshaller) ... method Read (line 22) | public override PortableValue? Read(ref Utf8JsonReader reader, Type ty... method Write (line 47) | public override void Write(Utf8JsonWriter writer, PortableValue value,... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/RepresentationExtensions.cs class RepresentationExtensions (line 10) | internal static class RepresentationExtensions method ToExecutorInfo (line 12) | public static ExecutorInfo ToExecutorInfo(this ExecutorBinding binding) method ToEdgeInfo (line 18) | public static EdgeInfo ToEdgeInfo(this Edge edge) method ToPortInfo (line 30) | public static RequestPortInfo ToPortInfo(this RequestPort port) method ToWorkflowInfo (line 36) | public static WorkflowInfo ToWorkflowInfo(this Workflow workflow) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/RequestPortInfo.cs type RequestPortInfo (line 11) | public record class RequestPortInfo(TypeId RequestType, TypeId ResponseT... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/ScopeKeyConverter.cs class ScopeKeyConverter (line 13) | internal sealed partial class ScopeKeyConverter : JsonConverterDictionar... method ScopeKeyPropertyNameRegex (line 19) | [GeneratedRegex(ScopeKeyPropertyNamePattern, RegexOptions.CultureInvar... method ScopeKeyPropertyNameRegex (line 22) | public static Regex ScopeKeyPropertyNameRegex() => s_scopeKeyPropertyN... method Parse (line 27) | protected override ScopeKey Parse(string propertyName) method Stringify (line 44) | protected override string Stringify([DisallowNull] ScopeKey value) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/SessionCheckpointCache.cs class SessionCheckpointCache (line 9) | internal sealed class SessionCheckpointCache method SessionCheckpointCache (line 17) | public SessionCheckpointCache() { } method SessionCheckpointCache (line 19) | [JsonConstructor] method IsInIndex (line 29) | public bool IsInIndex(CheckpointInfo key) => this.Cache.ContainsKey(key); method TryGet (line 30) | public bool TryGet(CheckpointInfo key, [MaybeNullWhen(false)] out TSto... method Add (line 32) | public CheckpointInfo Add(string sessionId, TStoreObject value) method Add (line 44) | public bool Add(CheckpointInfo key, TStoreObject value) method TryGetLastCheckpointInfo (line 58) | public bool TryGetLastCheckpointInfo([NotNullWhen(true)] out Checkpoin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/TypeId.cs class TypeId (line 12) | public sealed class TypeId : IEquatable method TypeId (line 25) | [JsonConstructor] method TypeId (line 36) | public TypeId(Type type) method Equals (line 45) | public override bool Equals(object? obj) method Equals (line 49) | public bool Equals(TypeId? other) method GetHashCode (line 65) | public override int GetHashCode() => HashCode.Combine(this.AssemblyNam... method IsMatch (line 79) | public bool IsMatch(Type type) method IsMatch (line 90) | public bool IsMatch() => this.IsMatch(typeof(T)); method IsMatchPolymorphic (line 97) | public bool IsMatchPolymorphic(Type type) method ToString (line 115) | public override string ToString() => $"{this.TypeName}, {this.Assembly... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Checkpointing/WorkflowInfo.cs class WorkflowInfo (line 10) | internal sealed class WorkflowInfo method WorkflowInfo (line 12) | [JsonConstructor] method IsMatch (line 37) | public bool IsMatch(Workflow workflow) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Config.cs class Config (line 9) | public class Config(string id) class Config (line 26) | public class Config(string id, TOptions? options = default) : ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ConfigurationExtensions.cs class ConfigurationExtensions (line 8) | public static class ConfigurationExtensions method Super (line 18) | public static Configured Super(this Config... method Super (line 30) | public static Configured Super FromInstance(TSubject sub... method CreateValidatingMemoizedFactory (line 127) | private Func> CreateValidatingMemo... method Memoize (line 152) | public Configured Memoize() => new(this.CreateValidatingMemo... class Configured (line 56) | public class Configured(Func FromInstance(TSubject sub... method CreateValidatingMemoizedFactory (line 127) | private Func> CreateValidatingMemo... method Memoize (line 152) | public Configured Memoize() => new(this.CreateValidatingMemo... class Configured (line 94) | public class Configured(Func, strin... method FromInstance (line 28) | public static Configured FromInstance(TSubject sub... method CreateValidatingMemoizedFactory (line 127) | private Func> CreateValidatingMemo... method Memoize (line 152) | public Configured Memoize() => new(this.CreateValidatingMemo... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ConfiguredExecutorBinding.cs type ConfiguredExecutorBinding (line 10) | internal record ConfiguredExecutorBinding(Configured Configure... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/DirectEdgeData.cs class DirectEdgeData (line 12) | public sealed class DirectEdgeData : EdgeData method DirectEdgeData (line 14) | internal DirectEdgeData(string sourceId, string sinkId, EdgeId id, Pre... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Edge.cs type EdgeKind (line 11) | public enum EdgeKind class Edge (line 36) | [DebuggerDisplay("[{Data.Id}]: {Kind}Edge({Data.Connection})")] method Edge (line 52) | internal Edge(DirectEdgeData data) method Edge (line 59) | internal Edge(FanOutEdgeData data) method Edge (line 66) | internal Edge(FanInEdgeData data) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/EdgeData.cs class EdgeData (line 10) | public abstract class EdgeData method EdgeData (line 17) | internal EdgeData(EdgeId id, string? label = null) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/EdgeId.cs type EdgeId (line 11) | public readonly struct EdgeId : IEquatable method EdgeId (line 13) | [JsonConstructor] method Equals (line 22) | public override bool Equals(object? obj) method Equals (line 43) | public bool Equals(EdgeId other) method GetHashCode (line 49) | public override int GetHashCode() method ToString (line 61) | public override string ToString() => this.EdgeIndex.ToString(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/AsyncRunHandle.cs class AsyncRunHandle (line 14) | internal sealed class AsyncRunHandle : ICheckpointingHandle, IAsyncDispo... method AsyncRunHandle (line 24) | internal AsyncRunHandle(ISuperStepRunner stepRunner, ICheckpointingHan... method GetStatusAsync (line 53) | public ValueTask GetStatusAsync(CancellationToken cancellat... method TakeEventStreamAsync (line 56) | public async IAsyncEnumerable TakeEventStreamAsync(bool... method IsValidInputTypeAsync (line 92) | public ValueTask IsValidInputTypeAsync(CancellationToken canc... method EnqueueMessageAsync (line 95) | public async ValueTask EnqueueMessageAsync(T message, Cancell... method EnqueueMessageUntypedAsync (line 115) | public async ValueTask EnqueueMessageUntypedAsync([NotNull] obje... method EnqueueResponseAsync (line 148) | public async ValueTask EnqueueResponseAsync(ExternalResponse response,... method SignalInputToRunLoop (line 156) | private void SignalInputToRunLoop() method CancelRunAsync (line 161) | public async ValueTask CancelRunAsync() method DisposeAsync (line 168) | public async ValueTask DisposeAsync() method RestoreCheckpointAsync (line 183) | public async ValueTask RestoreCheckpointAsync(CheckpointInfo checkpoin... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/AsyncRunHandleExtensions.cs class AsyncRunHandleExtensions (line 8) | internal static class AsyncRunHandleExtensions method EnqueueAndStreamAsync (line 10) | public static async ValueTask EnqueueAndStreamAsync EnqueueUntypedAndStreamAsy... method EnqueueAndRunAsync (line 22) | public static async ValueTask EnqueueAndRunAsync(this Asy... method EnqueueUntypedAndRunAsync (line 31) | public static async ValueTask EnqueueUntypedAndRunAsync(this Asyn... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/CallResult.cs class CallResult (line 12) | internal sealed class CallResult method CallResult (line 41) | private CallResult(bool isVoid = false, bool isCancelled = false) method ReturnResult (line 53) | public static CallResult ReturnResult(object? result = null) => new() ... method ReturnVoid (line 59) | public static CallResult ReturnVoid() => new(isVoid: true); method Cancelled (line 67) | public static CallResult Cancelled(bool wasVoid) => new(wasVoid, isCan... method RaisedException (line 77) | public static CallResult RaisedException(bool wasVoid, Exception excep... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/ConcurrentEventSink.cs type IEventSink (line 9) | internal interface IEventSink method EnqueueAsync (line 11) | ValueTask EnqueueAsync(WorkflowEvent workflowEvent); class ConcurrentEventSink (line 14) | internal class ConcurrentEventSink : IEventSink method EnqueueAsync (line 16) | public ValueTask EnqueueAsync(WorkflowEvent workflowEvent) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/DeliveryMapping.cs class DeliveryMapping (line 10) | internal sealed class DeliveryMapping method DeliveryMapping (line 15) | public DeliveryMapping(IEnumerable envelopes, IEnumer... method DeliveryMapping (line 21) | public DeliveryMapping(MessageEnvelope envelope, Executor target) : th... method DeliveryMapping (line 22) | public DeliveryMapping(MessageEnvelope envelope, IEnumerable... method DeliveryMapping (line 23) | public DeliveryMapping(IEnumerable envelopes, Executo... method MapInto (line 29) | public void MapInto(StepContext nextStep) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/DirectEdgeRunner.cs class DirectEdgeRunner (line 10) | internal sealed class DirectEdgeRunner(IRunnerContext runContext, Direct... method ChaseEdgeAsync (line 13) | protected internal override async ValueTask ChaseEdg... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/EdgeConnection.cs class EdgeConnection (line 18) | public sealed class EdgeConnection : IEquatable method EdgeConnection (line 25) | public EdgeConnection(List sourceIds, List sinkIds) method CreateChecked (line 42) | public static EdgeConnection CreateChecked(List sourceIds, Lis... method Equals (line 61) | public bool Equals(EdgeConnection? other) method Equals (line 78) | public override bool Equals(object? obj) method GetHashCode (line 84) | public override int GetHashCode() method ToString (line 119) | public override string ToString() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/EdgeMap.cs class EdgeMap (line 13) | internal sealed class EdgeMap method EdgeMap (line 22) | public EdgeMap(IRunnerContext runContext, method EdgeMap (line 32) | public EdgeMap(IRunnerContext runContext, method PrepareDeliveryForEdgeAsync (line 69) | public ValueTask PrepareDeliveryForEdgeAsync(Edge ed... method TryRegisterPort (line 80) | public bool TryRegisterPort(IRunnerContext runContext, string executor... method PrepareDeliveryForInputAsync (line 83) | public ValueTask PrepareDeliveryForInputAsync(Messag... method PrepareDeliveryForResponseAsync (line 88) | public ValueTask PrepareDeliveryForResponseAsync(Ext... method ExportStateAsync (line 98) | internal async ValueTask> ExportStat... method ImportStateAsync (line 110) | internal async ValueTask ImportStateAsync(Checkpoint checkpoint) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/EdgeRunner.cs type IStatefulEdgeRunner (line 11) | internal interface IStatefulEdgeRunner method ExportStateAsync (line 13) | ValueTask ExportStateAsync(); method ImportStateAsync (line 14) | ValueTask ImportStateAsync(PortableValue state); class EdgeRunner (line 17) | internal abstract class EdgeRunner method ChaseEdgeAsync (line 19) | protected internal abstract ValueTask ChaseEdgeAsync... method FindSourceProtocolAsync (line 28) | protected async ValueTask FindSourceProtocolAsync(st... method GetMessageRuntimeTypeAsync (line 36) | protected async ValueTask GetMessageRuntimeTypeAsync(MessageEnv... method CanHandle (line 53) | protected static bool CanHandle(Executor target, Type? runtimeType) method CanHandleAsync (line 61) | protected async ValueTask CanHandleAsync(string candidateTargetI... method StartActivity (line 69) | protected Activity? StartActivity() => this.RunContext.TelemetryContex... class EdgeRunner (line 22) | internal abstract class EdgeRunner( method ChaseEdgeAsync (line 19) | protected internal abstract ValueTask ChaseEdgeAsync... method FindSourceProtocolAsync (line 28) | protected async ValueTask FindSourceProtocolAsync(st... method GetMessageRuntimeTypeAsync (line 36) | protected async ValueTask GetMessageRuntimeTypeAsync(MessageEnv... method CanHandle (line 53) | protected static bool CanHandle(Executor target, Type? runtimeType) method CanHandleAsync (line 61) | protected async ValueTask CanHandleAsync(string candidateTargetI... method StartActivity (line 69) | protected Activity? StartActivity() => this.RunContext.TelemetryContex... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/ExecutionMode.cs type ExecutionMode (line 5) | internal enum ExecutionMode FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/ExecutorIdentity.cs type ExecutorIdentity (line 8) | internal readonly struct ExecutorIdentity : IEquatable method Equals (line 14) | public bool Equals(ExecutorIdentity other) => method Equals (line 19) | public override bool Equals([NotNullWhen(true)] object? obj) method GetHashCode (line 44) | public override int GetHashCode() => this.Id is null ? 0 : StringCompa... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/FanInEdgeRunner.cs class FanInEdgeRunner (line 13) | internal sealed class FanInEdgeRunner(IRunnerContext runContext, FanInEd... method ChaseEdgeAsync (line 19) | protected internal override async ValueTask ChaseEdg... method ExportStateAsync (line 98) | public ValueTask ExportStateAsync() method ImportStateAsync (line 103) | public ValueTask ImportStateAsync(PortableValue state) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/FanInEdgeState.cs class FanInEdgeState (line 10) | internal sealed class FanInEdgeState method FanInEdgeState (line 14) | public FanInEdgeState(FanInEdgeData fanInEdge) method FanInEdgeState (line 26) | [JsonConstructor] method ProcessMessage (line 35) | public IEnumerable>? Proc... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/FanOutEdgeRunner.cs class FanOutEdgeRunner (line 12) | internal sealed class FanOutEdgeRunner(IRunnerContext runContext, FanOut... method ChaseEdgeAsync (line 15) | protected internal override async ValueTask ChaseEdg... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/IExternalRequestSink.cs type IExternalRequestSink (line 7) | internal interface IExternalRequestSink method PostAsync (line 9) | ValueTask PostAsync(ExternalRequest request); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/IRunEventStream.cs type IRunEventStream (line 10) | internal interface IRunEventStream : IAsyncDisposable method Start (line 12) | void Start(); method SignalInput (line 13) | void SignalInput(); method StopAsync (line 16) | ValueTask StopAsync(); method GetStatusAsync (line 18) | ValueTask GetStatusAsync(CancellationToken cancellationToke... method TakeEventStreamAsync (line 20) | IAsyncEnumerable TakeEventStreamAsync(bool blockOnPendi... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/IRunnerContext.cs type IRunnerContext (line 10) | internal interface IRunnerContext : IExternalRequestSink, ISuperStepJoin... method AddEventAsync (line 14) | ValueTask AddEventAsync(WorkflowEvent workflowEvent, CancellationToken... method SendMessageAsync (line 15) | ValueTask SendMessageAsync(string sourceId, object message, string? ta... method AdvanceAsync (line 17) | ValueTask AdvanceAsync(CancellationToken cancellationToke... method BindWorkflowContext (line 18) | IWorkflowContext BindWorkflowContext(string executorId, Dictionary EnsureExecutorAsync(string executorId, IStepTracer... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/IStepTracer.cs type IStepTracer (line 5) | internal interface IStepTracer method TraceActivated (line 7) | void TraceActivated(string executorId); method TraceCheckpointCreated (line 8) | void TraceCheckpointCreated(CheckpointInfo checkpoint); method TraceIntantiated (line 9) | void TraceIntantiated(string executorId); method TraceStatePublished (line 10) | void TraceStatePublished(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/ISuperStepJoinContext.cs type ISuperStepJoinContext (line 9) | internal interface ISuperStepJoinContext method ForwardWorkflowEventAsync (line 14) | ValueTask ForwardWorkflowEventAsync(WorkflowEvent workflowEvent, Cance... method SendMessageAsync (line 15) | ValueTask SendMessageAsync(string senderId, [DisallowNull] T... method YieldOutputAsync (line 16) | ValueTask YieldOutputAsync(string senderId, [DisallowNull] TO... method AttachSuperstepAsync (line 18) | ValueTask AttachSuperstepAsync(ISuperStepRunner superStepRunne... method DetachSuperstepAsync (line 19) | ValueTask DetachSuperstepAsync(string id); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/ISuperStepRunner.cs type ISuperStepRunner (line 10) | internal interface ISuperStepRunner method EnqueueResponseAsync (line 21) | ValueTask EnqueueResponseAsync(ExternalResponse response, Cancellation... method IsValidInputTypeAsync (line 23) | ValueTask IsValidInputTypeAsync(CancellationToken cancellatio... method EnqueueMessageAsync (line 24) | ValueTask EnqueueMessageAsync(T message, CancellationToken ca... method EnqueueMessageUntypedAsync (line 25) | ValueTask EnqueueMessageUntypedAsync(object message, Type declar... method RunSuperStepAsync (line 29) | ValueTask RunSuperStepAsync(CancellationToken cancellationToken); method RequestEndRunAsync (line 32) | ValueTask RequestEndRunAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/InputWaiter.cs class InputWaiter (line 9) | internal sealed class InputWaiter : IDisposable method Dispose (line 13) | public void Dispose() method SignalInput (line 22) | public void SignalInput() method WaitForInputAsync (line 36) | public Task WaitForInputAsync(CancellationToken cancellationToken = de... method WaitForInputAsync (line 38) | public async Task WaitForInputAsync(TimeSpan? timeout = null, Cancella... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/LockstepRunEventStream.cs class LockstepRunEventStream (line 14) | internal sealed class LockstepRunEventStream : IRunEventStream method GetStatusAsync (line 23) | public ValueTask GetStatusAsync(CancellationToken cancellat... method LockstepRunEventStream (line 25) | public LockstepRunEventStream(ISuperStepRunner stepRunner) method Start (line 32) | public void Start() method TakeEventStreamAsync (line 46) | public async IAsyncEnumerable TakeEventStreamAsync(bool... method SignalInput (line 179) | public void SignalInput() method StopAsync (line 184) | public ValueTask StopAsync() method DisposeAsync (line 190) | public ValueTask DisposeAsync() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/MessageDelivery.cs class MessageDelivery (line 8) | internal sealed class MessageDelivery method MessageDelivery (line 10) | [JsonConstructor] method MessageDelivery (line 17) | internal MessageDelivery(MessageEnvelope envelope, Executor target) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/MessageEnvelope.cs class MessageEnvelope (line 10) | internal sealed class MessageEnvelope( method MessageEnvelope (line 29) | internal MessageEnvelope( FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/MessageRouter.cs class MessageRouter (line 30) | internal sealed class MessageRouter type TypeHandlingInfo (line 38) | private record TypeHandlingInfo(Type RuntimeType, MessageHandlerF Hand... method MessageRouter (line 53) | internal MessageRouter(Dictionary handlers, Has... method CanHandle (line 80) | public bool CanHandle(object message) => this.CanHandle(Throw.IfNull(m... method CanHandle (line 81) | public bool CanHandle(Type candidateType) => this.HasCatchAll || this.... method FindHandler (line 85) | private MessageHandlerF? FindHandler(Type messageType) method RouteMessageAsync (line 118) | public async ValueTask RouteMessageAsync(object message, ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/NonThrowingChannelReaderAsyncEnumerable.cs class NonThrowingChannelReaderAsyncEnumerable (line 15) | internal sealed class NonThrowingChannelReaderAsyncEnumerable(Channel... class Enumerator (line 17) | private class Enumerator(ChannelReader reader, CancellationToken ca... method DisposeAsync (line 21) | public ValueTask DisposeAsync() method MoveNextAsync (line 31) | public async ValueTask MoveNextAsync() method GetAsyncEnumerator (line 58) | public IAsyncEnumerator GetAsyncEnumerator(CancellationToken cancel... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/OutputFilter.cs class OutputFilter (line 5) | internal sealed class OutputFilter(Workflow workflow) method CanOutput (line 7) | public bool CanOutput(string sourceExecutorId, object output) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/ResponseEdgeRunner.cs class ResponseEdgeRunner (line 12) | internal sealed class ResponseEdgeRunner(IRunnerContext runContext, stri... method ForPort (line 15) | public static ResponseEdgeRunner ForPort(IRunnerContext runContext, st... method ChaseEdgeAsync (line 25) | protected internal override async ValueTask ChaseEdg... method FindExecutorAsync (line 57) | private async ValueTask FindExecutorAsync(IStepTracer? trace... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/RunnerStateData.cs class RunnerStateData (line 8) | internal sealed class RunnerStateData(HashSet instantiatedExecut... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StateManager.cs class StateManager (line 13) | internal sealed class StateManager method GetOrCreateScope (line 18) | private StateScope GetOrCreateScope(ScopeId scopeId) method GetUpdatesForScopeStrict (line 31) | private IEnumerable GetUpdatesForScopeStrict(ScopeId scopeId) method ClearStateAsync (line 38) | public ValueTask ClearStateAsync(string executorId, string? scopeName) method ClearStateAsync (line 41) | public async ValueTask ClearStateAsync(ScopeId scopeId) method ApplyUnpublishedUpdates (line 68) | private HashSet ApplyUnpublishedUpdates(ScopeId scopeId, HashS... method ReadKeysAsync (line 88) | public ValueTask> ReadKeysAsync(string executorId, str... method ReadKeysAsync (line 91) | public async ValueTask> ReadKeysAsync(ScopeId scopeId) method ReadStateAsync (line 98) | public ValueTask ReadStateAsync(string executorId, string? scop... method ReadOrInitStateAsync (line 101) | public ValueTask ReadOrInitStateAsync(string executorId, string?... method ReadValueOrDefaultAsync (line 104) | private async ValueTask ReadValueOrDefaultAsync(ScopeId scopeId... method ReadStateAsync (line 169) | public ValueTask ReadStateAsync(ScopeId scopeId, string key) method ReadOrInitStateAsync (line 172) | public async ValueTask ReadOrInitStateAsync(ScopeId scopeId, str... method WriteStateAsync (line 178) | public ValueTask WriteStateAsync(string executorId, string? scopeNa... method WriteStateAsync (line 181) | public ValueTask WriteStateAsync(ScopeId scopeId, string key, T value) method ClearStateAsync (line 191) | public ValueTask ClearStateAsync(string executorId, string? scopeName,... method ClearStateAsync (line 194) | public ValueTask ClearStateAsync(ScopeId scopeId, string key) method PublishUpdatesAsync (line 202) | public async ValueTask PublishUpdatesAsync(IStepTracer? tracer) method ExportScope (line 236) | private static IEnumerable> Expo... method ExportStateAsync (line 244) | internal async ValueTask> ExportSt... method ImportStateAsync (line 254) | internal ValueTask ImportStateAsync(Checkpoint checkpoint) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StateScope.cs class StateScope (line 11) | internal sealed class StateScope method StateScope (line 16) | public StateScope(ScopeId scopeId) method StateScope (line 21) | public StateScope(string executor, string? scopeName = null) : this(ne... method ReadKeysAsync (line 25) | public ValueTask> ReadKeysAsync() method Contains (line 32) | public bool Contains(string key) method ContainsKey (line 43) | public bool ContainsKey(string key) method ReadStateAsync (line 49) | public ValueTask ReadStateAsync(string key) method WriteStateAsync (line 67) | public ValueTask WriteStateAsync(Dictionary>... method ExportStates (line 97) | public IEnumerable> ExportStates() method ImportState (line 107) | public void ImportState(string key, PortableValue state) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StateUpdate.cs class StateUpdate (line 7) | internal sealed class StateUpdate method StateUpdate (line 13) | private StateUpdate(string key, object? value, bool isDelete = false) method Update (line 20) | public static StateUpdate Update(string key, T? value) => new(key, ... method Delete (line 22) | public static StateUpdate Delete(string key) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StepContext.cs class StepContext (line 10) | internal sealed class StepContext method MessagesFor (line 16) | public ConcurrentQueue MessagesFor(string target) method ExportMessages (line 23) | internal Dictionary> ExportMessa... method ImportMessages (line 33) | internal void ImportMessages(Dictionary this._inputWaiter.SignalInput(); method TakeEventStreamAsync (line 203) | public async IAsyncEnumerable TakeEventStreamAsync( method GetStatusAsync (line 264) | public ValueTask GetStatusAsync(CancellationToken cancellat... method ClearBufferedEvents (line 274) | public void ClearBufferedEvents() method StopAsync (line 288) | public async ValueTask StopAsync() method DisposeAsync (line 310) | public async ValueTask DisposeAsync() class InternalHaltSignal (line 323) | private sealed class InternalHaltSignal(int epoch, RunStatus status) :... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Execution/UpdateKey.cs class UpdateKey (line 18) | internal sealed class UpdateKey(ScopeId scopeId, string key) method UpdateKey (line 23) | public UpdateKey(string executorId, string? scopeName, string key) method ToString (line 27) | public override string ToString() => $"{this.ScopeId}/{this.Key}"; method IsMatchingScope (line 29) | public bool IsMatchingScope(ScopeId scopeId, bool strict = false) => t... method Equals (line 31) | public override bool Equals(object? obj) method GetHashCode (line 43) | public override int GetHashCode() => HashCode.Combine(this.ScopeId.Exe... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Executor.cs class DelayedExternalRequestContext (line 20) | internal sealed class DelayedExternalRequestContext : IExternalRequestCo... method DelayedExternalRequestContext (line 22) | public DelayedExternalRequestContext(IExternalRequestContext? targetCo... class DelayRegisteredSink (line 27) | private sealed class DelayRegisteredSink : IExternalRequestSink method PostAsync (line 31) | public ValueTask PostAsync(ExternalRequest request) => method ApplyPortRegistrations (line 40) | public void ApplyPortRegistrations(IExternalRequestContext targetContext) method RegisterPort (line 50) | public IExternalRequestSink RegisterPort(RequestPort port) class MessageTypeTranslator (line 63) | internal sealed class MessageTypeTranslator method MessageTypeTranslator (line 85) | public MessageTypeTranslator(ISet types) method GetDeclaredType (line 100) | public TypeId? GetDeclaredType(Type messageType) method MapTypeId (line 121) | public Type? MapTypeId(TypeId candidateTypeId) => class ExecutorProtocol (line 127) | internal sealed class ExecutorProtocol(MessageRouter router, ISet ... method CanHandle (line 135) | public bool CanHandle(Type type) => router.CanHandle(type); method CanOutput (line 139) | public bool CanOutput(Type type) method CanOutputCore (line 144) | private bool CanOutputCore(Type type) method Describe (line 157) | public ProtocolDescriptor Describe() => new(this.Router.IncomingTypes,... class Executor (line 163) | [DebuggerDisplay("{GetType().Name}[{Id}]")] method Executor (line 179) | protected Executor(string id, ExecutorOptions? options = null, bool de... method ConfigureProtocol (line 216) | protected abstract ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method AttachRequestContext (line 218) | internal void AttachRequestContext(IExternalRequestContext externalReq... method InitializeAsync (line 237) | protected internal virtual ValueTask InitializeAsync(IWorkflowContext ... method ExecuteCoreAsync (line 254) | public ValueTask ExecuteCoreAsync(object message, TypeId mess... method ExecuteCoreAsync (line 257) | internal async ValueTask ExecuteCoreAsync(object message, Typ... method OnCheckpointingAsync (line 320) | protected internal virtual ValueTask OnCheckpointingAsync(IWorkflowCon... method OnCheckpointRestoredAsync (line 329) | protected internal virtual ValueTask OnCheckpointRestoredAsync(IWorkfl... method DescribeProtocol (line 345) | public ProtocolDescriptor DescribeProtocol() => this.Protocol.Describe(); method CanHandle (line 352) | public bool CanHandle(Type messageType) => this.Protocol.CanHandle(mes... method CanOutput (line 354) | internal bool CanOutput(Type messageType) => this.Protocol.CanOutput(m... method ConfigureProtocol (line 368) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 378) | public abstract ValueTask HandleAsync(TInput message, IWorkflowContext... method ConfigureProtocol (line 394) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 404) | public abstract ValueTask HandleAsync(TInput message, IWorkfl... class Executor (line 364) | public abstract class Executor(string id, ExecutorOptions? optio... method Executor (line 179) | protected Executor(string id, ExecutorOptions? options = null, bool de... method ConfigureProtocol (line 216) | protected abstract ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method AttachRequestContext (line 218) | internal void AttachRequestContext(IExternalRequestContext externalReq... method InitializeAsync (line 237) | protected internal virtual ValueTask InitializeAsync(IWorkflowContext ... method ExecuteCoreAsync (line 254) | public ValueTask ExecuteCoreAsync(object message, TypeId mess... method ExecuteCoreAsync (line 257) | internal async ValueTask ExecuteCoreAsync(object message, Typ... method OnCheckpointingAsync (line 320) | protected internal virtual ValueTask OnCheckpointingAsync(IWorkflowCon... method OnCheckpointRestoredAsync (line 329) | protected internal virtual ValueTask OnCheckpointRestoredAsync(IWorkfl... method DescribeProtocol (line 345) | public ProtocolDescriptor DescribeProtocol() => this.Protocol.Describe(); method CanHandle (line 352) | public bool CanHandle(Type messageType) => this.Protocol.CanHandle(mes... method CanOutput (line 354) | internal bool CanOutput(Type messageType) => this.Protocol.CanOutput(m... method ConfigureProtocol (line 368) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 378) | public abstract ValueTask HandleAsync(TInput message, IWorkflowContext... method ConfigureProtocol (line 394) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 404) | public abstract ValueTask HandleAsync(TInput message, IWorkfl... class Executor (line 389) | public abstract class Executor(string id, ExecutorOptio... method Executor (line 179) | protected Executor(string id, ExecutorOptions? options = null, bool de... method ConfigureProtocol (line 216) | protected abstract ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method AttachRequestContext (line 218) | internal void AttachRequestContext(IExternalRequestContext externalReq... method InitializeAsync (line 237) | protected internal virtual ValueTask InitializeAsync(IWorkflowContext ... method ExecuteCoreAsync (line 254) | public ValueTask ExecuteCoreAsync(object message, TypeId mess... method ExecuteCoreAsync (line 257) | internal async ValueTask ExecuteCoreAsync(object message, Typ... method OnCheckpointingAsync (line 320) | protected internal virtual ValueTask OnCheckpointingAsync(IWorkflowCon... method OnCheckpointRestoredAsync (line 329) | protected internal virtual ValueTask OnCheckpointRestoredAsync(IWorkfl... method DescribeProtocol (line 345) | public ProtocolDescriptor DescribeProtocol() => this.Protocol.Describe(); method CanHandle (line 352) | public bool CanHandle(Type messageType) => this.Protocol.CanHandle(mes... method CanOutput (line 354) | internal bool CanOutput(Type messageType) => this.Protocol.CanOutput(m... method ConfigureProtocol (line 368) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 378) | public abstract ValueTask HandleAsync(TInput message, IWorkflowContext... method ConfigureProtocol (line 394) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 404) | public abstract ValueTask HandleAsync(TInput message, IWorkfl... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorBinding.cs type ExecutorBinding (line 18) | public abstract record class ExecutorBinding(string Id, Func(this Func(this Func(this F... method ConfigureFactory (line 140) | [Obsolete("Use BindExecutor() instead")] method ToBinding (line 147) | private static ConfiguredExecutorBinding ToBinding(this Functi... method ToBinding (line 152) | private static ConfiguredExecutorBinding ToBinding(th... method ConfigureSubWorkflow (line 164) | [Obsolete("Use BindAsExecutor() instead")] method BindAsExecutor (line 176) | public static ExecutorBinding BindAsExecutor(this Workflow workflow, s... method BindAsExecutor (line 189) | public static ExecutorBinding BindAsExecutor(this Func(this Func(this Func(this Func(this Action(this Action(this Action(this Action(this Fun... method BindAsExecutor (line 314) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 329) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 344) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 358) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 371) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 385) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 399) | public static ExecutorBinding BindAsExecutor(this Fun... method BindAsExecutor (line 413) | public static ExecutorBinding BindAsExecutor(this... method BindAsExecutor (line 422) | public static ExecutorBinding BindAsExecutor(this AIAgent agent, bool ... method BindAsExecutor (line 431) | public static ExecutorBinding BindAsExecutor(this AIAgent agent, AIAge... method BindAsExecutor (line 441) | public static ExecutorBinding BindAsExecutor(this RequestPort port, bo... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorEvent.cs class ExecutorEvent (line 10) | [JsonDerivedType(typeof(ExecutorInvokedEvent))] method ToString (line 21) | public override string ToString() => FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorFailedEvent.cs class ExecutorFailedEvent (line 12) | public sealed class ExecutorFailedEvent(string executorId, Exception? err) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorInstanceBinding.cs type ExecutorInstanceBinding (line 13) | public record ExecutorInstanceBinding(Executor ExecutorInstance) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorOptions.cs class ExecutorOptions (line 8) | public class ExecutorOptions method ExecutorOptions (line 15) | internal ExecutorOptions() { } FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExecutorPlaceholder.cs type ExecutorPlaceholder (line 9) | public record ExecutorPlaceholder(string Id) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExternalRequest.cs type ExternalRequest (line 16) | public record ExternalRequest(RequestPortInfo PortInfo, string RequestId... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ExternalResponse.cs type ExternalResponse (line 15) | public record ExternalResponse(RequestPortInfo PortInfo, string RequestI... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/FanInEdgeData.cs class FanInEdgeData (line 11) | internal sealed class FanInEdgeData : EdgeData method FanInEdgeData (line 13) | internal FanInEdgeData(List sourceIds, string sinkId, EdgeId i... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/FanOutEdgeData.cs class FanOutEdgeData (line 14) | internal sealed class FanOutEdgeData : EdgeData method FanOutEdgeData (line 16) | internal FanOutEdgeData(string sourceId, List sinkIds, EdgeId ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/FunctionExecutor.cs class FunctionExecutor (line 22) | public class FunctionExecutor(string id, method WrapAction (line 29) | internal static Func HandleAsync(TInput message, IWorkfl... method FunctionExecutor (line 131) | public FunctionExecutor(string id, class FunctionExecutor (line 92) | public class FunctionExecutor(string id, method WrapAction (line 29) | internal static Func HandleAsync(TInput message, IWorkfl... method FunctionExecutor (line 131) | public FunctionExecutor(string id, FILE: dotnet/src/Microsoft.Agents.AI.Workflows/GroupChatManager.cs class GroupChatManager (line 14) | public abstract class GroupChatManager method GroupChatManager (line 19) | protected GroupChatManager() { } method SelectNextAgentAsync (line 46) | protected internal abstract ValueTask SelectNextAgentAsync( method UpdateHistoryAsync (line 57) | protected internal virtual ValueTask> UpdateH... method ShouldTerminateAsync (line 69) | protected internal virtual ValueTask ShouldTerminateAsync( method Reset (line 77) | protected internal virtual void Reset() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/GroupChatWorkflowBuilder.cs class GroupChatWorkflowBuilder (line 15) | public sealed class GroupChatWorkflowBuilder method GroupChatWorkflowBuilder (line 22) | internal GroupChatWorkflowBuilder(Func, GroupCh... method AddParticipants (line 30) | public GroupChatWorkflowBuilder AddParticipants(params IEnumerable from,... method WithHandoff (line 134) | public HandoffsWorkflowBuilder WithHandoff(AIAgent from, AIAgent to, s... method Build (line 172) | public Workflow Build() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IExternalRequestContext.cs type IExternalRequestContext (line 7) | internal interface IExternalRequestContext method RegisterPort (line 9) | IExternalRequestSink RegisterPort(RequestPort port); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IIdentified.cs type IIdentified (line 8) | public interface IIdentified FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IMessageRouter.cs type IMessageRouter (line 10) | internal interface IMessageRouter method CanHandle (line 14) | bool CanHandle(object message); method CanHandle (line 15) | bool CanHandle(Type candidateType); method RouteMessageAsync (line 16) | ValueTask RouteMessageAsync(object message, IWorkflowCont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IResettableExecutor.cs type IResettableExecutor (line 11) | public interface IResettableExecutor method ResetAsync (line 17) | ValueTask ResetAsync() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IWorkflowContext.cs type IWorkflowContext (line 13) | public interface IWorkflowContext method AddEventAsync (line 23) | ValueTask AddEventAsync(WorkflowEvent workflowEvent, CancellationToken... method SendMessageAsync (line 35) | ValueTask SendMessageAsync(object message, string? targetId, Cancellat... method YieldOutputAsync (line 49) | ValueTask YieldOutputAsync(object output, CancellationToken cancellati... method RequestHaltAsync (line 55) | ValueTask RequestHaltAsync(); method ReadStateAsync (line 68) | ValueTask ReadStateAsync(string key, string? scopeName = null, ... method ReadOrInitStateAsync (line 86) | ValueTask ReadOrInitStateAsync(string key, Func initialStateF... method ReadStateAsync (line 97) | ValueTask ReadStateAsync(string key, CancellationToken cancella... method ReadOrInitStateAsync (line 110) | ValueTask ReadOrInitStateAsync(string key, Func initialStateF... method ReadStateKeysAsync (line 121) | ValueTask> ReadStateKeysAsync(string? scopeName = null... method QueueStateUpdateAsync (line 139) | ValueTask QueueStateUpdateAsync(string key, T? value, string? scope... method QueueStateUpdateAsync (line 155) | ValueTask QueueStateUpdateAsync(string key, T? value, CancellationT... method QueueClearScopeAsync (line 171) | ValueTask QueueClearScopeAsync(string? scopeName = null, CancellationT... method QueueClearScopeAsync (line 185) | ValueTask QueueClearScopeAsync(CancellationToken cancellationToken) =>... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IWorkflowContextExtensions.cs class IWorkflowContextExtensions (line 12) | public static class IWorkflowContextExtensions method InvokeWithStateAsync (line 26) | public static async ValueTask InvokeWithStateAsync(this IWorkf... method InvokeWithStateAsync (line 50) | public static async ValueTask InvokeWithStateAsync(this IWorkf... method SendMessageAsync (line 69) | public static ValueTask SendMessageAsync(this IWorkflowContext context... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/IWorkflowExecutionEnvironment.cs type IWorkflowExecutionEnvironment (line 12) | public interface IWorkflowExecutionEnvironment method OpenStreamingAsync (line 28) | ValueTask OpenStreamingAsync(Workflow workflow, string? ... method RunStreamingAsync (line 43) | ValueTask RunStreamingAsync(Workflow workflow, T... method ResumeStreamingAsync (line 54) | ValueTask ResumeStreamingAsync(Workflow workflow, Checkp... method RunAsync (line 68) | ValueTask RunAsync(Workflow workflow, TInput input, strin... method ResumeAsync (line 80) | ValueTask ResumeAsync(Workflow workflow, CheckpointInfo fromCheck... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/InProc/InProcStepTracer.cs class InProcStepTracer (line 12) | internal sealed class InProcStepTracer : IStepTracer method TraceIntantiated (line 23) | public void TraceIntantiated(string executorId) => this.Instantiated.T... method TraceActivated (line 24) | public void TraceActivated(string executorId) => this.Activated.TryAdd... method TraceStatePublished (line 25) | public void TraceStatePublished() => this.StateUpdated = true; method TraceCheckpointCreated (line 26) | public void TraceCheckpointCreated(CheckpointInfo checkpoint) => this.... method Reload (line 32) | public void Reload(int lastStepNumber = 0) => this._nextStepNumber = l... method Advance (line 34) | public SuperStepStartedEvent Advance(StepContext step) method Complete (line 64) | public SuperStepCompletedEvent Complete(bool nextStepHasActions, bool ... method ToString (line 72) | public override string ToString() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/InProc/InProcessExecutionEnvironment.cs class InProcessExecutionEnvironment (line 16) | public sealed class InProcessExecutionEnvironment : IWorkflowExecutionEn... method InProcessExecutionEnvironment (line 18) | internal InProcessExecutionEnvironment(ExecutionMode mode, bool enable... method WithCheckpointing (line 35) | public InProcessExecutionEnvironment WithCheckpointing(CheckpointManag... method BeginRunAsync (line 47) | internal ValueTask BeginRunAsync(Workflow workflow, st... method ResumeRunAsync (line 53) | internal ValueTask ResumeRunAsync(Workflow workflow, C... method OpenStreamingAsync (line 60) | public async ValueTask OpenStreamingAsync( method RunStreamingAsync (line 72) | public async ValueTask RunStreamingAsync( method VerifyCheckpointingConfigured (line 84) | [MemberNotNull(nameof(CheckpointManager))] method ResumeStreamingAsync (line 94) | public async ValueTask ResumeStreamingAsync( method BeginRunHandlingChatProtocolAsync (line 107) | private async ValueTask BeginRunHandlingChatProtocolAs... method RunAsync (line 127) | public async ValueTask RunAsync( method ResumeAsync (line 146) | public async ValueTask ResumeAsync( FILE: dotnet/src/Microsoft.Agents.AI.Workflows/InProc/InProcessExecutionOptions.cs class InProcessExecutionOptions (line 5) | internal class InProcessExecutionOptions FILE: dotnet/src/Microsoft.Agents.AI.Workflows/InProc/InProcessRunner.cs class InProcessRunner (line 23) | internal sealed class InProcessRunner : ISuperStepRunner, ICheckpointing... method CreateTopLevelRunner (line 25) | public static InProcessRunner CreateTopLevelRunner(Workflow workflow, ... method CreateSubworkflowRunner (line 34) | public static InProcessRunner CreateSubworkflowRunner(Workflow workflo... method InProcessRunner (line 45) | private InProcessRunner(Workflow workflow, ICheckpointManager? checkpo... method IsValidInputTypeAsync (line 78) | public async ValueTask IsValidInputTypeAsync(Type messageType, C... method IsValidInputTypeAsync (line 95) | public ValueTask IsValidInputTypeAsync(CancellationToken canc... method EnqueueMessageUntypedAsync (line 98) | public async ValueTask EnqueueMessageUntypedAsync(object message... method EnqueueMessageAsync (line 119) | public ValueTask EnqueueMessageAsync(T message, CancellationT... method EnqueueMessageUntypedAsync (line 122) | public ValueTask EnqueueMessageUntypedAsync(object message, Canc... method EnqueueResponseAsync (line 125) | ValueTask ISuperStepRunner.EnqueueResponseAsync(ExternalResponse respo... method RaiseWorkflowEventAsync (line 139) | private ValueTask RaiseWorkflowEventAsync(WorkflowEvent workflowEvent) method BeginStreamAsync (line 142) | public ValueTask BeginStreamAsync(ExecutionMode mode, ... method ResumeStreamAsync (line 148) | public async ValueTask ResumeStreamAsync(ExecutionMode... method RunSuperStepAsync (line 168) | async ValueTask ISuperStepRunner.RunSuperStepAsync(CancellationT... method DeliverMessagesAsync (line 199) | private async ValueTask DeliverMessagesAsync(string receiverId, Concur... method RunSuperstepAsync (line 245) | private async ValueTask RunSuperstepAsync(StepContext currentStep, Can... method CheckpointAsync (line 281) | internal async ValueTask CheckpointAsync(CancellationToken cancellatio... method RestoreCheckpointAsync (line 311) | public async ValueTask RestoreCheckpointAsync(CheckpointInfo checkpoin... method CheckWorkflowMatch (line 353) | private bool CheckWorkflowMatch(Checkpoint checkpoint) => method RequestEndRunAsync (line 356) | public ValueTask RequestEndRunAsync() => this.RunContext.EndRunAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/InProc/InProcessRunnerContext.cs class InProcessRunnerContext (line 22) | internal sealed class InProcessRunnerContext : IRunnerContext method InProcessRunnerContext (line 41) | public InProcessRunnerContext( method RegisterPort (line 75) | public IExternalRequestSink RegisterPort(string executorId, RequestPor... method EnsureExecutorAsync (line 85) | public async ValueTask EnsureExecutorAsync(string executorId... method GetStartingExecutorInputTypesAsync (line 121) | public async ValueTask> GetStartingExecutorInputType... method AddExternalMessageAsync (line 129) | public ValueTask AddExternalMessageAsync(object message, Type declared... method AddExternalResponseAsync (line 147) | public ValueTask AddExternalResponseAsync(ExternalResponse response) method AdvanceAsync (line 179) | public async ValueTask AdvanceAsync(CancellationToken can... method AddEventAsync (line 193) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancellati... method SendMessageAsync (line 199) | public async ValueTask SendMessageAsync(string sourceId, object messag... method YieldOutputAsync (line 239) | private async ValueTask YieldOutputAsync(string sourceId, object outpu... method BindExternalRequestContext (line 270) | public IExternalRequestContext BindExternalRequestContext(string execu... method BindWorkflowContext (line 276) | public IWorkflowContext BindWorkflowContext(string executorId, Diction... method PostAsync (line 282) | public ValueTask PostAsync(ExternalRequest request) method CompleteRequest (line 293) | public bool CompleteRequest(string requestId) class BoundExternalRequestContext (line 303) | private sealed class BoundExternalRequestContext( method RegisterPort (line 307) | public IExternalRequestSink RegisterPort(RequestPort port) class BoundWorkflowContext (line 313) | private sealed class BoundWorkflowContext( method AddEventAsync (line 318) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancella... method SendMessageAsync (line 320) | public ValueTask SendMessageAsync(object message, string? targetId =... method YieldOutputAsync (line 325) | public ValueTask YieldOutputAsync(object output, CancellationToken c... method RequestHaltAsync (line 330) | public ValueTask RequestHaltAsync() => this.AddEventAsync(new Reques... method ReadStateAsync (line 332) | public ValueTask ReadStateAsync(string key, string? scopeName... method ReadOrInitStateAsync (line 335) | [return: NotNull] method ReadStateKeysAsync (line 339) | public ValueTask> ReadStateKeysAsync(string? scopeNa... method QueueStateUpdateAsync (line 342) | public ValueTask QueueStateUpdateAsync(string key, T? value, stri... method QueueClearScopeAsync (line 345) | public ValueTask QueueClearScopeAsync(string? scopeName = null, Canc... method PrepareForCheckpointAsync (line 356) | internal Task PrepareForCheckpointAsync(CancellationToken cancellation... method NotifyCheckpointLoadedAsync (line 369) | internal Task NotifyCheckpointLoadedAsync(CancellationToken cancellati... method ExportStateAsync (line 382) | internal ValueTask ExportStateAsync() method RepublishUnservicedRequestsAsync (line 394) | internal async ValueTask RepublishUnservicedRequestsAsync(Cancellation... method ImportStateAsync (line 408) | internal async ValueTask ImportStateAsync(Checkpoint checkpoint) method CheckEnded (line 435) | [SuppressMessage("Maintainability", "CA1513:Use ObjectDisposedExceptio... method EndRunAsync (line 445) | public async ValueTask EndRunAsync() method AttachSuperstepAsync (line 474) | public ValueTask AttachSuperstepAsync(ISuperStepRunner superSt... method DetachSuperstepAsync (line 487) | public ValueTask DetachSuperstepAsync(string joinId) => new(this... method ForwardWorkflowEventAsync (line 489) | ValueTask ISuperStepJoinContext.ForwardWorkflowEventAsync(WorkflowEven... method SendMessageAsync (line 492) | ValueTask ISuperStepJoinContext.SendMessageAsync(string send... method YieldOutputAsync (line 495) | ValueTask ISuperStepJoinContext.YieldOutputAsync(string sende... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/InProcessExecution.cs class InProcessExecution (line 13) | public static class InProcessExecution method OpenStreamingAsync (line 45) | public static ValueTask OpenStreamingAsync(Workflow work... method RunStreamingAsync (line 49) | public static ValueTask RunStreamingAsync(Workfl... method OpenStreamingAsync (line 53) | public static ValueTask OpenStreamingAsync(Workflow work... method RunStreamingAsync (line 57) | public static ValueTask RunStreamingAsync(Workfl... method ResumeStreamingAsync (line 61) | public static ValueTask ResumeStreamingAsync(Workflow wo... method RunAsync (line 65) | public static ValueTask RunAsync(Workflow workflow, TInpu... method RunAsync (line 69) | public static ValueTask RunAsync(Workflow workflow, TInpu... method ResumeAsync (line 73) | public static ValueTask ResumeAsync(Workflow workflow, Checkpoint... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/MessageMerger.cs class MessageMerger (line 11) | internal sealed class MessageMerger class ResponseMergeState (line 13) | private sealed class ResponseMergeState(string? responseId) method AddUpdate (line 20) | public void AddUpdate(AgentResponseUpdate update) method ComputeMerged (line 37) | public AgentResponse ComputeMerged(string messageId) method ComputeDangling (line 47) | public AgentResponse ComputeDangling() method ComputeFlattened (line 57) | public List ComputeFlattened() method AddUpdate (line 83) | public void AddUpdate(AgentResponseUpdate update) method CompareByDateTimeOffset (line 100) | private int CompareByDateTimeOffset(AgentResponse left, AgentResponse ... method ComputeMerged (line 122) | public AgentResponse ComputeMerged(string primaryResponseId, string? p... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/ActivityExtensions.cs class ActivityExtensions (line 10) | internal static class ActivityExtensions method CaptureException (line 20) | internal static void CaptureException(this Activity? activity, Excepti... method SetEdgeRunnerDeliveryStatus (line 27) | internal static void SetEdgeRunnerDeliveryStatus(this Activity? activi... method CreateSourceLinks (line 39) | internal static void CreateSourceLinks(this Activity? activity, IReadO... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/ActivityNames.cs class ActivityNames (line 5) | internal static class ActivityNames FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/EdgeRunnerDeliveryStatus.cs type EdgeRunnerDeliveryStatus (line 5) | internal enum EdgeRunnerDeliveryStatus class EdgeRunnerDeliveryStatusExtensions (line 15) | internal static class EdgeRunnerDeliveryStatusExtensions method ToStringValue (line 17) | public static string ToStringValue(this EdgeRunnerDeliveryStatus status) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/EventNames.cs class EventNames (line 5) | internal static class EventNames FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/Tags.cs class Tags (line 5) | internal static class Tags FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/WorkflowTelemetryContext.cs class WorkflowTelemetryContext (line 12) | internal sealed class WorkflowTelemetryContext method WorkflowTelemetryContext (line 37) | private WorkflowTelemetryContext() method WorkflowTelemetryContext (line 53) | public WorkflowTelemetryContext(WorkflowTelemetryOptions options, Acti... method StartActivity (line 66) | public Activity? StartActivity(string name, ActivityKind kind = Activi... method StartWorkflowBuildActivity (line 80) | public Activity? StartWorkflowBuildActivity() method StartWorkflowSessionActivity (line 97) | public Activity? StartWorkflowSessionActivity() method StartWorkflowRunActivity (line 112) | public Activity? StartWorkflowRunActivity() method StartExecutorProcessActivity (line 130) | public Activity? StartExecutorProcessActivity(string executorId, strin... method SetExecutorOutput (line 160) | public void SetExecutorOutput(Activity? activity, object? output) method StartEdgeGroupProcessActivity (line 172) | public Activity? StartEdgeGroupProcessActivity() method StartMessageSendActivity (line 189) | public Activity? StartMessageSendActivity(string sourceId, string? tar... method SerializeForTelemetry (line 216) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Observability/WorkflowTelemetryOptions.cs class WorkflowTelemetryOptions (line 8) | public sealed class WorkflowTelemetryOptions FILE: dotnet/src/Microsoft.Agents.AI.Workflows/OpenTelemetryWorkflowBuilderExtensions.cs class OpenTelemetryWorkflowBuilderExtensions (line 13) | public static class OpenTelemetryWorkflowBuilderExtensions method WithOpenTelemetry (line 53) | public static WorkflowBuilder WithOpenTelemetry( FILE: dotnet/src/Microsoft.Agents.AI.Workflows/PortBinding.cs class PortBinding (line 9) | internal class PortBinding(RequestPort port, IExternalRequestSink sink) method PostRequestAsync (line 14) | public ValueTask PostRequestAsync(TRequest request, string? ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/PortableValue.cs class PortableValue (line 16) | public sealed class PortableValue method PortableValue (line 22) | public PortableValue(object value) method PortableValue (line 28) | [JsonConstructor] method Equals (line 36) | public override bool Equals(object? obj) method GetHashCode (line 55) | public override int GetHashCode() method As (line 104) | public TValue? As() => this.Is(out TValue? value) ? value : de... method Is (line 111) | public bool Is() => this.Is(out _); method Is (line 120) | public bool Is([NotNullWhen(true)] out TValue? value) method AsType (line 139) | public object? AsType(Type targetType) => this.IsType(targetType, out ... method IsType (line 146) | public bool IsType(Type targetType) => this.IsType(targetType, out _); method IsType (line 155) | public bool IsType(Type targetType, [NotNullWhen(true)] out object? va... method TryDeserializeAndUpdateCache (line 171) | private bool TryDeserializeAndUpdateCache(Type targetType, out object?... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ProtocolBuilder.cs class MemberAttributeExtensions (line 12) | internal static class MemberAttributeExtensions method GetAttributeTypes (line 14) | public static (IEnumerable Sent, IEnumerable Yielded) GetA... class ProtocolBuilder (line 27) | public sealed class ProtocolBuilder method ProtocolBuilder (line 32) | internal ProtocolBuilder(DelayedExternalRequestContext delayRequestCon... method AddDelegateAttributeTypes (line 44) | public ProtocolBuilder AddDelegateAttributeTypes(Delegate @delegate) method AddMethodAttributeTypes (line 54) | public ProtocolBuilder AddMethodAttributeTypes(MethodInfo method) method AddClassAttributeTypes (line 72) | public ProtocolBuilder AddClassAttributeTypes(Type executorType) method SendsMessage (line 88) | public ProtocolBuilder SendsMessage() where TMessage : notnu... method SendsMessageType (line 96) | public ProtocolBuilder SendsMessageType(Type messageType) => this.Send... method SendsMessageTypes (line 104) | public ProtocolBuilder SendsMessageTypes(IEnumerable messageTypes) method YieldsOutput (line 117) | public ProtocolBuilder YieldsOutput() where TOutput : notnull... method YieldsOutputType (line 125) | public ProtocolBuilder YieldsOutputType(Type outputType) => this.Yield... method YieldsOutputTypes (line 133) | public ProtocolBuilder YieldsOutputTypes(IEnumerable yieldedTypes) method ConfigureRoutes (line 150) | public ProtocolBuilder ConfigureRoutes(Action configureA... method Build (line 156) | internal ExecutorProtocol Build(ExecutorOptions options) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ProtocolDescriptor.cs class ProtocolDescriptor (line 12) | public class ProtocolDescriptor method ProtocolDescriptor (line 34) | internal ProtocolDescriptor(IEnumerable acceptedTypes, IEnumerab... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Reflection/IMessageHandler.cs type IMessageHandler (line 17) | [Obsolete("Use [MessageHandler] attribute on methods in a partial class ... method HandleAsync (line 29) | ValueTask HandleAsync(TMessage message, IWorkflowContext context, Canc... method HandleAsync (line 54) | ValueTask HandleAsync(TMessage message, IWorkflowContext cont... type IMessageHandler (line 42) | [Obsolete("Use [MessageHandler] attribute on methods in a partial class ... method HandleAsync (line 29) | ValueTask HandleAsync(TMessage message, IWorkflowContext context, Canc... method HandleAsync (line 54) | ValueTask HandleAsync(TMessage message, IWorkflowContext cont... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Reflection/MessageHandlerInfo.cs type MessageHandlerInfo (line 16) | internal readonly struct MessageHandlerInfo method MessageHandlerInfo (line 24) | public MessageHandlerInfo(MethodInfo handlerInfo) method Bind (line 72) | public static Func class RouteBuilderExtensions (line 45) | internal static class RouteBuilderExtensions method GetHandlerInfos (line 47) | public static IEnumerable GetHandlerInfos( FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Reflection/ValueTaskTypeErasure.cs class ValueTaskReflection (line 10) | internal static class ValueTaskReflection method ReflectAsTask (line 15) | internal static MethodInfo ReflectAsTask(this Type specializedType) method IsValueTaskType (line 23) | internal static bool IsValueTaskType(this Type type) => type.IsGeneric... class TaskReflection (line 26) | internal static class TaskReflection method ReflectResult_get (line 31) | internal static MethodInfo ReflectResult_get(this Type specializedType) method IsTaskType (line 39) | internal static bool IsTaskType(this Type type) => type.IsGenericType ... class ValueTaskTypeErasure (line 42) | internal static class ValueTaskTypeErasure method UnwrapperFor (line 44) | internal static Func> UnwrapperFor(Type exp... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RequestHaltEvent.cs class RequestHaltEvent (line 8) | internal sealed class RequestHaltEvent : WorkflowEvent method RequestHaltEvent (line 10) | internal RequestHaltEvent(object? result = null) : base(result) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RequestInfoEvent.cs class RequestInfoEvent (line 8) | public sealed class RequestInfoEvent(ExternalRequest request) : Workflow... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RequestPort.cs type RequestPort (line 13) | public record RequestPort(string Id, Type Request, Type Response) type RequestPort (line 33) | public sealed record RequestPort(string Id, Type Re... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RequestPortBinding.cs type RequestPortBinding (line 15) | public record RequestPortBinding(RequestPort Port, bool AllowWrapped = t... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RoundRobinGroupChatManager.cs class RoundRobinGroupChatManager (line 15) | public class RoundRobinGroupChatManager : GroupChatManager method RoundRobinGroupChatManager (line 29) | public RoundRobinGroupChatManager( method SelectNextAgentAsync (line 44) | protected internal override ValueTask SelectNextAgentAsync( method ShouldTerminateAsync (line 55) | protected internal override async ValueTask ShouldTerminateAsync( method Reset (line 67) | protected internal override void Reset() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RouteBuilder.cs class RouteBuilder (line 38) | public class RouteBuilder method RouteBuilder (line 46) | internal RouteBuilder(IExternalRequestContext? externalRequestContext) method AddHandlerInternal (line 51) | internal RouteBuilder AddHandlerInternal(Type messageType, MessageHand... method AddHandlerUntyped (line 91) | internal RouteBuilder AddHandlerUntyped(Type type, Func(Type type, Func(string id, F... method AddHandler (line 186) | public RouteBuilder AddHandler(Action(Action(Func(Func(Func(Func(Func(Func(Func(Func(Func(Func RunToNextHaltAsync(CancellationToken ca... method GetStatusAsync (line 46) | public ValueTask GetStatusAsync(CancellationToken cancellat... method ResumeAsync (line 87) | public async ValueTask ResumeAsync(IEnumerable... method ResumeAsync (line 104) | public async ValueTask ResumeAsync(CancellationToken cancella... method DisposeAsync (line 131) | public ValueTask DisposeAsync() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/RunStatus.cs type RunStatus (line 8) | public enum RunStatus FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ScopeId.cs class ScopeId (line 15) | public sealed class ScopeId(string executorId, string? scopeName = null) method ToString (line 28) | public override string ToString() => $"{this.ExecutorId}/{this.ScopeNa... method Equals (line 31) | public override bool Equals(object? obj) method GetHashCode (line 74) | public override int GetHashCode() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/ScopeKey.cs class ScopeKey (line 12) | public sealed class ScopeKey method ScopeKey (line 30) | public ScopeKey(string executorId, string? scopeName, string key) method ScopeKey (line 39) | [JsonConstructor] method ToString (line 47) | public override string ToString() method Equals (line 53) | public override bool Equals(object? obj) method GetHashCode (line 64) | public override int GetHashCode() FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AIAgentHostExecutor.cs type AIAgentHostState (line 13) | internal record AIAgentHostState(JsonElement? ThreadState, bool? Current... class AIAgentHostExecutor (line 15) | internal sealed class AIAgentHostExecutor : ChatProtocolExecutor method AIAgentHostExecutor (line 31) | public AIAgentHostExecutor(AIAgent agent, AIAgentHostOptions options) ... method ConfigureUserInputHandling (line 39) | private ProtocolBuilder ConfigureUserInputHandling(ProtocolBuilder pro... method ConfigureProtocol (line 56) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleUserInputResponseAsync (line 61) | private ValueTask HandleUserInputResponseAsync( method HandleFunctionResultAsync (line 77) | private ValueTask HandleFunctionResultAsync( method ShouldEmitStreamingEvents (line 91) | public bool ShouldEmitStreamingEvents(bool? emitEvents) method EnsureSessionAsync (line 94) | private async ValueTask EnsureSessionAsync(IWorkflowCont... method OnCheckpointingAsync (line 101) | protected internal override async ValueTask OnCheckpointingAsync(IWork... method OnCheckpointRestoredAsync (line 114) | protected internal override async ValueTask OnCheckpointRestoredAsync(... method ContinueTurnAsync (line 136) | private async ValueTask ContinueTurnAsync(List messages, ... method TakeTurnAsync (line 161) | protected override ValueTask TakeTurnAsync(List messages,... method InvokeAgentAsync (line 164) | private async ValueTask InvokeAgentAsync(IEnumerable $"{id}_PendingRequests"; method OnCheckpointingAsync (line 79) | public async ValueTask OnCheckpointingAsync(string id, IWorkflowContex... method OnCheckpointRestoredAsync (line 86) | public async ValueTask OnCheckpointRestoredAsync(string id, IWorkflowC... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AggregateTurnMessagesExecutor.cs class AggregateTurnMessagesExecutor (line 14) | internal sealed class AggregateTurnMessagesExecutor(string id) : ChatPro... method TakeTurnAsync (line 19) | protected override ValueTask TakeTurnAsync(List messages,... method ResetAsync (line 22) | ValueTask IResettableExecutor.ResetAsync() => this.ResetAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/ConcurrentEndExecutor.cs class ConcurrentEndExecutor (line 15) | internal sealed class ConcurrentEndExecutor : Executor, IResettableExecutor method ConcurrentEndExecutor (line 24) | public ConcurrentEndExecutor(int expectedInputs, Func mes... method ResetAsync (line 54) | protected override ValueTask ResetAsync() method ResetAsync (line 61) | ValueTask IResettableExecutor.ResetAsync() => this.ResetAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/HandoffAgentExecutor.cs class HandoffAgentExecutorOptions (line 15) | internal sealed class HandoffAgentExecutorOptions method HandoffAgentExecutorOptions (line 17) | public HandoffAgentExecutorOptions(string? handoffInstructions, Handof... class HandoffMessagesFilter (line 28) | internal sealed class HandoffMessagesFilter method HandoffMessagesFilter (line 32) | public HandoffMessagesFilter(HandoffToolCallFilteringBehavior filterin... method IsHandoffFunctionName (line 37) | internal static bool IsHandoffFunctionName(string name) method FilterMessages (line 42) | public IEnumerable FilterMessages(List messa... class FilterCandidateState (line 150) | private class FilterCandidateState(string callId) class HandoffAgentExecutor (line 161) | internal sealed class HandoffAgentExecutor( method Initialize (line 172) | public void Initialize( method HandleAsync (line 209) | public override async ValueTask HandleAsync(HandoffState... method ResetAsync (line 269) | public ValueTask ResetAsync() => default; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/HandoffState.cs type HandoffState (line 8) | internal sealed record class HandoffState( FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/HandoffTarget.cs type HandoffTarget (line 6) | internal readonly record struct HandoffTarget(AIAgent Target, string? Re... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/HandoffsEndExecutor.cs class HandoffsEndExecutor (line 10) | internal sealed class HandoffsEndExecutor() : Executor(ExecutorId, decla... method ConfigureProtocol (line 14) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method ResetAsync (line 19) | public ValueTask ResetAsync() => default; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/HandoffsStartExecutor.cs class HandoffsStartExecutor (line 11) | internal sealed class HandoffsStartExecutor() : ChatProtocolExecutor(Exe... method ConfigureProtocol (line 21) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method TakeTurnAsync (line 24) | protected override ValueTask TakeTurnAsync(List messages,... method ResetAsync (line 27) | public new ValueTask ResetAsync() => base.ResetAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/OutputMessagesExecutor.cs class OutputMessagesExecutor (line 14) | internal sealed class OutputMessagesExecutor(ChatProtocolExecutorOptions... method ConfigureProtocol (line 18) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method TakeTurnAsync (line 22) | protected override ValueTask TakeTurnAsync(List messages,... method ResetAsync (line 25) | ValueTask IResettableExecutor.ResetAsync() => default; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/RequestInfoExecutor.cs class RequestInfoExecutor (line 13) | internal sealed class RequestPortOptions; method RequestInfoExecutor (line 30) | public RequestInfoExecutor(RequestPort port, bool allowWrapped = true)... method ConfigureProtocol (line 37) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method AttachRequestSink (line 62) | internal void AttachRequestSink(IExternalRequestSink requestSink) => t... method HandleCatchAllAsync (line 64) | public async ValueTask HandleCatchAllAsync(PortableV... method HandleAsync (line 85) | public async ValueTask HandleAsync(ExternalRequest me... method HandleAsync (line 109) | public async ValueTask HandleAsync(object message, IW... method HandleAsync (line 120) | public async ValueTask HandleAsync(ExternalResponse... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/RequestPortExtensions.cs class RequestPortExtensions (line 8) | internal static class RequestPortExtensions method ShouldProcessResponse (line 23) | public static bool ShouldProcessResponse(this RequestPort port, Extern... method IsResponsePort (line 41) | internal static bool IsResponsePort(this RequestPort port, ExternalRes... method CreateExceptionForType (line 44) | internal static InvalidOperationException CreateExceptionForType(this ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/WorkflowHostExecutor.cs class WorkflowHostExecutor (line 16) | internal class WorkflowHostExecutor : Executor, IAsyncDisposable method WorkflowHostExecutor (line 34) | public WorkflowHostExecutor(string id, Workflow workflow, ProtocolDesc... method ConfigureProtocol (line 44) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method QueueExternalMessageAsync (line 55) | private async ValueTask QueueExternalMessageAsync(PortableValue portab... method EnsureRunnerAsync (line 79) | internal async ValueTask EnsureRunnerAsync() method EnsureRunSendMessageAsync (line 102) | internal async ValueTask EnsureRunSendMessageAsync(objec... method CheckAndUnqualifyResponse (line 164) | private ExternalResponse? CheckAndUnqualifyResponse([DisallowNull] Ext... method QualifyRequestPortId (line 175) | private ExternalRequest QualifyRequestPortId(ExternalRequest internalR... method ForwardWorkflowEventAsync (line 181) | private async ValueTask ForwardWorkflowEventAsync(object? sender, Work... method AttachSuperStepContextAsync (line 243) | internal async ValueTask AttachSuperStepContextAsync(ISuperStepJoinCon... method OnCheckpointingAsync (line 249) | protected internal override async ValueTask OnCheckpointingAsync(IWork... method OnCheckpointRestoredAsync (line 256) | protected internal override async ValueTask OnCheckpointRestoredAsync(... method ResetAsync (line 275) | private async ValueTask ResetAsync() method DisposeAsync (line 298) | public ValueTask DisposeAsync() => this.ResetAsync(); FILE: dotnet/src/Microsoft.Agents.AI.Workflows/StatefulExecutor.cs class StatefulExecutor (line 18) | public abstract class StatefulExecutor : Executor method StatefulExecutor (line 31) | protected StatefulExecutor(string id, method ReadStateAsync (line 60) | protected async ValueTask ReadStateAsync(IWorkflowContext cont... method QueueStateUpdateAsync (line 86) | protected ValueTask QueueStateUpdateAsync(TState state, IWorkflowConte... method InvokeWithStateAsync (line 108) | protected async ValueTask InvokeWithStateAsync( method ResetAsync (line 140) | protected virtual ValueTask ResetAsync() method ConfigureProtocol (line 169) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 178) | public abstract ValueTask HandleAsync(TInput message, IWorkflowContext... method ConfigureProtocol (line 204) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 222) | public abstract ValueTask HandleAsync(TInput message, IWorkfl... class StatefulExecutor (line 160) | public abstract class StatefulExecutor(string id, method StatefulExecutor (line 31) | protected StatefulExecutor(string id, method ReadStateAsync (line 60) | protected async ValueTask ReadStateAsync(IWorkflowContext cont... method QueueStateUpdateAsync (line 86) | protected ValueTask QueueStateUpdateAsync(TState state, IWorkflowConte... method InvokeWithStateAsync (line 108) | protected async ValueTask InvokeWithStateAsync( method ResetAsync (line 140) | protected virtual ValueTask ResetAsync() method ConfigureProtocol (line 169) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 178) | public abstract ValueTask HandleAsync(TInput message, IWorkflowContext... method ConfigureProtocol (line 204) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 222) | public abstract ValueTask HandleAsync(TInput message, IWorkfl... class StatefulExecutor (line 194) | public abstract class StatefulExecutor(string id, method StatefulExecutor (line 31) | protected StatefulExecutor(string id, method ReadStateAsync (line 60) | protected async ValueTask ReadStateAsync(IWorkflowContext cont... method QueueStateUpdateAsync (line 86) | protected ValueTask QueueStateUpdateAsync(TState state, IWorkflowConte... method InvokeWithStateAsync (line 108) | protected async ValueTask InvokeWithStateAsync( method ResetAsync (line 140) | protected virtual ValueTask ResetAsync() method ConfigureProtocol (line 169) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 178) | public abstract ValueTask HandleAsync(TInput message, IWorkflowContext... method ConfigureProtocol (line 204) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 222) | public abstract ValueTask HandleAsync(TInput message, IWorkfl... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/StatefulExecutorOptions.cs class StatefulExecutorOptions (line 8) | public class StatefulExecutorOptions : ExecutorOptions FILE: dotnet/src/Microsoft.Agents.AI.Workflows/StreamingAggregators.cs class StreamingAggregators (line 13) | public static class StreamingAggregators method First (line 27) | public static Func First(... method First (line 43) | public static Func First() => First<... method Last (line 54) | public static Func Last(F... method Last (line 69) | public static Func Last() => Last?, TInput, IEnumerable... method Union (line 98) | public static Func?, TInput, IEnumerable?>... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/StreamingRun.cs class StreamingRun (line 17) | public sealed class StreamingRun : CheckpointableRunBase, IAsyncDisposable method StreamingRun (line 21) | internal StreamingRun(AsyncRunHandle runHandle) : base(runHandle) method GetStatusAsync (line 34) | public ValueTask GetStatusAsync(CancellationToken cancellat... method SendResponseAsync (line 44) | public ValueTask SendResponseAsync(ExternalResponse response) method TrySendMessageAsync (line 57) | public ValueTask TrySendMessageAsync(TMessage message) method TrySendMessageUntypedAsync (line 60) | internal ValueTask TrySendMessageUntypedAsync(object message, Ty... method WatchStreamAsync (line 73) | public IAsyncEnumerable WatchStreamAsync( method WatchStreamAsync (line 77) | internal IAsyncEnumerable WatchStreamAsync( method CancelRunAsync (line 86) | public ValueTask CancelRunAsync() => this._runHandle.CancelRunAsync(); method DisposeAsync (line 89) | public ValueTask DisposeAsync() => this._runHandle.DisposeAsync(); class StreamingRunExtensions (line 95) | public static class StreamingRunExtensions method RunToCompletionAsync (line 110) | public static async ValueTask RunToCompletionAsync(this StreamingRun h... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/StreamsMessageAttribute.cs class StreamsMessageAttribute (line 11) | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowM... method StreamsMessageAttribute (line 22) | public StreamsMessageAttribute(Type type) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SubworkflowBinding.cs type SubworkflowBinding (line 17) | public record SubworkflowBinding(Workflow WorkflowInstance, string Id, E... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SubworkflowErrorEvent.cs class SubworkflowErrorEvent (line 12) | public sealed class SubworkflowErrorEvent(string subworkflowId, Exceptio... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SubworkflowWarningEvent.cs class SubworkflowWarningEvent (line 11) | public sealed class SubworkflowWarningEvent(string message, string subWo... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepCompletedEvent.cs class SuperStepCompletedEvent (line 10) | public sealed class SuperStepCompletedEvent(int stepNumber, SuperStepCom... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepCompletionInfo.cs class SuperStepCompletionInfo (line 11) | public sealed class SuperStepCompletionInfo(IEnumerable activate... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepEvent.cs class SuperStepEvent (line 10) | [JsonDerivedType(typeof(SuperStepStartedEvent))] method ToString (line 20) | public override string ToString() => FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepStartInfo.cs class SuperStepStartInfo (line 10) | public sealed class SuperStepStartInfo(HashSet? sendingExecutors... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SuperStepStartedEvent.cs class SuperStepStartedEvent (line 10) | public sealed class SuperStepStartedEvent(int stepNumber, SuperStepStart... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/SwitchBuilder.cs class SwitchBuilder (line 14) | public sealed class SwitchBuilder method AddCase (line 33) | public SwitchBuilder AddCase(Func predicate, params IEnum... method WithDefault (line 63) | public SwitchBuilder WithDefault(params IEnumerable e... method ReduceToFanOut (line 82) | internal WorkflowBuilder ReduceToFanOut(WorkflowBuilder builder, Execu... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/TurnToken.cs class TurnToken (line 12) | public class TurnToken(bool? emitEvents = null) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Visualization/WorkflowVisualizer.cs class WorkflowVisualizer (line 16) | public static class WorkflowVisualizer method ToDotString (line 22) | public static string ToDotString(this Workflow workflow) method ToMermaidString (line 53) | public static string ToMermaidString(this Workflow workflow) method EmitWorkflowDigraph (line 63) | private static void EmitWorkflowDigraph(Workflow workflow, List Sources, string Targe... method ComputeNormalEdges (line 275) | private static List<(string Source, string Target, bool IsConditional,... method ComputeFanInDigest (line 307) | private static string ComputeFanInDigest(string target, List s... method ComputeShortHash (line 314) | private static string ComputeShortHash(string input) method TryGetNestedWorkflow (line 326) | private static bool TryGetNestedWorkflow(ExecutorBinding binding, [Not... method SanitizeMermaidNodeId (line 345) | private static string SanitizeMermaidNodeId(string id) method EscapeDotLabel (line 383) | private static string EscapeDotLabel(string label) method EscapeMermaidLabel (line 389) | private static string EscapeMermaidLabel(string label) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/Workflow.cs class Workflow (line 19) | public class Workflow method ReflectEdges (line 32) | public Dictionary> ReflectEdges() method ReflectPorts (line 48) | public Dictionary ReflectPorts() method ReflectExecutors (line 60) | public Dictionary ReflectExecutors() method Workflow (line 98) | internal Workflow(string startExecutorId, string? name = null, string?... method TryResetExecutorRegistrationsAsync (line 110) | private async ValueTask TryResetExecutorRegistrationsAsync() method CheckOwnership (line 133) | internal void CheckOwnership(object? existingOwnershipSignoff = null) method TakeOwnership (line 149) | internal void TakeOwnership(object ownerToken, bool subworkflow = fals... method ReleaseOwnershipAsync (line 185) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Maintainability", "C... class NoOpExternalRequestContext (line 200) | private sealed class NoOpExternalRequestContext : IExternalRequestCont... method PostAsync (line 202) | public ValueTask PostAsync(ExternalRequest request) => default; method RegisterPort (line 204) | IExternalRequestSink IExternalRequestContext.RegisterPort(RequestPor... method DescribeProtocolAsync (line 216) | public async ValueTask DescribeProtocolAsync(Cance... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowBuilder.cs class WorkflowBuilder (line 23) | public class WorkflowBuilder type EdgeConnection (line 25) | private readonly record struct EdgeConnection(string SourceId, string ... method WorkflowBuilder (line 47) | public WorkflowBuilder(ExecutorBinding start) method Track (line 52) | private ExecutorBinding Track(ExecutorBinding binding) method WithOutputFrom (line 106) | public WorkflowBuilder WithOutputFrom(params ExecutorBinding[] executors) method WithName (line 121) | public WorkflowBuilder WithName(string name) method WithDescription (line 132) | public WorkflowBuilder WithDescription(string description) method SetTelemetryContext (line 142) | internal void SetTelemetryContext(WorkflowTelemetryContext context) method BindExecutor (line 153) | public WorkflowBuilder BindExecutor(ExecutorBinding registration) method EnsureEdgesFor (line 166) | private HashSet EnsureEdgesFor(string sourceId) method AddEdge (line 187) | public WorkflowBuilder AddEdge(ExecutorBinding source, ExecutorBinding... method AddEdge (line 201) | public WorkflowBuilder AddEdge(ExecutorBinding source, ExecutorBinding... method AddEdge (line 215) | public WorkflowBuilder AddEdge(ExecutorBinding source, ExecutorBinding... method CreateConditionFunc (line 218) | internal static Func? CreateConditionFunc(Func? CreateConditionFunc(Func new(Interlocked.Increment(ref this._edg... method AddEdge (line 269) | public WorkflowBuilder AddEdge(ExecutorBinding source, ExecutorBind... method AddEdge (line 285) | public WorkflowBuilder AddEdge(ExecutorBinding source, ExecutorBind... method AddEdge (line 302) | public WorkflowBuilder AddEdge(ExecutorBinding source, ExecutorBind... method AddFanOutEdge (line 339) | public WorkflowBuilder AddFanOutEdge(ExecutorBinding source, IEnumerab... method AddFanOutEdge (line 352) | public WorkflowBuilder AddFanOutEdge(ExecutorBinding source, IEnumerab... method CreateTargetAssignerFunc (line 355) | internal static Func>? CreateTargetAssi... method AddFanOutEdge (line 384) | public WorkflowBuilder AddFanOutEdge(ExecutorBinding source, IEnume... method AddFanOutEdge (line 399) | public WorkflowBuilder AddFanOutEdge(ExecutorBinding source, IEnume... method AddFanInBarrierEdge (line 432) | public WorkflowBuilder AddFanInBarrierEdge(IEnumerable, Execu... method Validate (line 476) | private void Validate(bool validateOrphans) method BuildInternal (line 549) | private Workflow BuildInternal(bool validateOrphans, Activity? activit... method Build (line 605) | public Workflow Build(bool validateOrphans = true) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowBuilderExtensions.cs class WorkflowBuilderExtensions (line 16) | public static class WorkflowBuilderExtensions method ForwardMessage (line 27) | public static WorkflowBuilder ForwardMessage(this WorkflowBu... method ForwardMessage (line 39) | public static WorkflowBuilder ForwardMessage(this WorkflowBu... method ForwardMessage (line 53) | public static WorkflowBuilder ForwardMessage(this WorkflowBu... method ForwardExcept (line 83) | public static WorkflowBuilder ForwardExcept(this WorkflowBui... method ForwardExcept (line 94) | public static WorkflowBuilder ForwardExcept(this WorkflowBui... method AddChain (line 128) | public static WorkflowBuilder AddChain(this WorkflowBuilder builder, E... method AddExternalCall (line 165) | public static WorkflowBuilder AddExternalCall(thi... method AddSwitch (line 186) | public static WorkflowBuilder AddSwitch(this WorkflowBuilder builder, ... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowChatHistoryProvider.cs class WorkflowChatHistoryProvider (line 12) | internal sealed class WorkflowChatHistoryProvider : ChatHistoryProvider method WorkflowChatHistoryProvider (line 25) | public WorkflowChatHistoryProvider(JsonSerializerOptions? jsonSerializ... class StoreState (line 36) | internal sealed class StoreState method AddMessages (line 42) | internal void AddMessages(AgentSession session, params IEnumerable> ProvideChatHist... method StoreChatHistoryAsync (line 48) | protected override ValueTask StoreChatHistoryAsync(InvokedContext cont... method GetFromBookmark (line 55) | public IEnumerable GetFromBookmark(AgentSession session) method UpdateBookmark (line 65) | public void UpdateBookmark(AgentSession session) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowErrorEvent.cs class WorkflowErrorEvent (line 13) | public class WorkflowErrorEvent(Exception? e) : WorkflowEvent(e) FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowEvent.cs class WorkflowEvent (line 10) | [JsonDerivedType(typeof(ExecutorEvent))] method ToString (line 25) | public override string ToString() => FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowHostAgent.cs class WorkflowHostAgent (line 16) | internal sealed class WorkflowHostAgent : AIAgent method WorkflowHostAgent (line 27) | public WorkflowHostAgent(Workflow workflow, string? id = null, string?... method GenerateNewId (line 58) | private string GenerateNewId() method ValidateWorkflowAsync (line 70) | private async ValueTask ValidateWorkflowAsync() method CreateSessionCoreAsync (line 76) | protected override ValueTask CreateSessionCoreAsync(Canc... method SerializeSessionCoreAsync (line 79) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 91) | protected override ValueTask DeserializeSessionCoreAsync... method UpdateSessionAsync (line 94) | private async ValueTask UpdateSessionAsync(IEnumerabl... method RunCoreAsync (line 109) | protected override async method RunCoreStreamingAsync (line 131) | protected override async FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowHostingExtensions.cs class WorkflowHostingExtensions (line 11) | public static class WorkflowHostingExtensions method AsAIAgent (line 28) | public static AIAgent AsAIAgent( method ToFunctionCall (line 40) | internal static FunctionCallContent ToFunctionCall(this ExternalReques... FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowOutputEvent.cs class WorkflowOutputEvent (line 12) | [JsonDerivedType(typeof(AgentResponseEvent))] method WorkflowOutputEvent (line 21) | public WorkflowOutputEvent(object data, string executorId) : base(data) method Is (line 42) | public bool Is() => this.IsType(typeof(T)); method Is (line 50) | public bool Is([NotNullWhen(true)] out T? maybeValue) method IsType (line 67) | public bool IsType(Type type) => this.Data is { } data && type.IsInsta... method As (line 74) | public T? As() => this.Data is T value ? value : default; method AsType (line 81) | public object? AsType(Type type) => this.IsType(type) ? this.Data : null; FILE: dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowSession.cs class WorkflowSession (line 19) | internal sealed class WorkflowSession : AgentSession method VerifyCheckpointingConfiguration (line 28) | internal static bool VerifyCheckpointingConfiguration(IWorkflowExecuti... method WorkflowSession (line 44) | public WorkflowSession(Workflow workflow, string sessionId, IWorkflowE... method EnsureExternalizedInMemoryCheckpointing (line 62) | private CheckpointManager EnsureExternalizedInMemoryCheckpointing() method WorkflowSession (line 67) | public WorkflowSession(Workflow workflow, JsonElement serializedSessio... method Serialize (line 97) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializerOp... method CreateUpdate (line 109) | public AgentResponseUpdate CreateUpdate(string responseId, object raw,... method CreateUpdate (line 127) | public AgentResponseUpdate CreateUpdate(string responseId, object raw,... method CreateOrResumeRunAsync (line 144) | private async ValueTask CreateOrResumeRunAsync(List mess... method DeserializeMessages (line 39) | public static List DeserializeMessages(this JsonElement e... method CreateDefaultOptions (line 46) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI/AIAgentBuilder.cs class AIAgentBuilder (line 16) | public sealed class AIAgentBuilder method AIAgentBuilder (line 26) | public AIAgentBuilder(AIAgent innerAgent) method AIAgentBuilder (line 35) | public AIAgentBuilder(Func innerAgentFactory) method Build (line 49) | public AIAgent Build(IServiceProvider? services = null) method Use (line 76) | public AIAgentBuilder Use(Func agentFactory) method Use (line 87) | public AIAgentBuilder Use(Func age... method Use (line 112) | public AIAgentBuilder Use(Func, AgentSession?... method Use (line 145) | public AIAgentBuilder Use( method UseAIContextProviders (line 175) | public AIAgentBuilder UseAIContextProviders(params MessageAIContextPro... class EmptyServiceProvider (line 183) | private sealed class EmptyServiceProvider : IServiceProvider, IKeyedSe... method GetService (line 189) | public object? GetService(Type serviceType) => null; method GetKeyedService (line 192) | public object? GetKeyedService(Type serviceType, object? serviceKey)... method GetRequiredKeyedService (line 195) | public object GetRequiredKeyedService(Type serviceType, object? serv... FILE: dotnet/src/Microsoft.Agents.AI/AIContextProviderDecorators/AIContextProviderChatClient.cs class AIContextProviderChatClient (line 28) | internal sealed class AIContextProviderChatClient : DelegatingChatClient method AIContextProviderChatClient (line 37) | public AIContextProviderChatClient(IChatClient innerClient, IReadOnlyL... method GetResponseAsync (line 51) | public override async Task GetResponseAsync( method GetStreamingResponseAsync (line 76) | public override async IAsyncEnumerable GetStreamin... method GetRequiredRunContext (line 132) | private static AgentRunContext GetRequiredRunContext() method InvokeProvidersAsync (line 144) | private async Task<(IEnumerable Messages, ChatOptions? Op... method NotifyProvidersOfSuccessAsync (line 185) | private async Task NotifyProvidersOfSuccessAsync( method NotifyProvidersOfFailureAsync (line 202) | private async Task NotifyProvidersOfFailureAsync( FILE: dotnet/src/Microsoft.Agents.AI/AIContextProviderDecorators/AIContextProviderChatClientBuilderExtensions.cs class AIContextProviderChatClientBuilderExtensions (line 11) | public static class AIContextProviderChatClientBuilderExtensions method UseAIContextProviders (line 37) | public static ChatClientBuilder UseAIContextProviders(this ChatClientB... FILE: dotnet/src/Microsoft.Agents.AI/AIContextProviderDecorators/MessageAIContextProviderAgent.cs class MessageAIContextProviderAgent (line 17) | internal sealed class MessageAIContextProviderAgent : DelegatingAIAgent method MessageAIContextProviderAgent (line 26) | public MessageAIContextProviderAgent(AIAgent innerAgent, IReadOnlyList... method RunCoreAsync (line 36) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 61) | protected override async IAsyncEnumerable RunCore... method InvokeProvidersAsync (line 118) | private async Task> InvokeProvidersAsync( method NotifyProvidersOfSuccessAsync (line 137) | private async Task NotifyProvidersOfSuccessAsync( method NotifyProvidersOfFailureAsync (line 154) | private async Task NotifyProvidersOfFailureAsync( FILE: dotnet/src/Microsoft.Agents.AI/AgentExtensions.cs class AIAgentExtensions (line 16) | public static partial class AIAgentExtensions method AsBuilder (line 30) | public static AIAgentBuilder AsBuilder(this AIAgent innerAgent) method AsAIFunction (line 67) | public static AIFunction AsAIFunction(this AIAgent agent, AIFunctionFa... method SanitizeAgentName (line 99) | private static string? SanitizeAgentName(string? agentName) method InvalidNameCharsRegex (line 108) | [GeneratedRegex("[^0-9A-Za-z]+")] method InvalidNameCharsRegex (line 111) | private static Regex InvalidNameCharsRegex() => s_invalidNameCharsRegex; FILE: dotnet/src/Microsoft.Agents.AI/AgentJsonUtilities.cs class AgentJsonUtilities (line 11) | internal static partial class AgentJsonUtilities method CreateDefaultOptions (line 36) | [UnconditionalSuppressMessage("ReflectionAnalysis", "IL3050:RequiresDy... FILE: dotnet/src/Microsoft.Agents.AI/AnonymousDelegatingAIAgent.cs class AnonymousDelegatingAIAgent (line 18) | internal sealed class AnonymousDelegatingAIAgent : DelegatingAIAgent method AnonymousDelegatingAIAgent (line 49) | public AnonymousDelegatingAIAgent( method AnonymousDelegatingAIAgent (line 75) | public AnonymousDelegatingAIAgent( method RunCoreAsync (line 88) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 135) | protected override IAsyncEnumerable RunCoreStream... method ThrowIfBothDelegatesNull (line 196) | internal static void ThrowIfBothDelegatesNull(object? runFunc, object?... FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs class ChatClientAgent (line 39) | public sealed partial class ChatClientAgent : AIAgent method ChatClientAgent (line 80) | public ChatClientAgent(IChatClient chatClient, string? instructions = ... method ChatClientAgent (line 116) | public ChatClientAgent(IChatClient chatClient, ChatClientAgentOptions?... method RunCoreAsync (line 200) | protected override async Task RunCoreAsync( method ApplyRunOptionsTransformations (line 272) | private static IChatClient ApplyRunOptionsTransformations(AgentRunOpti... method RunCoreStreamingAsync (line 285) | protected override async IAsyncEnumerable RunCore... method GetService (line 380) | public override object? GetService(Type serviceType, object? serviceKe... method CreateSessionCoreAsync (line 391) | protected override ValueTask CreateSessionCoreAsync(Canc... method CreateSessionAsync (line 414) | public ValueTask CreateSessionAsync(string conversationI... method SerializeSessionCoreAsync (line 423) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 436) | protected override ValueTask DeserializeSessionCoreAsync... method NotifyAIContextProviderOfSuccessAsync (line 446) | private async Task NotifyAIContextProviderOfSuccessAsync( method NotifyAIContextProviderOfFailureAsync (line 466) | private async Task NotifyAIContextProviderOfFailureAsync( method CreateConfiguredChatOptions (line 492) | private (ChatOptions?, ChatClientAgentContinuationToken?) CreateConfig... method PrepareSessionAndMessagesAsync (line 649) | private async Task method UpdateSessionConversationId (line 757) | private void UpdateSessionConversationId(ChatClientAgentSession sessio... method NotifyChatHistoryProviderOfFailureAsync (line 801) | private Task NotifyChatHistoryProviderOfFailureAsync( method NotifyChatHistoryProviderOfNewMessagesAsync (line 822) | private Task NotifyChatHistoryProviderOfNewMessagesAsync( method ResolveChatHistoryProvider (line 842) | private ChatHistoryProvider? ResolveChatHistoryProvider(ChatOptions? c... method WrapContinuationToken (line 874) | private static ChatClientAgentContinuationToken? WrapContinuationToken... method GetInputMessages (line 895) | private static IEnumerable GetInputMessages(IReadOnlyColl... method GetResponseUpdates (line 907) | private static List GetResponseUpdates(ChatClientA... method GetLoggingAgentName (line 913) | private string GetLoggingAgentName() => this.Name ?? "UnnamedAgent"; method ValidateAndCollectStateKeys (line 919) | private static HashSet ValidateAndCollectStateKeys(IEnumerable... FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentContinuationToken.cs class ChatClientAgentContinuationToken (line 17) | internal class ChatClientAgentContinuationToken : ResponseContinuationToken method ChatClientAgentContinuationToken (line 26) | [JsonConstructor] method ToBytes (line 32) | public override ReadOnlyMemory ToBytes() method FromToken (line 66) | internal static ChatClientAgentContinuationToken FromToken(ResponseCon... method ValidateTokenType (line 137) | private static void ValidateTokenType(Utf8JsonReader reader, ResponseC... FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentCustomOptions.cs class ChatClientAgent (line 14) | public partial class ChatClientAgent method RunAsync (line 26) | public Task RunAsync( method RunAsync (line 43) | public Task RunAsync( method RunAsync (line 61) | public Task RunAsync( method RunAsync (line 79) | public Task RunAsync( method RunStreamingAsync (line 96) | public IAsyncEnumerable RunStreamingAsync( method RunStreamingAsync (line 113) | public IAsyncEnumerable RunStreamingAsync( method RunStreamingAsync (line 131) | public IAsyncEnumerable RunStreamingAsync( method RunStreamingAsync (line 149) | public IAsyncEnumerable RunStreamingAsync( method RunAsync (line 167) | public Task> RunAsync( method RunAsync (line 186) | public Task> RunAsync( method RunAsync (line 206) | public Task> RunAsync( method RunAsync (line 226) | public Task> RunAsync( FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentLogMessages.cs class ChatClientAgentLogMessages (line 17) | [ExcludeFromCodeCoverage] method LogAgentChatClientInvokingAgent (line 23) | [LoggerMessage( method LogAgentChatClientInvokedAgent (line 36) | [LoggerMessage( method LogAgentChatClientInvokedStreamingAgent (line 50) | [LoggerMessage( method LogAgentChatClientHistoryProviderConflict (line 63) | [LoggerMessage( FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentOptions.cs class ChatClientAgentOptions (line 16) | public sealed class ChatClientAgentOptions method Clone (line 95) | public ChatClientAgentOptions Clone() FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentRunOptions.cs class ChatClientAgentRunOptions (line 15) | public sealed class ChatClientAgentRunOptions : AgentRunOptions method ChatClientAgentRunOptions (line 24) | public ChatClientAgentRunOptions(ChatOptions? chatOptions = null) method ChatClientAgentRunOptions (line 33) | private ChatClientAgentRunOptions(ChatClientAgentRunOptions options) method Clone (line 66) | public override AgentRunOptions Clone() => new ChatClientAgentRunOptio... FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentSession.cs class ChatClientAgentSession (line 14) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method ChatClientAgentSession (line 20) | internal ChatClientAgentSession() method ChatClientAgentSession (line 24) | [JsonConstructor] method Deserialize (line 68) | internal static ChatClientAgentSession Deserialize(JsonElement seriali... method Serialize (line 81) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializerOp... FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientBuilderExtensions.cs class ChatClientBuilderExtensions (line 14) | public static class ChatClientBuilderExtensions method BuildAIAgent (line 44) | public static ChatClientAgent BuildAIAgent( method BuildAIAgent (line 76) | public static ChatClientAgent BuildAIAgent( FILE: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientExtensions.cs class ChatClientExtensions (line 16) | public static class ChatClientExtensions method AsAIAgent (line 23) | public static ChatClientAgent AsAIAgent( method AsAIAgent (line 45) | public static ChatClientAgent AsAIAgent( method WithDefaultAgentMiddleware (line 52) | internal static IChatClient WithDefaultAgentMiddleware(this IChatClien... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/ChatMessageContentEquality.cs class ChatMessageContentEquality (line 12) | internal static class ChatMessageContentEquality method ContentEquals (line 22) | internal static bool ContentEquals(this ChatMessage? message, ChatMess... method ContentsEqual (line 53) | private static bool ContentsEqual(IList left, IList method TextReasoningContentEquals (line 100) | private static bool TextReasoningContentEquals(TextReasoningContent a,... method DataContentEquals (line 104) | private static bool DataContentEquals(DataContent a, DataContent b) => method UriContentEquals (line 109) | private static bool UriContentEquals(UriContent a, UriContent b) => method ErrorContentEquals (line 113) | private static bool ErrorContentEquals(ErrorContent a, ErrorContent b) => method FunctionCallContentEquals (line 118) | private static bool FunctionCallContentEquals(FunctionCallContent a, F... method FunctionResultContentEquals (line 123) | private static bool FunctionResultContentEquals(FunctionResultContent ... method ArgumentsEqual (line 127) | private static bool ArgumentsEqual(IDictionary? left,... method HostedFileContentEquals (line 155) | private static bool HostedFileContentEquals(HostedFileContent a, Hoste... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/ChatReducerCompactionStrategy.cs class ChatReducerCompactionStrategy (line 35) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method ChatReducerCompactionStrategy (line 47) | public ChatReducerCompactionStrategy(IChatReducer chatReducer, Compact... method CompactCoreAsync (line 59) | protected override async ValueTask CompactCoreAsync(CompactionMe... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/ChatStrategyExtensions.cs class ChatStrategyExtensions (line 16) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method AsChatReducer (line 32) | public static IChatReducer AsChatReducer(this CompactionStrategy strat... class CompactionStrategyChatReducer (line 42) | private sealed class CompactionStrategyChatReducer : IChatReducer method CompactionStrategyChatReducer (line 46) | public CompactionStrategyChatReducer(CompactionStrategy strategy) method ReduceAsync (line 52) | public async Task> ReduceAsync(IEnumerable<... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionGroupKind.cs type CompactionGroupKind (line 16) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionLogMessages.cs class CompactionLogMessages (line 17) | [ExcludeFromCodeCoverage] method LogCompactionSkipped (line 23) | [LoggerMessage( method LogCompactionCompleted (line 33) | [LoggerMessage( method LogCompactionProviderSkipped (line 50) | [LoggerMessage( method LogCompactionProviderApplying (line 60) | [LoggerMessage( method LogCompactionProviderApplied (line 71) | [LoggerMessage( method LogSummarizationStarting (line 82) | [LoggerMessage( method LogSummarizationCompleted (line 94) | [LoggerMessage( method LogSummarizationFailed (line 105) | [LoggerMessage( FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionMessageGroup.cs class CompactionMessageGroup (line 30) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method CompactionMessageGroup (line 52) | [JsonConstructor] FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionMessageIndex.cs class CompactionMessageIndex (line 24) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method CompactionMessageIndex (line 45) | public CompactionMessageIndex(IList groups, To... method Create (line 91) | internal static CompactionMessageIndex Create(IList messa... method Update (line 119) | internal void Update(IList allMessages) method AppendFromMessages (line 176) | private void AppendFromMessages(IList messages, int start... method InsertGroup (line 280) | public CompactionMessageGroup InsertGroup(int index, CompactionGroupKi... method AddGroup (line 295) | public CompactionMessageGroup AddGroup(CompactionGroupKind kind, IRead... method GetIncludedMessages (line 306) | public IEnumerable GetIncludedMessages() => method GetAllMessages (line 313) | public IEnumerable GetAllMessages() => this.Groups.Select... method GetTurnGroups (line 380) | public IEnumerable GetTurnGroups(int turnIndex... method ComputeByteCount (line 387) | internal static int ComputeByteCount(IReadOnlyList messages) method ComputeTokenCount (line 412) | internal static int ComputeTokenCount(IReadOnlyList messa... method ComputeContentByteCount (line 454) | private static int ComputeContentByteCount(AIContent content) method GetStringByteCount (line 497) | private static int GetStringByteCount(string? value) => method CreateGroup (line 500) | private static CompactionMessageGroup CreateGroup(CompactionGroupKind ... method HasToolCalls (line 510) | private static bool HasToolCalls(ChatMessage message) method HasOnlyReasoning (line 523) | private static bool HasOnlyReasoning(ChatMessage message) => method IsSummaryMessage (line 526) | private static bool IsSummaryMessage(ChatMessage message) => FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionProvider.cs class CompactionProvider (line 34) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method CompactionProvider (line 55) | public CompactionProvider(CompactionStrategy compactionStrategy, strin... method CompactAsync (line 79) | public static async Task> CompactAsync(Compac... method InvokingCoreAsync (line 101) | protected override async ValueTask InvokingCoreAsync(Invoki... method GetLoggerFactory (line 170) | private ILoggerFactory GetLoggerFactory(AIAgent agent) => class State (line 178) | internal sealed class State FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionStrategy.cs class CompactionStrategy (line 49) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method CompactionStrategy (line 64) | protected CompactionStrategy(CompactionTrigger trigger, CompactionTrig... method CompactCoreAsync (line 94) | protected abstract ValueTask CompactCoreAsync(CompactionMessageI... method CompactAsync (line 104) | public async ValueTask CompactAsync(CompactionMessageIndex index... method EnsureNonNegative (line 163) | protected static int EnsureNonNegative(int value) => Math.Max(0, value); FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionTelemetry.cs class CompactionTelemetry (line 10) | internal static class CompactionTelemetry class ActivityNames (line 20) | public static class ActivityNames class Tags (line 30) | public static class Tags FILE: dotnet/src/Microsoft.Agents.AI/Compaction/CompactionTriggers.cs class CompactionTriggers (line 22) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method TokensBelow (line 42) | public static CompactionTrigger TokensBelow(int maxTokens) => method TokensExceed (line 50) | public static CompactionTrigger TokensExceed(int maxTokens) => method MessagesExceed (line 58) | public static CompactionTrigger MessagesExceed(int maxMessages) => method TurnsExceed (line 78) | public static CompactionTrigger TurnsExceed(int maxTurns) => method GroupsExceed (line 86) | public static CompactionTrigger GroupsExceed(int maxGroups) => method HasToolCalls (line 94) | public static CompactionTrigger HasToolCalls() => method All (line 102) | public static CompactionTrigger All(params CompactionTrigger[] trigger... method Any (line 121) | public static CompactionTrigger Any(params CompactionTrigger[] trigger... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/PipelineCompactionStrategy.cs class PipelineCompactionStrategy (line 27) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method PipelineCompactionStrategy (line 34) | public PipelineCompactionStrategy(params IEnumerable CompactCoreAsync(CompactionMe... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/SlidingWindowCompactionStrategy.cs class SlidingWindowCompactionStrategy (line 34) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method SlidingWindowCompactionStrategy (line 58) | public SlidingWindowCompactionStrategy(CompactionTrigger trigger, int ... method CompactCoreAsync (line 73) | protected override ValueTask CompactCoreAsync(CompactionMessageI... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/SummarizationCompactionStrategy.cs class SummarizationCompactionStrategy (line 36) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method SummarizationCompactionStrategy (line 78) | public SummarizationCompactionStrategy( method CompactCoreAsync (line 108) | protected override async ValueTask CompactCoreAsync(CompactionMe... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/ToolResultCompactionStrategy.cs class ToolResultCompactionStrategy (line 48) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method ToolResultCompactionStrategy (line 72) | public ToolResultCompactionStrategy( method CompactCoreAsync (line 95) | protected override ValueTask CompactCoreAsync(CompactionMessageI... method DefaultToolCallFormatter (line 172) | public static string DefaultToolCallFormatter(CompactionMessageGroup g... FILE: dotnet/src/Microsoft.Agents.AI/Compaction/TruncationCompactionStrategy.cs class TruncationCompactionStrategy (line 30) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method TruncationCompactionStrategy (line 53) | public TruncationCompactionStrategy(CompactionTrigger trigger, int min... method CompactCoreAsync (line 66) | protected override ValueTask CompactCoreAsync(CompactionMessageI... FILE: dotnet/src/Microsoft.Agents.AI/FunctionInvocationDelegatingAgent.cs class FunctionInvocationDelegatingAgent (line 15) | internal sealed class FunctionInvocationDelegatingAgent : DelegatingAIAgent method FunctionInvocationDelegatingAgent (line 19) | internal FunctionInvocationDelegatingAgent(AIAgent innerAgent, Func RunCoreAsync(IEnumerable RunCoreStream... method AgentRunOptionsWithFunctionMiddleware (line 31) | private AgentRunOptions? AgentRunOptionsWithFunctionMiddleware(AgentRu... class MiddlewareEnabledFunction (line 70) | private sealed class MiddlewareEnabledFunction(AIAgent innerAgent, AIF... method InvokeCoreAsync (line 72) | protected override async ValueTask InvokeCoreAsync(AIFuncti... FILE: dotnet/src/Microsoft.Agents.AI/FunctionInvocationDelegatingAgentBuilderExtensions.cs class FunctionInvocationDelegatingAgentBuilderExtensions (line 14) | public static class FunctionInvocationDelegatingAgentBuilderExtensions method Use (line 37) | public static AIAgentBuilder Use(this AIAgentBuilder builder, Func RunCoreAsync( method RunCoreStreamingAsync (line 104) | protected override async IAsyncEnumerable RunCore... method AsJson (line 176) | private string AsJson(T value) method LogInvoked (line 189) | [LoggerMessage(LogLevel.Debug, "{MethodName} invoked.")] method LogInvokedSensitive (line 192) | [LoggerMessage(LogLevel.Trace, "{MethodName} invoked: {Messages}. Opti... method LogCompleted (line 195) | [LoggerMessage(LogLevel.Debug, "{MethodName} completed.")] method LogCompletedSensitive (line 198) | [LoggerMessage(LogLevel.Trace, "{MethodName} completed: {Response}.")] method LogStreamingUpdateSensitive (line 201) | [LoggerMessage(LogLevel.Trace, "RunStreamingAsync received update: {Up... method LogInvocationCanceled (line 204) | [LoggerMessage(LogLevel.Debug, "{MethodName} canceled.")] method LogInvocationFailed (line 207) | [LoggerMessage(LogLevel.Error, "{MethodName} failed.")] FILE: dotnet/src/Microsoft.Agents.AI/LoggingAgentBuilderExtensions.cs class LoggingAgentBuilderExtensions (line 15) | public static class LoggingAgentBuilderExtensions method UseLogging (line 43) | public static AIAgentBuilder UseLogging( FILE: dotnet/src/Microsoft.Agents.AI/Memory/ChatHistoryMemoryProvider.cs class ChatHistoryMemoryProvider (line 54) | public sealed class ChatHistoryMemoryProvider : MessageAIContextProvider... method ChatHistoryMemoryProvider (line 103) | public ChatHistoryMemoryProvider( method ProvideAIContextAsync (line 153) | protected override async ValueTask ProvideAIContextAsync(AI... method InvokingCoreAsync (line 190) | protected override ValueTask> InvokingCoreAsy... method ProvideMessagesAsync (line 203) | protected override async ValueTask> ProvideMe... method StoreAIContextAsync (line 251) | protected override async ValueTask StoreAIContextAsync(InvokedContext ... method SearchTextAsync (line 308) | private async Task SearchTextAsync(string userQuestion, ChatHi... method SearchChatHistoryAsync (line 353) | private async Task>> SearchCha... method EnsureCollectionExistsAsync (line 438) | private async Task this._enableSensitive... method RebindFilterBody (line 495) | private static Expression RebindFilterBody( class ParameterReplacer (line 505) | private sealed class ParameterReplacer(ParameterExpression original, P... method VisitParameter (line 507) | protected override Expression VisitParameter(ParameterExpression node) class State (line 514) | public sealed class State method State (line 521) | public State(ChatHistoryMemoryProviderScope storageScope, ChatHistor... FILE: dotnet/src/Microsoft.Agents.AI/Memory/ChatHistoryMemoryProviderOptions.cs class ChatHistoryMemoryProviderOptions (line 12) | public sealed class ChatHistoryMemoryProviderOptions type SearchBehavior (line 91) | public enum SearchBehavior FILE: dotnet/src/Microsoft.Agents.AI/Memory/ChatHistoryMemoryProviderScope.cs class ChatHistoryMemoryProviderScope (line 10) | public sealed class ChatHistoryMemoryProviderScope method ChatHistoryMemoryProviderScope (line 15) | public ChatHistoryMemoryProviderScope() { } method ChatHistoryMemoryProviderScope (line 21) | public ChatHistoryMemoryProviderScope(ChatHistoryMemoryProviderScope s... FILE: dotnet/src/Microsoft.Agents.AI/OpenTelemetryAgent.cs class OpenTelemetryAgent (line 20) | public sealed class OpenTelemetryAgent : DelegatingAIAgent, IDisposable method OpenTelemetryAgent (line 47) | public OpenTelemetryAgent(AIAgent innerAgent, string? sourceName = nul... method Dispose (line 57) | public void Dispose() => this._otelClient.Dispose(); method RunCoreAsync (line 87) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 98) | protected override async IAsyncEnumerable RunCore... method UpdateCurrentActivity (line 111) | private void UpdateCurrentActivity(Activity? previousActivity) class ForwardedOptions (line 149) | private sealed class ForwardedOptions : ChatOptions method ForwardedOptions (line 151) | public ForwardedOptions(AgentRunOptions? options, AgentSession? sess... class ForwardingChatClient (line 168) | private sealed class ForwardingChatClient(OpenTelemetryAgent parentAge... method GetResponseAsync (line 170) | public async Task GetResponseAsync( method GetStreamingResponseAsync (line 185) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 201) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 205) | public void Dispose() { } FILE: dotnet/src/Microsoft.Agents.AI/OpenTelemetryAgentBuilderExtensions.cs class OpenTelemetryAgentBuilderExtensions (line 11) | public static class OpenTelemetryAgentBuilderExtensions method UseOpenTelemetry (line 47) | public static AIAgentBuilder UseOpenTelemetry( FILE: dotnet/src/Microsoft.Agents.AI/OpenTelemetryConsts.cs class OpenTelemetryConsts (line 6) | internal static class OpenTelemetryConsts class GenAI (line 10) | public static class GenAI class Agent (line 14) | public static class Agent class Operation (line 21) | public static class Operation class Provider (line 26) | public static class Provider FILE: dotnet/src/Microsoft.Agents.AI/Skills/FileAgentSkill.cs class FileAgentSkill (line 16) | internal sealed class FileAgentSkill method FileAgentSkill (line 25) | public FileAgentSkill( FILE: dotnet/src/Microsoft.Agents.AI/Skills/FileAgentSkillLoader.cs class FileAgentSkillLoader (line 24) | internal sealed partial class FileAgentSkillLoader method FileAgentSkillLoader (line 56) | internal FileAgentSkillLoader(ILogger logger, IEnumerable? all... method DiscoverAndLoadSkills (line 72) | internal Dictionary DiscoverAndLoadSkills(IEnu... method ReadSkillResourceAsync (line 116) | internal async Task ReadSkillResourceAsync(FileAgentSkill skil... method DiscoverSkillDirectories (line 152) | private static List DiscoverSkillDirectories(IEnumerable DiscoverResourceFiles(string skillDirectoryFullPa... method IsPathWithinDirectory (line 369) | private static bool IsPathWithinDirectory(string fullPath, string norm... method HasSymlinkInPath (line 379) | private static bool HasSymlinkInPath(string fullPath, string normalize... method NormalizeResourcePath (line 406) | private static string NormalizeResourcePath(string path) method SanitizePathForLog (line 425) | private static string SanitizePathForLog(string path) method ValidateExtensions (line 440) | private static void ValidateExtensions(IEnumerable? extensions) method LogSkillsDiscovered (line 458) | [LoggerMessage(LogLevel.Information, "Discovered {Count} potential ski... method LogSkillLoaded (line 461) | [LoggerMessage(LogLevel.Information, "Loaded skill: {SkillName}")] method LogSkillsLoadedTotal (line 464) | [LoggerMessage(LogLevel.Information, "Successfully loaded {Count} skil... method LogInvalidFrontmatter (line 467) | [LoggerMessage(LogLevel.Error, "SKILL.md at '{SkillFilePath}' does not... method LogMissingFrontmatterField (line 470) | [LoggerMessage(LogLevel.Error, "SKILL.md at '{SkillFilePath}' is missi... method LogInvalidFieldValue (line 473) | [LoggerMessage(LogLevel.Error, "SKILL.md at '{SkillFilePath}' has an i... method LogNameDirectoryMismatch (line 476) | [LoggerMessage(LogLevel.Error, "SKILL.md at '{SkillFilePath}': skill n... method LogResourcePathTraversal (line 479) | [LoggerMessage(LogLevel.Warning, "Skipping resource in skill '{SkillNa... method LogDuplicateSkillName (line 482) | [LoggerMessage(LogLevel.Warning, "Duplicate skill name '{SkillName}': ... method LogResourceSymlinkEscape (line 485) | [LoggerMessage(LogLevel.Warning, "Skipping resource in skill '{SkillNa... method LogResourceReading (line 488) | [LoggerMessage(LogLevel.Information, "Reading resource '{FileName}' fr... method LogResourceSkippedExtension (line 491) | [LoggerMessage(LogLevel.Debug, "Skipping file '{FilePath}' in skill '{... FILE: dotnet/src/Microsoft.Agents.AI/Skills/FileAgentSkillsProvider.cs class FileAgentSkillsProvider (line 42) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] method FileAgentSkillsProvider (line 74) | public FileAgentSkillsProvider(string skillPath, FileAgentSkillsProvid... method FileAgentSkillsProvider (line 85) | public FileAgentSkillsProvider(IEnumerable skillPaths, FileAge... method ProvideAIContextAsync (line 110) | protected override ValueTask ProvideAIContextAsync(Invoking... method LoadSkill (line 124) | private string LoadSkill(string skillName) method ReadSkillResourceAsync (line 141) | private async Task ReadSkillResourceAsync(string skillName, st... method BuildSkillsInstructionPrompt (line 169) | private static string? BuildSkillsInstructionPrompt(FileAgentSkillsPro... method LogSkillLoading (line 217) | [LoggerMessage(LogLevel.Information, "Loading skill: {SkillName}")] method LogResourceReadError (line 220) | [LoggerMessage(LogLevel.Error, "Failed to read resource '{ResourceName... FILE: dotnet/src/Microsoft.Agents.AI/Skills/FileAgentSkillsProviderOptions.cs class FileAgentSkillsProviderOptions (line 12) | [Experimental(DiagnosticIds.Experiments.AgentsAIExperiments)] FILE: dotnet/src/Microsoft.Agents.AI/Skills/SkillFrontmatter.cs class SkillFrontmatter (line 10) | internal sealed class SkillFrontmatter method SkillFrontmatter (line 17) | public SkillFrontmatter(string name, string description) FILE: dotnet/src/Microsoft.Agents.AI/TextSearchProvider.cs class TextSearchProvider (line 47) | public sealed class TextSearchProvider : MessageAIContextProvider method TextSearchProvider (line 73) | public TextSearchProvider( method ProvideAIContextAsync (line 107) | protected override async ValueTask ProvideAIContextAsync(AI... method InvokingCoreAsync (line 127) | protected override ValueTask> InvokingCoreAsy... method ProvideMessagesAsync (line 140) | protected override async ValueTask> ProvideMe... method StoreAIContextAsync (line 196) | protected override ValueTask StoreAIContextAsync(InvokedContext contex... method SearchAsync (line 240) | internal async Task SearchAsync(string userQuestion, Cancellat... method FormatResults (line 264) | private string FormatResults(IList results) class TextSearchResult (line 300) | public sealed class TextSearchResult class TextSearchProviderState (line 331) | public sealed class TextSearchProviderState FILE: dotnet/src/Microsoft.Agents.AI/TextSearchProviderOptions.cs class TextSearchProviderOptions (line 12) | public sealed class TextSearchProviderOptions type TextSearchBehavior (line 123) | public enum TextSearchBehavior FILE: dotnet/src/Shared/CodeTests/Compiler.cs class Compiler (line 21) | internal static class Compiler method RepoDependencies (line 23) | public static IEnumerable RepoDependencies(params IEnumerabl... method Build (line 45) | public static Assembly Build(string workflowProviderCode, params IEnum... FILE: dotnet/src/Shared/Demos/SampleEnvironment.cs class SampleEnvironment (line 11) | internal static class SampleEnvironment method GetEnvironmentVariable (line 13) | public static string? GetEnvironmentVariable(string key) method GetEnvironmentVariable (line 16) | public static string? GetEnvironmentVariable(string key, EnvironmentVa... method GetEnvironmentVariables (line 72) | public static IDictionary GetEnvironmentVariables() method GetEnvironmentVariables (line 75) | public static IDictionary GetEnvironmentVariables(EnvironmentVariableT... method SetEnvironmentVariable (line 78) | public static void SetEnvironmentVariable(string variable, string? value) method SetEnvironmentVariable (line 81) | public static void SetEnvironmentVariable(string variable, string? val... method GetCommandLineArgs (line 84) | public static string[] GetCommandLineArgs() method ExpandEnvironmentVariables (line 96) | public static string ExpandEnvironmentVariables(string name) method GetFolderPath (line 99) | public static string GetFolderPath(SystemEnvironment.SpecialFolder fol... method GetFolderPath (line 102) | public static string GetFolderPath(SystemEnvironment.SpecialFolder fol... FILE: dotnet/src/Shared/DiagnosticIds/DiagnosticsIds.cs class DiagnosticIds (line 8) | internal static class DiagnosticIds class Experiments (line 13) | internal static class Experiments FILE: dotnet/src/Shared/Foundry/Agents/AgentFactory.cs class AgentFactory (line 13) | internal static class AgentFactory method CreateAgentAsync (line 15) | public static async ValueTask CreateAgentAsync( FILE: dotnet/src/Shared/IntegrationTests/TestSettings.cs class TestSettings (line 9) | internal static class TestSettings FILE: dotnet/src/Shared/IntegrationTestsAzureCredentials/TestAzureCliCredentials.cs class TestAzureCliCredentials (line 14) | internal static class TestAzureCliCredentials method CreateAzureCliCredential (line 26) | public static AzureCliCredential CreateAzureCliCredential() => FILE: dotnet/src/Shared/Samples/BaseSample.cs class BaseSample (line 25) | public abstract class BaseSample : TextWriter method BaseSample (line 58) | protected BaseSample(ITestOutputHelper output, bool redirectSystemCons... method WriteUserMessage (line 82) | protected void WriteUserMessage(string message) => method WriteResponseOutput (line 94) | protected void WriteResponseOutput(AgentResponse response, bool? print... method WriteMessageOutput (line 121) | protected void WriteMessageOutput(ChatMessage message) method WriteAgentOutput (line 157) | protected void WriteAgentOutput(AgentResponseUpdate update) method AsJson (line 200) | private static string? AsJson(object? obj) method WriteLine (line 207) | public override void WriteLine(object? value = null) method WriteLine (line 211) | public override void WriteLine(string? format, params object?[] arg) method WriteLine (line 215) | public override void WriteLine(string? value) method Write (line 219) | public override void Write(object? value = null) method Write (line 223) | public override void Write(char[]? buffer) FILE: dotnet/src/Shared/Samples/OrchestrationSample.cs class OrchestrationSample (line 17) | public abstract class OrchestrationSample : BaseSample method CreateAgent (line 27) | protected static ChatClientAgent CreateAgent(string instructions, stri... method CreateChatClient (line 40) | protected static IChatClient CreateChatClient() => new OpenAIClient(Te... method DisplayHistory (line 51) | protected void DisplayHistory(IEnumerable history) method WriteResponse (line 64) | protected static void WriteResponse(IEnumerable response) method WriteStreamedResponse (line 79) | protected static void WriteStreamedResponse(IEnumerable resp... method StreamingResultCallbackAsync (line 136) | public ValueTask StreamingResultCallbackAsync(AgentResponseUpdate st... method OrchestrationSample (line 156) | protected OrchestrationSample(ITestOutputHelper output, bool redirectS... FILE: dotnet/src/Shared/Samples/Resources.cs class Resources (line 8) | internal static class Resources method Read (line 12) | public static string Read(string fileName) => File.ReadAllText($"{Reso... FILE: dotnet/src/Shared/Samples/TestConfiguration.cs class TestConfiguration (line 13) | public sealed class TestConfiguration class OpenAIConfig (line 25) | public class OpenAIConfig class AzureOpenAIConfig (line 37) | public class AzureOpenAIConfig class AzureAIConfig (line 50) | public sealed class AzureAIConfig method Initialize (line 63) | public static void Initialize(IConfigurationRoot configRoot) => method TestConfiguration (line 71) | private TestConfiguration(IConfigurationRoot configRoot) method LoadSection (line 76) | private static T LoadSection([CallerMemberName] string? caller = null) FILE: dotnet/src/Shared/Samples/TextOutputHelperExtensions.cs class TextOutputHelperExtensions (line 8) | public static class TextOutputHelperExtensions method WriteLine (line 15) | public static void WriteLine(this ITestOutputHelper testOutputHelper, ... method WriteLine (line 22) | public static void WriteLine(this ITestOutputHelper testOutputHelper) => method Write (line 29) | public static void Write(this ITestOutputHelper testOutputHelper) => method Write (line 37) | public static void Write(this ITestOutputHelper testOutputHelper, obje... FILE: dotnet/src/Shared/Samples/XunitLogger.cs class XunitLogger (line 10) | internal sealed class XunitLogger(ITestOutputHelper output) : ILoggerFac... method Log (line 15) | public void Log(LogLevel logLevel, EventId eventId, TState sta... method IsEnabled (line 23) | public bool IsEnabled(LogLevel logLevel) => true; method BeginScope (line 26) | public IDisposable BeginScope(TState state) where TState : not... method Dispose (line 33) | public void Dispose() method CreateLogger (line 39) | public ILogger CreateLogger(string categoryName) => this; method AddProvider (line 41) | public void AddProvider(ILoggerProvider provider) => throw new NotSupp... FILE: dotnet/src/Shared/StructuredOutput/StructuredOutputSchemaUtilities.cs class StructuredOutputSchemaUtilities (line 15) | internal static class StructuredOutputSchemaUtilities method WrapNonObjectSchema (line 25) | internal static (ChatResponseFormatJson ResponseFormat, bool IsWrapped... method UnwrapResponseData (line 61) | internal static string UnwrapResponseData(string json) method SchemaRepresentsObject (line 74) | private static bool SchemaRepresentsObject(JsonElement? schema) method JsonElementToJsonNode (line 96) | private static JsonNode? JsonElementToJsonNode(JsonElement element) => FILE: dotnet/src/Shared/Throw/Throw.cs method IfNull (line 31) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfNullOrMemberNull (line 59) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfMemberNull (line 95) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfNullOrWhitespace (line 124) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfNullOrEmpty (line 157) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfBufferTooSmall (line 193) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfOutOfRange (line 213) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfNullOrEmpty (line 241) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method ArgumentNullException (line 298) | [MethodImpl(MethodImplOptions.NoInlining)] method ArgumentNullException (line 310) | [MethodImpl(MethodImplOptions.NoInlining)] method ArgumentOutOfRangeException (line 321) | [MethodImpl(MethodImplOptions.NoInlining)] method ArgumentOutOfRangeException (line 333) | [MethodImpl(MethodImplOptions.NoInlining)] method ArgumentOutOfRangeException (line 346) | [MethodImpl(MethodImplOptions.NoInlining)] method ArgumentException (line 358) | [MethodImpl(MethodImplOptions.NoInlining)] method ArgumentException (line 375) | [MethodImpl(MethodImplOptions.NoInlining)] method InvalidOperationException (line 386) | [MethodImpl(MethodImplOptions.NoInlining)] method InvalidOperationException (line 398) | [MethodImpl(MethodImplOptions.NoInlining)] method IfLessThan (line 415) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThan (line 433) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThanOrEqual (line 451) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThanOrEqual (line 469) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfOutOfRange (line 488) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfZero (line 505) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThan (line 527) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThan (line 545) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThanOrEqual (line 563) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThanOrEqual (line 581) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfOutOfRange (line 600) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfZero (line 617) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThan (line 639) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThan (line 657) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThanOrEqual (line 675) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThanOrEqual (line 693) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfOutOfRange (line 712) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfZero (line 729) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThan (line 751) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThan (line 769) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThanOrEqual (line 787) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThanOrEqual (line 805) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfOutOfRange (line 824) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfZero (line 841) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThan (line 863) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThan (line 882) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfLessThanOrEqual (line 901) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfGreaterThanOrEqual (line 920) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfOutOfRange (line 940) | [MethodImpl(MethodImplOptions.AggressiveInlining)] method IfZero (line 958) | [MethodImpl(MethodImplOptions.AggressiveInlining)] FILE: dotnet/src/Shared/Workflows/Execution/WorkflowFactory.cs class WorkflowFactory (line 13) | internal sealed class WorkflowFactory(string workflowFile, Uri foundryEn... method CreateWorkflow (line 32) | public Workflow CreateWorkflow() FILE: dotnet/src/Shared/Workflows/Execution/WorkflowRunner.cs class WorkflowRunner (line 23) | internal sealed class WorkflowRunner method Notify (line 28) | public static void Notify(string message, ConsoleColor? color = null) method WorkflowRunner (line 48) | public WorkflowRunner(params IEnumerable functions) method ExecuteAsync (line 53) | public async Task ExecuteAsync(Func workflowProvider, string... method MonitorAndDisposeWorkflowRunAsync (line 110) | public async Task MonitorAndDisposeWorkflowRunAsync(... method HandleExternalRequestAsync (line 273) | private async ValueTask HandleExternalRequestAs... method ProcessInputMessageAsync (line 301) | private async IAsyncEnumerable ProcessInputMessageAsync(C... method HandleUserInputRequest (line 349) | private static ChatMessage HandleUserInputRequest(ExternalInputRequest... method DownloadFileContentAsync (line 369) | private static async ValueTask DownloadFileContentAsync(string filenam... FILE: dotnet/src/Shared/Workflows/Settings/Application.cs class Application (line 8) | internal static class Application class Settings (line 13) | public static class Settings method GetInput (line 20) | public static string GetInput(string[] args) method GetRepoFolder (line 50) | public static string? GetRepoFolder() method GetValue (line 67) | public static string GetValue(this IConfiguration configuration, strin... method InitializeConfig (line 74) | public static IConfigurationRoot InitializeConfig() => FILE: dotnet/tests/AgentConformance.IntegrationTests/AgentTests.cs class AgentTests (line 13) | public abstract class AgentTests(Func crea... method InitializeAsync (line 18) | public async ValueTask InitializeAsync() method DisposeAsync (line 24) | public async ValueTask DisposeAsync() FILE: dotnet/tests/AgentConformance.IntegrationTests/ChatClientAgentRunStreamingTests.cs class ChatClientAgentRunStreamingTests (line 17) | public abstract class ChatClientAgentRunStreamingTests(Fu... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 20) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] method RunWithFunctionsInvokesFunctionsAndReturnsExpectedResultsAsync (line 37) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] FILE: dotnet/tests/AgentConformance.IntegrationTests/ChatClientAgentRunTests.cs class ChatClientAgentRunTests (line 16) | public abstract class ChatClientAgentRunTests(Func> GetChatHistoryAsync(AIAgent agent, AgentSessio... method DeleteSessionAsync (line 20) | Task DeleteSessionAsync(AgentSession session); FILE: dotnet/tests/AgentConformance.IntegrationTests/IChatClientAgentFixture.cs type IChatClientAgentFixture (line 14) | public interface IChatClientAgentFixture : IAgentFixture method CreateChatClientAgentAsync (line 18) | Task CreateChatClientAgentAsync( method DeleteAgentAsync (line 23) | Task DeleteAgentAsync(ChatClientAgent agent); FILE: dotnet/tests/AgentConformance.IntegrationTests/MenuPlugin.cs class MenuPlugin (line 12) | internal static class MenuPlugin method GetSpecials (line 14) | [Description("Provides a list of specials from the menu.")] method GetItemPrice (line 21) | [Description("Provides the price of the requested menu item.")] FILE: dotnet/tests/AgentConformance.IntegrationTests/RunStreamingTests.cs class RunStreamingTests (line 17) | public abstract class RunStreamingTests(Func(Func create... method RunWithNoMessageDoesNotFailAsync (line 22) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] method RunWithStringReturnsExpectedResultAsync (line 37) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] method RunWithChatMessageReturnsExpectedResultAsync (line 55) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] method RunWithChatMessagesReturnsExpectedResultAsync (line 72) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] method SessionMaintainsHistoryAsync (line 95) | [RetryFact(Constants.RetryCount, Constants.RetryDelay)] FILE: dotnet/tests/AgentConformance.IntegrationTests/StructuredOutputRunTests.cs class StructuredOutputRunTests (line 17) | public abstract class StructuredOutputRunTests(Func(string json, JsonSerializerOpt... class CityInfo (line 107) | public sealed class CityInfo FILE: dotnet/tests/AgentConformance.IntegrationTests/Support/AgentCleanup.cs class AgentCleanup (line 14) | internal sealed class AgentCleanup(ChatClientAgent agent, IChatClientAge... method DisposeAsync (line 16) | public async ValueTask DisposeAsync() => FILE: dotnet/tests/AgentConformance.IntegrationTests/Support/Constants.cs class Constants (line 5) | public static class Constants FILE: dotnet/tests/AgentConformance.IntegrationTests/Support/SessionCleanup.cs class SessionCleanup (line 14) | public sealed class SessionCleanup(AgentSession session, IAgentFixture f... method DisposeAsync (line 16) | public async ValueTask DisposeAsync() => FILE: dotnet/tests/AgentConformance.IntegrationTests/Support/TestConfiguration.cs class TestConfiguration (line 11) | public sealed class TestConfiguration method GetValue (line 24) | public static string? GetValue(string key) => s_configuration[key]; method GetRequiredValue (line 32) | public static string GetRequiredValue(string key) => FILE: dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicChatCompletionFixture.cs class AnthropicChatCompletionFixture (line 18) | public class AnthropicChatCompletionFixture : IChatClientAgentFixture method AnthropicChatCompletionFixture (line 28) | public AnthropicChatCompletionFixture(bool useReasoningChatModel, bool... method GetChatHistoryAsync (line 38) | public async Task> GetChatHistoryAsync(AIAgent agent... method CreateChatClientAgentAsync (line 50) | public Task CreateChatClientAgentAsync( method DeleteAgentAsync (line 98) | public Task DeleteAgentAsync(ChatClientAgent agent) => method DeleteSessionAsync (line 102) | public Task DeleteSessionAsync(AgentSession session) => method InitializeAsync (line 106) | public async ValueTask InitializeAsync() method DisposeAsync (line 112) | public ValueTask DisposeAsync() FILE: dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicSkillsIntegrationTests.cs class AnthropicSkillsIntegrationTests (line 20) | public sealed class AnthropicSkillsIntegrationTests method CreateAgentWithPptxSkillAsync (line 25) | [Fact] method ListAnthropicManagedSkillsAsync (line 56) | [Fact] FILE: dotnet/tests/AzureAI.IntegrationTests/AIProjectClientAgentRunStreamingTests.cs class AIProjectClientAgentRunStreamingPreviousResponseTests (line 10) | public class AIProjectClientAgentRunStreamingPreviousResponseTests() : R... method RunWithNoMessageDoesNotFailAsync (line 12) | public override Task RunWithNoMessageDoesNotFailAsync() class AIProjectClientAgentRunStreamingConversationTests (line 19) | public class AIProjectClientAgentRunStreamingConversationTests() : RunTe... method RunWithNoMessageDoesNotFailAsync (line 27) | public override Task RunWithNoMessageDoesNotFailAsync() FILE: dotnet/tests/AzureAI.IntegrationTests/AIProjectClientAgentRunTests.cs class AIProjectClientAgentRunPreviousResponseTests (line 10) | public class AIProjectClientAgentRunPreviousResponseTests() : RunTests : AIProjectClient... method InitializeAsync (line 92) | public override async ValueTask InitializeAsync() FILE: dotnet/tests/AzureAI.IntegrationTests/AIProjectClientChatClientAgentRunStreamingTests.cs class AIProjectClientChatClientAgentRunStreamingTests (line 8) | public class AIProjectClientChatClientAgentRunStreamingTests() : ChatCli... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 10) | public override Task RunWithInstructionsAndNoMessageReturnsExpectedRes... FILE: dotnet/tests/AzureAI.IntegrationTests/AIProjectClientChatClientAgentRunTests.cs class AIProjectClientChatClientAgentRunTests (line 8) | public class AIProjectClientChatClientAgentRunTests() : ChatClientAgentR... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 10) | public override Task RunWithInstructionsAndNoMessageReturnsExpectedRes... FILE: dotnet/tests/AzureAI.IntegrationTests/AIProjectClientCreateTests.cs class AIProjectClientCreateTests (line 17) | public class AIProjectClientCreateTests method CreateAgent_CreatesAgentWithCorrectMetadataAsync (line 21) | [Theory] method CreateAgent_CreatesAgentWithVectorStoresAsync (line 70) | [Theory(Skip = "For manual testing only")] method CreateAgent_CreatesAgentWithCodeInterpreterAsync (line 131) | [Theory] method CreateAgent_CreatesAgentWithAIFunctionToolsAsync (line 191) | [Theory] FILE: dotnet/tests/AzureAI.IntegrationTests/AIProjectClientFixture.cs class AIProjectClientFixture (line 18) | public class AIProjectClientFixture : IChatClientAgentFixture method CreateConversationAsync (line 27) | public async Task CreateConversationAsync() method GetChatHistoryAsync (line 33) | public async Task> GetChatHistoryAsync(AIAgent agent... method GetChatHistoryFromResponsesChainAsync (line 58) | private async Task> GetChatHistoryFromResponsesChain... method ConvertToChatMessage (line 80) | private static ChatMessage ConvertToChatMessage(ResponseItem item) method GetChatHistoryFromConversationAsync (line 91) | private async Task> GetChatHistoryFromConversationAs... method CreateChatClientAgentAsync (line 113) | public async Task CreateChatClientAgentAsync( method CreateChatClientAgentAsync (line 121) | public async Task CreateChatClientAgentAsync(ChatClie... method GenerateUniqueAgentName (line 128) | public static string GenerateUniqueAgentName(string baseName) => method DeleteAgentAsync (line 131) | public Task DeleteAgentAsync(ChatClientAgent agent) => method DeleteSessionAsync (line 134) | public async Task DeleteSessionAsync(AgentSession session) method DeleteResponseChainAsync (line 147) | private async Task DeleteResponseChainAsync(string lastResponseId) method DisposeAsync (line 158) | public ValueTask DisposeAsync() method InitializeAsync (line 170) | public virtual async ValueTask InitializeAsync() method InitializeAsync (line 176) | public async Task InitializeAsync(ChatClientAgentOptions options) FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsChatClientAgentRunStreamingTests.cs class AzureAIAgentsChatClientAgentRunStreamingTests (line 10) | [Trait("Category", "IntegrationDisabled")] FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsChatClientAgentRunTests.cs class AzureAIAgentsChatClientAgentRunTests (line 10) | [Trait("Category", "IntegrationDisabled")] FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentCreateTests.cs class AzureAIAgentsPersistentCreateTests (line 20) | [Trait("Category", "IntegrationDisabled")] method CreateAgent_CreatesAgentWithCorrectMetadataAsync (line 27) | [Theory] method CreateAgent_CreatesAgentWithVectorStoresAsync (line 77) | [Theory(Skip = "For manual testing only")] method CreateAgent_CreatesAgentWithCodeInterpreter_ChatClientAgentOptionsAsync (line 142) | [Fact(Skip = SkipCodeInterpreterReason)] method CreateAgent_CreatesAgentWithCodeInterpreter_FoundryOptionsAsync (line 146) | [Fact(Skip = SkipCodeInterpreterReason)] method CreateAgent_CreatesAgentWithCodeInterpreterAsync (line 150) | private async Task CreateAgent_CreatesAgentWithCodeInterpreterAsync(st... method CreateAgent_CreatesAgentWithAIFunctionToolsAsync (line 209) | [Theory] method WaitForVectorStoreReadyAsync (line 258) | private async Task WaitForVectorStoreReadyAsync( FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentFixture.cs class AzureAIAgentsPersistentFixture (line 16) | public class AzureAIAgentsPersistentFixture : IChatClientAgentFixture method GetChatHistoryAsync (line 25) | public async Task> GetChatHistoryAsync(AIAgent agent... method CreateChatClientAgentAsync (line 52) | public async Task CreateChatClientAgentAsync( method DeleteAgentAsync (line 73) | public Task DeleteAgentAsync(ChatClientAgent agent) => method DeleteSessionAsync (line 76) | public Task DeleteSessionAsync(AgentSession session) method DisposeAsync (line 87) | public ValueTask DisposeAsync() method InitializeAsync (line 99) | public async ValueTask InitializeAsync() FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentRunStreamingTests.cs class AzureAIAgentsPersistentRunStreamingTests (line 10) | [Trait("Category", "IntegrationDisabled")] FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentRunTests.cs class AzureAIAgentsPersistentRunTests (line 10) | [Trait("Category", "IntegrationDisabled")] FILE: dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs class AzureAIAgentsPersistentStructuredOutputRunTests (line 11) | [Trait("Category", "IntegrationDisabled")] method RunWithResponseFormatReturnsExpectedResultAsync (line 16) | public override Task RunWithResponseFormatReturnsExpectedResultAsync() method RunWithGenericTypeReturnsExpectedResultAsync (line 22) | public override Task RunWithGenericTypeReturnsExpectedResultAsync() method RunWithPrimitiveTypeReturnsExpectedResultAsync (line 28) | public override Task RunWithPrimitiveTypeReturnsExpectedResultAsync() FILE: dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioFixture.cs class CopilotStudioFixture (line 20) | public class CopilotStudioFixture : IAgentFixture method GetChatHistoryAsync (line 24) | public Task> GetChatHistoryAsync(AIAgent agent, Agen... method DeleteSessionAsync (line 27) | public Task DeleteSessionAsync(AgentSession session) => method InitializeAsync (line 31) | public ValueTask InitializeAsync() method DisposeAsync (line 70) | public ValueTask DisposeAsync() FILE: dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunStreamingTests.cs class CopilotStudioRunStreamingTests (line 8) | public class CopilotStudioRunStreamingTests() : RunStreamingTests(()... method SessionMaintainsHistoryAsync (line 13) | public override Task SessionMaintainsHistoryAsync() method RunWithChatMessageReturnsExpectedResultAsync (line 19) | public override Task RunWithChatMessageReturnsExpectedResultAsync() method RunWithChatMessagesReturnsExpectedResultAsync (line 25) | public override Task RunWithChatMessagesReturnsExpectedResultAsync() method RunWithNoMessageDoesNotFailAsync (line 31) | public override Task RunWithNoMessageDoesNotFailAsync() method RunWithStringReturnsExpectedResultAsync (line 37) | public override Task RunWithStringReturnsExpectedResultAsync() FILE: dotnet/tests/CopilotStudio.IntegrationTests/Support/CopilotStudioConnectionSettings.cs class CopilotStudioConnectionSettings (line 14) | internal sealed class CopilotStudioConnectionSettings : ConnectionSettings method CopilotStudioConnectionSettings (line 40) | public CopilotStudioConnectionSettings(string tenantId, string appClie... method CopilotStudioConnectionSettings (line 54) | public CopilotStudioConnectionSettings(IConfigurationSection config) FILE: dotnet/tests/CopilotStudio.IntegrationTests/Support/CopilotStudioTokenHandler.cs class CopilotStudioTokenHandler (line 27) | internal sealed class CopilotStudioTokenHandler : HttpClientHandler method CopilotStudioTokenHandler (line 43) | public CopilotStudioTokenHandler(CopilotStudioConnectionSettings setti... method SendAsync (line 52) | protected override async Task SendAsync(HttpReque... method AuthenticateAsync (line 64) | private Task AuthenticateAsync(CancellationToken... method AuthenticateServiceAsync (line 69) | private async Task AuthenticateServiceAsync(Canc... method AuthenticateInteractiveAsync (line 89) | private async Task AuthenticateInteractiveAsync(... method CreateCacheHelperAsync (line 118) | private static async Task CreateCacheHelperAsync(stri... FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/A2AAgentSessionTests.cs class A2AAgentSessionTests (line 10) | public sealed class A2AAgentSessionTests method Constructor_RoundTrip_SerializationPreservesState (line 12) | [Fact] method Constructor_RoundTrip_SerializationPreservesStateBag (line 31) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/A2AAgentTests.cs class A2AAgentTests (line 23) | public sealed class A2AAgentTests : IDisposable method A2AAgentTests (line 30) | public A2AAgentTests() method Constructor_WithAllParameters_InitializesPropertiesCorrectly (line 38) | [Fact] method Constructor_WithNullA2AClient_ThrowsArgumentNullException (line 55) | [Fact] method Constructor_WithDefaultParameters_UsesBaseProperties (line 60) | [Fact] method RunAsync_AllowsNonUserRoleMessagesAsync (line 73) | [Fact] method RunAsync_WithValidUserMessage_RunsSuccessfullyAsync (line 88) | [Fact] method RunAsync_WithNewSession_UpdatesSessionConversationIdAsync (line 132) | [Fact] method RunAsync_WithExistingSession_SetConversationIdToMessageAsync (line 163) | [Fact] method RunAsync_WithSessionHavingDifferentContextId_ThrowsInvalidOperationExceptionAsync (line 185) | [Fact] method RunStreamingAsync_WithValidUserMessage_YieldsAgentResponseUpdatesAsync (line 213) | [Fact] method RunStreamingAsync_WithSession_UpdatesSessionConversationIdAsync (line 258) | [Fact] method RunStreamingAsync_WithExistingSession_SetConversationIdToMessageAsync (line 288) | [Fact] method RunStreamingAsync_WithSessionHavingDifferentContextId_ThrowsInvalidOperationExceptionAsync (line 315) | [Fact] method RunStreamingAsync_AllowsNonUserRoleMessagesAsync (line 345) | [Fact] method RunAsync_WithHostedFileContent_ConvertsToFilePartAsync (line 371) | [Fact] method RunAsync_WithContinuationTokenAndMessages_ThrowsInvalidOperationExceptionAsync (line 397) | [Fact] method RunAsync_WithContinuationToken_CallsGetTaskAsyncAsync (line 412) | [Fact] method RunAsync_WithTaskInSessionAndMessage_AddTaskAsReferencesToMessageAsync (line 432) | [Fact] method RunAsync_WithAgentTask_UpdatesSessionTaskIdAsync (line 458) | [Fact] method RunAsync_WithAgentTaskResponse_ReturnsTaskResponseCorrectlyAsync (line 479) | [Fact] method RunAsync_WithVariousTaskStates_ReturnsCorrectTokenAsync (line 526) | [Theory] method RunStreamingAsync_WithContinuationTokenAndMessages_ThrowsInvalidOperationExceptionAsync (line 565) | [Fact] method RunStreamingAsync_WithTaskInSessionAndMessage_AddTaskAsReferencesToMessageAsync (line 586) | [Fact] method RunStreamingAsync_WithAgentTask_UpdatesSessionTaskIdAsync (line 613) | [Fact] method RunStreamingAsync_WithAgentMessage_YieldsResponseUpdateAsync (line 637) | [Fact] method RunStreamingAsync_WithAgentTask_YieldsResponseUpdateAsync (line 677) | [Fact] method RunStreamingAsync_WithTaskStatusUpdateEvent_YieldsResponseUpdateAsync (line 724) | [Fact] method RunStreamingAsync_WithTaskArtifactUpdateEvent_YieldsResponseUpdateAsync (line 763) | [Fact] method RunAsync_WithAllowBackgroundResponsesAndNoSession_ThrowsInvalidOperationExceptionAsync (line 811) | [Fact] method RunStreamingAsync_WithAllowBackgroundResponsesAndNoSession_ThrowsInvalidOperationExceptionAsync (line 826) | [Fact] method RunAsync_WithAgentMessageResponseMetadata_ReturnsMetadataAsAdditionalPropertiesAsync (line 847) | [Fact] method RunAsync_WithAdditionalProperties_PropagatesThemAsMetadataToMessageSendParamsAsync (line 879) | [Fact] method RunAsync_WithNullAdditionalProperties_DoesNotSetMetadataAsync (line 916) | [Fact] method RunStreamingAsync_WithAdditionalProperties_PropagatesThemAsMetadataToMessageSendParamsAsync (line 945) | [Fact] method RunStreamingAsync_WithNullAdditionalProperties_DoesNotSetMetadataAsync (line 984) | [Fact] method RunAsync_WithInvalidSessionType_ThrowsInvalidOperationExceptionAsync (line 1015) | [Fact] method RunStreamingAsync_WithInvalidSessionType_ThrowsInvalidOperationExceptionAsync (line 1026) | [Fact] method GetService_RequestingA2AClient_ReturnsA2AClient (line 1047) | [Fact] method GetService_RequestingAIAgentMetadata_ReturnsMetadata (line 1061) | [Fact] method GetService_RequestingUnknownServiceType_ReturnsNull (line 1077) | [Fact] method GetService_WithServiceKey_ReturnsNull (line 1090) | [Fact] method GetService_RequestingA2AAgentType_ReturnsBaseImplementation (line 1103) | [Fact] method GetService_RequestingAIAgentType_ReturnsBaseImplementation (line 1117) | [Fact] method GetService_RequestingA2AClientWithServiceKey_CallsBaseFirstThenDerivedLogic (line 1131) | [Fact] method GetService_RequestingAIAgentMetadata_ReturnsConsistentMetadata (line 1145) | [Fact] method CreateSessionAsync_WithContextId_CreatesSessionWithContextIdAsync (line 1164) | [Fact] method CreateSessionAsync_WithContextIdAndTaskId_CreatesSessionWithBothIdsAsync (line 1184) | [Fact] method CreateSessionAsync_WithInvalidContextId_ThrowsArgumentExceptionAsync (line 1205) | [Theory] method CreateSessionAsync_WithInvalidContextIdAndValidTaskId_ThrowsArgumentExceptionAsync (line 1221) | [Theory] method CreateSessionAsync_WithValidContextIdAndInvalidTaskId_ThrowsArgumentExceptionAsync (line 1240) | [Theory] method Dispose (line 1257) | public void Dispose() class A2AClientHttpMessageHandlerStub (line 1266) | private sealed class CustomAgentSession : AgentSession; method SendAsync (line 1280) | protected override async Task SendAsync(HttpReq... FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/A2AContinuationTokenTests.cs class A2AContinuationTokenTests (line 12) | public sealed class A2AContinuationTokenTests method Constructor_WithValidTaskId_InitializesTaskIdProperty (line 14) | [Fact] method ToBytes_WithValidToken_SerializesToJsonBytes (line 27) | [Fact] method FromToken_WithA2AContinuationToken_ReturnsSameInstance (line 46) | [Fact] method FromToken_WithSerializedToken_DeserializesCorrectly (line 61) | [Fact] method FromToken_RoundTrip_PreservesTaskId (line 80) | [Fact] method FromToken_WithEmptyData_ThrowsArgumentException (line 99) | [Fact] method FromToken_WithMissingTaskIdProperty_ThrowsException (line 109) | [Fact] method FromToken_WithValidTaskId_ParsesTaskIdCorrectly (line 120) | [Fact] class MockResponseContinuationToken (line 138) | private sealed class MockResponseContinuationToken : ResponseContinuat... method MockResponseContinuationToken (line 142) | public MockResponseContinuationToken(ReadOnlyMemory data) method ToBytes (line 147) | public override ReadOnlyMemory ToBytes() FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/A2AAIContentExtensionsTests.cs class A2AAIContentExtensionsTests (line 12) | public sealed class A2AAIContentExtensionsTests method ToA2AParts_WithEmptyCollection_ReturnsNull (line 14) | [Fact] method ToA2AParts_WithMultipleContents_ReturnsListWithAllParts (line 27) | [Fact] method ToA2AParts_WithMixedSupportedAndUnsupportedContent_IgnoresUnsupportedContent (line 55) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/A2AAgentCardExtensionsTests.cs class A2AAgentCardExtensionsTests (line 19) | public sealed class A2AAgentCardExtensionsTests method A2AAgentCardExtensionsTests (line 23) | public A2AAgentCardExtensionsTests() method GetAIAgent_ReturnsAIAgent (line 33) | [Fact] method RunIAgentAsync_SendsRequestToTheUrlSpecifiedInAgentCardAsync (line 46) | [Fact] class HttpMessageHandlerStub (line 69) | internal sealed class HttpMessageHandlerStub : HttpMessageHandler method SendAsync (line 75) | protected override async Task SendAsync(HttpReq... FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/A2AAgentTaskExtensionsTests.cs class A2AAgentTaskExtensionsTests (line 13) | public sealed class A2AAgentTaskExtensionsTests method ToChatMessages_WithNullAgentTask_ThrowsArgumentNullException (line 15) | [Fact] method ToAIContents_WithNullAgentTask_ThrowsArgumentNullException (line 25) | [Fact] method ToChatMessages_WithEmptyArtifactsAndNoUserInputRequests_ReturnsNull (line 35) | [Fact] method ToChatMessages_WithNullArtifactsAndNoUserInputRequests_ReturnsNull (line 53) | [Fact] method ToAIContents_WithEmptyArtifactsAndNoUserInputRequests_ReturnsNull (line 71) | [Fact] method ToAIContents_WithNullArtifactsAndNoUserInputRequests_ReturnsNull (line 89) | [Fact] method ToChatMessages_WithValidArtifact_ReturnsChatMessages (line 107) | [Fact] method ToAIContents_WithMultipleArtifacts_FlattenAllContents (line 133) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/A2AArtifactExtensionsTests.cs class A2AArtifactExtensionsTests (line 13) | public sealed class A2AArtifactExtensionsTests method ToChatMessage_WithMultiplePartsMetadataAndRawRepresentation_ReturnsCorrectChatMessage (line 15) | [Fact] method ToAIContents_WithMultipleParts_ReturnsCorrectList (line 59) | [Fact] method ToAIContents_WithEmptyParts_ReturnsEmptyList (line 88) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/A2ACardResolverExtensionsTests.cs class A2ACardResolverExtensionsTests (line 19) | public sealed class A2ACardResolverExtensionsTests : IDisposable method A2ACardResolverExtensionsTests (line 25) | public A2ACardResolverExtensionsTests() method GetAIAgentAsync_WithValidAgentCard_ReturnsAIAgentAsync (line 32) | [Fact] method RunIAgentAsync_WithUrlFromAgentCard_SendsRequestToTheUrlAsync (line 57) | [Fact] method Dispose (line 81) | public void Dispose() class HttpMessageHandlerStub (line 87) | internal sealed class HttpMessageHandlerStub : HttpMessageHandler method SendAsync (line 93) | protected override async Task SendAsync(HttpReq... FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/A2AClientExtensionsTests.cs class A2AClientExtensionsTests (line 11) | public sealed class A2AClientExtensionsTests method GetAIAgent_WithAllParameters_ReturnsA2AAgentWithSpecifiedProperties (line 13) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.A2A.UnitTests/Extensions/ChatMessageExtensionsTests.cs class ChatMessageExtensionsTests (line 12) | public sealed class ChatMessageExtensionsTests method ToA2AMessage_WithMessageContainingMultipleContents_AddsAllContentsAsParts (line 14) | [Fact] method ToA2AMessage_WithMixedMessages_AddsAllContentsAsParts (line 51) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/AGUIChatClientTests.cs class AGUIAgentTests (line 16) | public sealed class AGUIAgentTests method RunAsync_AggregatesStreamingUpdates_ReturnsCompleteMessagesAsync (line 18) | [Fact] method RunAsync_WithEmptyUpdateStream_ContainsOnlyMetadataMessagesAsync (line 47) | [Fact] method RunAsync_WithNullMessages_ThrowsArgumentNullExceptionAsync (line 71) | [Fact] method RunAsync_WithNullSession_CreatesNewSessionAsync (line 83) | [Fact] method RunStreamingAsync_YieldsAllEvents_FromServerStreamAsync (line 104) | [Fact] method RunStreamingAsync_WithNullMessages_ThrowsArgumentNullExceptionAsync (line 136) | [Fact] method RunStreamingAsync_WithNullSession_CreatesNewSessionAsync (line 154) | [Fact] method RunStreamingAsync_GeneratesUniqueRunId_ForEachInvocationAsync (line 180) | [Fact] method RunStreamingAsync_ReturnsStreamingUpdates_AfterCompletionAsync (line 216) | [Fact] method DeserializeSession_WithValidState_ReturnsChatClientAgentSessionAsync (line 246) | [Fact] method CreateMockHttpClient (line 264) | private HttpClient CreateMockHttpClient(BaseEvent[] events) method RunStreamingAsync_InvokesTools_WhenFunctionCallsReturnedAsync (line 271) | [Fact] method RunStreamingAsync_DoesNotInvokeTools_WhenSomeToolsNotAvailableAsync (line 322) | [Fact] method RunStreamingAsync_HandlesToolInvocationErrors_GracefullyAsync (line 373) | [Fact] method RunStreamingAsync_InvokesMultipleTools_InSingleTurnAsync (line 420) | [Fact] method RunStreamingAsync_UpdatesSessionWithToolMessages_AfterCompletionAsync (line 464) | [Fact] method CreateMockHttpClientForToolCalls (line 507) | private HttpClient CreateMockHttpClientForToolCalls(BaseEvent[] firstR... method GetStreamingResponseAsync_WrapsServerFunctionCalls_InServerFunctionCallContentAsync (line 515) | [Fact] method GetStreamingResponseAsync_DoesNotWrapClientFunctionCalls_WhenToolInClientSetAsync (line 546) | [Fact] method GetStreamingResponseAsync_HandlesMixedClientAndServerFunctions_InSameResponseAsync (line 587) | [Fact] method GetStreamingResponseAsync_PreservesConversationId_AcrossMultipleTurnsAsync (line 633) | [Fact] method GetStreamingResponseAsync_ExtractsThreadId_FromServerResponseAsync (line 679) | [Fact] method GetStreamingResponseAsync_GeneratesThreadId_WhenNoneProvidedAsync (line 707) | [Fact] method GetStreamingResponseAsync_RemovesThreadIdFromFunctionCallProperties_BeforeYieldingAsync (line 735) | [Fact] method GetResponseAsync_PreservesConversationId_ThroughStreamingPathAsync (line 778) | [Fact] method GetStreamingResponseAsync_UsesServerThreadId_WhenDifferentFromClientAsync (line 802) | [Fact] method GetStreamingResponseAsync_FullConversationFlow_WithMixedFunctionsAsync (line 830) | [Fact] method GetStreamingResponseAsync_ExtractsThreadIdFromFunctionCall_OnSubsequentTurnsAsync (line 881) | [Fact] method GetStreamingResponseAsync_MaintainsConsistentThreadId_AcrossMultipleTurnsAsync (line 964) | [Fact] method GetStreamingResponseAsync_HandlesEmptyThreadId_GracefullyAsync (line 1017) | [Fact] method GetStreamingResponseAsync_AdaptsToServerThreadIdChange_MidConversationAsync (line 1046) | [Fact] method GetStreamingResponseAsync_PresentsServerFunctionResults_AsRegularFunctionResultsAsync (line 1094) | [Fact] method GetStreamingResponseAsync_HandlesMultipleServerFunctions_InSequenceAsync (line 1123) | [Fact] method GetStreamingResponseAsync_MaintainsThreadIdConsistency_WithOnlyServerFunctionsAsync (line 1178) | [Fact] method GetStreamingResponseAsync_StoresConversationIdInAdditionalProperties_WithoutMutatingOptionsAsync (line 1225) | [Fact] method GetStreamingResponseAsync_EnsuresConversationIdIsNull_ForInnerClientAsync (line 1255) | [Fact] method GetStreamingResponseAsync_ExtractsStateFromDataContent_AndRemovesStateMessageAsync (line 1286) | [Fact] method GetStreamingResponseAsync_WithNoStateDataContent_SendsEmptyStateAsync (line 1329) | [Fact] method GetStreamingResponseAsync_WithMalformedStateJson_ThrowsInvalidOperationExceptionAsync (line 1358) | [Fact] method GetStreamingResponseAsync_WithEmptyStateObject_SendsEmptyObjectAsync (line 1386) | [Fact] method GetStreamingResponseAsync_OnlyProcessesDataContentFromLastMessage_IgnoresEarlierOnesAsync (line 1422) | [Fact] method GetStreamingResponseAsync_WithNonJsonMediaType_IgnoresDataContentAsync (line 1469) | [Fact] method GetStreamingResponseAsync_RoundTripState_PreservesJsonStructureAsync (line 1503) | [Fact] method GetStreamingResponseAsync_ReceivesStateSnapshot_AsDataContentWithAdditionalPropertiesAsync (line 1554) | [Fact] class TestDelegatingHandler (line 1593) | internal sealed class TestDelegatingHandler : DelegatingHandler method AddResponse (line 1600) | public void AddResponse(BaseEvent[] events) method AddResponseWithCapture (line 1605) | public void AddResponseWithCapture(BaseEvent[] events) method SendAsync (line 1614) | protected override async Task SendAsync(HttpReque... method CreateResponse (line 1626) | private static HttpResponseMessage CreateResponse(BaseEvent[] events) method CaptureRunIdAsync (line 1638) | private async Task CaptureRunIdAsync(HttpRequestMessage request) class CapturingTestDelegatingHandler (line 1649) | internal sealed class CapturingTestDelegatingHandler : DelegatingHandler method AddResponse (line 1655) | public void AddResponse(BaseEvent[] events) method SendAsync (line 1660) | protected override async Task SendAsync(HttpReque... method CreateResponse (line 1673) | private static HttpResponseMessage CreateResponse(BaseEvent[] events) class StateCapturingTestDelegatingHandler (line 1686) | internal sealed class StateCapturingTestDelegatingHandler : DelegatingHa... method AddResponse (line 1694) | public void AddResponse(BaseEvent[] events) method SendAsync (line 1699) | protected override async Task SendAsync(HttpReque... method CreateResponse (line 1728) | private static HttpResponseMessage CreateResponse(BaseEvent[] events) FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/AGUIChatMessageExtensionsTests.cs class WeatherRequest (line 13) | public sealed class WeatherRequest class WeatherResponse (line 21) | public sealed class WeatherResponse class AGUIChatMessageExtensionsTests (line 29) | [JsonSerializable(typeof(WeatherRequest))] method AsChatMessages_WithEmptyCollection_ReturnsEmptyList (line 39) | [Fact] method AsChatMessages_WithSingleMessage_ConvertsToChatMessageCorrectly (line 53) | [Fact] method AsChatMessages_WithMultipleMessages_PreservesOrder (line 75) | [Fact] method AsChatMessages_MapsAllSupportedRoleTypes_Correctly (line 96) | [Fact] method AsAGUIMessages_WithEmptyCollection_ReturnsEmptyList (line 119) | [Fact] method AsAGUIMessages_WithSingleMessage_ConvertsToAGUIMessageCorrectly (line 133) | [Fact] method AsAGUIMessages_WithMultipleMessages_PreservesOrder (line 152) | [Fact] method AsAGUIMessages_PreservesMessageId_WhenPresent (line 173) | [Fact] method MapChatRole_WithValidRole_ReturnsCorrectChatRole (line 190) | [Theory] method MapChatRole_WithUnknownRole_ThrowsInvalidOperationException (line 204) | [Fact] method AsAGUIMessages_WithToolResultMessage_SerializesResultCorrectly (line 211) | [Fact] method AsAGUIMessages_WithNullToolResult_HandlesGracefully (line 233) | [Fact] method AsAGUIMessages_WithoutTypeInfoResolver_ThrowsInvalidOperationException (line 251) | [Fact] method AsChatMessages_WithToolMessage_DeserializesResultCorrectly (line 265) | [Fact] method AsChatMessages_WithEmptyToolContent_CreatesNullResult (line 291) | [Fact] method AsChatMessages_WithToolMessageWithoutCallId_TreatsAsRegularMessage (line 315) | [Fact] method RoundTrip_ToolResultMessage_PreservesData (line 339) | [Fact] method MapChatRole_WithToolRole_ReturnsToolChatRole (line 360) | [Fact] method AsChatMessages_WithFunctionCallContainingCustomType_SerializesCorrectly (line 372) | [Fact] method AsAGUIMessages_WithFunctionResultContainingCustomType_SerializesCorrectly (line 428) | [Fact] method RoundTrip_WithCustomTypesInFunctionCallAndResult_PreservesData (line 473) | [Fact] method AsAGUIMessages_WithNestedCustomObjects_HandlesComplexSerialization (line 536) | [Fact] method AsAGUIMessages_WithDictionaryContainingCustomTypes_SerializesDirectly (line 587) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/AGUIHttpServiceTests.cs class AGUIHttpServiceTests (line 19) | public sealed class AGUIHttpServiceTests method PostRunAsync_SendsRequestAndParsesSSEStream_SuccessfullyAsync (line 21) | [Fact] method PostRunAsync_WithNonSuccessStatusCode_ThrowsHttpRequestExceptionAsync (line 59) | [Fact] method PostRunAsync_DeserializesMultipleEventTypes_CorrectlyAsync (line 82) | [Fact] method PostRunAsync_WithEmptyEventStream_CompletesSuccessfullyAsync (line 119) | [Fact] method PostRunAsync_WithCancellationToken_CancelsRequestAsync (line 143) | [Fact] method CreateMockHttpClient (line 178) | private static HttpClient CreateMockHttpClient(BaseEvent[] events, Htt... FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/AGUIJsonSerializerContextTests.cs class AGUIJsonSerializerContextTests (line 13) | public sealed class AGUIJsonSerializerContextTests method RunAgentInput_Serializes_WithAllRequiredFields (line 15) | [Fact] method RunAgentInput_Deserializes_FromJsonWithRequiredFields (line 39) | [Fact] method RunAgentInput_HandlesOptionalFields_StateContextAndForwardedProperties (line 67) | [Fact] method RunAgentInput_ValidatesMinimumMessageCount_MinLengthOne (line 92) | [Fact] method RunAgentInput_RoundTrip_PreservesAllData (line 112) | [Fact] method RunStartedEvent_Serializes_WithCorrectEventType (line 143) | [Fact] method RunStartedEvent_Includes_ThreadIdAndRunIdInOutput (line 157) | [Fact] method RunStartedEvent_Deserializes_FromJsonCorrectly (line 174) | [Fact] method RunStartedEvent_RoundTrip_PreservesData (line 195) | [Fact] method RunFinishedEvent_Serializes_WithCorrectEventType (line 212) | [Fact] method RunFinishedEvent_Includes_ThreadIdRunIdAndOptionalResult (line 226) | [Fact] method RunFinishedEvent_Deserializes_FromJsonCorrectly (line 245) | [Fact] method RunFinishedEvent_RoundTrip_PreservesData (line 268) | [Fact] method RunErrorEvent_Serializes_WithCorrectEventType (line 285) | [Fact] method RunErrorEvent_Includes_MessageAndOptionalCode (line 299) | [Fact] method RunErrorEvent_Deserializes_FromJsonCorrectly (line 316) | [Fact] method RunErrorEvent_RoundTrip_PreservesData (line 337) | [Fact] method TextMessageStartEvent_Serializes_WithCorrectEventType (line 353) | [Fact] method TextMessageStartEvent_Includes_MessageIdAndRole (line 367) | [Fact] method TextMessageStartEvent_Deserializes_FromJsonCorrectly (line 384) | [Fact] method TextMessageStartEvent_RoundTrip_PreservesData (line 405) | [Fact] method TextMessageContentEvent_Serializes_WithCorrectEventType (line 421) | [Fact] method TextMessageContentEvent_Includes_MessageIdAndDelta (line 435) | [Fact] method TextMessageContentEvent_Deserializes_FromJsonCorrectly (line 452) | [Fact] method TextMessageContentEvent_RoundTrip_PreservesData (line 473) | [Fact] method TextMessageEndEvent_Serializes_WithCorrectEventType (line 489) | [Fact] method TextMessageEndEvent_Includes_MessageId (line 503) | [Fact] method TextMessageEndEvent_Deserializes_FromJsonCorrectly (line 518) | [Fact] method TextMessageEndEvent_RoundTrip_PreservesData (line 537) | [Fact] method AGUIMessage_Serializes_WithIdRoleAndContent (line 552) | [Fact] method AGUIMessage_Deserializes_FromJsonCorrectly (line 571) | [Fact] method AGUIMessage_RoundTrip_PreservesData (line 593) | [Fact] method AGUIMessage_Validates_RequiredFields (line 610) | [Fact] method BaseEvent_Deserializes_RunStartedEventAsBaseEvent (line 632) | [Fact] method BaseEvent_Deserializes_RunFinishedEventAsBaseEvent (line 652) | [Fact] method BaseEvent_Deserializes_RunErrorEventAsBaseEvent (line 672) | [Fact] method BaseEvent_Deserializes_TextMessageStartEventAsBaseEvent (line 691) | [Fact] method BaseEvent_Deserializes_TextMessageContentEventAsBaseEvent (line 711) | [Fact] method BaseEvent_Deserializes_TextMessageEndEventAsBaseEvent (line 731) | [Fact] method BaseEvent_DistinguishesEventTypes_BasedOnTypeField (line 750) | [Fact] method AGUIUserMessage_SerializesAndDeserializes_Correctly (line 787) | [Fact] method AGUISystemMessage_SerializesAndDeserializes_Correctly (line 807) | [Fact] method AGUIDeveloperMessage_SerializesAndDeserializes_Correctly (line 827) | [Fact] method AGUIAssistantMessage_WithTextOnly_SerializesAndDeserializes_Correctly (line 847) | [Fact] method AGUIAssistantMessage_WithToolCallsAndParameters_SerializesAndDeserializes_Correctly (line 868) | [Fact] method AGUIToolMessage_WithResults_SerializesAndDeserializes_Correctly (line 926) | [Fact] method AllFiveMessageTypes_SerializeAsPolymorphicArray_Correctly (line 965) | [Fact] method ToolCallStartEvent_SerializesAndDeserializes_Correctly (line 996) | [Fact] method ToolCallArgsEvent_SerializesAndDeserializes_Correctly (line 1019) | [Fact] method ToolCallEndEvent_SerializesAndDeserializes_Correctly (line 1040) | [Fact] method ToolCallResultEvent_SerializesAndDeserializes_Correctly (line 1059) | [Fact] method AllToolEventTypes_SerializeAsPolymorphicBaseEvent_Correctly (line 1084) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/AIToolExtensionsTests.cs class AIToolExtensionsTests (line 14) | public sealed class AIToolExtensionsTests method AsAGUITools_WithAIFunction_ConvertsToAGUIToolCorrectly (line 16) | [Fact] method AsAGUITools_WithMultipleFunctions_ConvertsAllCorrectly (line 36) | [Fact] method AsAGUITools_WithNullInput_ReturnsEmptyEnumerable (line 57) | [Fact] method AsAGUITools_WithEmptyInput_ReturnsEmptyEnumerable (line 71) | [Fact] method AsAGUITools_FiltersOutNonAIFunctionTools (line 84) | [Fact] method AsAITools_WithAGUITool_ConvertsToAIFunctionDeclarationCorrectly (line 102) | [Fact] method AsAITools_WithMultipleAGUITools_ConvertsAllCorrectly (line 125) | [Fact] method AsAITools_WithNullInput_ReturnsEmptyEnumerable (line 144) | [Fact] method AsAITools_WithEmptyInput_ReturnsEmptyEnumerable (line 158) | [Fact] method AsAITools_CreatesDeclarationsOnly_NotInvokableFunctions (line 171) | [Fact] method RoundTrip_AIFunctionToAGUIToolBackToDeclaration_PreservesMetadata (line 193) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/ChatResponseUpdateAGUIExtensionsTests.cs class ChatResponseUpdateAGUIExtensionsTests (line 13) | public sealed class ChatResponseUpdateAGUIExtensionsTests method AsChatResponseUpdatesAsync_ConvertsRunStartedEvent_ToResponseUpdateWithMetadataAsync (line 15) | [Fact] method AsChatResponseUpdatesAsync_ConvertsRunFinishedEvent_ToResponseUpdateWithMetadataAsync (line 39) | [Fact] method AsChatResponseUpdatesAsync_ConvertsRunErrorEvent_ToErrorContentAsync (line 71) | [Fact] method AsChatResponseUpdatesAsync_ConvertsTextMessageSequence_ToTextUpdatesWithCorrectRoleAsync (line 96) | [Fact] method AsChatResponseUpdatesAsync_WithTextMessageStartWhileMessageInProgress_ThrowsInvalidOperationExceptionAsync (line 122) | [Fact] method AsChatResponseUpdatesAsync_WithTextMessageEndForWrongMessageId_ThrowsInvalidOperationExceptionAsync (line 143) | [Fact] method AsChatResponseUpdatesAsync_MaintainsMessageContext_AcrossMultipleContentEventsAsync (line 164) | [Fact] method AsChatResponseUpdatesAsync_ConvertsToolCallEvents_ToFunctionCallContentAsync (line 190) | [Fact] method AsChatResponseUpdatesAsync_WithMultipleToolCallArgsEvents_AccumulatesArgsCorrectlyAsync (line 220) | [Fact] method AsChatResponseUpdatesAsync_WithEmptyToolCallArgs_HandlesGracefullyAsync (line 250) | [Fact] method AsChatResponseUpdatesAsync_WithOverlappingToolCalls_ThrowsInvalidOperationExceptionAsync (line 278) | [Fact] method AsChatResponseUpdatesAsync_WithMismatchedToolCallId_ThrowsInvalidOperationExceptionAsync (line 299) | [Fact] method AsChatResponseUpdatesAsync_WithMismatchedToolCallEndId_ThrowsInvalidOperationExceptionAsync (line 319) | [Fact] method AsChatResponseUpdatesAsync_WithMultipleSequentialToolCalls_ProcessesAllCorrectlyAsync (line 340) | [Fact] method AsChatResponseUpdatesAsync_ConvertsStateSnapshotEvent_ToDataContentWithJsonAsync (line 373) | [Fact] method AsChatResponseUpdatesAsync_WithNullStateSnapshot_DoesNotEmitUpdateAsync (line 412) | [Fact] method AsChatResponseUpdatesAsync_WithEmptyObjectStateSnapshot_EmitsDataContentAsync (line 434) | [Fact] method AsChatResponseUpdatesAsync_WithComplexStateSnapshot_PreservesJsonStructureAsync (line 460) | [Fact] method AsChatResponseUpdatesAsync_WithStateSnapshotAndTextMessages_EmitsBothAsync (line 495) | [Fact] method AsChatResponseUpdatesAsync_ConvertsStateDeltaEvent_ToDataContentWithJsonPatchAsync (line 524) | [Fact] method AsChatResponseUpdatesAsync_WithNullStateDelta_DoesNotEmitUpdateAsync (line 579) | [Fact] method AsChatResponseUpdatesAsync_WithEmptyStateDelta_EmitsUpdateAsync (line 604) | [Fact] method AsChatResponseUpdatesAsync_WithMultipleStateDeltaEvents_ConvertsAllAsync (line 627) | [Fact] method AsAGUIEventStreamAsync_ConvertsDataContentWithJsonPatch_ToStateDeltaEventAsync (line 656) | [Fact] method AsAGUIEventStreamAsync_WithBothSnapshotAndDelta_EmitsBothEventsAsync (line 698) | [Fact] method StateDeltaEvent_RoundTrip_PreservesJsonPatchOperationsAsync (line 728) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AGUI.UnitTests/TestHelpers.cs class TestHelpers (line 8) | internal static class TestHelpers method ToAsyncEnumerableAsync (line 13) | public static async IAsyncEnumerable ToAsyncEnumerableAsync(this... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AIAgentMetadataTests.cs class AIAgentMetadataTests (line 8) | public class AIAgentMetadataTests method Constructor_WithNoArguments_SetsProviderNameToNull (line 10) | [Fact] method Constructor_WithProviderName_SetsProperty (line 20) | [Fact] method Constructor_WithNullProviderName_SetsProviderNameToNull (line 33) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AIAgentStructuredOutputTests.cs class AIAgentStructuredOutputTests (line 17) | public class AIAgentStructuredOutputTests method AIAgentStructuredOutputTests (line 21) | public AIAgentStructuredOutputTests() method RunAsyncGeneric_WithObjectType_DoesNotWrapSchemaAsync (line 31) | [Fact] method RunAsyncGeneric_WithPrimitiveType_WrapsSchemaAsync (line 60) | [Fact] method RunAsyncGeneric_WithArrayType_WrapsSchemaAsync (line 88) | [Fact] method RunAsyncGeneric_WithEnumType_WrapsSchemaAsync (line 116) | [Fact] method AgentResponseGeneric_Result_DeserializesObjectWithoutUnwrapping (line 148) | [Fact] method AgentResponseGeneric_Result_UnwrapsPrimitiveFromDataProperty (line 169) | [Fact] method AgentResponseGeneric_Result_UnwrapsArrayFromDataProperty (line 187) | [Fact] method AgentResponseGeneric_Result_UnwrapsEnumFromDataProperty (line 205) | [Fact] method AgentResponseGeneric_Result_FallsBackWhenDataPropertyMissing (line 223) | [Fact] method AgentResponseGeneric_Result_ThrowsWhenTextIsEmpty (line 241) | [Fact] method AgentResponseGeneric_Result_ThrowsWhenDeserializedValueIsNull (line 255) | [Fact] method RunAsyncGeneric_PrimitiveEndToEnd_WrapsAndDeserializesCorrectlyAsync (line 274) | [Fact] method RunAsyncGeneric_ArrayEndToEnd_WrapsAndDeserializesCorrectlyAsync (line 303) | [Fact] method RunAsyncGeneric_ObjectEndToEnd_NoWrappingAndDeserializesCorrectlyAsync (line 332) | [Fact] method RunAsyncGeneric_EnumEndToEnd_WrapsAndDeserializesCorrectlyAsync (line 364) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AIAgentTests.cs class AIAgentTests (line 18) | public class AIAgentTests method AIAgentTests (line 28) | public AIAgentTests() method InvokeWithoutMessageCallsMockedInvokeWithEmptyArrayAsync (line 58) | [Fact] method InvokeWithStringMessageCallsMockedInvokeWithMessageInCollectionAsync (line 84) | [Fact] method InvokeWithSingleMessageCallsMockedInvokeWithMessageInCollectionAsync (line 111) | [Fact] method InvokeStreamingWithoutMessageCallsMockedInvokeWithEmptyArrayAsync (line 138) | [Fact] method InvokeStreamingWithStringMessageCallsMockedInvokeWithMessageInCollectionAsync (line 167) | [Fact] method InvokeStreamingWithSingleMessageCallsMockedInvokeWithMessageInCollectionAsync (line 197) | [Fact] method RunAsync_SetsCurrentRunContext_AccessibleFromRunCoreAsync (line 237) | [Theory] method RunStreamingAsync_SetsCurrentRunContext_AccessibleFromRunCoreStreamingAsync (line 296) | [Theory] method ValidateAgentIDIsIdempotent (line 350) | [Fact] method ValidateAgentIDCanBeProvidedByDerivedAgentClass (line 364) | [Fact] method GetService_RequestingExactAgentType_ReturnsAgent (line 383) | [Fact] method GetService_RequestingAIAgentType_ReturnsAgent (line 400) | [Fact] method GetService_RequestingUnrelatedType_ReturnsNull (line 417) | [Fact] method GetService_WithServiceKey_ReturnsNull (line 433) | [Fact] method GetService_WithNullServiceType_ThrowsArgumentNullException (line 449) | [Fact] method GetService_Generic_ReturnsCorrectType (line 462) | [Fact] method GetService_Generic_ReturnsNullForUnrelatedType (line 479) | [Fact] method Name_ReturnsValueFromDerivedClass (line 499) | [Fact] method Description_ReturnsValueFromDerivedClass (line 515) | [Fact] method Name_ReturnsNullByDefault (line 531) | [Fact] method Description_ReturnsNullByDefault (line 547) | [Fact] class MockAgent (line 565) | private sealed class TestAgentSession : AgentSession; method MockAgent (line 569) | public MockAgent(string? id = null) method CreateSessionCoreAsync (line 576) | protected override ValueTask CreateSessionCoreAsync(Ca... method SerializeSessionCoreAsync (line 579) | protected override ValueTask SerializeSessionCoreAsync(... method DeserializeSessionCoreAsync (line 582) | protected override ValueTask DeserializeSessionCoreAsy... method RunCoreAsync (line 585) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 592) | protected override IAsyncEnumerable RunCoreStre... class MockAgentWithName (line 600) | private sealed class MockAgentWithName : AIAgent method MockAgentWithName (line 605) | public MockAgentWithName(string? name, string? description) method CreateSessionCoreAsync (line 614) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 617) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 620) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 623) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 630) | protected override IAsyncEnumerable RunCoreStre... method ToAsyncEnumerableAsync (line 638) | private static async IAsyncEnumerable ToAsyncEnumerableAsync(IEn... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AIContextProviderTests.cs class AIContextProviderTests (line 14) | public class AIContextProviderTests method InvokedAsync_ReturnsCompletedTaskAsync (line 21) | [Fact] method InvokingContext_Constructor_ThrowsForNullMessages (line 35) | [Fact] method InvokedContext_Constructor_ThrowsForNullMessages (line 42) | [Fact] method GetService_RequestingExactContextProviderType_ReturnsContextProvider (line 56) | [Fact] method GetService_RequestingAIContextProviderType_ReturnsContextProvider (line 73) | [Fact] method GetService_RequestingUnrelatedType_ReturnsNull (line 90) | [Fact] method GetService_WithServiceKey_ReturnsNull (line 106) | [Fact] method GetService_WithNullServiceType_ThrowsArgumentNullException (line 122) | [Fact] method GetService_Generic_ReturnsCorrectType (line 135) | [Fact] method GetService_Generic_ReturnsNullForUnrelatedType (line 152) | [Fact] method InvokingContext_Constructor_ThrowsForNullAIContext (line 169) | [Fact] method InvokingContext_AIContext_ConstructorValueRoundtrips (line 176) | [Fact] method InvokingContext_Agent_ReturnsConstructorValue (line 189) | [Fact] method InvokingContext_Session_ReturnsConstructorValue (line 202) | [Fact] method InvokingContext_Session_CanBeNull (line 215) | [Fact] method InvokingContext_Constructor_ThrowsForNullAgent (line 228) | [Fact] method InvokedContext_ResponseMessages_Roundtrips (line 242) | [Fact] method InvokedContext_InvokeException_Roundtrips (line 256) | [Fact] method InvokedContext_Agent_ReturnsConstructorValue (line 270) | [Fact] method InvokedContext_Session_ReturnsConstructorValue (line 283) | [Fact] method InvokedContext_Session_CanBeNull (line 296) | [Fact] method InvokedContext_Constructor_ThrowsForNullAgent (line 309) | [Fact] method InvokedContext_SuccessConstructor_ThrowsForNullResponseMessages (line 319) | [Fact] method InvokedContext_FailureConstructor_ThrowsForNullException (line 329) | [Fact] method InvokingAsync_NullContext_ThrowsArgumentNullExceptionAsync (line 343) | [Fact] method InvokedAsync_NullContext_ThrowsArgumentNullExceptionAsync (line 353) | [Fact] method InvokingCoreAsync_CallsProvideAIContextAndReturnsMergedContextAsync (line 367) | [Fact] method InvokingCoreAsync_FiltersInputToExternalOnlyByDefaultAsync (line 386) | [Fact] method InvokingCoreAsync_StampsProvidedMessagesWithAIContextProviderSourceAsync (line 409) | [Fact] method InvokingCoreAsync_MergesInstructionsAsync (line 427) | [Fact] method InvokingCoreAsync_MergesToolsAsync (line 442) | [Fact] method InvokingCoreAsync_UsesCustomProvideInputFilterAsync (line 460) | [Fact] method InvokingCoreAsync_ReturnsEmptyContextByDefaultAsync (line 482) | [Fact] method InvokingCoreAsync_MergesWithOriginalUnfilteredMessagesAsync (line 499) | [Fact] method InvokedCoreAsync_CallsStoreAIContextWithFilteredMessagesAsync (line 527) | [Fact] method InvokedCoreAsync_SkipsStorageWhenInvokeExceptionIsNotNullAsync (line 551) | [Fact] method InvokedCoreAsync_UsesCustomStoreInputFilterAsync (line 565) | [Fact] method InvokedCoreAsync_DefaultFilterExcludesNonExternalMessagesAsync (line 592) | [Fact] method InvokedCoreAsync_DefaultResponseFilterPassesAllResponseMessagesAsync (line 614) | [Fact] method InvokedCoreAsync_UsesCustomResponseFilterAsync (line 639) | [Fact] method InvokedCoreAsync_RequestAndResponseFiltersOperateIndependentlyAsync (line 663) | [Fact] class TestAIContextProvider (line 697) | private sealed class TestAIContextProvider : AIContextProvider method TestAIContextProvider (line 706) | public TestAIContextProvider( method ProvideAIContextAsync (line 718) | protected override ValueTask ProvideAIContextAsync(Invoki... method StoreAIContextAsync (line 728) | protected override ValueTask StoreAIContextAsync(InvokedContext cont... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AIContextTests.cs class AIContextTests (line 11) | public class AIContextTests method SetInstructionsRoundtrips (line 13) | [Fact] method SetMessagesRoundtrips (line 24) | [Fact] method SetAIFunctionsRoundtrips (line 43) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AdditionalPropertiesExtensionsTests.cs class AdditionalPropertiesExtensionsTests (line 11) | public sealed class AdditionalPropertiesExtensionsTests method Add_WithValidValue_StoresValueUsingTypeName (line 15) | [Fact] method Add_WithNullDictionary_ThrowsArgumentNullException (line 30) | [Fact] method Add_WithStringValue_StoresValueCorrectly (line 41) | [Fact] method Add_WithIntValue_StoresValueCorrectly (line 56) | [Fact] method Add_ThrowsArgumentException_WhenSameTypeAddedTwice (line 71) | [Fact] method Add_WithMultipleDifferentTypes_StoresAllValues (line 84) | [Fact] method TryAdd_WithValidValue_ReturnsTrueAndStoresValue (line 109) | [Fact] method TryAdd_WithNullDictionary_ThrowsArgumentNullException (line 125) | [Fact] method TryAdd_WithExistingType_ReturnsFalseAndKeepsOriginalValue (line 136) | [Fact] method TryAdd_WithStringValue_ReturnsTrueAndStoresValue (line 154) | [Fact] method TryAdd_WithIntValue_ReturnsTrueAndStoresValue (line 170) | [Fact] method TryAdd_WithMultipleDifferentTypes_StoresAllValues (line 186) | [Fact] method TryGetValue_WithExistingValue_ReturnsTrueAndValue (line 214) | [Fact] method TryGetValue_WithNonExistingValue_ReturnsFalseAndNull (line 231) | [Fact] method TryGetValue_WithNullDictionary_ThrowsArgumentNullException (line 245) | [Fact] method TryGetValue_WithStringValue_ReturnsCorrectValue (line 255) | [Fact] method TryGetValue_WithIntValue_ReturnsCorrectValue (line 271) | [Fact] method TryGetValue_WithWrongType_ReturnsFalse (line 287) | [Fact] method TryGetValue_AfterTryAddFails_ReturnsOriginalValue (line 303) | [Fact] method Contains_WithExistingType_ReturnsTrue (line 326) | [Fact] method Contains_WithNonExistingType_ReturnsFalse (line 341) | [Fact] method Contains_WithNullDictionary_ThrowsArgumentNullException (line 354) | [Fact] method Contains_WithDifferentType_ReturnsFalse (line 364) | [Fact] method Contains_AfterRemove_ReturnsFalse (line 379) | [Fact] method Remove_WithExistingType_ReturnsTrueAndRemovesValue (line 399) | [Fact] method Remove_WithNonExistingType_ReturnsFalse (line 415) | [Fact] method Remove_WithNullDictionary_ThrowsArgumentNullException (line 428) | [Fact] method Remove_OnlyRemovesSpecifiedType (line 438) | [Fact] method Remove_CalledTwice_ReturnsFalseOnSecondCall (line 458) | [Fact] class TestClass (line 479) | private sealed class TestClass class AnotherTestClass (line 484) | private sealed class AnotherTestClass FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentAbstractionsJsonUtilitiesTests.cs class AgentAbstractionsJsonUtilitiesTests (line 16) | public class AgentAbstractionsJsonUtilitiesTests method DefaultOptions_HasExpectedConfiguration (line 18) | [Fact] method DefaultOptions_UsesExpectedEscaping (line 38) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentRequestMessageSourceAttributionTests.cs class AgentRequestMessageSourceAttributionTests (line 8) | public sealed class AgentRequestMessageSourceAttributionTests method Constructor_SetsSourceTypeAndSourceId (line 12) | [Fact] method Constructor_WithNullSourceId_SetsNullSourceId (line 27) | [Fact] method AdditionalPropertiesKey_IsAttribution (line 45) | [Fact] method Default_HasDefaultSourceTypeAndNullSourceId (line 56) | [Fact] method Equals_WithSameSourceTypeAndSourceId_ReturnsTrue (line 71) | [Fact] method Equals_WithDifferentSourceType_ReturnsFalse (line 85) | [Fact] method Equals_WithDifferentSourceId_ReturnsFalse (line 99) | [Fact] method Equals_WithDifferentSourceTypeAndSourceId_ReturnsFalse (line 113) | [Fact] method Equals_WithDifferentCaseSourceId_ReturnsFalse (line 127) | [Fact] method Equals_BothDefaultValues_ReturnsTrue (line 141) | [Fact] method Equals_WithBothNullSourceIds_ReturnsTrue (line 155) | [Fact] method Equals_WithOneNullSourceId_ReturnsFalse (line 169) | [Fact] method ObjectEquals_WithEqualAttribution_ReturnsTrue (line 187) | [Fact] method ObjectEquals_WithDifferentType_ReturnsFalse (line 201) | [Fact] method ObjectEquals_WithNullObject_ReturnsFalse (line 215) | [Fact] method ObjectEquals_WithBoxedDifferentAttribution_ReturnsFalse (line 229) | [Fact] method GetHashCode_WithSameValues_ReturnsSameHashCode (line 247) | [Fact] method GetHashCode_WithDifferentSourceType_ReturnsDifferentHashCode (line 262) | [Fact] method GetHashCode_WithDifferentSourceId_ReturnsDifferentHashCode (line 277) | [Fact] method GetHashCode_ConsistentWithEquals (line 292) | [Fact] method GetHashCode_WithNullSourceId_DoesNotThrow (line 304) | [Fact] method EqualityOperator_WithEqualValues_ReturnsTrue (line 321) | [Fact] method EqualityOperator_WithDifferentValues_ReturnsFalse (line 335) | [Fact] method EqualityOperator_WithBothDefault_ReturnsTrue (line 349) | [Fact] method EqualityOperator_WithDifferentSourceTypeOnly_ReturnsFalse (line 363) | [Fact] method EqualityOperator_WithDifferentSourceIdOnly_ReturnsFalse (line 377) | [Fact] method ToString_WithSourceId_ReturnsTypeColonId (line 395) | [Fact] method ToString_WithNullSourceId_ReturnsTypeOnly (line 408) | [Fact] method ToString_Default_ReturnsExternalOnly (line 421) | [Fact] method InequalityOperator_WithEqualValues_ReturnsFalse (line 438) | [Fact] method InequalityOperator_WithDifferentValues_ReturnsTrue (line 452) | [Fact] method InequalityOperator_WithBothDefault_ReturnsFalse (line 466) | [Fact] method InequalityOperator_WithDifferentSourceTypeOnly_ReturnsTrue (line 480) | [Fact] method InequalityOperator_WithDifferentSourceIdOnly_ReturnsTrue (line 494) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentRequestMessageSourceTypeTests.cs class AgentRequestMessageSourceTypeTests (line 10) | public sealed class AgentRequestMessageSourceTypeTests method Constructor_WithValue_SetsValueProperty (line 14) | [Fact] method Constructor_WithNullValue_Throws (line 27) | [Fact] method Constructor_WithEmptyValue_Throws (line 34) | [Fact] method Default_DefaultsToExternal (line 41) | [Fact] method External_ReturnsInstanceWithExternalValue (line 55) | [Fact] method AIContextProvider_ReturnsInstanceWithAIContextProviderValue (line 65) | [Fact] method ChatHistory_ReturnsInstanceWithChatHistoryValue (line 75) | [Fact] method StaticProperties_ReturnEqualValuesOnMultipleCalls (line 85) | [Fact] method Equals_WithSameInstance_ReturnsTrue (line 106) | [Fact] method Equals_WithEqualValue_ReturnsTrue (line 119) | [Fact] method Equals_WithDifferentValue_ReturnsFalse (line 133) | [Fact] method Equals_WithNullObject_ReturnsFalse (line 147) | [Fact] method Equals_WithDifferentCase_ReturnsFalse (line 160) | [Fact] method Equals_StaticExternalWithNewInstanceHavingSameValue_ReturnsTrue (line 174) | [Fact] method ObjectEquals_WithEqualAgentRequestMessageSource_ReturnsTrue (line 192) | [Fact] method ObjectEquals_WithDifferentType_ReturnsFalse (line 206) | [Fact] method ObjectEquals_WithNullObject_ReturnsFalse (line 220) | [Fact] method GetHashCode_WithSameValue_ReturnsSameHashCode (line 238) | [Fact] method GetHashCode_WithDifferentValue_ReturnsDifferentHashCode (line 253) | [Fact] method GetHashCode_ConsistentWithEquals (line 268) | [Fact] method EqualityOperator_WithEqualValues_ReturnsTrue (line 285) | [Fact] method EqualityOperator_WithDifferentValues_ReturnsFalse (line 299) | [Fact] method EqualityOperator_WithDefaultValues_ReturnsTrue (line 313) | [Fact] method EqualityOperator_WithStaticInstances_ReturnsTrue (line 327) | [Fact] method EqualityOperator_StaticWithNewInstanceHavingSameValue_ReturnsTrue (line 341) | [Fact] method InequalityOperator_WithEqualValues_ReturnsFalse (line 359) | [Fact] method InequalityOperator_WithDifferentValues_ReturnsTrue (line 373) | [Fact] method InequalityOperator_WithBothDefault_ReturnsFalse (line 387) | [Fact] method InequalityOperator_DifferentStaticInstances_ReturnsTrue (line 401) | [Fact] method ToString_ReturnsValue (line 419) | [Fact] method ToString_StaticExternal_ReturnsExternal (line 432) | [Fact] method ToString_Default_ReturnsExternal (line 442) | [Fact] method IEquatable_ImplementedCorrectly (line 459) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentResponseTests.cs class AgentResponseTests (line 12) | public class AgentResponseTests method ConstructorWithNullEmptyArgsIsValid (line 14) | [Fact] method ConstructorWithMessagesRoundtrips (line 32) | [Fact] method ConstructorWithChatResponseRoundtrips (line 49) | [Fact] method PropertiesRoundtrip (line 75) | [Fact] method JsonSerializationRoundtrips (line 116) | [Fact] method ToStringOutputsText (line 151) | [Fact] method TextGetConcatenatesAllTextContent (line 159) | [Fact] method TextGetReturnsEmptyStringWithNoMessages (line 180) | [Fact] method ToAgentResponseUpdatesProducesUpdates (line 188) | [Fact] method ParseAsStructuredOutputWithJSOSuccess (line 225) | [Fact] method ToAgentResponseUpdatesWithNoMessagesProducesEmptyArray (line 242) | [Fact] method ToAgentResponseUpdatesWithUsageOnlyProducesSingleUpdate (line 255) | [Fact] method ToAgentResponseUpdatesWithAdditionalPropertiesOnlyProducesSingleUpdate (line 273) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentResponseUpdateExtensionsTests.cs class AgentResponseUpdateExtensionsTests (line 12) | public class AgentResponseUpdateExtensionsTests method ToAgentResponseCoalescesVariousSequenceAndGapLengthsMemberData (line 14) | public static IEnumerable ToAgentResponseCoalescesVariousSeq... method ToAgentResponseWithInvalidArgsThrows (line 34) | [Fact] method ToAgentResponseSuccessfullyCreatesResponseAsync (line 38) | [Theory] method ToAgentResponseCoalescesVariousSequenceAndGapLengthsAsync (line 92) | [Theory] method ToAgentResponseCoalescesTextContentAndTextReasoningContentSeparatelyAsync (line 152) | [Theory] method ToAgentResponseUsesContentExtractedFromContentsAsync (line 190) | [Fact] method ToAgentResponse_AlternativeTimestampsAsync (line 210) | [Theory] method ToAgentResponse_TimestampFolding_MemberData (line 256) | public static IEnumerable ToAgentResponse_TimestampFolding_... method ToAgentResponse_TimestampFoldingAsync (line 278) | [Theory] method AsChatResponse_WithNullArgument_ThrowsArgumentNullException (line 304) | [Fact] method AsChatResponse_WithRawRepresentationAsChatResponse_ReturnsSameInstance (line 311) | [Fact] method AsChatResponse_WithoutRawRepresentation_CreatesNewChatResponse (line 329) | [Fact] method AsChatResponseUpdate_WithNullArgument_ThrowsArgumentNullException (line 362) | [Fact] method AsChatResponseUpdate_WithRawRepresentationAsChatResponseUpdate_ReturnsSameInstance (line 369) | [Fact] method AsChatResponseUpdate_WithoutRawRepresentation_CreatesNewChatResponseUpdate (line 387) | [Fact] method AsChatResponseUpdatesAsync_WithNullArgument_ThrowsArgumentNullExceptionAsync (line 423) | [Fact] method AsChatResponseUpdatesAsync_ConvertsUpdatesAsync (line 436) | [Fact] method YieldAsync (line 461) | private static async IAsyncEnumerable YieldAsync(... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentResponseUpdateTests.cs class AgentResponseUpdateTests (line 10) | public class AgentResponseUpdateTests method ConstructorPropsDefaulted (line 12) | [Fact] method ConstructorWithChatResponseUpdateRoundtrips (line 30) | [Fact] method PropertiesRoundtrip (line 62) | [Fact] method TextGetUsesAllTextContent (line 120) | [Fact] method JsonSerializationRoundtrips (line 148) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentRunContextTests.cs class AgentRunContextTests (line 15) | public sealed class AgentRunContextTests method Constructor_NullAgent_ThrowsArgumentNullException (line 22) | [Fact] method Constructor_NullSession_DoesNotThrow (line 37) | [Fact] method Constructor_NullRequestMessages_ThrowsArgumentNullException (line 56) | [Fact] method Constructor_NullAgentRunOptions_DoesNotThrow (line 71) | [Fact] method Agent_ReturnsValueFromConstructor (line 94) | [Fact] method Session_ReturnsValueFromConstructor (line 113) | [Fact] method RequestMessages_ReturnsValueFromConstructor (line 132) | [Fact] method RunOptions_ReturnsValueFromConstructor (line 156) | [Fact] method RequestMessages_EmptyCollection_ReturnsEmptyCollection (line 183) | [Fact] class TestAgent (line 204) | private sealed class TestAgentSession : AgentSession; method CreateSessionCoreAsync (line 208) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 211) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 214) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 217) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 224) | protected override IAsyncEnumerable RunCoreStre... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentRunOptionsTests.cs class AgentRunOptionsTests (line 11) | public class AgentRunOptionsTests method CloningConstructorCopiesProperties (line 13) | [Fact] method JsonSerializationRoundtrips (line 41) | [Fact] method CloneReturnsNewInstanceWithSameValues (line 75) | [Fact] method CloneCreatesIndependentAdditionalPropertiesDictionary (line 107) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentSessionExtensionsTests.cs class AgentSessionExtensionsTests (line 13) | public class AgentSessionExtensionsTests method TryGetInMemoryChatHistory_WithNullSession_ThrowsArgumentNullException (line 17) | [Fact] method TryGetInMemoryChatHistory_WhenStateExists_ReturnsTrueAndMessages (line 27) | [Fact] method TryGetInMemoryChatHistory_WhenStateDoesNotExist_ReturnsFalse (line 51) | [Fact] method TryGetInMemoryChatHistory_WithCustomStateKey_UsesCustomKey (line 65) | [Fact] method TryGetInMemoryChatHistory_WithCustomStateKey_DoesNotFindDefaultKey (line 89) | [Fact] method TryGetInMemoryChatHistory_WhenStateExistsWithNullMessages_ReturnsFalse (line 111) | [Fact] method SetInMemoryChatHistory_WithNullSession_ThrowsArgumentNullException (line 132) | [Fact] method SetInMemoryChatHistory_WhenNoExistingState_CreatesNewState (line 143) | [Fact] method SetInMemoryChatHistory_WhenExistingState_ReplacesMessages (line 163) | [Fact] method SetInMemoryChatHistory_WithCustomStateKey_UsesCustomKey (line 189) | [Fact] method SetInMemoryChatHistory_WithEmptyList_SetsEmptyList (line 213) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentSessionStateBagTests.cs class AgentSessionStateBagTests (line 12) | public sealed class AgentSessionStateBagTests method Constructor_Default_CreatesEmptyStateBag (line 16) | [Fact] method SetValue_WithValidKeyAndValue_StoresValue (line 30) | [Fact] method SetValue_WithNullKey_ThrowsArgumentException (line 44) | [Fact] method SetValue_WithEmptyKey_ThrowsArgumentException (line 54) | [Fact] method SetValue_WithWhitespaceKey_ThrowsArgumentException (line 64) | [Fact] method SetValue_OverwritesExistingValue (line 74) | [Fact] method GetValue_WithExistingKey_ReturnsValue (line 92) | [Fact] method GetValue_WithNonexistentKey_ReturnsNull (line 106) | [Fact] method GetValue_WithNullKey_ThrowsArgumentException (line 119) | [Fact] method GetValue_WithEmptyKey_ThrowsArgumentException (line 129) | [Fact] method GetValue_CachesDeserializedValue (line 139) | [Fact] method TryGetValue_WithExistingKey_ReturnsTrueAndValue (line 158) | [Fact] method TryGetValue_WithNonexistentKey_ReturnsFalseAndNull (line 173) | [Fact] method TryGetValue_WithNullKey_ThrowsArgumentException (line 187) | [Fact] method TryGetValue_WithEmptyKey_ThrowsArgumentException (line 197) | [Fact] method SetValue_WithNullValue_StoresNull (line 211) | [Fact] method TryGetValue_WithNullValue_ReturnsTrueAndNull (line 224) | [Fact] method GetValue_WithNullValue_ReturnsNull (line 239) | [Fact] method SetValue_OverwriteWithNull_ReturnsNull (line 253) | [Fact] method SetValue_OverwriteNullWithValue_ReturnsValue (line 268) | [Fact] method SerializeDeserialize_WithNullValue_SerializesAsNull (line 283) | [Fact] method TryRemoveValue_ExistingKey_ReturnsTrueAndRemoves (line 303) | [Fact] method TryRemoveValue_NonexistentKey_ReturnsFalse (line 319) | [Fact] method TryRemoveValue_WithNullKey_ThrowsArgumentException (line 332) | [Fact] method TryRemoveValue_WithEmptyKey_ThrowsArgumentException (line 342) | [Fact] method TryRemoveValue_WithWhitespaceKey_ThrowsArgumentException (line 352) | [Fact] method TryRemoveValue_DoesNotAffectOtherKeys (line 362) | [Fact] method TryRemoveValue_ThenSetValue_Works (line 380) | [Fact] method Serialize_EmptyStateBag_ReturnsEmptyObject (line 400) | [Fact] method Serialize_WithStringValue_ReturnsJsonWithValue (line 413) | [Fact] method Deserialize_FromJsonDocument_ReturnsEmptyStateBag (line 428) | [Fact] method Deserialize_NullElement_ReturnsEmptyStateBag (line 441) | [Fact] method SerializeDeserialize_WithStringValue_Roundtrips (line 454) | [Fact] method SetValue_MultipleConcurrentWrites_DoesNotThrowAsync (line 473) | [Fact] method ConcurrentWritesAndSerialize_DoesNotThrowAsync (line 497) | [Fact] method ConcurrentReadsAndWrites_DoesNotThrowAsync (line 525) | [Fact] method SetValue_WithComplexObject_StoresValue (line 553) | [Fact] method GetValue_WithComplexObject_CachesDeserializedValue (line 571) | [Fact] method TryGetValue_WithComplexObject_ReturnsTrueAndValue (line 587) | [Fact] method SerializeDeserialize_WithComplexObject_Roundtrips (line 606) | [Fact] method Serialize_WithComplexObject_ReturnsJsonWithProperties (line 626) | [Fact] method TryGetValue_WithDifferentTypeAfterSet_ReturnsFalse (line 650) | [Fact] method GetValue_WithDifferentTypeAfterSet_ThrowsInvalidOperationException (line 665) | [Fact] method TryGetValue_WithDifferentTypeAfterDeserializedRead_ReturnsFalse (line 676) | [Fact] method GetValue_WithDifferentTypeAfterDeserializedRoundtrip_ThrowsInvalidOperationException (line 695) | [Fact] method TryGetValue_ComplexTypeAfterSetString_ReturnsFalse (line 714) | [Fact] method GetValue_TypeMismatch_ExceptionMessageContainsBothTypeNames (line 729) | [Fact] method JsonSerializerSerialize_EmptyStateBag_ReturnsEmptyObject (line 748) | [Fact] method JsonSerializerSerialize_WithStringValue_ProducesSameOutputAsSerializeMethod (line 761) | [Fact] method JsonSerializerRoundtrip_WithStringValue_PreservesData (line 776) | [Fact] method JsonSerializerRoundtrip_WithComplexObject_PreservesData (line 792) | [Fact] method JsonSerializerDeserialize_NullJson_ReturnsNull (line 813) | [Fact] method JsonSerializerSerialize_WithUnknownType_Throws (line 827) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/AgentSessionTests.cs class AgentSessionTests (line 12) | public class AgentSessionTests method StateBag_Values_Roundtrips (line 16) | [Fact] method GetService_RequestingExactThreadType_ReturnsSession (line 34) | [Fact] method GetService_RequestingAgentSessionType_ReturnsSession (line 51) | [Fact] method GetService_RequestingUnrelatedType_ReturnsNull (line 68) | [Fact] method GetService_WithServiceKey_ReturnsNull (line 84) | [Fact] method GetService_WithNullServiceType_ThrowsArgumentNullException (line 100) | [Fact] method GetService_Generic_ReturnsCorrectType (line 113) | [Fact] method GetService_Generic_ReturnsNullForUnrelatedType (line 130) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/ChatHistoryProviderTests.cs class ChatHistoryProviderTests (line 16) | public class ChatHistoryProviderTests method GetService_RequestingExactProviderType_ReturnsProvider (line 23) | [Fact] method GetService_RequestingBaseProviderType_ReturnsProvider (line 32) | [Fact] method GetService_RequestingUnrelatedType_ReturnsNull (line 41) | [Fact] method GetService_WithServiceKey_ReturnsNull (line 49) | [Fact] method GetService_WithNullServiceType_ThrowsArgumentNullException (line 57) | [Fact] method GetService_Generic_ReturnsCorrectType (line 64) | [Fact] method GetService_Generic_ReturnsNullForUnrelatedType (line 73) | [Fact] method InvokingContext_Constructor_ThrowsForNullMessages (line 85) | [Fact] method InvokingContext_RequestMessages_SetterThrowsForNull (line 92) | [Fact] method InvokingContext_RequestMessages_SetterRoundtrips (line 103) | [Fact] method InvokingContext_Agent_ReturnsConstructorValue (line 118) | [Fact] method InvokingContext_Session_ReturnsConstructorValue (line 131) | [Fact] method InvokingContext_Session_CanBeNull (line 144) | [Fact] method InvokingContext_Constructor_ThrowsForNullAgent (line 157) | [Fact] method InvokedContext_Constructor_ThrowsForNullRequestMessages (line 171) | [Fact] method InvokedContext_ResponseMessages_Roundtrips (line 178) | [Fact] method InvokedContext_InvokeException_Roundtrips (line 192) | [Fact] method InvokedContext_Agent_ReturnsConstructorValue (line 206) | [Fact] method InvokedContext_Session_ReturnsConstructorValue (line 219) | [Fact] method InvokedContext_Session_CanBeNull (line 232) | [Fact] method InvokedContext_Constructor_ThrowsForNullAgent (line 245) | [Fact] method InvokedContext_SuccessConstructor_ThrowsForNullResponseMessages (line 255) | [Fact] method InvokedContext_FailureConstructor_ThrowsForNullException (line 265) | [Fact] method InvokingAsync_NullContext_ThrowsArgumentNullExceptionAsync (line 279) | [Fact] method InvokedAsync_NullContext_ThrowsArgumentNullExceptionAsync (line 289) | [Fact] method InvokingCoreAsync_CallsProvideChatHistoryAndReturnsMessagesAsync (line 303) | [Fact] method InvokingCoreAsync_HistoryAppearsBeforeRequestMessagesAsync (line 321) | [Fact] method InvokingCoreAsync_StampsHistoryMessagesWithChatHistorySourceAsync (line 344) | [Fact] method InvokingCoreAsync_NoFilterAppliedWhenProvideOutputFilterIsNullAsync (line 360) | [Fact] method InvokingCoreAsync_AppliesProvideOutputFilterWhenProvidedAsync (line 380) | [Fact] method InvokingCoreAsync_ReturnsEmptyHistoryByDefaultAsync (line 403) | [Fact] method InvokedCoreAsync_CallsStoreChatHistoryWithFilteredMessagesAsync (line 423) | [Fact] method InvokedCoreAsync_SkipsStorageWhenInvokeExceptionIsNotNullAsync (line 447) | [Fact] method InvokedCoreAsync_UsesCustomStoreInputFilterAsync (line 461) | [Fact] method InvokedCoreAsync_DefaultFilterExcludesChatHistorySourcedMessagesAsync (line 488) | [Fact] method InvokedCoreAsync_PassesResponseMessagesToStoreAsync (line 511) | [Fact] class TestChatHistoryProvider (line 529) | private sealed class TestChatHistoryProvider : ChatHistoryProvider method TestChatHistoryProvider (line 535) | public TestChatHistoryProvider( method ProvideChatHistoryAsync (line 545) | protected override ValueTask> ProvideChatHi... method StoreChatHistoryAsync (line 548) | protected override ValueTask StoreChatHistoryAsync(InvokedContext co... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/ChatMessageExtensionsTests.cs class ChatMessageExtensionsTests (line 10) | public sealed class ChatMessageExtensionsTests method GetAgentRequestMessageSourceType_WithNoAdditionalProperties_ReturnsExternal (line 14) | [Fact] method GetAgentRequestMessageSourceType_WithNullAdditionalProperties_ReturnsExternal (line 27) | [Fact] method GetAgentRequestMessageSourceType_WithEmptyAdditionalProperties_ReturnsExternal (line 43) | [Fact] method GetAgentRequestMessageSourceType_WithExternalSourceType_ReturnsExternal (line 59) | [Fact] method GetAgentRequestMessageSourceType_WithAIContextProviderSourceType_ReturnsAIContextProvider (line 78) | [Fact] method GetAgentRequestMessageSourceType_WithChatHistorySourceType_ReturnsChatHistory (line 97) | [Fact] method GetAgentRequestMessageSourceType_WithCustomSourceType_ReturnsCustomSourceType (line 116) | [Fact] method GetAgentRequestMessageSourceType_WithWrongAttributionType_ReturnsExternal (line 137) | [Fact] method GetAgentRequestMessageSourceType_WithNullAttributionValue_ReturnsExternal (line 156) | [Fact] method GetAgentRequestMessageSourceType_WithMultipleProperties_ReturnsCorrectSourceType (line 175) | [Fact] method GetAgentRequestMessageSourceId_WithNoAdditionalProperties_ReturnsNull (line 200) | [Fact] method GetAgentRequestMessageSourceId_WithNullAdditionalProperties_ReturnsNull (line 213) | [Fact] method GetAgentRequestMessageSourceId_WithEmptyAdditionalProperties_ReturnsNull (line 229) | [Fact] method GetAgentRequestMessageSourceId_WithAttribution_ReturnsSourceId (line 245) | [Fact] method GetAgentRequestMessageSourceId_WithDifferentSourceIds_ReturnsCorrectSourceId (line 264) | [Fact] method GetAgentRequestMessageSourceId_WithWrongAttributionType_ReturnsNull (line 283) | [Fact] method GetAgentRequestMessageSourceId_WithNullAttributionValue_ReturnsNull (line 302) | [Fact] method GetAgentRequestMessageSourceId_WithMultipleProperties_ReturnsCorrectSourceId (line 321) | [Fact] method AsAgentRequestMessageSourcedMessage_WithNoAdditionalProperties_ReturnsClonesMessageWithAttribution (line 346) | [Fact] method AsAgentRequestMessageSourcedMessage_WithNullAdditionalProperties_ReturnsClonesMessageWithAttribution (line 361) | [Fact] method AsAgentRequestMessageSourcedMessage_WithMatchingSourceTypeAndSourceId_ReturnsSameInstance (line 379) | [Fact] method AsAgentRequestMessageSourcedMessage_WithDifferentSourceType_ReturnsClonesMessageWithNewAttribution (line 398) | [Fact] method AsAgentRequestMessageSourcedMessage_WithDifferentSourceId_ReturnsClonesMessageWithNewAttribution (line 419) | [Fact] method AsAgentRequestMessageSourcedMessage_WithDefaultNullSourceId_ReturnsClonesMessageWithNullSourceId (line 440) | [Fact] method AsAgentRequestMessageSourcedMessage_WithMatchingSourceTypeAndNullSourceId_ReturnsSameInstance (line 455) | [Fact] method AsAgentRequestMessageSourcedMessage_DoesNotModifyOriginalMessage (line 474) | [Fact] method AsAgentRequestMessageSourcedMessage_WithWrongAttributionType_ReturnsClonesMessageWithNewAttribution (line 489) | [Fact] method AsAgentRequestMessageSourcedMessage_PreservesMessageContent (line 510) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/DelegatingAIAgentTests.cs class DelegatingAIAgentTests (line 17) | public class DelegatingAIAgentTests method DelegatingAIAgentTests (line 28) | public DelegatingAIAgentTests() method RequiresInnerAgent (line 70) | [Fact] method Constructor_WithValidInnerAgent_SetsInnerAgent (line 78) | [Fact] method Id_DelegatesToInnerAgent (line 95) | [Fact] method Name_DelegatesToInnerAgent (line 109) | [Fact] method Description_DelegatesToInnerAgent (line 123) | [Fact] method CreateSessionAsync_DelegatesToInnerAgentAsync (line 141) | [Fact] method DeserializeSessionAsync_DelegatesToInnerAgentAsync (line 157) | [Fact] method RunAsyncDefaultsToInnerAgentAsync (line 180) | [Fact] method RunStreamingAsyncDefaultsToInnerAgentAsync (line 216) | [Fact] method GetServiceThrowsForNullType (line 261) | [Fact] method GetServiceReturnsSelfIfCompatibleWithRequestAndKeyIsNull (line 269) | [Fact] method GetServiceDelegatesToInnerIfKeyIsNotNull (line 282) | [Fact] method GetServiceDelegatesToInnerIfNotCompatibleWithRequest (line 302) | [Fact] method ToAsyncEnumerableAsync (line 325) | private static async IAsyncEnumerable ToAsyncEnumerableAsync(IEn... class TestDelegatingAIAgent (line 341) | private sealed class TestDelegatingAIAgent(AIAgent innerAgent) : Deleg... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/InMemoryChatHistoryProviderTests.cs class InMemoryChatHistoryProviderTests (line 16) | public class InMemoryChatHistoryProviderTests method CreateMockSession (line 20) | private static AgentSession CreateMockSession() => new Mock> ProvideMessag... FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/Models/Animal.cs class Animal (line 7) | [Description("Some test description")] FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/Models/Species.cs type Species (line 5) | internal enum Species FILE: dotnet/tests/Microsoft.Agents.AI.Abstractions.UnitTests/ProviderSessionStateTests.cs class ProviderSessionStateTests (line 10) | public class ProviderSessionStateTests method Constructor_ThrowsForNullStateInitializer (line 14) | [Fact] method Constructor_ThrowsForNullStateKey (line 21) | [Fact] method Constructor_ThrowsForEmptyOrWhitespaceStateKey (line 28) | [Theory] method Constructor_AcceptsNullJsonSerializerOptions (line 37) | [Fact] method Constructor_AcceptsCustomJsonSerializerOptions (line 47) | [Fact] method GetOrInitializeState_InitializesFromStateInitializerOnFirstCall (line 64) | [Fact] method GetOrInitializeState_ReturnsCachedStateFromStateBagOnSecondCall (line 79) | [Fact] method GetOrInitializeState_WorksWhenSessionIsNull (line 101) | [Fact] method GetOrInitializeState_ReInitializesWhenSessionIsNull (line 114) | [Fact] method SaveState_SavesToStateBag (line 137) | [Fact] method SaveState_NoOpWhenSessionIsNull (line 153) | [Fact] method StateKey_UsesProvidedKey (line 169) | [Fact] method StateKey_UsesCustomKeyWhenProvided (line 179) | [Fact] method GetOrInitializeState_IsolatesStateBetweenDifferentKeys (line 193) | [Fact] method GetOrInitializeState_IsolatesStateBetweenDifferentSessions (line 210) | [Fact] class TestState (line 235) | public sealed class TestState FILE: dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs class AnthropicBetaServiceExtensionsTests (line 24) | public sealed class AnthropicBetaServiceExtensionsTests method CreateAIAgent_WithClientFactory_AppliesFactoryCorrectly (line 29) | [Fact] method CreateAIAgent_WithClientFactoryUsingAsBuilder_AppliesFactoryCorrectly (line 58) | [Fact] method CreateAIAgent_WithOptionsAndClientFactory_AppliesFactoryCorrectly (line 84) | [Fact] method CreateAIAgent_WithoutClientFactory_WorksNormally (line 116) | [Fact] method CreateAIAgent_WithNullClientFactory_WorksNormally (line 140) | [Fact] method CreateAIAgent_WithNullClient_ThrowsArgumentNullException (line 165) | [Fact] method CreateAIAgent_WithNullOptions_ThrowsArgumentNullException (line 178) | [Fact] method CreateAIAgent_WithTools_AssignsToolsCorrectly (line 194) | [Fact] method CreateAIAgent_WithExplicitMaxTokens_UsesProvidedValueAsync (line 223) | [Fact] class CapturingHttpHandler (line 272) | private sealed class CapturingHttpHandler : HttpMessageHandler method CapturingHttpHandler (line 276) | public CapturingHttpHandler(Action captureRequest) method SendAsync (line 281) | protected override Task SendAsync(HttpRequestMe... method CreateAIAgent_WithToolsAndInstructions_AssignsBothCorrectly (line 294) | [Fact] method CreateAIAgent_WithEmptyTools_DoesNotAssignTools (line 323) | [Fact] method CreateAIAgent_WithNullInstructions_DoesNotSetInstructions (line 351) | [Fact] method CreateAIAgent_WithWhitespaceInstructions_DoesNotSetInstructions (line 372) | [Fact] class TestChatClient (line 393) | private sealed class TestChatClient : IChatClient method TestChatClient (line 397) | public TestChatClient(IChatClient innerClient) method GetResponseAsync (line 402) | public Task GetResponseAsync(IEnumerable ... method GetStreamingResponseAsync (line 405) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 414) | public object? GetService(Type serviceType, object? serviceKey = null) method Dispose (line 425) | public void Dispose() => this._innerClient.Dispose(); class TestAnthropicChatClient (line 431) | private sealed class TestAnthropicChatClient : IAnthropicClient method TestAnthropicChatClient (line 433) | public TestAnthropicChatClient() method WithOptions (line 458) | public IAnthropicClient WithOptions(Func... FILE: dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs class AnthropicClientExtensionsTests (line 19) | public sealed class AnthropicClientExtensionsTests class TestChatClient (line 24) | private sealed class TestChatClient : IChatClient method TestChatClient (line 28) | public TestChatClient(IChatClient innerClient) method GetResponseAsync (line 33) | public Task GetResponseAsync(IEnumerable ... method GetStreamingResponseAsync (line 36) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 45) | public object? GetService(Type serviceType, object? serviceKey = null) method Dispose (line 56) | public void Dispose() => this._innerClient.Dispose(); class TestAnthropicChatClient (line 62) | private sealed class TestAnthropicChatClient : IAnthropicClient method TestAnthropicChatClient (line 64) | public TestAnthropicChatClient() method WithOptions (line 84) | public IAnthropicClient WithOptions(Func captureRequest) method SendAsync (line 349) | protected override Task SendAsync(HttpRequestMe... method CreateAIAgent_WithToolsAndInstructions_AssignsBothCorrectly (line 362) | [Fact] method CreateAIAgent_WithEmptyTools_DoesNotAssignTools (line 391) | [Fact] method CreateAIAgent_WithNullInstructions_DoesNotSetInstructions (line 419) | [Fact] method CreateAIAgent_WithWhitespaceInstructions_DoesNotSetInstructions (line 440) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AzureAI.Persistent.UnitTests/Extensions/PersistentAgentsClientExtensionsTests.cs class PersistentAgentsClientExtensionsTests (line 21) | public sealed class PersistentAgentsClientExtensionsTests method GetAIAgentAsync_WithNullClient_ThrowsArgumentNullExceptionAsync (line 26) | [Fact] method GetAIAgentAsync_WithNullOrWhitespaceAgentId_ThrowsArgumentExceptionAsync (line 39) | [Fact] method CreateAIAgentAsync_WithNullClient_ThrowsArgumentNullExceptionAsync (line 64) | [Fact] method GetAIAgentAsync_WithClientFactory_AppliesFactoryCorrectlyAsync (line 77) | [Fact] method GetAIAgentAsync_WithoutClientFactory_WorksNormallyAsync (line 99) | [Fact] method GetAIAgentAsync_WithNullClientFactory_WorksNormallyAsync (line 117) | [Fact] method CreateAIAgentAsync_WithClientFactory_AppliesFactoryCorrectlyAsync (line 135) | [Fact] method CreateAIAgentAsync_WithoutClientFactory_WorksNormallyAsync (line 157) | [Fact] method CreateAIAgentAsync_WithNullClientFactory_WorksNormallyAsync (line 175) | [Fact] method GetAIAgent_WithResponseAndOptions_WorksCorrectly (line 193) | [Fact] method GetAIAgent_WithPersistentAgentAndOptions_WorksCorrectly (line 221) | [Fact] method GetAIAgent_WithPersistentAgentAndOptionsWithNullFields_FallsBackToAgentMetadata (line 248) | [Fact] method GetAIAgentAsync_WithAgentIdAndOptions_WorksCorrectlyAsync (line 270) | [Fact] method GetAIAgent_WithOptionsAndClientFactory_AppliesFactoryCorrectly (line 297) | [Fact] method GetAIAgent_WithNullResponse_ThrowsArgumentNullException (line 329) | [Fact] method GetAIAgent_WithNullPersistentAgent_ThrowsArgumentNullException (line 346) | [Fact] method GetAIAgent_WithNullOptions_ThrowsArgumentNullException (line 363) | [Fact] method GetAIAgentAsync_WithOptionsAndEmptyAgentId_ThrowsArgumentExceptionAsync (line 380) | [Fact] method CreateAIAgentAsync_WithOptions_WorksCorrectlyAsync (line 397) | [Fact] method CreateAIAgentAsync_WithOptionsAndClientFactory_AppliesFactoryCorrectlyAsync (line 424) | [Fact] method CreateAIAgentAsync_WithNullOptions_ThrowsArgumentNullExceptionAsync (line 456) | [Fact] method CreateAIAgentAsync_WithEmptyModel_ThrowsArgumentExceptionAsync (line 472) | [Fact] method CreateAIAgentAsync_WithServices_PassesServicesToAgentAsync (line 489) | [Fact] method GetAIAgentAsync_WithServices_PassesServicesToAgentAsync (line 518) | [Fact] method CreateAIAgentAsync_WithClientFactoryAndServices_AppliesBothCorrectlyAsync (line 542) | [Fact] method AsAIAgent_WithNullResponseAndChatOptions_ThrowsArgumentNullException (line 578) | [Fact] method AsAIAgent_WithNullClientAndChatOptions_ThrowsArgumentNullException (line 594) | [Fact] method AsAIAgent_WithNullPersistentAgentAndChatOptions_ThrowsArgumentNullException (line 610) | [Fact] method AsAIAgent_WithResponseAndNullChatOptions_UsesAgentInstructions (line 626) | [Fact] method AsAIAgent_WithResponseAndChatOptionsWithNullInstructions_UsesAgentInstructions (line 645) | [Fact] method AsAIAgent_WithResponseAndChatOptionsWithInstructions_UsesChatOptionsInstructions (line 665) | [Fact] method AsAIAgent_WithPersistentAgentChatOptionsAndClientFactory_AppliesFactoryCorrectly (line 685) | [Fact] method GetAIAgentAsync_WithOptionsAndNullOptions_ThrowsArgumentNullExceptionAsync (line 709) | [Fact] method AsAIAgent_WithOptionsAndNullChatOptionsInstructions_UsesAgentInstructions (line 725) | [Fact] method CreateAIAgentAsync_WithHostedCodeInterpreterTool_CreatesAgentWithToolAsync (line 744) | [Fact] method CreateAIAgentAsync_WithHostedCodeInterpreterToolAndHostedFileContent_CreatesAgentWithToolResourcesAsync (line 771) | [Fact] method CreateAIAgentAsync_WithHostedFileSearchTool_CreatesAgentWithToolAsync (line 802) | [Fact] method CreateAIAgentAsync_WithHostedFileSearchToolAndHostedVectorStoreContent_CreatesAgentWithToolResourcesAsync (line 829) | [Fact] method CreateAIAgentAsync_WithHostedWebSearchToolAndConnectionId_CreatesAgentWithToolAsync (line 861) | [Fact] method CreateAIAgentAsync_WithHostedWebSearchToolWithoutConnectionId_FallsToDefaultCaseAsync (line 892) | [Fact] method CreateAIAgentAsync_WithFunctionTools_CategorizesAsOtherToolsAsync (line 920) | [Fact] method CreateAIAgentAsync_WithMixedTools_CreatesAgentWithAllToolsAsync (line 948) | [Fact] method AsAIAgent_WithNullClientResponseAndOptions_ThrowsArgumentNullException (line 976) | [Fact] method AsAIAgent_WithNullClientPersistentAgentAndOptions_ThrowsArgumentNullException (line 994) | [Fact] method AsAIAgent_WithPersistentAgentOptionsAndClientFactory_AppliesFactoryCorrectly (line 1011) | [Fact] method AsAIAgent_WithResponseOptionsAndClientFactory_AppliesFactoryCorrectly (line 1037) | [Fact] method AsAIAgent_WithResponseChatOptionsAndClientFactory_AppliesFactoryCorrectly (line 1064) | [Fact] method GetAIAgentAsync_WithOptionsAndClientFactory_AppliesFactoryCorrectlyAsync (line 1089) | [Fact] method GetAIAgentAsync_WithOptionsAndServices_PassesServicesToAgentAsync (line 1113) | [Fact] method CreateAIAgentAsync_WithOptionsAndServices_PassesServicesToAgentAsync (line 1138) | [Fact] method GetFunctionInvocationServices (line 1164) | private static IServiceProvider? GetFunctionInvocationServices(Functio... class TestChatClient (line 1175) | private sealed class TestChatClient : DelegatingChatClient method TestChatClient (line 1177) | public TestChatClient(IChatClient innerClient) : base(innerClient) class TestServiceProvider (line 1185) | private sealed class TestServiceProvider : IServiceProvider method GetService (line 1187) | public object? GetService(Type serviceType) => null; class FakePersistentAgentsAdministrationClient (line 1190) | public sealed class FakePersistentAgentsAdministrationClient : Persist... method FakePersistentAgentsAdministrationClient (line 1192) | public FakePersistentAgentsAdministrationClient() method CreateAgentAsync (line 1196) | public override async Task> CreateAgentAsy... method CreateAgent (line 1199) | public override Response CreateAgent(string model, ... method GetAgent (line 1202) | public override Response GetAgent(string assistantI... method GetAgentAsync (line 1205) | public override async Task> GetAgentAsync(... method CreateFakePersistentAgentsClient (line 1211) | private static PersistentAgentsClient CreateFakePersistentAgentsClient() class FakeResponse (line 1220) | private sealed class FakeResponse : Response method Dispose (line 1229) | public override void Dispose() method ContainsHeader (line 1234) | protected override bool ContainsHeader(string name) method EnumerateHeaders (line 1239) | protected override IEnumerable EnumerateHeaders() method TryGetHeader (line 1244) | protected override bool TryGetHeader(string name, out string value) method TryGetHeaderValues (line 1249) | protected override bool TryGetHeaderValues(string name, out IEnumera... FILE: dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AzureAIProjectChatClientExtensionsTests.cs class AzureAIProjectChatClientExtensionsTests (line 27) | public sealed class AzureAIProjectChatClientExtensionsTests method AsAIAgent_WithAgentRecord_WithNullClient_ThrowsArgumentNullException (line 34) | [Fact] method AsAIAgent_WithAgentRecord_WithNullAgentRecord_ThrowsArgumentNullException (line 51) | [Fact] method AsAIAgent_WithAgentRecord_CreatesValidAgent (line 67) | [Fact] method AsAIAgent_WithAgentRecord_WithClientFactory_AppliesFactoryCorrectly (line 85) | [Fact] method AsAIAgent_WithAgentVersion_WithNullClient_ThrowsArgumentNullException (line 112) | [Fact] method AsAIAgent_WithAgentVersion_WithNullAgentVersion_ThrowsArgumentNullException (line 129) | [Fact] method AsAIAgent_WithAgentVersion_CreatesValidAgent (line 145) | [Fact] method AsAIAgent_WithAgentVersion_WithClientFactory_AppliesFactoryCorrectly (line 163) | [Fact] method AsAIAgent_WithAgentVersion_WithRequireInvocableToolsTrue_EnforcesInvocableTools (line 186) | [Fact] method AsAIAgent_WithAgentVersion_WithRequireInvocableToolsFalse_AllowsDeclarativeFunctions (line 208) | [Fact] method GetAIAgentAsync_WithOptions_WithNullClient_ThrowsArgumentNullExceptionAsync (line 230) | [Fact] method GetAIAgentAsync_WithOptions_WithNullOptions_ThrowsArgumentNullExceptionAsync (line 247) | [Fact] method GetAIAgentAsync_WithOptions_CreatesValidAgentAsync (line 263) | [Fact] method AsAIAgent_ByName_WithNullClient_ThrowsArgumentNullException (line 285) | [Fact] method AsAIAgent_ByName_WithNullName_ThrowsArgumentNullException (line 301) | [Fact] method AsAIAgent_ByName_WithEmptyName_ThrowsArgumentException (line 317) | [Fact] method GetAIAgentAsync_ByName_WithNullClient_ThrowsArgumentNullExceptionAsync (line 337) | [Fact] method GetAIAgentAsync_ByName_WithNullName_ThrowsArgumentNullExceptionAsync (line 353) | [Fact] method GetAIAgentAsync_ByName_WithNonExistentAgent_ThrowsInvalidOperationExceptionAsync (line 369) | [Fact] method AsAIAgent_WithAgentRecordAndAdditionalTools_WhenDefinitionHasNoTools_ShouldNotThrow (line 396) | [Fact] method AsAIAgent_WithAgentRecordAndNullTools_WorksCorrectly (line 424) | [Fact] method GetAIAgentAsync_WithNameAndTools_CreatesAgentAsync (line 446) | [Fact] method CreateAIAgentAsync_WithModelAndOptions_CreatesValidAgentAsync (line 467) | [Fact] method CreateAIAgentAsync_WithModelAndOptions_WithClientFactory_AppliesFactoryCorrectlyAsync (line 490) | [Fact] method CreateAIAgentAsync_WithAgentDefinition_WithNullClient_ThrowsArgumentNullExceptionAsync (line 522) | [Fact] method CreateAIAgentAsync_WithAgentDefinition_WithNullDefinition_ThrowsArgumentNullExceptionAsync (line 540) | [Fact] method CreateAIAgentAsync_WithDefinition_CreatesAgentSuccessfullyAsync (line 560) | [Fact] method CreateAIAgentAsync_WithoutToolsParameter_CreatesAgentSuccessfullyAsync (line 579) | [Fact] method CreateAIAgentAsync_WithoutToolsInDefinition_CreatesAgentSuccessfullyAsync (line 601) | [Fact] method CreateAIAgentAsync_WithDefinitionTools_UsesDefinitionToolsAsync (line 621) | [Fact] method CreateAIAgentAsync_WithMixedToolsInDefinition_CreatesAgentSuccessfullyAsync (line 655) | [Fact] method CreateAIAgentAsync_WithNameAndAITools_SendsToolDefinitionViaHttpAsync (line 693) | [Fact] method AsAIAgent_AdditionalAITools_WhenNotInTheDefinitionAreIgnored (line 733) | [Fact] method AsAIAgent_WithParameterTools_AcceptsTools (line 769) | [Fact] method CreateAIAgentAsync_WithStringParamsAndTools_CreatesAgentAsync (line 796) | [Fact] method CreateAIAgentAsync_WithDefinitionTools_CreatesAgentAsync (line 831) | [Fact] method GetAIAgentAsync_WithToolsParameter_CreatesAgentAsync (line 852) | [Fact] method CreateAIAgentAsync_WithResponseToolsInDefinition_CreatesAgentSuccessfullyAsync (line 877) | [Fact] method CreateAIAgentAsync_WithFunctionToolsInDefinition_AcceptsDeclarativeFunctionAsync (line 928) | [Fact] method CreateAIAgentAsync_WithDeclarativeFunctionFromDefinition_AcceptsDeclarativeFunctionAsync (line 961) | [Fact] method CreateAIAgentAsync_WithDeclarativeFunctionInDefinition_AcceptsDeclarativeFunctionAsync (line 988) | [Fact] method CreateAIAgentAsync_GeneratesCorrectChatClientAgentOptionsAsync (line 1024) | [Fact] method GetAIAgentAsync_WithOptions_PreservesCustomPropertiesAsync (line 1049) | [Fact] method CreateAIAgentAsync_WithOptionsAndTools_GeneratesCorrectOptionsAsync (line 1074) | [Fact] method AsAIAgent_ByName_WithInvalidAgentName_ThrowsArgumentException (line 1116) | [Theory] method GetAIAgentAsync_ByName_WithInvalidAgentName_ThrowsArgumentExceptionAsync (line 1134) | [Theory] method GetAIAgentAsync_WithOptions_WithInvalidAgentName_ThrowsArgumentExceptionAsync (line 1152) | [Theory] method CreateAIAgentAsync_WithBasicParams_WithInvalidAgentName_ThrowsArgumentExceptionAsync (line 1171) | [Theory] method CreateAIAgentAsync_WithAgentDefinition_WithInvalidAgentName_ThrowsArgumentExceptionAsync (line 1189) | [Theory] method CreateAIAgentAsync_WithOptions_WithInvalidAgentName_ThrowsArgumentExceptionAsync (line 1209) | [Theory] method AsAIAgent_WithAgentReference_WithInvalidAgentName_ThrowsArgumentException (line 1228) | [Theory] method AsAIAgent_WithClientFactory_WrapsUnderlyingChatClient (line 1251) | [Fact] method CreateAIAgentAsync_WithClientFactory_ReceivesCorrectUnderlyingClientAsync (line 1278) | [Fact] method AsAIAgent_MultipleCallsWithClientFactory_CreatesIndependentClients (line 1308) | [Fact] method CreateAIAgentAsync_WithClientFactory_PreservesAgentPropertiesAsync (line 1337) | [Fact] method CreateAIAgentAsync_WithClientFactory_CreatesAgentSuccessfullyAsync (line 1364) | [Fact] method CreateAIAgentAsync_UserAgentHeaderAddedToRequestsAsync (line 1397) | [Fact] method GetAIAgent_UserAgentHeaderAddedToRequestsAsync (line 1430) | [Fact] method AsAIAgent_WithAgentReference_WithNullClient_ThrowsArgumentNullException (line 1462) | [Fact] method AsAIAgent_WithAgentReference_WithNullAgentReference_ThrowsArgumentNullException (line 1479) | [Fact] method AsAIAgent_WithAgentReference_CreatesValidAgent (line 1495) | [Fact] method AsAIAgent_WithAgentReference_WithClientFactory_AppliesFactoryCorrectly (line 1514) | [Fact] method AsAIAgent_WithAgentReference_SetsAgentIdCorrectly (line 1537) | [Fact] method AsAIAgent_WithAgentReference_WithTools_IncludesToolsInChatOptions (line 1555) | [Fact] method GetService_WithAgentRecord_ReturnsAgentRecord (line 1584) | [Fact] method GetService_WithAgentReference_ReturnsNullForAgentRecord (line 1603) | [Fact] method GetService_WithAgentVersion_ReturnsAgentVersion (line 1625) | [Fact] method GetService_WithAgentReference_ReturnsNullForAgentVersion (line 1644) | [Fact] method ChatClientMetadata_WithAgentRecord_IsPopulatedCorrectly (line 1666) | [Fact] method ChatClientMetadata_WithPromptAgentDefinition_SetsDefaultModelIdFromModel (line 1685) | [Fact] method ChatClientMetadata_WithAgentVersion_IsPopulatedCorrectly (line 1710) | [Fact] method GetService_WithAgentReference_ReturnsAgentReference (line 1734) | [Fact] method GetService_WithAgentRecord_ReturnsAlsoAgentReference (line 1754) | [Fact] method GetService_WithAgentVersion_ReturnsAlsoAgentReference (line 1773) | [Fact] method GetService_WithAgentReference_ReturnsCorrectVersionInformation (line 1792) | [Fact] method GetAIAgentAsync_WithOptions_WithNullName_ThrowsArgumentExceptionAsync (line 1816) | [Fact] method GetAIAgentAsync_WithOptions_WithEmptyName_ThrowsArgumentExceptionAsync (line 1834) | [Fact] method GetAIAgentAsync_WithOptions_WithWhitespaceName_ThrowsArgumentExceptionAsync (line 1852) | [Fact] method CreateAIAgentAsync_WithModelAndOptions_WithNullName_ThrowsArgumentExceptionAsync (line 1874) | [Fact] method CreateAIAgentAsync_WithModelAndOptions_WithEmptyName_ThrowsArgumentExceptionAsync (line 1896) | [Fact] method CreateAIAgentAsync_WithModelAndOptions_WithWhitespaceName_ThrowsArgumentExceptionAsync (line 1918) | [Fact] method CreateAIAgentAsync_WithTextResponseFormat_CreatesAgentSuccessfullyAsync (line 1944) | [Fact] method CreateAIAgentAsync_WithJsonResponseFormatWithoutSchema_CreatesAgentSuccessfullyAsync (line 1970) | [Fact] method CreateAIAgentAsync_WithJsonResponseFormatWithSchema_CreatesAgentSuccessfullyAsync (line 1996) | [Fact] method CreateAIAgentAsync_WithJsonResponseFormatWithSchemaAndStrictMode_CreatesAgentSuccessfullyAsync (line 2024) | [Fact] method CreateAIAgentAsync_WithJsonResponseFormatWithSchemaAndStrictModeFalse_CreatesAgentSuccessfullyAsync (line 2057) | [Fact] method CreateAIAgentAsync_WithRawRepresentationFactory_CreatesAgentSuccessfullyAsync (line 2094) | [Fact] method CreateAIAgentAsync_WithRawRepresentationFactoryReturningNull_CreatesAgentSuccessfullyAsync (line 2120) | [Fact] method CreateAIAgentAsync_WithRawRepresentationFactoryReturningNonCreateResponseOptions_CreatesAgentSuccessfullyAsync (line 2146) | [Fact] method CreateAIAgentAsync_WithDescription_SetsDescriptionAsync (line 2176) | [Fact] method CreateAIAgentAsync_WithoutDescription_CreatesAgentSuccessfullyAsync (line 2199) | [Fact] method GetAIAgentAsync_WithToolsRequiredButNotProvided_ThrowsArgumentExceptionAsync (line 2224) | [Fact] method GetAIAgentAsync_WithWrongToolsProvided_ThrowsInvalidOperationExceptionAsync (line 2248) | [Fact] method GetAIAgentAsync_WithMatchingToolsProvided_CreatesAgentSuccessfullyAsync (line 2282) | [Fact] method GetAIAgentAsync_WithAIContextProviders_PreservesProviderAsync (line 2320) | [Fact] method GetAIAgentAsync_WithChatHistoryProvider_PreservesProviderAsync (line 2342) | [Fact] method GetAIAgentAsync_WithUseProvidedChatClientAsIs_PreservesSettingAsync (line 2364) | [Fact] method GetAIAgentAsync_WithUseProvidedChatClientAsIs_SkipsToolValidationAsync (line 2387) | [Fact] method GetAIAgentAsync_WithUseProvidedChatClientAsIs_PreservesProvidedToolsAsync (line 2413) | [Fact] method GetAIAgentAsync_WithEmptyVersion_CreatesAgentSuccessfullyAsync (line 2454) | [Fact] method AsAIAgent_WithAgentRecordEmptyVersion_CreatesAgentWithGeneratedId (line 2478) | [Fact] method AsAIAgent_WithAgentVersionEmptyVersion_CreatesAgentWithGeneratedId (line 2497) | [Fact] method GetAIAgentAsync_WithWhitespaceVersion_CreatesAgentSuccessfullyAsync (line 2516) | [Fact] method AsAIAgent_WithAgentRecordWhitespaceVersion_CreatesAgentWithGeneratedId (line 2540) | [Fact] method AsAIAgent_WithAgentVersionWhitespaceVersion_CreatesAgentWithGeneratedId (line 2559) | [Fact] method CreateAIAgentAsync_WithNonPromptAgentDefinitionAndTools_ThrowsArgumentExceptionAsync (line 2582) | [Fact] method CreateAIAgentAsync_WithAIFunctionDeclarationTool_ThrowsInvalidOperationExceptionAsync (line 2623) | [Fact] method CreateAIAgentAsync_WithResponseToolAsAITool_CreatesAgentSuccessfullyAsync (line 2655) | [Fact] method CreateAIAgentAsync_WithHostedToolTypes_CreatesAgentSuccessfullyAsync (line 2692) | [Fact] method GetAIAgentAsync_WithServerDefinedToolsAndMatchingProvidedTools_CreatesAgentAsync (line 2720) | [Fact] method GetAIAgentAsync_WithMixedServerTools_MatchesFunctionToolsOnlyAsync (line 2758) | [Fact] method GetAIAgentAsync_WithPartialToolsProvided_ThrowsInvalidOperationWithMissingToolNamesAsync (line 2796) | [Fact] method AsAIAgent_WithServerHostedTools_AddsToolsToAgentOptions (line 2833) | [Fact] method CreateTestAgentClient (line 2858) | private FakeAgentClient CreateTestAgentClient(string? agentName = null... method CreateTestAgentClientWithHandler (line 2868) | private static DisposableTestClient CreateTestAgentClientWithHandler(s... class DisposableTestClient (line 2890) | private sealed class DisposableTestClient : IDisposable method DisposableTestClient (line 2895) | public DisposableTestClient(AIProjectClient client, HttpClient httpC... method Dispose (line 2904) | public void Dispose() method CreateTestAgentRecord (line 2914) | private AgentRecord CreateTestAgentRecord(AgentDefinition? agentDefini... method CreateTestAgentClientWithEmptyVersion (line 2922) | private FakeAgentClient CreateTestAgentClientWithEmptyVersion(string? ... method CreateTestAgentRecordWithEmptyVersion (line 2930) | private AgentRecord CreateTestAgentRecordWithEmptyVersion(AgentDefinit... method CreateTestAgentVersionWithEmptyVersion (line 2938) | private AgentVersion CreateTestAgentVersionWithEmptyVersion() method CreateTestAgentClientWithWhitespaceVersion (line 2946) | private FakeAgentClient CreateTestAgentClientWithWhitespaceVersion(str... method CreateTestAgentRecordWithWhitespaceVersion (line 2954) | private AgentRecord CreateTestAgentRecordWithWhitespaceVersion(AgentDe... method CreateTestAgentVersionWithWhitespaceVersion (line 2962) | private AgentVersion CreateTestAgentVersionWithWhitespaceVersion() method CreateTestAgentVersion (line 3000) | private AgentVersion CreateTestAgentVersion() type VersionMode (line 3008) | private enum VersionMode class FakeAgentClient (line 3018) | private sealed class FakeAgentClient : AIProjectClient method FakeAgentClient (line 3020) | public FakeAgentClient(string? agentName = null, string? instruction... method GetConnection (line 3027) | public override ClientConnection GetConnection(string connectionId) class FakeAgentsClient (line 3034) | private sealed class FakeAgentsClient : AgentsClient method FakeAgentsClient (line 3042) | public FakeAgentsClient(string? agentName = null, string? instruct... method GetAgentResponseJson (line 3051) | private string GetAgentResponseJson() method GetAgentVersionResponseJson (line 3061) | private string GetAgentVersionResponseJson() method GetAgent (line 3071) | public override ClientResult GetAgent(string agentName, RequestOpt... method GetAgent (line 3077) | public override ClientResult GetAgent(string agentNam... method GetAgentAsync (line 3083) | public override Task GetAgentAsync(string agentName,... method GetAgentAsync (line 3089) | public override Task> GetAgentAsync(stri... method CreateAgentVersion (line 3095) | public override ClientResult CreateAgentVersion(stri... method CreateAgentVersionAsync (line 3101) | public override Task> CreateAgentVersio... method GeneratePromptDefinitionResponse (line 3109) | private static PromptAgentDefinition GeneratePromptDefinitionResponse(... class TestChatClient (line 3126) | private sealed class TestChatClient : DelegatingChatClient method TestChatClient (line 3128) | public TestChatClient(IChatClient innerClient) : base(innerClient) class MockPipelineResponse (line 3136) | private sealed class MockPipelineResponse : PipelineResponse method MockPipelineResponse (line 3141) | public MockPipelineResponse(int status, BinaryData? content = null) method BufferContent (line 3162) | public override BinaryData BufferContent(CancellationToken cancellat... method BufferContentAsync (line 3165) | public override ValueTask BufferContentAsync(Cancellatio... method Dispose (line 3168) | public override void Dispose() class MockPipelineResponseHeaders (line 3172) | private sealed class MockPipelineResponseHeaders : PipelineResponseH... method TryGetValue (line 3180) | public override bool TryGetValue(string name, out string? value) method TryGetValues (line 3185) | public override bool TryGetValues(string name, out IEnumerable> GetEnume... method GetAgentChatOptions (line 3209) | private static ChatOptions? GetAgentChatOptions(ChatClientAgent agent) class TestSchema (line 3229) | private sealed class TestSchema class TestAIContextProvider (line 3239) | private sealed class TestAIContextProvider : AIContextProvider method InvokingCoreAsync (line 3241) | protected override ValueTask InvokingCoreAsync(InvokingCo... class TestChatHistoryProvider (line 3250) | private sealed class TestChatHistoryProvider : ChatHistoryProvider method InvokingCoreAsync (line 3252) | protected override ValueTask> InvokingCoreA... method InvokedCoreAsync (line 3257) | protected override ValueTask InvokedCoreAsync(InvokedContext context... class InvalidAgentNameTestData (line 3267) | internal static class InvalidAgentNameTestData method GetInvalidAgentNames (line 3273) | public static IEnumerable GetInvalidAgentNames() FILE: dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AzureAIProjectChatClientTests.cs class AzureAIProjectChatClientTests (line 13) | public class AzureAIProjectChatClientTests method ChatClient_UsesDefaultConversationIdAsync (line 18) | [Fact] method ChatClient_UsesPerRequestConversationId_WhenNoDefaultConversationIdIsProvidedAsync (line 67) | [Fact] method ChatClient_UsesPerRequestConversationId_EvenWhenDefaultConversationIdIsProvidedAsync (line 116) | [Fact] method ChatClient_UsesPreviousResponseId_WhenConversationIsNotPrefixedAsConvAsync (line 165) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/FakeAuthenticationTokenProvider.cs class FakeAuthenticationTokenProvider (line 12) | internal sealed class FakeAuthenticationTokenProvider : AuthenticationTo... method CreateTokenOptions (line 14) | public override GetTokenOptions? CreateTokenOptions(IReadOnlyDictionar... method GetToken (line 19) | public override AuthenticationToken GetToken(GetTokenOptions options, ... method GetTokenAsync (line 24) | public override ValueTask GetTokenAsync(GetTokenO... FILE: dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/HttpHandlerAssert.cs class HttpHandlerAssert (line 10) | internal sealed class HttpHandlerAssert : HttpClientHandler method HttpHandlerAssert (line 15) | public HttpHandlerAssert(Func... method HttpHandlerAssert (line 19) | public HttpHandlerAssert(Func SendAsync(HttpReque... method Send (line 35) | protected override HttpResponseMessage Send(HttpRequestMessage request... FILE: dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/TestDataUtil.cs class TestDataUtil (line 12) | internal static class TestDataUtil method GetAgentResponseJson (line 32) | public static string GetAgentResponseJson(string? agentName = null, Ag... method GetAgentVersionResponseJson (line 45) | public static string GetAgentVersionResponseJson(string? agentName = n... method GetAgentVersionResponseJsonWithEmptyVersion (line 58) | public static string GetAgentVersionResponseJsonWithEmptyVersion(strin... method GetAgentResponseJsonWithEmptyVersion (line 74) | public static string GetAgentResponseJsonWithEmptyVersion(string? agen... method GetAgentVersionResponseJsonWithWhitespaceVersion (line 90) | public static string GetAgentVersionResponseJsonWithWhitespaceVersion(... method GetAgentResponseJsonWithWhitespaceVersion (line 106) | public static string GetAgentResponseJsonWithWhitespaceVersion(string?... method GetOpenAIDefaultResponseJson (line 122) | public static string GetOpenAIDefaultResponseJson(string? agentName = ... method ApplyAgentName (line 132) | private static string ApplyAgentName(string json, string? agentName) method ApplyAgentDefinition (line 141) | private static string ApplyAgentDefinition(string json, AgentDefinitio... method ApplyInstructions (line 148) | private static string ApplyInstructions(string json, string? instructi... method ApplyDescription (line 157) | private static string ApplyDescription(string json, string? description) FILE: dotnet/tests/Microsoft.Agents.AI.CosmosNoSql.UnitTests/CosmosChatHistoryProviderTests.cs class CosmosChatHistoryProviderTests (line 39) | [Collection("CosmosDB")] method CreateMockSession (line 44) | private static AgentSession CreateMockSession() => new Moq.Mock TryCreateAsync(GptComponentMetadata p... class TestAgent (line 67) | private sealed class TestAgent : AIAgent method DeserializeSessionCoreAsync (line 69) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 74) | protected override ValueTask SerializeSessionCoreAsync(... method CreateSessionCoreAsync (line 79) | protected override ValueTask CreateSessionCoreAsync(Ca... method RunCoreAsync (line 84) | protected override Task RunCoreAsync(IEnumerable RunCoreStre... FILE: dotnet/tests/Microsoft.Agents.AI.Declarative.UnitTests/ChatClient/ChatClientAgentFactoryTests.cs class ChatClientAgentFactoryTests (line 12) | public sealed class ChatClientAgentFactoryTests method ChatClientAgentFactoryTests (line 16) | public ChatClientAgentFactoryTests() method TryCreateAsync_WithChatClientInConstructor_CreatesAgentAsync (line 21) | [Fact] method TryCreateAsync_Creates_ChatClientAgentAsync (line 38) | [Fact] method TryCreateAsync_Creates_ChatOptionsAsync (line 58) | [Fact] method TryCreateAsync_Creates_ToolsAsync (line 89) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Declarative.UnitTests/PromptAgents.cs class PromptAgents (line 7) | internal static class PromptAgents method CreateTestPromptAgent (line 294) | internal static GptComponentMetadata CreateTestPromptAgent(string? pub... FILE: dotnet/tests/Microsoft.Agents.AI.DevUI.UnitTests/DevUIExtensionsTests.cs class DevUIExtensionsTests (line 15) | public class DevUIExtensionsTests method AddDevUI_NullServices_ThrowsArgumentNullException (line 20) | [Fact] method AddDevUI_GetRequiredKeyedServiceNonExistent_ThrowsInvalidOperationException (line 30) | [Fact] method AddDevUI_WorkflowWithName_CanBeResolved_AsAIAgent (line 45) | [Fact] method AddDevUI_MultipleWorkflowsWithName_CanBeResolved_AsAIAgent (line 71) | [Fact] method AddDevUI_NonKeyedWorkflow_CanBeResolved_AsAIAgent (line 101) | [Fact] method AddDevUI_NonKeyedWorkflow_PlusKeyedWorkflow_CanBeResolved_AsAIAgent (line 123) | [Fact] method AddDevUI_AgentRegisteredWithDifferentKey_CanBeResolvedByKey (line 155) | [Fact] method AddDevUI_Keyed_AndStandard_BothCanBeResolved (line 182) | [Fact] method AddDevUI_InvalidResolution_ErrorMessageIsInformative (line 210) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DevUI.UnitTests/DevUIIntegrationTests.cs class DevUIIntegrationTests (line 16) | public class DevUIIntegrationTests class NoOpExecutor (line 18) | private sealed class NoOpExecutor(string id) : Executor(id) method ConfigureProtocol (line 20) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method TestServerWithDevUI_ResolvesRequestToWorkflow_ByKeyAsync (line 25) | [Fact] method TestServerWithDevUI_ResolvesMultipleAIAgents_ByKeyAsync (line 54) | [Fact] method TestServerWithDevUI_ResolvesAIAgents_WithKeyedAndDefaultRegistrationAsync (line 90) | [Fact] method TestServerWithDevUI_ResolvesMultipleWorkflows_ByKeyAsync (line 126) | [Fact] method TestServerWithDevUI_ResolvesWorkflows_WithKeyedAndDefaultRegistrationAsync (line 175) | [Fact] method TestServerWithDevUI_ResolvesMixedAgentsAndWorkflows_AllRegistrationsAsync (line 221) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/AgentEntityTests.cs class AgentEntityTests (line 18) | [Collection("Sequential")] method Dispose (line 37) | public void Dispose() => this._cts.Dispose(); method EntityNamePrefixAsync (line 39) | [Fact] method RunAgentMethodNamesAllWorkAsync (line 83) | [Theory] method OrchestrationIdSetDuringOrchestrationAsync (line 141) | [Fact] class TestOrchestrator (line 180) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA181... method RunAsync (line 183) | public override async Task RunAsync(TaskOrchestrationContext... FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/ConsoleAppSamplesValidation.cs class ConsoleAppSamplesValidation (line 12) | [Collection("Samples")] method ConfigureAdditionalEnvironmentVariables (line 26) | protected override void ConfigureAdditionalEnvironmentVariables(Proces... method SingleAgentSampleValidationAsync (line 31) | [Fact] method SingleAgentOrchestrationChainingSampleValidationAsync (line 70) | [Fact] method MultiAgentConcurrencySampleValidationAsync (line 106) | [Fact] method MultiAgentConditionalSampleValidationAsync (line 161) | [Fact] method TestSpamDetectionAsync (line 195) | private async Task TestSpamDetectionAsync( method SingleAgentOrchestrationHITLSampleValidationAsync (line 238) | [Fact] method LongRunningToolsSampleValidationAsync (line 312) | [Fact] method ReliableStreamingSampleValidationAsync (line 397) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/ExternalClientTests.cs class ExternalClientTests (line 18) | [Collection("Sequential")] method Dispose (line 37) | public void Dispose() => this._cts.Dispose(); method SimplePromptAsync (line 39) | [Fact] method CallFunctionToolsAsync (line 78) | [Fact] method CallLongRunningFunctionToolsAsync (line 130) | [Fact] method AsDurableAgentProxy_ThrowsWhenAgentNotRegistered (line 215) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/Logging/LogEntry.cs class LogEntry (line 7) | internal sealed class LogEntry( method ToString (line 32) | public override string ToString() FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/Logging/TestLogger.cs class TestLogger (line 8) | internal sealed class TestLogger(string category, ITestOutputHelper outp... method GetLogs (line 14) | public IReadOnlyCollection GetLogs() => this._entries; method ClearLogs (line 16) | public void ClearLogs() => this._entries.Clear(); method BeginScope (line 18) | IDisposable? ILogger.BeginScope(TState state) => null; method IsEnabled (line 20) | bool ILogger.IsEnabled(LogLevel logLevel) => true; method Log (line 22) | void ILogger.Log( FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/Logging/TestLoggerProvider.cs class TestLoggerProvider (line 8) | internal sealed class TestLoggerProvider(ITestOutputHelper output) : ILo... method TryGetLogs (line 13) | public bool TryGetLogs(string category, out IReadOnlyCollection GetAllLogs() method Clear (line 34) | public void Clear() method CreateLogger (line 42) | ILogger ILoggerProvider.CreateLogger(string categoryName) method Dispose (line 47) | void IDisposable.Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/OrchestrationTests.cs class OrchestrationTests (line 16) | [Collection("Sequential")] method Dispose (line 35) | public void Dispose() => this._cts.Dispose(); method GetAgent_ThrowsWhenAgentNotRegisteredAsync (line 37) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/SamplesValidationBase.cs class SamplesValidationBase (line 14) | public abstract class SamplesValidationBase : IAsyncLifetime method SamplesValidationBase (line 36) | protected SamplesValidationBase(ITestOutputHelper outputHelper) method InitializeAsync (line 62) | public async ValueTask InitializeAsync() method EnsureDtsInfrastructureStartedAsync (line 78) | private static async Task EnsureDtsInfrastructureStartedAsync(ITestOut... method EnsureRedisInfrastructureStartedAsync (line 105) | private static async Task EnsureRedisInfrastructureStartedAsync(ITestO... method DisposeAsync (line 129) | public ValueTask DisposeAsync() type OutputLog (line 135) | protected sealed record OutputLog(DateTime Timestamp, LogLevel Level, ... method RunSampleTestAsync (line 140) | protected async Task RunSampleTestAsync(string samplePath, Func logs, Canc... method CreateTestTimeoutCts (line 218) | protected CancellationTokenSource CreateTestTimeoutCts(TimeSpan? timeo... method ConfigureAdditionalEnvironmentVariables (line 227) | protected virtual void ConfigureAdditionalEnvironmentVariables(Process... method GetTargetFramework (line 231) | private static string GetTargetFramework() method StartDtsEmulatorAsync (line 244) | private async Task StartDtsEmulatorAsync() method StartRedisAsync (line 257) | private async Task StartRedisAsync() method IsDtsEmulatorRunningAsync (line 269) | private async Task IsDtsEmulatorRunningAsync() method IsRedisRunningAsync (line 302) | private async Task IsRedisRunningAsync() method BuildSampleAsync (line 340) | private async Task BuildSampleAsync(string samplePath) method StartConsoleApp (line 384) | private Process StartConsoleApp(string samplePath, BlockingCollection<... method HandleProcessOutput (line 441) | private void HandleProcessOutput(string? data, string processName, str... method RunCommandAsync (line 462) | private async Task RunCommandAsync(string command, params string[] args) method StopProcessAsync (line 494) | private async Task StopProcessAsync(Process process) FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/TestHelper.cs class TestHelper (line 20) | internal sealed class TestHelper : IDisposable method TestHelper (line 27) | private TestHelper( method Dispose (line 39) | public void Dispose() method TryGetLogs (line 44) | public bool TryGetLogs(string category, out IReadOnlyCollection this._client; method BuildAndStartTestHelper (line 71) | private static TestHelper BuildAndStartTestHelper( method GetDurableTaskSchedulerConnectionString (line 113) | private static string GetDurableTaskSchedulerConnectionString(IConfigu... method GetAzureOpenAIChatClient (line 155) | internal static ChatClient GetAzureOpenAIChatClient(IConfiguration con... method GetLogs (line 173) | internal IReadOnlyCollection GetLogs() FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/TimeToLiveTests.cs class TimeToLiveTests (line 16) | [Collection("Sequential")] method Dispose (line 35) | public void Dispose() => this._cts.Dispose(); method EntityExpiresAfterTTLAsync (line 37) | [Fact] method EntityTTLResetsOnInteractionAsync (line 102) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/WorkflowConsoleAppSamplesValidation.cs class WorkflowConsoleAppSamplesValidation (line 9) | [Collection("Samples")] method SequentialWorkflowSampleValidationAsync (line 25) | [Fact] method ConcurrentWorkflowSampleValidationAsync (line 74) | [Fact] method ConditionalEdgesWorkflowSampleValidationAsync (line 123) | [Fact] method AssertNoError (line 176) | private void AssertNoError(string line) method WorkflowEventsSampleValidationAsync (line 185) | [Fact] method WorkflowSharedStateSampleValidationAsync (line 281) | [Fact] method SubWorkflowsSampleValidationAsync (line 379) | [Fact] method WorkflowHITLSampleValidationAsync (line 455) | [Fact] method WorkflowAndAgentsSampleValidationAsync (line 508) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/AgentSessionIdTests.cs class AgentSessionIdTests (line 7) | public sealed class AgentSessionIdTests method ParseValidSessionId (line 9) | [Fact] method ParseInvalidSessionId (line 21) | [Fact] method FromEntityId (line 28) | [Fact] method FromInvalidEntityId (line 41) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/DurableAgentRunOptionsTests.cs class DurableAgentRunOptionsTests (line 10) | public sealed class DurableAgentRunOptionsTests method CloneReturnsNewInstanceWithSameValues (line 12) | [Fact] method CloneCreatesIndependentEnableToolNamesList (line 55) | [Fact] method CloneCreatesIndependentAdditionalPropertiesDictionary (line 74) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/DurableAgentSessionTests.cs class DurableAgentSessionTests (line 7) | public sealed class DurableAgentSessionTests method BuiltInSerialization (line 9) | [Fact] method STJSerialization (line 25) | [Fact] method BuiltInSerialization_RoundTrip_PreservesStateBag (line 44) | [Fact] method STJSerialization_RoundTrip_PreservesStateBag (line 62) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/State/DurableAgentStateContentTests.cs class DurableAgentStateContentTests (line 10) | public sealed class DurableAgentStateContentTests method ErrorContentSerializationDeserialization (line 15) | [Fact] method TextContentSerializationDeserialization (line 45) | [Fact] method FunctionCallContentSerializationDeserialization (line 69) | [Fact] method FunctionResultContentSerializationDeserialization (line 114) | [Fact] method DataContentSerializationDeserialization (line 143) | [Theory] method HostedFileContentSerializationDeserialization (line 170) | [Fact] method HostedVectorStoreContentSerializationDeserialization (line 194) | [Fact] method TextReasoningContentSerializationDeserialization (line 218) | [Fact] method UriContentSerializationDeserialization (line 242) | [Fact] method UsageContentSerializationDeserialization (line 267) | [Fact] method UnknownContentSerializationDeserialization (line 301) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/State/DurableAgentStateMessageTests.cs class DurableAgentStateMessageTests (line 9) | public sealed class DurableAgentStateMessageTests method MessageSerializationDeserialization (line 11) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/State/DurableAgentStateRequestTests.cs class DurableAgentStateRequestTests (line 8) | public sealed class DurableAgentStateRequestTests method RequestSerializationDeserialization (line 10) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/State/DurableAgentStateResponseTests.cs class DurableAgentStateResponseTests (line 8) | public sealed class DurableAgentStateResponseTests method FromResponseDropsMessagesContainingOnlyOpaqueContent (line 10) | [Fact] method FromResponseKeepsMessagesWithMixedContent (line 46) | [Fact] method FromResponseDropsAllMessagesWhenAllAreOpaque (line 70) | [Fact] method FromResponseKeepsBaseAIContentWithAnnotations (line 97) | [Fact] method FromResponseKeepsBaseAIContentWithAdditionalProperties (line 120) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/State/DurableAgentStateTests.cs class DurableAgentStateTests (line 8) | public sealed class DurableAgentStateTests method InvalidVersion (line 10) | [Fact] method BreakingVersion (line 25) | [Fact] method MissingData (line 40) | [Fact] method ExtraData (line 55) | [Fact] method BasicState (line 89) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/Workflows/DurableActivityExecutorTests.cs class DurableActivityExecutorTests (line 8) | public sealed class DurableActivityExecutorTests method DeserializeInput_StringType_ReturnsInputAsIs (line 18) | [Fact] method DeserializeInput_SimpleObject_DeserializesCorrectly (line 31) | [Fact] method DeserializeInput_StringArray_DeserializesDirectly (line 46) | [Fact] method DeserializeInput_TypedArrayFromFanIn_DeserializesEachElement (line 60) | [Fact] method DeserializeInput_TypedArrayWithSingleElement_DeserializesCorrectly (line 85) | [Fact] method DeserializeInput_TypedArrayWithNullElement_ThrowsInvalidOperationException (line 102) | [Fact] method DeserializeInput_InvalidJson_ThrowsJsonException (line 113) | [Fact] method ResolveInputType_NullTypeName_ReturnsFirstSupportedType (line 128) | [Fact] method ResolveInputType_EmptyTypeName_ReturnsFirstSupportedType (line 141) | [Fact] method ResolveInputType_EmptySupportedTypes_DefaultsToString (line 154) | [Fact] method ResolveInputType_MatchesByFullName (line 167) | [Fact] method ResolveInputType_MatchesByName (line 180) | [Fact] method ResolveInputType_StringArrayFallsBackToSupportedType (line 193) | [Fact] method ResolveInputType_StringFallsBackToSupportedType (line 206) | [Fact] method ResolveInputType_StringArrayRetainedWhenSupported (line 219) | [Fact] type TestRecord (line 234) | private sealed record TestRecord(string Id, decimal Amount); FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/Workflows/DurableStreamingWorkflowRunTests.cs class DurableStreamingWorkflowRunTests (line 12) | public sealed class DurableStreamingWorkflowRunTests method CreateTestWorkflow (line 17) | private static Workflow CreateTestWorkflow() => method CreateMetadata (line 22) | private static OrchestrationMetadata CreateMetadata( method SerializeCustomStatus (line 37) | private static string SerializeCustomStatus(List events) method SerializeCustomStatusWithPendingEvents (line 43) | private static string SerializeCustomStatusWithPendingEvents( method CreateTestWorkflowWithRequestPort (line 51) | private static Workflow CreateTestWorkflowWithRequestPort(string reque... method SerializeWorkflowResult (line 63) | private static string SerializeWorkflowResult(string? result, List CreateTestExecutor(string id =... method ReadStateAsync_KeyExistsInInitialState_ReturnsValueAsync (line 15) | [Fact] method ReadStateAsync_KeyDoesNotExist_ReturnsNullAsync (line 29) | [Fact] method ReadStateAsync_LocalUpdateTakesPriorityOverInitialStateAsync (line 42) | [Fact] method ReadStateAsync_ScopeCleared_IgnoresInitialStateAsync (line 57) | [Fact] method ReadStateAsync_WithNamedScope_ReadsFromCorrectScopeAsync (line 72) | [Fact] method ReadStateAsync_NullOrEmptyKey_ThrowsArgumentExceptionAsync (line 92) | [Theory] method ReadOrInitStateAsync_KeyDoesNotExist_CallsFactoryAndQueuesUpdateAsync (line 108) | [Fact] method ReadOrInitStateAsync_KeyExists_ReturnsExistingValueAsync (line 122) | [Fact] method ReadOrInitStateAsync_NullOrEmptyKey_ThrowsArgumentExceptionAsync (line 142) | [Theory] method ReadOrInitStateAsync_ValueType_MissingKey_CallsFactoryAsync (line 155) | [Fact] method ReadOrInitStateAsync_NullFactory_ThrowsArgumentNullExceptionAsync (line 172) | [Fact] method QueueStateUpdateAsync_SetsValue_VisibleToSubsequentReadAsync (line 187) | [Fact] method QueueStateUpdateAsync_NullValue_RecordsDeletionAsync (line 201) | [Fact] method QueueStateUpdateAsync_NullOrEmptyKey_ThrowsArgumentExceptionAsync (line 216) | [Theory] method QueueClearScopeAsync_DefaultScope_ClearsStateAndPendingUpdatesAsync (line 233) | [Fact] method QueueClearScopeAsync_NamedScope_OnlyClearsThatScopeAsync (line 249) | [Fact] method ReadStateKeysAsync_ReturnsKeysFromInitialStateAsync (line 269) | [Fact] method ReadStateKeysAsync_MergesLocalUpdatesAndDeletionsAsync (line 289) | [Fact] method ReadStateKeysAsync_AfterClearScope_ExcludesInitialStateAsync (line 311) | [Fact] method ReadStateKeysAsync_WithNamedScope_OnlyReturnsKeysFromThatScopeAsync (line 328) | [Fact] method AddEventAsync_AddsEventToCollectionAsync (line 351) | [Fact] method AddEventAsync_NullEvent_DoesNotAddAsync (line 366) | [Fact] method SendMessageAsync_SerializesMessageWithTypeNameAsync (line 385) | [Fact] method SendMessageAsync_NullMessage_DoesNotAddAsync (line 400) | [Fact] method YieldOutputAsync_AddsWorkflowOutputEventAsync (line 419) | [Fact] method YieldOutputAsync_NullOutput_DoesNotAddAsync (line 434) | [Fact] method RequestHaltAsync_SetsHaltRequestedAndAddsEventAsync (line 453) | [Fact] method TraceContext_ReturnsNull (line 472) | [Fact] method ConcurrentRunsEnabled_ReturnsFalse (line 482) | [Fact] method Constructor_NullInitialState_CreatesEmptyStateAsync (line 492) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/Workflows/WorkflowNamingHelperTests.cs class WorkflowNamingHelperTests (line 7) | public sealed class WorkflowNamingHelperTests method ToOrchestrationFunctionName_ValidWorkflowName_ReturnsPrefixedName (line 9) | [Fact] method ToOrchestrationFunctionName_NullOrEmpty_ThrowsArgumentException (line 17) | [Theory] method ToWorkflowName_ValidOrchestrationFunctionName_ReturnsWorkflowName (line 25) | [Fact] method ToWorkflowName_NullOrEmpty_ThrowsArgumentException (line 33) | [Theory] method ToWorkflowName_InvalidOrMissingPrefix_ThrowsArgumentException (line 41) | [Theory] method GetExecutorName_SimpleExecutorId_ReturnsSameName (line 51) | [Fact] method GetExecutorName_ExecutorIdWithGuidSuffix_ReturnsNameWithoutSuffix (line 59) | [Fact] method GetExecutorName_NameWithUnderscoresAndGuidSuffix_ReturnsFullName (line 67) | [Fact] method GetExecutorName_NameWithUnderscoreButNoGuidSuffix_ReturnsSameName (line 75) | [Fact] method GetExecutorName_NullOrEmpty_ThrowsArgumentException (line 83) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.FoundryMemory.IntegrationTests/FoundryMemoryProviderTests.cs class FoundryMemoryProviderTests (line 19) | public sealed class FoundryMemoryProviderTests : IDisposable method FoundryMemoryProviderTests (line 28) | public FoundryMemoryProviderTests() method CanAddAndRetrieveUserMemoriesAsync (line 49) | [Fact(Skip = SkipReason)] method DoesNotLeakMemoriesAcrossScopesAsync (line 82) | [Fact(Skip = SkipReason)] method Dispose (line 124) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.FoundryMemory.UnitTests/FoundryMemoryProviderTests.cs class FoundryMemoryProviderTests (line 16) | public sealed class FoundryMemoryProviderTests method Constructor_Throws_WhenClientIsNull (line 18) | [Fact] method Constructor_Throws_WhenStateInitializerIsNull (line 29) | [Fact] method Constructor_Throws_WhenMemoryStoreNameIsEmpty (line 43) | [Fact] method Constructor_Throws_WhenMemoryStoreNameIsNull (line 57) | [Fact] method Scope_Throws_WhenScopeIsNull (line 71) | [Fact] method Scope_Throws_WhenScopeIsEmpty (line 78) | [Fact] method StateInitializer_Throws_WhenScopeIsNull (line 85) | [Fact] method Constructor_Succeeds_WithValidParameters (line 115) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.FoundryMemory.UnitTests/TestableAIProjectClient.cs class TestableAIProjectClient (line 19) | internal sealed class TestableAIProjectClient : IDisposable method TestableAIProjectClient (line 23) | public TestableAIProjectClient( method Dispose (line 59) | public void Dispose() class MockHttpMessageHandler (line 69) | internal sealed class MockHttpMessageHandler : HttpMessageHandler method MockHttpMessageHandler (line 79) | public MockHttpMessageHandler( method SendAsync (line 101) | protected override async Task SendAsync(HttpReque... method CreateResponse (line 147) | private static HttpResponseMessage CreateResponse(HttpStatusCode statu... class MockTokenCredential (line 159) | internal sealed class MockTokenCredential : TokenCredential method GetToken (line 161) | public override AccessToken GetToken(TokenRequestContext requestContex... method GetTokenAsync (line 166) | public override ValueTask GetTokenAsync(TokenRequestConte... class TestJsonContext (line 175) | [JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolic... class TestState (line 185) | internal sealed class TestState class TestScope (line 193) | internal sealed class TestScope FILE: dotnet/tests/Microsoft.Agents.AI.GitHub.Copilot.IntegrationTests/GitHubCopilotAgentTests.cs class GitHubCopilotAgentTests (line 12) | public class GitHubCopilotAgentTests method OnPermissionRequestAsync (line 16) | private static Task OnPermissionRequestAsync(... method RunAsync_WithSimplePrompt_ReturnsResponseAsync (line 19) | [Fact(Skip = SkipReason)] method RunStreamingAsync_WithSimplePrompt_ReturnsUpdatesAsync (line 37) | [Fact(Skip = SkipReason)] method RunAsync_WithFunctionTool_InvokesToolAsync (line 59) | [Fact(Skip = SkipReason)] method RunAsync_WithSession_MaintainsContextAsync (line 88) | [Fact(Skip = SkipReason)] method RunAsync_WithSessionResume_ContinuesConversationAsync (line 113) | [Fact(Skip = SkipReason)] method RunAsync_WithShellPermissions_ExecutesCommandAsync (line 148) | [Fact(Skip = SkipReason)] method RunAsync_WithUrlPermissions_FetchesContentAsync (line 171) | [Fact(Skip = SkipReason)] method RunAsync_WithLocalMcpServer_UsesServerToolsAsync (line 194) | [Fact(Skip = SkipReason)] method RunAsync_WithRemoteMcpServer_UsesServerToolsAsync (line 227) | [Fact(Skip = SkipReason)] FILE: dotnet/tests/Microsoft.Agents.AI.GitHub.Copilot.UnitTests/CopilotClientExtensionsTests.cs class CopilotClientExtensionsTests (line 13) | public sealed class CopilotClientExtensionsTests method AsAIAgent_WithAllParameters_ReturnsGitHubCopilotAgentWithSpecifiedProperties (line 15) | [Fact] method AsAIAgent_WithMinimalParameters_ReturnsGitHubCopilotAgent (line 36) | [Fact] method AsAIAgent_WithNullClient_ThrowsArgumentNullException (line 50) | [Fact] method AsAIAgent_WithOwnsClient_ReturnsAgentThatOwnsClient (line 60) | [Fact] method AsAIAgent_WithTools_ReturnsAgentWithTools (line 74) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.GitHub.Copilot.UnitTests/GitHubCopilotAgentTests.cs class GitHubCopilotAgentTests (line 14) | public sealed class GitHubCopilotAgentTests method Constructor_WithCopilotClient_InitializesPropertiesCorrectly (line 16) | [Fact] method Constructor_WithNullCopilotClient_ThrowsArgumentNullException (line 34) | [Fact] method Constructor_WithDefaultParameters_UsesBaseProperties (line 41) | [Fact] method CreateSessionAsync_ReturnsGitHubCopilotAgentSessionAsync (line 57) | [Fact] method CreateSessionAsync_WithSessionId_ReturnsSessionWithSessionIdAsync (line 72) | [Fact] method Constructor_WithTools_InitializesCorrectly (line 89) | [Fact] method CopySessionConfig_CopiesAllProperties (line 104) | [Fact] method CopyResumeSessionConfig_CopiesAllProperties (line 155) | [Fact] method CopyResumeSessionConfig_WithNullSource_ReturnsDefaults (line 206) | [Fact] method ConvertToAgentResponseUpdate_AssistantMessageEvent_DoesNotEmitTextContent (line 225) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/A2AIntegrationTests.cs class A2AIntegrationTests (line 16) | public sealed class A2AIntegrationTests method MapA2A_WithAgentCard_CardEndpointReturnsCardWithUrlAsync (line 21) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/AIAgentExtensionsTests.cs class AIAgentExtensionsTests (line 19) | public sealed class AIAgentExtensionsTests method MapA2A_WhenMetadataIsNull_PassesOptionsWithNoAdditionalPropertiesToRunAsync (line 25) | [Fact] method MapA2A_WhenMetadataHasValues_PassesOptionsWithAdditionalPropertiesToRunAsync (line 48) | [Fact] method MapA2A_WhenMetadataIsEmptyDictionary_PassesOptionsWithNoAdditionalPropertiesToRunAsync (line 78) | [Fact] method MapA2A_WhenResponseHasAdditionalProperties_ReturnsAgentMessageWithMetadataAsync (line 101) | [Fact] method MapA2A_WhenResponseHasNullAdditionalProperties_ReturnsAgentMessageWithNullMetadataAsync (line 135) | [Fact] method MapA2A_WhenResponseHasEmptyAdditionalProperties_ReturnsAgentMessageWithNullMetadataAsync (line 159) | [Fact] method MapA2A_MessageMode_AlwaysReturnsAgentMessageAsync (line 184) | [Fact] method MapA2A_BackgroundIfSupportedMode_WhenNoContinuationToken_ReturnsAgentMessageAsync (line 208) | [Fact] method MapA2A_DynamicMode_WithFalseCallback_ReturnsAgentMessageAsync (line 232) | [Fact] method MapA2A_WhenResponseHasContinuationToken_ReturnsAgentTaskInWorkingStateAsync (line 255) | [Fact] method MapA2A_WhenResponseHasContinuationToken_TaskStatusHasIntermediateMessageAsync (line 280) | [Fact] method MapA2A_WhenResponseHasContinuationToken_StoresTokenInTaskMetadataAsync (line 307) | [Fact] method MapA2A_WhenTaskIsCreated_OriginalMessageIsInHistoryAsync (line 333) | [Fact] method MapA2A_BackgroundIfSupportedMode_WhenNoContinuationToken_ReturnsAgentMessageWithContextIdAsync (line 360) | [Fact] method MapA2A_OnTaskUpdated_WhenBackgroundOperationCompletes_TaskIsCompletedAsync (line 384) | [Fact] method MapA2A_OnTaskUpdated_WhenBackgroundOperationStillWorking_TaskRemainsWorkingAsync (line 425) | [Fact] method MapA2A_OnTaskUpdated_MultiplePolls_EventuallyCompletesAsync (line 464) | [Fact] method MapA2A_OnTaskUpdated_WhenAgentThrows_TaskIsFailedAsync (line 522) | [Fact] method MapA2A_TaskMode_WhenContinuationToken_ReturnsWorkingAgentTaskAsync (line 560) | [Fact] method MapA2A_WhenContinuationTokenWithNoMessages_TaskStatusHasNullMessageAsync (line 588) | [Fact] method MapA2A_OnTaskUpdated_WhenNoContinuationToken_ProcessesHistoryAndCompletesAsync (line 614) | [Fact] method MapA2A_OnTaskCancelled_RemovesContinuationTokenFromMetadataAsync (line 669) | [Fact] method MapA2A_OnTaskUpdated_WhenOperationCancelled_DoesNotMarkFailedAsync (line 699) | [Fact] method MapA2A_WhenMessageHasContextId_UsesProvidedContextIdAsync (line 738) | [Fact] method CreateAgentMock (line 764) | private static Mock CreateAgentMock(Action ... method CreateAgentMockWithResponse (line 786) | private static Mock CreateAgentMockWithResponse(AgentResponse... method InvokeOnMessageReceivedAsync (line 806) | private static async Task InvokeOnMessageReceivedAsync(IT... method InvokeOnTaskUpdatedAsync (line 813) | private static async Task InvokeOnTaskUpdatedAsync(ITaskManager taskMa... method CreateTestContinuationToken (line 821) | private static ResponseContinuationToken CreateTestContinuationToken() method CreateAgentMockWithSequentialResponses (line 827) | private static Mock CreateAgentMockWithSequentialResponses( method CreateAgentMockWithCallCount (line 836) | private static Mock CreateAgentMockWithCallCount( FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/Converters/MessageConverterTests.cs class MessageConverterTests (line 10) | public class MessageConverterTests method ToChatMessages_MessageSendParams_Null_ReturnsEmptyCollection (line 12) | [Fact] method ToChatMessages_MessageSendParams_WithNullMessage_ReturnsEmptyCollection (line 23) | [Fact] method ToChatMessages_MessageSendParams_WithMessageWithoutParts_ReturnsEmptyCollection (line 37) | [Fact] method ToChatMessages_MessageSendParams_WithValidTextMessage_ReturnsCorrectChatMessage (line 56) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/EndpointRouteA2ABuilderExtensionsTests.cs class EndpointRouteA2ABuilderExtensionsTests (line 15) | public sealed class EndpointRouteA2ABuilderExtensionsTests method MapA2A_WithAgentBuilder_NullEndpoints_ThrowsArgumentNullException (line 20) | [Fact] method MapA2A_WithAgentBuilder_NullAgentBuilder_ThrowsArgumentNullException (line 40) | [Fact] method MapA2A_WithAgentBuilder_DefaultConfiguration_Succeeds (line 62) | [Fact] method MapA2A_WithAgentBuilder_CustomTaskManagerConfiguration_Succeeds (line 82) | [Fact] method MapA2A_WithAgentBuilder_WithAgentCard_Succeeds (line 102) | [Fact] method MapA2A_WithAgentBuilder_WithAgentCardAndCustomConfiguration_Succeeds (line 128) | [Fact] method MapA2A_WithAgentName_NullEndpoints_ThrowsArgumentNullException (line 154) | [Fact] method MapA2A_WithAgentName_DefaultConfiguration_Succeeds (line 170) | [Fact] method MapA2A_WithAgentName_CustomTaskManagerConfiguration_Succeeds (line 190) | [Fact] method MapA2A_WithAgentName_WithAgentCard_Succeeds (line 210) | [Fact] method MapA2A_WithAgentName_WithAgentCardAndCustomConfiguration_Succeeds (line 236) | [Fact] method MapA2A_WithAIAgent_NullEndpoints_ThrowsArgumentNullException (line 262) | [Fact] method MapA2A_WithAIAgent_DefaultConfiguration_Succeeds (line 278) | [Fact] method MapA2A_WithAIAgent_CustomTaskManagerConfiguration_Succeeds (line 299) | [Fact] method MapA2A_WithAIAgent_WithAgentCard_Succeeds (line 320) | [Fact] method MapA2A_WithAIAgent_WithAgentCardAndCustomConfiguration_Succeeds (line 347) | [Fact] method MapA2A_WithTaskManager_NullEndpoints_ThrowsArgumentNullException (line 374) | [Fact] method MapA2A_MultipleAgents_Succeeds (line 391) | [Fact] method MapA2A_WithCustomPath_AcceptsValidPath (line 412) | [Fact] method MapA2A_WithAgentBuilder_TaskManagerConfigurationCallbackInvoked (line 431) | [Fact] method MapA2A_WithAgentBuilder_FullAgentCard_Succeeds (line 458) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/Internal/DummyChatClient.cs class DummyChatClient (line 11) | internal sealed class DummyChatClient : IChatClient method Dispose (line 13) | public void Dispose() method GetResponseAsync (line 18) | public Task GetResponseAsync(IEnumerable me... method GetService (line 23) | public object? GetService(Type serviceType, object? serviceKey = null) => method GetStreamingResponseAsync (line 26) | public IAsyncEnumerable GetStreamingResponseAsync(... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests/BasicStreamingTests.cs class BasicStreamingTests (line 23) | public sealed class BasicStreamingTests : IAsyncDisposable method ClientReceivesStreamedAssistantMessageAsync (line 28) | [Fact] method ClientReceivesRunLifecycleEventsAsync (line 59) | [Fact] method RunAsyncAggregatesStreamingUpdatesAsync (line 103) | [Fact] method MultiTurnConversationPreservesAllMessagesInSessionAsync (line 122) | [Fact] method AgentSendsMultipleMessagesInOneTurnAsync (line 166) | [Fact] method UserSendsMultipleMessagesAtOnceAsync (line 198) | [Fact] method SetupTestServerAsync (line 234) | private async Task SetupTestServerAsync(bool useMultiMessageAgent = fa... method DisposeAsync (line 267) | public async ValueTask DisposeAsync() class FakeChatClientAgent (line 277) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method CreateSessionCoreAsync (line 284) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 287) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 290) | protected override ValueTask SerializeSessionCoreAsync(Ag... method RunCoreAsync (line 293) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 308) | protected override async IAsyncEnumerable RunCore... class FakeAgentSession (line 330) | private sealed class FakeAgentSession : AgentSession method FakeAgentSession (line 332) | public FakeAgentSession() method FakeAgentSession (line 336) | [JsonConstructor] class FakeMultiMessageAgent (line 343) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method CreateSessionCoreAsync (line 350) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 353) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 356) | protected override ValueTask SerializeSessionCoreAsync(Ag... method RunCoreAsync (line 366) | protected override async Task RunCoreAsync( method RunCoreStreamingAsync (line 381) | protected override async IAsyncEnumerable RunCore... class FakeAgentSession (line 430) | private sealed class FakeAgentSession : AgentSession method FakeAgentSession (line 432) | public FakeAgentSession() method FakeAgentSession (line 436) | [JsonConstructor] method GetService (line 442) | public override object? GetService(Type serviceType, object? serviceKe... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests/ForwardedPropertiesTests.cs class ForwardedPropertiesTests (line 24) | public sealed class ForwardedPropertiesTests : IAsyncDisposable method ForwardedProps_AreParsedAndPassedToAgent_WhenProvidedInRequestAsync (line 29) | [Fact] method ForwardedProps_WithNestedObjects_AreCorrectlyParsedAsync (line 58) | [Fact] method ForwardedProps_WithArrays_AreCorrectlyParsedAsync (line 95) | [Fact] method ForwardedProps_WhenEmpty_DoesNotCauseErrorsAsync (line 132) | [Fact] method ForwardedProps_WhenNotProvided_AgentStillWorksAsync (line 157) | [Fact] method ForwardedProps_ReturnsValidSSEResponse_WithTextDeltaEventsAsync (line 182) | [Fact] method ForwardedProps_WithMixedTypes_AreCorrectlyParsedAsync (line 228) | [Fact] method SetupTestServerAsync (line 268) | private async Task SetupTestServerAsync(FakeForwardedPropsAgent fakeAg... method DisposeAsync (line 286) | public async ValueTask DisposeAsync() class FakeForwardedPropsAgent (line 296) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method FakeForwardedPropsAgent (line 299) | public FakeForwardedPropsAgent() method RunCoreAsync (line 307) | protected override Task RunCoreAsync(IEnumerable RunCore... method CreateSessionCoreAsync (line 338) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 341) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 344) | protected override ValueTask SerializeSessionCoreAsync(Ag... class FakeAgentSession (line 354) | private sealed class FakeAgentSession : AgentSession method FakeAgentSession (line 356) | public FakeAgentSession() method FakeAgentSession (line 360) | [JsonConstructor] method GetService (line 366) | public override object? GetService(Type serviceType, object? serviceKe... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests/SharedStateTests.cs class SharedStateTests (line 23) | public sealed class SharedStateTests : IAsyncDisposable method StateSnapshot_IsReturnedAsDataContent_WithCorrectMediaTypeAsync (line 28) | [Fact] method StateSnapshot_HasCorrectAdditionalPropertiesAsync (line 71) | [Fact] method ComplexState_WithNestedObjectsAndArrays_RoundTripsCorrectlyAsync (line 107) | [Fact] method StateSnapshot_CanBeUsedInSubsequentRequest_ForStateRoundTripAsync (line 153) | [Fact] method WithoutState_AgentBehavesNormally_NoStateSnapshotReturnedAsync (line 205) | [Fact] method EmptyState_DoesNotTriggerStateHandlingAsync (line 237) | [Fact] method NonStreamingRunAsync_WithState_ReturnsStateInResponseAsync (line 274) | [Fact] method SetupTestServerAsync (line 312) | private async Task SetupTestServerAsync(FakeStateAgent fakeAgent) method DisposeAsync (line 331) | public async ValueTask DisposeAsync() class FakeStateAgent (line 341) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method RunCoreAsync (line 346) | protected override Task RunCoreAsync(IEnumerable RunCore... method CreateSessionCoreAsync (line 421) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 424) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 427) | protected override ValueTask SerializeSessionCoreAsync(Ag... class FakeAgentSession (line 437) | private sealed class FakeAgentSession : AgentSession method FakeAgentSession (line 439) | public FakeAgentSession() method FakeAgentSession (line 443) | [JsonConstructor] method GetService (line 449) | public override object? GetService(Type serviceType, object? serviceKe... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests/ToolCallingTests.cs class ToolCallingTests (line 22) | public sealed class ToolCallingTests : IAsyncDisposable method ToolCallingTests (line 28) | public ToolCallingTests(ITestOutputHelper output) method ServerTriggersSingleFunctionCallAsync (line 33) | [Fact] method ServerTriggersMultipleFunctionCallsAsync (line 73) | [Fact] method ClientTriggersSingleFunctionCallAsync (line 122) | [Fact] method ClientTriggersMultipleFunctionCallsAsync (line 162) | [Fact] method ServerAndClientTriggerFunctionCallsSimultaneouslyAsync (line 211) | [Fact] method FunctionCallsPreserveCallIdAndNameAsync (line 291) | [Fact] method ParallelFunctionCallsFromServerAreHandledCorrectlyAsync (line 322) | [Fact] method AGUIChatClientCombinesCustomJsonSerializerOptionsAsync (line 375) | [Fact] method ServerToolCallWithCustomArgumentsAsync (line 409) | [Fact] method ClientToolCallWithCustomArgumentsAsync (line 455) | [Fact] method SetupTestServerAsync (line 501) | private async Task SetupTestServerAsync( method DisposeAsync (line 532) | public async ValueTask DisposeAsync() class FakeToolCallingChatClient (line 542) | internal sealed class FakeToolCallingChatClient : IChatClient method FakeToolCallingChatClient (line 546) | public FakeToolCallingChatClient(bool triggerParallelCalls = false, IT... method GetStreamingResponseAsync (line 554) | public async IAsyncEnumerable GetStreamingResponse... method GenerateArgumentsForTool (line 648) | private static Dictionary GenerateArgumentsForTool(st... method GetResponseAsync (line 666) | public Task GetResponseAsync( method Dispose (line 674) | public void Dispose() method GetService (line 678) | public object? GetService(Type serviceType, object? serviceKey = null)... type ServerForecastRequest (line 682) | public record ServerForecastRequest(string Location, int Days); type ServerForecastResponse (line 683) | public record ServerForecastResponse(int Temperature, string Condition, ... type ClientForecastRequest (line 685) | public record ClientForecastRequest(string City, bool IncludeHourly); type ClientForecastResponse (line 686) | public record ClientForecastResponse(int MaxTemp, int MinTemp, string Ou... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.UnitTests/AGUIEndpointRouteBuilderExtensionsTests.cs class AGUIEndpointRouteBuilderExtensionsTests (line 26) | public sealed class AGUIEndpointRouteBuilderExtensionsTests method MapAGUIAgent_MapsEndpoint_AtSpecifiedPattern (line 28) | [Fact] method MapAGUIAgent_WithNullOrInvalidInput_Returns400BadRequestAsync (line 48) | [Fact] method MapAGUIAgent_InvokesAgentFactory_WithCorrectMessagesAndContextAsync (line 65) | [Fact] method MapAGUIAgent_ReturnsSSEResponseStream_WithCorrectContentTypeAsync (line 104) | [Fact] method MapAGUIAgent_PassesCancellationToken_ToAgentExecutionAsync (line 128) | [Fact] method MapAGUIAgent_ConvertsInputMessages_ToChatMessagesBeforeFactoryAsync (line 153) | [Fact] method MapAGUIAgent_ProducesValidAGUIEventStream_WithRunStartAndFinishAsync (line 194) | [Fact] method MapAGUIAgent_ProducesTextMessageEvents_InCorrectOrderAsync (line 230) | [Fact] method MapAGUIAgent_EmitsTextMessageContent_WithCorrectDeltaAsync (line 274) | [Fact] method MapAGUIAgent_WithCustomAgent_ProducesExpectedStreamStructureAsync (line 305) | [Fact] method MapAGUIAgent_ProducesCorrectSessionAndRunIds_InAllEventsAsync (line 358) | [Fact] method ParseSseEvents (line 390) | private static List ParseSseEvents(string responseContent) class MultiResponseAgent (line 423) | private sealed class MultiResponseAgent : AIAgent method CreateSessionCoreAsync (line 429) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 432) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 435) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 445) | protected override Task RunCoreAsync(IEnumerable RunCo... method CreateRequestDelegate (line 463) | private RequestDelegate CreateRequestDelegate( class TestAgentSession (line 510) | private sealed class TestAgentSession : AgentSession method TestAgentSession (line 512) | public TestAgentSession() method TestAgentSession (line 516) | [JsonConstructor] class TestAgent (line 522) | private sealed class TestAgent : AIAgent method CreateSessionCoreAsync (line 528) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 531) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 534) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 544) | protected override Task RunCoreAsync(IEnumerable RunCo... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.UnitTests/AGUIServerSentEventsResultTests.cs class AGUIServerSentEventsResultTests (line 19) | public sealed class AGUIServerSentEventsResultTests method ExecuteAsync_SetsCorrectResponseHeaders_ContentTypeAndCacheControlAsync (line 21) | [Fact] method ExecuteAsync_SerializesEventsInSSEFormat_WithDataPrefixAndNewlinesAsync (line 40) | [Fact] method ExecuteAsync_FlushesResponse_AfterEachEventAsync (line 66) | [Fact] method ExecuteAsync_WithEmptyEventStream_CompletesSuccessfullyAsync (line 91) | [Fact] method ExecuteAsync_RespectsCancellationToken_WhenCancelledAsync (line 105) | [Fact] method ExecuteAsync_WithNullHttpContext_ThrowsArgumentNullExceptionAsync (line 138) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.UnitTests/ChatResponseUpdateAGUIExtensionsTests.cs class ChatResponseUpdateAGUIExtensionsTests (line 12) | public sealed class ChatResponseUpdateAGUIExtensionsTests method AsAGUIEventStreamAsync_YieldsRunStartedEvent_AtBeginningWithCorrectIdsAsync (line 14) | [Fact] method AsAGUIEventStreamAsync_YieldsRunFinishedEvent_AtEndWithCorrectIdsAsync (line 37) | [Fact] method AsAGUIEventStreamAsync_ConvertsTextContentUpdates_ToTextMessageEventsAsync (line 60) | [Fact] method AsAGUIEventStreamAsync_GroupsConsecutiveUpdates_WithSameMessageIdAsync (line 85) | [Fact] method AsAGUIEventStreamAsync_WithRoleChanges_EmitsProperTextMessageStartEventsAsync (line 115) | [Fact] method AsAGUIEventStreamAsync_EmitsTextMessageEndEvent_WhenMessageIdChangesAsync (line 141) | [Fact] method AsAGUIEventStreamAsync_WithFunctionCallContent_EmitsToolCallEventsAsync (line 166) | [Fact] method AsAGUIEventStreamAsync_WithMultipleFunctionCalls_EmitsAllToolCallEventsAsync (line 204) | [Fact] method AsAGUIEventStreamAsync_WithFunctionCallWithNullArguments_EmitsEventsCorrectlyAsync (line 232) | [Fact] method AsAGUIEventStreamAsync_WithMixedContentTypes_EmitsAllEventTypesAsync (line 257) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.UnitTests/TestHelpers.cs class TestHelpers (line 8) | internal static class TestHelpers method ToAsyncEnumerableAsync (line 13) | public static async IAsyncEnumerable ToAsyncEnumerableAsync(this... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/AzureFunctionsTestHelper.cs class AzureFunctionsTestHelper (line 10) | internal static class AzureFunctionsTestHelper method BuildSampleAsync (line 17) | internal static async Task BuildSampleAsync( method WaitForFunctionsReadyAsync (line 68) | internal static async Task WaitForFunctionsReadyAsync( FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/SamplesValidation.cs class SamplesValidation (line 14) | [Collection("Samples")] method InitializeAsync (line 48) | async ValueTask IAsyncLifetime.InitializeAsync() method DisposeAsync (line 57) | async ValueTask IAsyncDisposable.DisposeAsync() method SingleAgentSampleValidationAsync (line 63) | [Fact] method SingleAgentOrchestrationChainingSampleValidationAsync (line 108) | [Fact] method MultiAgentOrchestrationConcurrentSampleValidationAsync (line 151) | [Fact] method MultiAgentOrchestrationConditionalsSampleValidationAsync (line 201) | [Fact] method SingleAgentOrchestrationHITLSampleValidationAsync (line 219) | [Fact] method LongRunningToolsSampleValidationAsync (line 275) | [Fact] method AgentAsMcpToolAsync (line 365) | [Fact] method ReliableStreamingSampleValidationAsync (line 405) | [Fact] method InvokeMcpToolAsync (line 535) | private async Task InvokeMcpToolAsync(McpClient mcpClient, str... method TestSpamDetectionAsync (line 549) | private async Task TestSpamDetectionAsync(string emailId, string email... method StartSharedInfrastructureAsync (line 597) | private async Task StartSharedInfrastructureAsync() method IsAzuriteRunningAsync (line 642) | private async Task IsAzuriteRunningAsync() method IsDtsEmulatorRunningAsync (line 683) | private async Task IsDtsEmulatorRunningAsync() method IsRedisRunningAsync (line 720) | private async Task IsRedisRunningAsync() method StartDockerContainerAsync (line 763) | private async Task StartDockerContainerAsync(string containerName, str... method WaitForConditionAsync (line 780) | private async Task WaitForConditionAsync(Func> condition, s... method RunSampleTestAsync (line 803) | private async Task RunSampleTestAsync(string samplePath, Func logs) method WaitForOrchestrationCompletionAsync (line 892) | private async Task WaitForOrchestrationCompletionAsync(Uri statusUri) method RunCommandAsync (line 924) | private async Task RunCommandAsync(string command, string[] args) method RunCommandAsync (line 929) | private async Task RunCommandAsync(string command, string? workingDire... method StopProcessAsync (line 960) | private async Task StopProcessAsync(Process process) method GetTargetFramework (line 980) | private static string GetTargetFramework() FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs class WorkflowSamplesValidation (line 14) | [Collection("Samples")] method InitializeAsync (line 47) | public async ValueTask InitializeAsync() method DisposeAsync (line 56) | public ValueTask DisposeAsync() method SequentialWorkflowSampleValidationAsync (line 62) | [Fact] method HITLWorkflowSampleValidationAsync (line 129) | [Fact] method ConcurrentWorkflowSampleValidationAsync (line 238) | [Fact] method StartSharedInfrastructureAsync (line 293) | private async Task StartSharedInfrastructureAsync() method IsAzuriteRunningAsync (line 321) | private async Task IsAzuriteRunningAsync() method IsDtsEmulatorRunningAsync (line 350) | private async Task IsDtsEmulatorRunningAsync() method StartDockerContainerAsync (line 386) | private async Task StartDockerContainerAsync(string containerName, str... method WaitForConditionAsync (line 401) | private async Task WaitForConditionAsync(Func> condition, s... type OutputLog (line 424) | private sealed record OutputLog(DateTime Timestamp, LogLevel Level, st... method RunSampleTestAsync (line 426) | private async Task RunSampleTestAsync(string samplePath, bool requires... method StartFunctionApp (line 447) | private Process StartFunctionApp(string samplePath, List lo... method RunCommandAsync (line 513) | private async Task RunCommandAsync(string command, string[] args) method StopProcessAsync (line 544) | private async Task StopProcessAsync(Process process) method GetTargetFramework (line 564) | private static string GetTargetFramework() FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.UnitTests/DurableAgentFunctionMetadataTransformerTests.cs class DurableAgentFunctionMetadataTransformerTests (line 9) | public sealed class DurableAgentFunctionMetadataTransformerTests method Transform_AddsAgentAndHttpTriggers_ForEachAgent (line 11) | [Theory] method Transform_AddsTriggers_ForMultipleAgents (line 73) | [Fact] method BuildFunctionMetadataList (line 151) | private static List BuildFunctionMetadataList(int n... class FakeServiceProvider (line 169) | private sealed class FakeServiceProvider : IServiceProvider method GetService (line 171) | public object? GetService(Type serviceType) => null; class FakeOptionsProvider (line 174) | private sealed class FakeOptionsProvider : IFunctionsAgentOptionsProvider method FakeOptionsProvider (line 178) | public FakeOptionsProvider(Dictionary... method TryGet (line 183) | public bool TryGet(string agentName, [NotNullWhen(true)] out Functio... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.UnitTests/TestAgent.cs class TestAgent (line 8) | internal sealed class TestAgent(string name, string description) : AIAgent method CreateSessionCoreAsync (line 14) | protected override ValueTask CreateSessionCoreAsync(Canc... method SerializeSessionCoreAsync (line 16) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 19) | protected override ValueTask DeserializeSessionCoreAsync( method RunCoreAsync (line 23) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 29) | protected override IAsyncEnumerable RunCoreStream... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/AgentInvocationContextTests.cs class AgentInvocationContextTests (line 11) | public sealed class AgentInvocationContextTests method Constructor_WithIdGenerator_InitializesCorrectly (line 13) | [Fact] method Constructor_WithoutJsonOptions_UsesDefaultOptions (line 30) | [Fact] method Constructor_WithCustomJsonOptions_UsesProvidedOptions (line 44) | [Fact] method ResponseId_ReturnsIdGeneratorResponseId (line 61) | [Fact] method ConversationId_ReturnsIdGeneratorConversationId (line 77) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/ConformanceTestBase.cs class ConformanceTestBase (line 24) | public abstract class ConformanceTestBase : IAsyncDisposable method LoadTraceFile (line 36) | protected static string LoadTraceFile(string directory, string relativ... method LoadResponsesTraceFile (line 51) | protected static string LoadResponsesTraceFile(string relativePath) method LoadResponsesTraceDocument (line 57) | protected static JsonDocument LoadResponsesTraceDocument(string relati... method LoadChatCompletionsTraceFile (line 66) | protected static string LoadChatCompletionsTraceFile(string relativePath) method LoadChatCompletionsTraceDocument (line 72) | protected static JsonDocument LoadChatCompletionsTraceDocument(string ... method AssertJsonPropertyExists (line 81) | protected static void AssertJsonPropertyExists(JsonElement element, st... method AssertJsonPropertyEquals (line 92) | protected static void AssertJsonPropertyEquals(JsonElement element, st... method AssertJsonPropertyEquals (line 106) | protected static void AssertJsonPropertyEquals(JsonElement element, st... method AssertJsonPropertyEquals (line 120) | protected static void AssertJsonPropertyEquals(JsonElement element, st... method AssertJsonPropertyEquals (line 134) | protected static void AssertJsonPropertyEquals(JsonElement element, st... method AssertJsonPropertyEquals (line 148) | protected static void AssertJsonPropertyEquals(JsonElement element, st... method GetPropertyOrDefault (line 162) | protected static T GetPropertyOrDefault(JsonElement element, string... method CreateTestServerAsync (line 188) | protected async Task CreateTestServerAsync(string agentNam... method CreateTestServerAsync (line 216) | protected async Task CreateTestServerAsync( method CreateTestServerWithToolCallAsync (line 247) | protected async Task CreateTestServerWithToolCallAsync( method SendResponsesRequestAsync (line 279) | protected async Task SendResponsesRequestAsync(Ht... method SendChatCompletionRequestAsync (line 288) | protected async Task SendChatCompletionRequestAsy... method ParseResponseAsync (line 297) | protected static async Task ParseResponseAsync(HttpRespo... method DisposeAsync (line 303) | public async ValueTask DisposeAsync() FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/ContentTypeEventGeneratorTests.cs class ContentTypeEventGeneratorTests (line 22) | public sealed class ContentTypeEventGeneratorTests : ConformanceTestBase method TextReasoningContent_GeneratesReasoningItem_SuccessAsync (line 26) | [Fact] method TextReasoningContent_EmitsCorrectEventSequence_SuccessAsync (line 67) | [Fact] method TextReasoningContent_OutputIndexIncremented_SuccessAsync (line 102) | [Fact] method ErrorContent_GeneratesRefusalItem_SuccessAsync (line 138) | [Fact] method ErrorContent_EmitsCorrectEventSequence_SuccessAsync (line 173) | [Fact] method ErrorContent_SequenceNumbersAreCorrect_SuccessAsync (line 208) | [Fact] method ImageContent_UriContent_GeneratesImageItem_SuccessAsync (line 234) | [Fact] method ImageContent_DataContent_GeneratesImageItem_SuccessAsync (line 258) | [Fact] method ImageContent_WithDetailProperty_IncludesDetail_SuccessAsync (line 282) | [Fact] method ImageContent_EmitsCorrectEventSequence_SuccessAsync (line 308) | [Fact] method AudioContent_Mp3Format_GeneratesAudioItem_SuccessAsync (line 333) | [Fact] method AudioContent_WavFormat_GeneratesCorrectFormat_SuccessAsync (line 358) | [Fact] method AudioContent_VariousFormats_GeneratesCorrectFormat_SuccessAsync (line 379) | [Theory] method HostedFileContent_GeneratesFileItem_SuccessAsync (line 409) | [Fact] method HostedFileContent_EmitsCorrectEventSequence_SuccessAsync (line 433) | [Fact] method FileContent_WithDataUri_GeneratesFileItem_SuccessAsync (line 458) | [Fact] method FileContent_WithoutFilename_GeneratesFileItemWithoutFilename_SuccessAsync (line 484) | [Fact] method MixedContent_TextAndImage_GeneratesMultipleItems_SuccessAsync (line 511) | [Fact] method MixedContent_ErrorAndText_GeneratesMultipleItems_SuccessAsync (line 530) | [Fact] method ParseSseEvents (line 553) | private static List ParseSseEvents(string sseContent) method CreateErrorContentAgentAsync (line 577) | private async Task CreateErrorContentAgentAsync(string age... method CreateImageContentAgentAsync (line 583) | private async Task CreateImageContentAgentAsync(string age... method CreateImageContentWithDetailAgentAsync (line 596) | private async Task CreateImageContentWithDetailAgentAsync(... method CreateAudioContentAgentAsync (line 608) | private async Task CreateAudioContentAgentAsync(string age... method CreateHostedFileContentAgentAsync (line 614) | private async Task CreateHostedFileContentAgentAsync(strin... method CreateFileContentAgentAsync (line 620) | private async Task CreateFileContentAgentAsync(string agen... method CreateMixedContentAgentAsync (line 636) | private async Task CreateMixedContentAgentAsync(string age... method CreateErrorAndTextContentAgentAsync (line 645) | private async Task CreateErrorAndTextContentAgentAsync(str... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/EndpointRouteBuilderExtensionsTests.cs class EndpointRouteBuilderExtensionsTests (line 14) | public sealed class EndpointRouteBuilderExtensionsTests method MapOpenAIResponses_NullEndpoints_ThrowsArgumentNullException (line 19) | [Fact] method MapOpenAIResponses_NullAgent_ThrowsArgumentNullException (line 36) | [Fact] method MapOpenAIResponses_InvalidAgentNameCharacters_ThrowsArgumentException (line 55) | [Theory] method MapOpenAIResponses_ValidAgentNameCharacters_DoesNotThrow (line 83) | [Theory] method MapOpenAIResponses_WithCustomPath_AcceptsValidPath (line 110) | [Fact] method MapOpenAIResponses_MultipleAgents_Succeeds (line 130) | [Fact] method MapOpenAIResponses_LongAgentName_Succeeds (line 153) | [Fact] method MapOpenAIResponses_WithoutAgent_Succeeds (line 174) | [Fact] method MapOpenAIResponses_WithoutAgent_NoServiceRegistered_ThrowsInvalidOperationException (line 193) | [Fact] method MapOpenAIResponses_WithoutAgent_CustomPath_Succeeds (line 211) | [Fact] method MapOpenAIResponses_WithAgentBuilder_NullEndpoints_ThrowsArgumentNullException (line 230) | [Fact] method MapOpenAIResponses_WithAgentBuilder_NullAgentBuilder_ThrowsArgumentNullException (line 250) | [Fact] method MapOpenAIResponses_WithAgentBuilder_Succeeds (line 271) | [Fact] method MapOpenAIResponses_WithAgentBuilder_CustomPath_Succeeds (line 290) | [Fact] method MapOpenAIResponses_WithAgentBuilder_MultipleAgents_Succeeds (line 309) | [Fact] method MapOpenAIResponses_WithAgentBuilder_InvalidAgentNameCharacters_ThrowsArgumentException (line 330) | [Theory] method MapOpenAIResponses_WithAgentBuilder_ValidAgentNameCharacters_DoesNotThrow (line 355) | [Theory] method MapOpenAIResponses_WithAgentBuilder_MultipleAgentsWithCustomPaths_Succeeds (line 379) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/FunctionApprovalTests.cs class FunctionApprovalTests (line 18) | public sealed class FunctionApprovalTests : ConformanceTestBase method FunctionApprovalRequest_GeneratesCorrectEvent_SuccessAsync (line 25) | [Fact] method FunctionApprovalRequest_WithComplexArguments_GeneratesCorrectEvent_SuccessAsync (line 67) | [Fact] method FunctionApprovalRequest_EmitsCorrectEventSequence_SuccessAsync (line 109) | [Fact] method FunctionApprovalRequest_SequenceNumbersAreCorrect_SuccessAsync (line 145) | [Fact] method FunctionApprovalResponse_Approved_GeneratesCorrectEvent_SuccessAsync (line 178) | [Fact] method FunctionApprovalResponse_Rejected_GeneratesCorrectEvent_SuccessAsync (line 213) | [Fact] method FunctionApprovalResponse_EmitsCorrectEventSequence_SuccessAsync (line 244) | [Fact] method MixedContent_ApprovalRequestAndText_GeneratesMultipleEvents_SuccessAsync (line 274) | [Fact] method MixedContent_MultipleApprovalRequests_GeneratesMultipleEvents_SuccessAsync (line 303) | [Fact] method ParseSseEvents (line 341) | private static List ParseSseEvents(string sseContent) FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/IdGeneratorTests.cs class IdGeneratorTests (line 8) | public sealed class IdGeneratorTests method Constructor_WithResponseIdAndConversationId_InitializesCorrectly (line 10) | [Fact] method Constructor_WithNullIds_GeneratesNewIds (line 25) | [Fact] method Constructor_WithRandomSeed_GeneratesDeterministicIds (line 38) | [Fact] method Constructor_WithDifferentRandomSeeds_GeneratesDifferentIds (line 53) | [Fact] method Generate_WithCategory_IncludesCategory (line 69) | [Fact] method Generate_WithoutCategory_UsesDefaultPrefix (line 83) | [Fact] method Generate_WithSeed_ProducesDeterministicResults (line 97) | [Fact] method GenerateFunctionCallId_ReturnsIdWithFuncPrefix (line 125) | [Fact] method GenerateFunctionOutputId_ReturnsIdWithFuncoutPrefix (line 139) | [Fact] method GenerateMessageId_ReturnsIdWithMsgPrefix (line 153) | [Fact] method GenerateReasoningId_ReturnsIdWithRsPrefix (line 167) | [Fact] method Generate_MultipleInvocations_ProducesUniqueIds (line 181) | [Fact] method Generate_SharesPartitionKey (line 199) | [Fact] method From_WithConversationInRequest_UsesConversationId (line 231) | [Fact] method From_WithResponseIdInMetadata_UsesResponseId (line 254) | [Fact] method From_WithoutIdsInRequest_GeneratesNewIds (line 275) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/InMemoryAgentConversationIndexTests.cs class InMemoryAgentConversationIndexTests (line 13) | public sealed class InMemoryAgentConversationIndexTests method AddConversationAsync_SuccessAsync (line 15) | [Fact] method AddConversationAsync_MultipleConversations_AddsAllAsync (line 32) | [Fact] method AddConversationAsync_NullAgentId_ThrowsArgumentExceptionAsync (line 55) | [Fact] method AddConversationAsync_EmptyAgentId_ThrowsArgumentExceptionAsync (line 66) | [Fact] method AddConversationAsync_NullConversationId_ThrowsArgumentExceptionAsync (line 77) | [Fact] method AddConversationAsync_EmptyConversationId_ThrowsArgumentExceptionAsync (line 88) | [Fact] method AddConversationAsync_MultipleAgents_IsolatesConversationsAsync (line 99) | [Fact] method RemoveConversationAsync_ExistingConversation_RemovesSuccessfullyAsync (line 126) | [Fact] method RemoveConversationAsync_NonExistentConversation_NoErrorAsync (line 144) | [Fact] method RemoveConversationAsync_OneOfMany_RemovesOnlyTargetedAsync (line 159) | [Fact] method RemoveConversationAsync_NullAgentId_ThrowsArgumentExceptionAsync (line 184) | [Fact] method RemoveConversationAsync_EmptyAgentId_ThrowsArgumentExceptionAsync (line 195) | [Fact] method RemoveConversationAsync_NullConversationId_ThrowsArgumentExceptionAsync (line 206) | [Fact] method RemoveConversationAsync_EmptyConversationId_ThrowsArgumentExceptionAsync (line 217) | [Fact] method GetConversationIdsAsync_EmptyIndex_ReturnsEmptyListAsync (line 228) | [Fact] method GetConversationIdsAsync_NonExistentAgent_ReturnsEmptyListAsync (line 242) | [Fact] method GetConversationIdsAsync_NullAgentId_ThrowsArgumentExceptionAsync (line 257) | [Fact] method GetConversationIdsAsync_EmptyAgentId_ThrowsArgumentExceptionAsync (line 268) | [Fact] method GetConversationIdsAsync_AfterMultipleAddsAndRemoves_ReturnsCorrectListAsync (line 279) | [Fact] method ConcurrentOperations_ThreadSafeAsync (line 304) | [Fact] method AddConversationAsync_DuplicateConversation_DoesNotAddMultipleTimesAsync (line 341) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/InMemoryConversationStorageTests.cs class InMemoryConversationStorageTests (line 16) | public sealed class InMemoryConversationStorageTests method CreateConversationAsync_SuccessAsync (line 18) | [Fact] method CreateConversationAsync_DuplicateId_ThrowsInvalidOperationExceptionAsync (line 41) | [Fact] method GetConversationAsync_ExistingConversation_ReturnsConversationAsync (line 61) | [Fact] method GetConversationAsync_NonExistentConversation_ReturnsNullAsync (line 82) | [Fact] method UpdateConversationAsync_ExistingConversation_UpdatesSuccessfullyAsync (line 95) | [Fact] method UpdateConversationAsync_NonExistentConversation_ReturnsNullAsync (line 130) | [Fact] method DeleteConversationAsync_ExistingConversation_ReturnsTrueAsync (line 149) | [Fact] method DeleteConversationAsync_NonExistentConversation_ReturnsFalseAsync (line 173) | [Fact] method AddItemsAsync_SuccessAsync (line 186) | [Fact] method AddItemsAsync_NonExistentConversation_ThrowsInvalidOperationExceptionAsync (line 214) | [Fact] method AddItemsAsync_DuplicateItemId_ThrowsInvalidOperationExceptionAsync (line 231) | [Fact] method GetItemAsync_ExistingItem_ReturnsItemAsync (line 258) | [Fact] method GetItemAsync_NonExistentItem_ReturnsNullAsync (line 288) | [Fact] method GetItemAsync_NonExistentConversation_ReturnsNullAsync (line 308) | [Fact] method ListItemsAsync_DefaultParameters_ReturnsDescendingOrderAsync (line 321) | [Fact] method ListItemsAsync_AscendingOrder_ReturnsCorrectOrderAsync (line 370) | [Fact] method ListItemsAsync_WithLimit_ReturnsCorrectPageSizeAsync (line 406) | [Fact] method ListItemsAsync_WithAfter_ReturnsNextPageAsync (line 439) | [Fact] method ListItemsAsync_LimitClamping_ClampsToValidRangeAsync (line 472) | [Fact] method ListItemsAsync_EmptyConversation_ReturnsEmptyListAsync (line 507) | [Fact] method ListItemsAsync_NonExistentConversation_ThrowsInvalidOperationExceptionAsync (line 532) | [Fact] method DeleteItemAsync_ExistingItem_ReturnsTrueAsync (line 544) | [Fact] method DeleteItemAsync_NonExistentItem_ReturnsFalseAsync (line 575) | [Fact] method DeleteItemAsync_NonExistentConversation_ReturnsFalseAsync (line 595) | [Fact] method ConcurrentOperations_ThreadSafeAsync (line 608) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIChatCompletionsConformanceTests.cs class OpenAIChatCompletionsConformanceTests (line 18) | public sealed class OpenAIChatCompletionsConformanceTests : ConformanceT... method BasicRequestResponseAsync (line 20) | [Fact] method StreamingRequestResponseAsync (line 144) | [Fact] method FunctionCallingRequestResponseAsync (line 233) | [Fact] method SystemMessageRequestResponseAsync (line 315) | [Fact] method MultiTurnConversationRequestResponseAsync (line 358) | [Fact] method JsonModeRequestResponseAsync (line 403) | [Fact] method ToolsSerializationDeserializationAsync (line 459) | [Fact] method ParseChatCompletionChunksFromSse (line 592) | private static List ParseChatCompletionChunksFromSse(stri... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIChatCompletionsIntegrationTests.cs class OpenAIChatCompletionsIntegrationTests (line 28) | public sealed class OpenAIChatCompletionsIntegrationTests : IAsyncDispos... method DisposeAsync (line 33) | public async ValueTask DisposeAsync() method CreateChatCompletionStreaming_WithSimpleMessage_ReturnsStreamingUpdatesAsync (line 45) | [Fact] method CreateChatCompletion_WithSimpleMessage_ReturnsCompleteResponseAsync (line 94) | [Fact] method CreateChatCompletionStreaming_WithMultipleChunks_StreamsAllContentAsync (line 127) | [Fact] method CreateChatCompletion_WithMultipleAgents_EachAgentRespondsCorrectlyAsync (line 170) | [Fact] method CreateChatCompletion_SameAgentStreamingAndNonStreaming_BothWorkCorrectlyAsync (line 210) | [Fact] method CreateChatCompletion_CompletedResponse_HasCorrectFinishReasonAsync (line 249) | [Fact] method CreateChatCompletionStreaming_VerifyChunkSequence_ContainsExpectedDataAsync (line 277) | [Fact] method CreateChatCompletionStreaming_EmptyResponse_HandlesGracefullyAsync (line 326) | [Fact] method CreateChatCompletion_IncludesMetadata_HasRequiredFieldsAsync (line 360) | [Fact] method CreateChatCompletionStreaming_LongText_StreamsAllContentAsync (line 390) | [Fact] method CreateChatCompletionStreaming_SingleWord_StreamsCorrectlyAsync (line 426) | [Fact] method CreateChatCompletionStreaming_SpecialCharacters_PreservesFormattingAsync (line 461) | [Fact] method CreateChatCompletion_SpecialCharacters_PreservesContentAsync (line 496) | [Fact] method CreateChatCompletion_MultipleSequentialRequests_AllSucceedAsync (line 523) | [Fact] method CreateChatCompletionStreaming_MultipleSequentialRequests_AllStreamCorrectlyAsync (line 552) | [Fact] method CreateChatCompletion_MultipleRequests_GenerateUniqueIdsAsync (line 589) | [Fact] method CreateChatCompletionStreaming_SameRequestId_ConsistentAcrossChunksAsync (line 621) | [Fact] method CreateChatCompletion_WithSystemMessage_ReturnsValidResponseAsync (line 659) | [Fact] method CreateChatCompletion_Newlines_PreservesFormattingAsync (line 688) | [Fact] method CreateChatCompletionStreaming_Newlines_PreservesFormattingAsync (line 716) | [Fact] method CreateChatCompletion_WithConversationHistory_ReturnsValidResponseAsync (line 753) | [Fact] method CreateChatCompletion_IncludesUsage_HasTokenCountsAsync (line 783) | [Fact] method CreateChatCompletion_WithFunctionCall_ReturnsToolCallsAsync (line 812) | [Fact] method CreateChatCompletionStreaming_WithFunctionCall_StreamsToolCallsAsync (line 850) | [Fact] method CreateChatClient (line 889) | private ChatClient CreateChatClient(string agentName) method CreateTestServerAsync (line 901) | private async Task CreateTestServerAsync(string agentName,... method CreateTestServerWithCustomClientAsync (line 923) | private async Task CreateTestServerWithCustomClientAsync(s... method CreateTestServerWithMultipleAgentsAsync (line 944) | private async Task CreateTestServerWithMultipleAgentsAsync( FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIChatCompletionsSerializationTests.cs class OpenAIChatCompletionsSerializationTests (line 17) | public sealed class OpenAIChatCompletionsSerializationTests : Conformanc... method Deserialize_BasicRequest_Success (line 21) | [Fact] method Deserialize_BasicRequest_RoundTrip (line 38) | [Fact] method Deserialize_BasicRequest_HasMessages (line 57) | [Fact] method Deserialize_StreamingRequest_HasStreamFlag (line 76) | [Fact] method Deserialize_SystemMessageRequest_HasSystemRole (line 91) | [Fact] method Deserialize_MultiTurnRequest_HasMultipleMessages (line 108) | [Fact] method Deserialize_FunctionCallingRequest_HasTools (line 126) | [Fact] method Deserialize_JsonModeRequest_HasResponseFormat (line 143) | [Fact] method Deserialize_AllRequests_CanBeDeserialized (line 157) | [Fact] method Deserialize_BasicResponse_Success (line 187) | [Fact] method Deserialize_BasicResponse_HasChoices (line 205) | [Fact] method Deserialize_BasicResponse_HasUsage (line 227) | [Fact] method Deserialize_SystemMessageResponse_HasContent (line 246) | [Fact] method Deserialize_MultiTurnResponse_HasContent (line 264) | [Fact] method Deserialize_FunctionCallingResponse_HasToolCalls (line 281) | [Fact] method Deserialize_JsonModeResponse_HasStructuredOutput (line 310) | [Fact] method Deserialize_AllResponses_HaveRequiredFields (line 335) | [Fact] method Deserialize_ResponseRoundTrip_PreservesData (line 366) | [Fact] method ParseStreamingChunks_BasicFormat_Success (line 390) | [Fact] method ParseStreamingChunks_AllChunksSameId (line 413) | [Fact] method ParseStreamingChunks_FirstChunkHasRole (line 438) | [Fact] method ParseStreamingChunks_AccumulateContent_MatchesExpected (line 462) | [Fact] method ParseStreamingChunks_LastChunkHasFinishReason (line 493) | [Fact] method ParseStreamingChunks_LastChunkHasUsage (line 519) | [Fact] method ParseChatCompletionChunksFromSse (line 541) | private static List ParseChatCompletionChunksFromSse(stri... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIConversationsConformanceTests.cs class OpenAIConversationsConformanceTests (line 25) | public sealed class OpenAIConversationsConformanceTests : IAsyncDisposable method LoadTraceFile (line 34) | private static string LoadTraceFile(string relativePath) method LoadTraceDocument (line 49) | private static JsonDocument LoadTraceDocument(string relativePath) method AssertJsonPropertyExists (line 58) | private static void AssertJsonPropertyExists(JsonElement element, stri... method AssertJsonPropertyEquals (line 69) | private static void AssertJsonPropertyEquals(JsonElement element, stri... method AssertJsonPropertyEquals (line 83) | private static void AssertJsonPropertyEquals(JsonElement element, stri... method CreateTestServerAsync (line 97) | private async Task CreateTestServerAsync(string agentName,... method CreateTestServerWithStatefulMockAsync (line 125) | private async Task CreateTestServerWithStatefulMockAsync(s... method CreateTestServerWithToolCallAsync (line 154) | private async Task CreateTestServerWithToolCallAsync(strin... method SendPostRequestAsync (line 183) | private static async Task SendPostRequestAsync(Ht... method SendGetRequestAsync (line 192) | private static async Task SendGetRequestAsync(Htt... method SendDeleteRequestAsync (line 200) | private static async Task SendDeleteRequestAsync(... method ParseResponseAsync (line 208) | private static async Task ParseResponseAsync(HttpRespons... method BasicConversationCreateAsync (line 214) | [Fact] method BasicConversationWithMessagesAsync (line 252) | [Fact] method CreateConversationWithItemsAsync (line 365) | [Fact] method AddItemsToConversationAsync (line 396) | [Fact] method ListItemsInConversationAsync (line 447) | [Fact] method RetrieveConversationAsync (line 478) | [Fact] method RetrieveItemAsync (line 507) | [Fact] method UpdateConversationAsync (line 544) | [Fact] method DeleteConversationAsync (line 587) | [Fact] method DeleteItemAsync (line 619) | [Fact] method ErrorConversationNotFoundAsync (line 659) | [Fact] method ErrorItemNotFoundAsync (line 686) | [Fact] method ErrorInvalidJsonAsync (line 720) | [Fact] method ErrorDeleteAlreadyDeletedAsync (line 737) | [Fact] method ErrorInvalidLimitAsync (line 772) | [Fact] method ToolCallFullScenarioAsync (line 803) | [Fact] method ImageInputFullScenarioAsync (line 856) | [Fact] method ImageInputStreamingScenarioAsync (line 928) | [Fact] method RefusalStreamingScenarioAsync (line 975) | [Fact] method ToolCallStreamingScenarioAsync (line 1028) | [Fact] method RefusalFullScenarioAsync (line 1075) | [Fact] method ErrorMissingRequiredFieldAsync (line 1139) | [Fact] method DisposeAsync (line 1164) | public async ValueTask DisposeAsync() method ParseSseEventsFromContent (line 1178) | private static List ParseSseEventsFromContent(string sseC... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIConversationsSerializationTests.cs class OpenAIConversationsSerializationTests (line 17) | public sealed class OpenAIConversationsSerializationTests method LoadTraceFile (line 24) | private static string LoadTraceFile(string relativePath) method Deserialize_CreateConversationRequest_Success (line 38) | [Fact] method Deserialize_CreateConversationWithItems_Success (line 52) | [Fact] method Deserialize_CreateItemsRequest_Success (line 67) | [Fact] method Deserialize_UpdateConversationRequest_Success (line 82) | [Fact] method Serialize_CreateConversationRequest_MatchesFormat (line 96) | [Fact] method Serialize_CreateConversationRequestWithItems_IncludesItems (line 119) | [Fact] method Serialize_NullableFields_AreOmittedWhenNull (line 146) | [Fact] method Deserialize_Conversation_Success (line 170) | [Fact] method Deserialize_ConversationRoundTrip_PreservesData (line 187) | [Fact] method Deserialize_ItemListResponse_Success (line 206) | [Fact] method Deserialize_ItemResource_Success (line 224) | [Fact] method Deserialize_DeleteResponse_Success (line 242) | [Fact] method Deserialize_DeleteItemResponse_Success (line 258) | [Fact] method Deserialize_ErrorResponse_Success (line 274) | [Fact] method Deserialize_AllConversationResponses_HaveRequiredFields (line 290) | [Fact] method Deserialize_AllItemResponses_HaveRequiredFields (line 317) | [Fact] method Serialize_Conversation_MatchesFormat (line 339) | [Fact] method Serialize_ConversationListResponse_MatchesFormat (line 366) | [Fact] method Serialize_DeleteResponse_MatchesFormat (line 397) | [Fact] method Serialize_ErrorResponse_MatchesFormat (line 419) | [Fact] method Deserialize_ResponsesAPIRequestWithConversation_Success (line 447) | [Fact] method Deserialize_ResponsesAPIResponseWithConversation_Success (line 469) | [Fact] method Deserialize_StreamingResponseWithConversation_Success (line 493) | [Fact] method Deserialize_ImageInputWithConversation_Success (line 517) | [Fact] method Deserialize_ToolCallWithConversation_Success (line 533) | [Fact] method Deserialize_RefusalWithConversation_Success (line 549) | [Fact] method ParseSseEventsFromContent (line 567) | private static System.Collections.Generic.List ParseSseEv... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIHttpApiIntegrationTests.cs class OpenAIHttpApiIntegrationTests (line 22) | public sealed class OpenAIHttpApiIntegrationTests : IAsyncDisposable method CreateConversationAndResponse_NonStreaming_NonBackground_UpdatesConversationWithOutputAsync (line 27) | [Fact] method CreateConversationAndResponse_Streaming_NonBackground_UpdatesConversationWithOutputAsync (line 104) | [Fact] method CreateConversationAndResponse_NonStreaming_Background_UpdatesConversationWhenCompleteAsync (line 178) | [Fact] method CreateConversationAndResponse_Streaming_Background_UpdatesConversationWhenCompleteAsync (line 267) | [Fact] method CreateTestServerWithInMemoryStorageAsync (line 337) | private async Task CreateTestServerWithInMemoryStorageAsyn... method SendPostRequestAsync (line 372) | private async Task SendPostRequestAsync(HttpClien... method SendGetRequestAsync (line 381) | private async Task SendGetRequestAsync(HttpClient... method ParseResponseAsync (line 389) | private async Task ParseResponseAsync(HttpResponseMessag... method ParseSseEvents (line 398) | private JsonElement[] ParseSseEvents(string sseContent) method DisposeAsync (line 425) | public async ValueTask DisposeAsync() FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIResponsesAgentResolutionIntegrationTests.cs class OpenAIResponsesAgentResolutionIntegrationTests (line 21) | public sealed class OpenAIResponsesAgentResolutionIntegrationTests : IAs... method DisposeAsync (line 26) | public async ValueTask DisposeAsync() method CreateResponseStreaming_WithAgentNameProperty_ResolvesCorrectAgentAsync (line 38) | [Fact] method CreateResponse_WithAgentNameProperty_ResolvesCorrectAgentAsync (line 74) | [Fact] method CreateResponse_WithMultipleAgents_ResolvesCorrectAgentAsync (line 119) | [Fact] method CreateResponse_WithMetadataEntityId_ResolvesCorrectAgentAsync (line 173) | [Fact] method CreateResponse_WithNonExistentAgent_ReturnsNotFoundAsync (line 218) | [Fact] method CreateResponse_WithoutAgentOrModel_ReturnsBadRequestAsync (line 248) | [Fact] method CreateResponse_WithBothAgentAndModel_UsesAgentNameAsync (line 276) | [Fact] method CreateResponse_AgentResolution_StreamingAndNonStreamingBothWorkAsync (line 322) | [Fact] method CreateResponse_WithAgentName_ResponseIncludesAgentFieldAsync (line 373) | [Fact] method CreateTestServerWithAgentResolutionAsync (line 411) | private async Task CreateTestServerWithAgentResolutionAsync( FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIResponsesConformanceTests.cs class OpenAIResponsesConformanceTests (line 18) | public sealed class OpenAIResponsesConformanceTests : ConformanceTestBase method BasicRequestResponseAsync (line 20) | [Fact] method ConversationRequestResponseAsync (line 141) | [Fact] method ToolCallRequestResponseAsync (line 244) | [Fact] method StreamingRequestResponseAsync (line 353) | [Fact] method MetadataRequestResponseAsync (line 551) | [Fact] method ReasoningRequestResponseAsync (line 644) | [Fact] method JsonOutputRequestResponseAsync (line 729) | [Fact] method RefusalRequestResponseAsync (line 790) | [Fact] method ImageInputRequestResponseAsync (line 849) | [Fact] method ReasoningStreamingRequestResponseAsync (line 890) | [Fact] method JsonOutputStreamingRequestResponseAsync (line 958) | [Fact] method RefusalStreamingRequestResponseAsync (line 1007) | [Fact] method ImageInputStreamingRequestResponseAsync (line 1057) | [Fact] method MutualExclusiveErrorAsync (line 1102) | [Fact] method ParseSseEventsFromContent (line 1131) | private static List ParseSseEventsFromContent(string sseC... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIResponsesIntegrationTests.cs class OpenAIResponsesIntegrationTests (line 26) | public sealed class OpenAIResponsesIntegrationTests : IAsyncDisposable method DisposeAsync (line 31) | public async ValueTask DisposeAsync() method CreateResponseStreaming_WithSimpleMessage_ReturnsStreamingUpdatesAsync (line 43) | [Fact] method CreateResponse_WithSimpleMessage_ReturnsCompleteResponseAsync (line 84) | [Fact] method CreateResponseStreaming_WithMultipleChunks_StreamsAllContentAsync (line 111) | [Fact] method CreateResponse_WithMultipleAgents_EachAgentRespondsCorrectlyAsync (line 149) | [Fact] method CreateResponse_SameAgentStreamingAndNonStreaming_BothWorkCorrectlyAsync (line 184) | [Fact] method CreateResponse_CompletedResponse_HasCorrectStatusAsync (line 218) | [Fact] method CreateResponseStreaming_VerifyEventSequence_ContainsExpectedEventsAsync (line 241) | [Fact] method CreateResponseStreaming_EmptyResponse_HandlesGracefullyAsync (line 280) | [Fact] method CreateResponse_IncludesMetadata_HasRequiredFieldsAsync (line 310) | [Fact] method CreateResponseStreaming_LongText_StreamsAllContentAsync (line 334) | [Fact] method CreateResponseStreaming_OutputIndices_AreConsistentAsync (line 365) | [Fact] method CreateResponseStreaming_SingleWord_StreamsCorrectlyAsync (line 401) | [Fact] method CreateResponseStreaming_SpecialCharacters_PreservesFormattingAsync (line 431) | [Fact] method CreateResponse_SpecialCharacters_PreservesContentAsync (line 461) | [Fact] method CreateResponseStreaming_ItemIds_AreConsistentAsync (line 483) | [Fact] method CreateResponse_MultipleSequentialRequests_AllSucceedAsync (line 519) | [Fact] method CreateResponseStreaming_MultipleSequentialRequests_AllStreamCorrectlyAsync (line 543) | [Fact] method CreateResponse_MultipleRequests_GenerateUniqueIdsAsync (line 575) | [Fact] method CreateResponseStreaming_SequenceNumbers_AreMonotonicallyIncreasingAsync (line 602) | [Fact] method CreateResponse_ModelInformation_IsCorrectAsync (line 635) | [Fact] method CreateResponseStreaming_Punctuation_PreservesContentAsync (line 657) | [Fact] method CreateResponse_ShortInput_ReturnsValidResponseAsync (line 687) | [Fact] method CreateResponseStreaming_ContentIndices_AreConsistentAsync (line 710) | [Fact] method CreateResponse_Newlines_PreservesFormattingAsync (line 742) | [Fact] method CreateResponseStreaming_Newlines_PreservesFormattingAsync (line 765) | [Fact] method CreateResponse_ImageContent_ReturnsCorrectlyAsync (line 797) | [Fact] method CreateResponseStreaming_ImageContent_StreamsCorrectlyAsync (line 824) | [Fact] method CreateResponse_AudioContent_ReturnsCorrectlyAsync (line 857) | [Fact] method CreateResponseStreaming_AudioContent_StreamsCorrectlyAsync (line 885) | [Fact] method CreateResponse_FunctionCall_ReturnsCorrectlyAsync (line 919) | [Fact] method CreateResponseStreaming_FunctionCall_StreamsCorrectlyAsync (line 946) | [Fact] method CreateResponse_MixedContent_ReturnsCorrectlyAsync (line 979) | [Fact] method CreateResponseStreaming_MixedContent_StreamsCorrectlyAsync (line 1005) | [Fact] method CreateResponseStreaming_TextDone_IncludesDoneEventAsync (line 1041) | [Fact] method CreateResponseStreaming_ContentPartAdded_IncludesEventAsync (line 1069) | [Fact] method CreateResponse_WithConversationId_DoesNotForwardConversationIdToIChatClientAsync (line 1100) | [Fact] method CreateResponseStreaming_WithConversationId_DoesNotForwardConversationIdToIChatClientAsync (line 1151) | [Fact] method CreateResponse_WithConversation_SecondRequestIncludesPriorMessagesAsync (line 1208) | [Fact] method SendRawResponseAsync (line 1252) | private async Task SendRawResponseAsync( method CreateResponseClient (line 1273) | private ResponsesClient CreateResponseClient(string agentName) method ResolveMockChatClient (line 1284) | private TestHelpers.SimpleMockChatClient ResolveMockChatClient() method CreateTestServerAsync (line 1297) | private async Task CreateTestServerAsync(string agentName,... method CreateTestServerWithConversationsAsync (line 1319) | private async Task CreateTestServerWithConversationsAsync(... method CreateTestServerWithCustomClientAndConversationsAsync (line 1343) | private async Task CreateTestServerWithCustomClientAndConv... method CreateTestServerWithCustomClientAsync (line 1366) | private async Task CreateTestServerWithCustomClientAsync(s... method CreateTestServerWithMultipleAgentsAsync (line 1387) | private async Task CreateTestServerWithMultipleAgentsAsync( FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIResponsesSerializationTests.cs class OpenAIResponsesSerializationTests (line 17) | public sealed class OpenAIResponsesSerializationTests : ConformanceTestBase method Deserialize_BasicRequest_Success (line 21) | [Fact] method Deserialize_BasicRequest_RoundTrip (line 37) | [Fact] method Deserialize_StreamingRequest_HasStreamFlag (line 55) | [Fact] method Deserialize_ConversationRequest_HasPreviousResponseId (line 70) | [Fact] method Deserialize_MetadataRequest_HasAllParameters (line 85) | [Fact] method Deserialize_ToolCallRequest_HasToolDefinitions (line 110) | [Fact] method Serialize_CreateMinimalRequest_MatchesFormat (line 134) | [Fact] method Serialize_CreateRequestWithOptions_IncludesAllFields (line 157) | [Fact] method Serialize_NullableFields_AreOmittedWhenNull (line 195) | [Fact] method Deserialize_ImageInputRequest_HasImageData (line 219) | [Fact] method Deserialize_ImageInputStreamingRequest_HasStreamAndImage (line 233) | [Fact] method Deserialize_JsonOutputRequest_HasJsonSchema (line 248) | [Fact] method Deserialize_JsonOutputStreamingRequest_HasJsonSchemaAndStream (line 269) | [Fact] method Deserialize_ReasoningRequest_HasReasoningConfiguration (line 289) | [Fact] method Deserialize_ReasoningStreamingRequest_HasReasoningAndStream (line 303) | [Fact] method Deserialize_RefusalRequest_CanBeDeserialized (line 318) | [Fact] method Deserialize_RefusalStreamingRequest_HasStream (line 332) | [Fact] method Deserialize_InvalidInputObject_ThrowsHelpfulException (line 347) | [Fact] method Deserialize_AllRequests_CanBeDeserialized (line 361) | [Fact] method Deserialize_BasicResponse_Success (line 397) | [Fact] method Deserialize_BasicResponse_HasCorrectOutput (line 416) | [Fact] method Deserialize_BasicResponse_HasCorrectUsage (line 439) | [Fact] method Deserialize_ConversationResponse_HasPreviousResponseId (line 458) | [Fact] method Deserialize_MetadataResponse_PreservesMetadata (line 474) | [Fact] method Deserialize_MetadataResponse_HasIncompleteStatus (line 491) | [Fact] method Deserialize_MetadataResponse_HasInstructions (line 507) | [Fact] method Deserialize_MetadataResponse_HasModelParameters (line 522) | [Fact] method Deserialize_ToolCallResponse_HasFunctionCall (line 538) | [Fact] method Deserialize_ToolCallResponse_HasToolDefinitions (line 562) | [Fact] method Deserialize_ImageInputResponse_HasImageInInput (line 586) | [Fact] method Deserialize_JsonOutputResponse_HasStructuredOutput (line 601) | [Fact] method Deserialize_ReasoningResponse_HasReasoningItems (line 621) | [Fact] method Deserialize_RefusalResponse_HasRefusalContent (line 637) | [Fact] method Deserialize_AllResponses_HaveRequiredFields (line 652) | [Fact] method Deserialize_ResponseRoundTrip_PreservesData (line 685) | [Fact] method ParseStreamingEvents_BasicFormat_Success (line 709) | [Fact] method ParseStreamingEvents_HasCorrectEventTypes (line 728) | [Fact] method ParseStreamingEvents_DeserializeCreatedEvent_Success (line 749) | [Fact] method ParseStreamingEvents_DeserializeInProgressEvent_Success (line 771) | [Fact] method ParseStreamingEvents_DeserializeOutputItemAdded_Success (line 792) | [Fact] method ParseStreamingEvents_DeserializeContentPartAdded_Success (line 812) | [Fact] method ParseStreamingEvents_DeserializeTextDelta_Success (line 834) | [Fact] method ParseStreamingEvents_AccumulateTextDeltas_MatchesFinalText (line 856) | [Fact] method ParseStreamingEvents_SequenceNumbersAreSequential (line 890) | [Fact] method ParseStreamingEvents_FinalEvent_IsTerminalState (line 917) | [Fact] method ParseStreamingEvents_ImageInputStreaming_HasImageEvents (line 939) | [Fact] method ParseStreamingEvents_JsonOutputStreaming_HasJsonSchemaEvents (line 957) | [Fact] method ParseStreamingEvents_ReasoningStreaming_HasReasoningEvents (line 975) | [Fact] method ParseStreamingEvents_RefusalStreaming_HasRefusalEvents (line 996) | [Fact] method ParseStreamingEvents_AllStreamingTraces_CanBeDeserialized (line 1016) | [Fact] method ParseStreamingEvents_AllEvents_CanBeDeserialized (line 1043) | [Fact] method ParseSseEventsFromContent (line 1078) | private static List ParseSseEventsFromContent(string sseC... FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/SortOrderExtensionsTests.cs class SortOrderExtensionsTests (line 11) | public sealed class SortOrderExtensionsTests method ToOrderString_Ascending_ReturnsAsc (line 13) | [Fact] method ToOrderString_Descending_ReturnsDesc (line 26) | [Fact] method IsAscending_Ascending_ReturnsTrue (line 39) | [Fact] method IsAscending_Descending_ReturnsFalse (line 52) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/StreamingEventConformanceTests.cs class StreamingEventConformanceTests (line 21) | public sealed class StreamingEventConformanceTests : ConformanceTestBase method ParseStreamingEvents_BasicFormat_SuccessAsync (line 23) | [Fact] method ParseStreamingEvents_HasCorrectEventTypesAsync (line 54) | [Fact] method ParseStreamingEvents_DeserializeCreatedEvent_SuccessAsync (line 117) | [Fact] method ParseStreamingEvents_DeserializeInProgressEvent_SuccessAsync (line 150) | [Fact] method ParseStreamingEvents_DeserializeOutputItemAdded_SuccessAsync (line 182) | [Fact] method ParseStreamingEvents_DeserializeContentPartAdded_SuccessAsync (line 213) | [Fact] method ParseStreamingEvents_DeserializeTextDelta_SuccessAsync (line 246) | [Fact] method ParseStreamingEvents_AccumulateTextDeltas_MatchesFinalTextAsync (line 279) | [Fact] method ParseStreamingEvents_SequenceNumbersAreSequentialAsync (line 324) | [Fact] method ParseStreamingEvents_FinalEvent_IsTerminalStateAsync (line 362) | [Fact] method ParseStreamingEvents_AllEvents_CanBeDeserializedAsync (line 395) | [Fact] method ParseStreamingEvents_IdConsistency_ValidAsync (line 438) | [Fact] method ParseStreamingEvents_IndexConsistency_ValidAsync (line 529) | [Fact] method ParseStreamingEvents_ResponseObjectEvolution_ValidAsync (line 586) | [Fact] method ParseStreamingEvents_SseFormatCompliance_ValidAsync (line 654) | [Fact] method ParseStreamingEvents_EventPairing_ValidAsync (line 698) | [Fact] method ParseStreamingEvents_NoDuplicateSequenceNumbers_ValidAsync (line 754) | [Fact] method ParseSseEvents (line 788) | private static List ParseSseEvents(string sseContent) FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/TestHelpers.cs class TestHelpers (line 13) | internal static class TestHelpers class SimpleMockChatClient (line 18) | internal sealed class SimpleMockChatClient : IChatClient method SimpleMockChatClient (line 24) | public SimpleMockChatClient(string responseText = "Test response") method GetResponseAsync (line 31) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 58) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 99) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 102) | public void Dispose() class StatefulMockChatClient (line 110) | internal sealed class StatefulMockChatClient : IChatClient method StatefulMockChatClient (line 115) | public StatefulMockChatClient(string[] responseTexts) method GetResponseAsync (line 123) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 152) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 195) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 198) | public void Dispose() class ImageContentMockChatClient (line 206) | internal sealed class ImageContentMockChatClient : IChatClient method ImageContentMockChatClient (line 210) | public ImageContentMockChatClient(string imageUrl = "https://example... method GetResponseAsync (line 217) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 240) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 268) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 271) | public void Dispose() class AudioContentMockChatClient (line 279) | internal sealed class AudioContentMockChatClient : IChatClient method AudioContentMockChatClient (line 284) | public AudioContentMockChatClient(string audioData = "base64audiodat... method GetResponseAsync (line 292) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 320) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 348) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 351) | public void Dispose() class FunctionCallMockChatClient (line 359) | internal sealed class FunctionCallMockChatClient : IChatClient method FunctionCallMockChatClient (line 364) | public FunctionCallMockChatClient(string functionName = "test_functi... method GetResponseAsync (line 372) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 397) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 422) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 425) | public void Dispose() class MixedContentMockChatClient (line 433) | internal sealed class MixedContentMockChatClient : IChatClient method GetResponseAsync (line 437) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 461) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 510) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 513) | public void Dispose() class ToolCallMockChatClient (line 521) | internal sealed class ToolCallMockChatClient : IChatClient method ToolCallMockChatClient (line 526) | public ToolCallMockChatClient(string functionName, string argumentsJ... method GetResponseAsync (line 548) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 570) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 592) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 595) | public void Dispose() class ConversationMemoryMockChatClient (line 604) | internal sealed class ConversationMemoryMockChatClient : IChatClient method ConversationMemoryMockChatClient (line 611) | public ConversationMemoryMockChatClient(string responseText = "Test ... method GetResponseAsync (line 618) | public Task GetResponseAsync( method GetStreamingResponseAsync (line 640) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 672) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 675) | public void Dispose() class CustomContentMockChatClient (line 683) | internal sealed class CustomContentMockChatClient : IChatClient method CustomContentMockChatClient (line 687) | public CustomContentMockChatClient(Func GetResponseAsync( method GetStreamingResponseAsync (line 716) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 751) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 754) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/AgentHostingServiceCollectionExtensionsTests.cs class AgentHostingServiceCollectionExtensionsTests (line 11) | public class AgentHostingServiceCollectionExtensionsTests method AddAIAgent_NullBuilder_ThrowsArgumentNullException (line 16) | [Fact] method AddAIAgent_NullName_ThrowsArgumentNullException (line 23) | [Fact] method AddAIAgent_NullInstructions_AllowsNull (line 35) | [Fact] method AddAIAgentWithKey_NullName_ThrowsArgumentNullException (line 46) | [Fact] method AddAIAgentWithKey_NullInstructions_AllowsNull (line 57) | [Fact] method AddAIAgentWithFactory_NullBuilder_ThrowsArgumentNullException (line 68) | [Fact] method AddAIAgentWithFactory_NullName_ThrowsArgumentNullException (line 76) | [Fact] method AddAIAgentWithFactory_NullFactory_ThrowsArgumentNullException (line 87) | [Fact] method AddAIAgentWithFactory_ValidParameters_ReturnsBuilder (line 98) | [Fact] method AddAIAgent_RegistersKeyedSingleton (line 110) | [Fact] method AddAIAgent_MultipleCalls_RegistersMultipleAgents (line 130) | [Fact] method AddAIAgent_EmptyName_ThrowsArgumentException (line 152) | [Fact] method AddAIAgent_EmptyInstructions_Succeeds (line 162) | [Fact] method AddAIAgent_WithoutKey_CallsOverloadWithNullKey (line 172) | [Fact] method AddAIAgent_ValidSpecialCharactersInName_Succeeds (line 188) | [Theory] method AddAIAgent_WithScopedLifetime_RegistersKeyedScoped (line 210) | [Fact] method AddAIAgent_WithTransientLifetime_RegistersKeyedTransient (line 234) | [Fact] method AddAIAgent_DefaultLifetime_BuilderExposesSingleton (line 258) | [Fact] method AddAIAgent_InstructionsOverload_RespectsLifetime (line 275) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/HostApplicationBuilderAgentExtensionsTests.cs class HostApplicationBuilderAgentExtensionsTests (line 11) | public class HostApplicationBuilderAgentExtensionsTests method AddAIAgent_NullBuilder_ThrowsArgumentNullException (line 16) | [Fact] method AddAIAgent_NullName_ThrowsArgumentNullException (line 25) | [Fact] method AddAIAgent_NullInstructions_AllowsNull (line 40) | [Fact] method AddAIAgentWithKey_NullName_ThrowsArgumentNullException (line 51) | [Fact] method AddAIAgentWithKey_NullInstructions_AllowsNull (line 66) | [Fact] method AddAIAgentWithFactory_NullBuilder_ThrowsArgumentNullException (line 77) | [Fact] method AddAIAgentWithFactory_NullName_ThrowsArgumentNullException (line 89) | [Fact] method AddAIAgentWithFactory_NullFactory_ThrowsArgumentNullException (line 104) | [Fact] method AddAIAgentWithFactory_ValidParameters_ReturnsBuilder (line 119) | [Fact] method AddAIAgent_RegistersKeyedSingleton (line 132) | [Fact] method AddAIAgent_MultipleCalls_RegistersMultipleAgents (line 155) | [Fact] method AddAIAgent_EmptyName_ThrowsArgumentException (line 180) | [Fact] method AddAIAgent_EmptyInstructions_Succeeds (line 194) | [Fact] method AddAIAgent_WithoutKey_CallsOverloadWithNullKey (line 204) | [Fact] method AddAIAgent_ValidSpecialCharactersInName_Succeeds (line 220) | [Theory] method AddAIAgent_WithScopedLifetime_RegistersKeyedScoped (line 242) | [Fact] method AddAIAgent_WithTransientLifetime_RegistersKeyedTransient (line 266) | [Fact] method AddAIAgent_InstructionsOverload_RespectsLifetime (line 290) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/HostApplicationBuilderWorkflowExtensionsTests.cs class HostApplicationBuilderWorkflowExtensionsTests (line 12) | public class HostApplicationBuilderWorkflowExtensionsTests method AddWorkflow_NullBuilder_ThrowsArgumentNullException (line 17) | [Fact] method AddWorkflow_NullName_ThrowsArgumentNullException (line 28) | [Fact] method AddWorkflow_NullFactory_ThrowsArgumentNullException (line 41) | [Fact] method AddWorkflow_ValidParameters_ReturnsBuilder (line 54) | [Fact] method AddWorkflow_RegistersKeyedSingleton (line 68) | [Fact] method AddWorkflow_MultipleCalls_RegistersMultipleWorkflows (line 87) | [Fact] method AddWorkflow_EmptyName_ThrowsArgumentException (line 109) | [Fact] method AddWorkflow_ValidSpecialCharactersInName_Succeeds (line 120) | [Theory] method AddAsAIAgent_WithoutName_UsesWorkflowName (line 143) | [Fact] method AddAsAIAgent_WithName_UsesProvidedName (line 168) | [Fact] method AddAsAIAgent_WithDifferentName_RetrievesWorkflowCorrectly (line 199) | [Fact] method AddAsAIAgent_ReturnsHostedAgentBuilder (line 226) | [Fact] method AddAsAIAgent_WithoutName_ReturnsHostedAgentBuilderWithWorkflowName (line 244) | [Fact] method AddAsAIAgent_MultipleAgents_FromSameWorkflow (line 261) | [Fact] method AddAsAIAgent_WithNullName_UsesWorkflowName (line 292) | [Fact] method AddAsAIAgent_WithEmptyName_UsesEmptyStringAsAgentName (line 313) | [Fact] method AddWorkflow_WithScopedLifetime_RegistersKeyedScoped (line 334) | [Fact] method AddWorkflow_WithTransientLifetime_RegistersKeyedTransient (line 356) | [Fact] method AddAsAIAgent_RespectsLifetime (line 378) | [Theory] method CreateTestWorkflow (line 405) | private static Workflow CreateTestWorkflow(string name) FILE: dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/HostedAgentBuilderToolsExtensionsTests.cs class HostedAgentBuilderToolsExtensionsTests (line 17) | public sealed class HostedAgentBuilderToolsExtensionsTests method WithAITool_ThrowsWhenBuilderIsNull (line 19) | [Fact] method WithAITool_ThrowsWhenToolIsNull (line 27) | [Fact] method WithAITools_ThrowsWhenBuilderIsNull (line 36) | [Fact] method WithAITools_ThrowsWhenToolsArrayIsNull (line 44) | [Fact] method RegisteredTools_ResolvesAllToolsForAgent (line 53) | [Fact] method RegisteredTools_IsolatedPerAgent (line 78) | [Fact] method ResolveToolsFromAgent (line 115) | private static IList ResolveToolsFromAgent(IServiceProvider se... method ResolveToolsFromDI (line 122) | private static List ResolveToolsFromDI(IServiceProvider servic... method WithAIToolFactory_ThrowsWhenBuilderIsNull (line 129) | [Fact] method WithAIToolFactory_ThrowsWhenFactoryIsNull (line 137) | [Fact] method WithAIToolFactory_RegistersToolFromFactory (line 146) | [Fact] method WithAIToolFactory_CanAccessServicesFromFactory (line 167) | [Fact] method WithAIToolFactory_ToolsAreIsolatedPerAgent (line 188) | [Fact] method WithAIToolFactory_CanCombineWithDirectToolRegistration (line 216) | [Fact] method WithAIToolFactory_ToolsAvailableOnAgent (line 238) | [Fact] method WithAIToolFactory_DefaultsToAgentLifetime (line 257) | [Theory] method WithAIToolFactory_ExplicitLifetimeOverridesDefault (line 282) | [Fact] method WithAIToolFactory_SingletonAgentWithScopedTool_ThrowsInvalidOperationException (line 304) | [Fact] method WithAIToolFactory_SingletonAgentWithTransientTool_ThrowsInvalidOperationException (line 319) | [Fact] method WithAIToolFactory_ScopedAgentWithTransientTool_ThrowsInvalidOperationException (line 334) | [Fact] method WithAIToolFactory_ValidLifetimeCombinations_DoNotThrow (line 349) | [Theory] method ValidateToolLifetime_InvalidCombinations_Throw (line 369) | [Theory] method WithSessionStoreFactory_DefaultsToSingleton (line 383) | [Theory] method WithSessionStoreFactory_ExplicitLifetimeOverridesDefault (line 408) | [Fact] class MockChatClient (line 430) | private sealed class DummyAITool : AITool; method GetResponseAsync (line 437) | public Task GetResponseAsync(IEnumerable ... method GetStreamingResponseAsync (line 442) | public IAsyncEnumerable GetStreamingResponseAsyn... method GetService (line 447) | public object? GetService(Type serviceType, object? serviceKey = null) method Dispose (line 452) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.Mem0.IntegrationTests/Mem0ProviderTests.cs class Mem0ProviderTests (line 19) | public sealed class Mem0ProviderTests : IDisposable method Mem0ProviderTests (line 27) | public Mem0ProviderTests() method CanAddAndRetrieveUserMemoriesAsync (line 47) | [Fact(Skip = SkipReason)] method CanAddAndRetrieveAgentMemoriesAsync (line 72) | [Fact(Skip = SkipReason)] method DoesNotLeakMemoriesAcrossAgentScopesAsync (line 97) | [Fact(Skip = SkipReason)] method GetContextWithRetryAsync (line 132) | private static async Task GetContextWithRetryAsync(Mem0Prov... method Dispose (line 148) | public void Dispose() class TestAgentSession (line 153) | private sealed class TestAgentSession : AgentSession method TestAgentSession (line 155) | public TestAgentSession() FILE: dotnet/tests/Microsoft.Agents.AI.Mem0.UnitTests/Mem0ProviderTests.cs class Mem0ProviderTests (line 19) | public sealed class Mem0ProviderTests : IDisposable method Mem0ProviderTests (line 29) | public Mem0ProviderTests() method Constructor_Throws_WhenBaseAddressMissing (line 50) | [Fact] method Constructor_Throws_WhenStateInitializerIsNull (line 61) | [Fact] method StateKeys_ReturnsDefaultKey_WhenNoOptionsProvided (line 69) | [Fact] method StateKeys_ReturnsCustomKey_WhenSetViaOptions (line 80) | [Fact] method InvokingAsync_PerformsSearch_AndReturnsContextMessageAsync (line 94) | [Fact] method InvokingAsync_LogsUserIdBasedOnEnableSensitiveTelemetryDataAsync (line 150) | [Theory] method InvokedAsync_PersistsAllowedMessagesAsync (line 210) | [Fact] method InvokedAsync_PersistsNothingForFailedRequestAsync (line 245) | [Fact] method InvokedAsync_ShouldNotThrow_WhenStorageFailsAsync (line 267) | [Fact] method InvokedAsync_LogsUserIdBasedOnEnableSensitiveTelemetryDataAsync (line 301) | [Theory] method ClearStoredMemoriesAsync_SendsDeleteWithQueryAsync (line 356) | [Fact] method InvokingAsync_ShouldNotThrow_WhenSearchFailsAsync (line 373) | [Fact] method StateInitializer_IsCalledOnceAndStoredInStateBagAsync (line 399) | [Fact] method StateKeys_CanBeConfiguredViaOptionsAsync (line 423) | [Fact] method InvokingAsync_DefaultFilter_ExcludesNonExternalMessagesFromSearchAsync (line 442) | [Fact] method InvokingAsync_CustomSearchInputFilter_OverridesDefaultAsync (line 469) | [Fact] method InvokedAsync_DefaultFilter_ExcludesNonExternalMessagesFromStorageAsync (line 500) | [Fact] method InvokedAsync_CustomStorageInputFilter_OverridesDefaultAsync (line 525) | [Fact] method MessageInvokingAsync_SearchesAndReturnsMergedMessagesAsync (line 554) | [Fact] method MessageInvokingAsync_NoMemories_ReturnsOnlyInputMessagesAsync (line 582) | [Fact] method MessageInvokingAsync_DefaultFilter_ExcludesNonExternalMessagesAsync (line 605) | [Fact] method ContainsOrdinal (line 633) | private static bool ContainsOrdinal(string source, string value) => so... method Dispose (line 635) | public void Dispose() class RecordingHandler (line 645) | private sealed class RecordingHandler : HttpMessageHandler method SendAsync (line 650) | protected override async Task SendAsync(HttpReq... method EnqueueJsonResponse (line 665) | public void EnqueueJsonResponse(string json) method EnqueueEmptyOk (line 673) | public void EnqueueEmptyOk() => this._responses.Enqueue(new HttpResp... method EnqueueEmptyInternalServerError (line 675) | public void EnqueueEmptyInternalServerError() => this._responses.Enq... class TestAgentSession (line 678) | private sealed class TestAgentSession : AgentSession method TestAgentSession (line 680) | public TestAgentSession() FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/ChatClient/AsyncStreamingChatCompletionUpdateCollectionResultTests.cs class AsyncStreamingChatCompletionUpdateCollectionResultTests (line 14) | public sealed class AsyncStreamingChatCompletionUpdateCollectionResultTests method GetContinuationToken_ReturnsNull (line 19) | [Fact] method GetRawPagesAsync_ReturnsSinglePageAsync (line 36) | [Fact] method IterateCollection_YieldsUpdatesAsync (line 57) | [Fact] method IterateCollection_WithMultipleUpdates_YieldsAllUpdatesAsync (line 78) | [Fact] method CreateTestUpdatesAsync (line 96) | private static async IAsyncEnumerable CreateTestU... method CreateMultipleTestUpdatesAsync (line 102) | private static async IAsyncEnumerable CreateMulti... FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/ChatClient/AsyncStreamingResponseUpdateCollectionResultTests.cs class AsyncStreamingResponseUpdateCollectionResultTests (line 15) | public sealed class AsyncStreamingResponseUpdateCollectionResultTests method GetContinuationToken_ReturnsNull (line 20) | [Fact] method GetRawPagesAsync_ReturnsSinglePageAsync (line 37) | [Fact] method IterateCollection_WithStreamingResponseUpdateRawRepresentation_YieldsUpdatesAsync (line 58) | [Fact] method IterateCollection_WithChatResponseUpdateContainingStreamingResponseUpdate_YieldsUpdatesAsync (line 81) | [Fact] method IterateCollection_WithNonStreamingResponseUpdateRawRepresentation_SkipsUpdateAsync (line 105) | [Fact] method IterateCollection_WithChatResponseUpdateWithoutStreamingResponseUpdate_SkipsUpdateAsync (line 126) | [Fact] method CreateTestUpdatesAsync (line 145) | private static async IAsyncEnumerable CreateTestU... method CreateTestUpdatesWithRawRepresentationAsync (line 151) | private static async IAsyncEnumerable CreateTestU... method CreateTestUpdatesWithChatResponseUpdateAsync (line 161) | private static async IAsyncEnumerable CreateTestU... method CreateStreamingResponseUpdate (line 171) | private static StreamingResponseUpdate CreateStreamingResponseUpdate() FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/ChatClient/StreamingUpdatePipelineResponseTests.cs class StreamingUpdatePipelineResponseTests (line 13) | public sealed class StreamingUpdatePipelineResponseTests method Status_ReturnsOkStatus (line 18) | [Fact] method ReasonPhrase_ReturnsOk (line 35) | [Fact] method ContentStream_Get_ReturnsNull (line 52) | [Fact] method ContentStream_Set_IsNoOp (line 69) | [Fact] method Content_ReturnsEmptyBinaryData (line 89) | [Fact] method BufferContent_ThrowsNotSupportedException (line 107) | [Fact] method BufferContentAsync_ThrowsNotSupportedExceptionAsync (line 122) | [Fact] method Dispose_DoesNotThrow (line 138) | [Fact] method CreateTestUpdatesAsync (line 149) | private static async IAsyncEnumerable CreateTestU... FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/Extensions/AIAgentWithOpenAIExtensionsTests.cs class AIAgentWithOpenAIExtensionsTests (line 21) | public sealed class AIAgentWithOpenAIExtensionsTests method RunAsync_WithNullAgent_ThrowsArgumentNullExceptionAsync (line 26) | [Fact] method RunAsync_WithNullMessages_ThrowsArgumentNullExceptionAsync (line 46) | [Fact] method RunAsync_CallsUnderlyingAgentAsync (line 63) | [Fact] method RunStreamingAsync_WithNullAgent_ThrowsArgumentNullException (line 112) | [Fact] method RunStreamingAsync_WithNullMessages_ThrowsArgumentNullException (line 131) | [Fact] method RunStreamingAsync_CallsUnderlyingAgentAsync (line 148) | [Fact] method ToAsyncEnumerableAsync (line 205) | private static async IAsyncEnumerable ToAsyncEnum... method RunAsync_ResponseItem_WithNullAgent_ThrowsArgumentNullExceptionAsync (line 218) | [Fact] method RunAsync_ResponseItem_WithNullMessages_ThrowsArgumentNullExceptionAsync (line 235) | [Fact] method RunAsync_ResponseItem_CallsUnderlyingAgentAsync (line 252) | [Fact] method RunStreamingAsync_ResponseItem_WithNullAgent_ThrowsArgumentNullException (line 294) | [Fact] method RunStreamingAsync_ResponseItem_WithNullMessages_ThrowsArgumentNullException (line 310) | [Fact] method RunStreamingAsync_ResponseItem_CallsUnderlyingAgentAsync (line 327) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/Extensions/AgentResponseExtensionsTests.cs class AgentResponseExtensionsTests (line 14) | public sealed class AgentResponseExtensionsTests method AsOpenAIChatCompletion_WithNullResponse_ThrowsArgumentNullException (line 19) | [Fact] method AsOpenAIChatCompletion_WithChatCompletionRawRepresentation_ReturnsChatCompletion (line 35) | [Fact] method AsOpenAIChatCompletion_WithNonChatCompletionRawRepresentation_ConvertsChatResponse (line 57) | [Fact] method AsOpenAIResponse_WithNullResponse_ThrowsArgumentNullException (line 77) | [Fact] method AsOpenAIResponse_WithNonResponseResultRawRepresentation_ConvertsChatResponse (line 93) | [Fact] class ModelReaderWriterHelper (line 112) | internal static class ModelReaderWriterHelper method CreateChatCompletion (line 114) | public static ChatCompletion CreateChatCompletion(string id, string co... FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/Extensions/OpenAIAssistantClientExtensionsTests.cs class OpenAIAssistantClientExtensionsTests (line 20) | public sealed class OpenAIAssistantClientExtensionsTests method CreateAIAgentAsync_WithClientFactory_AppliesFactoryCorrectlyAsync (line 25) | [Fact] method CreateAIAgentAsync_WithClientFactoryUsingAsBuilder_AppliesFactoryCorrectlyAsync (line 55) | [Fact] method CreateAIAgentAsync_WithOptionsAndClientFactory_AppliesFactoryCorrectlyAsync (line 85) | [Fact] method CreateAIAgentAsync_WithoutClientFactory_WorksNormallyAsync (line 119) | [Fact] method CreateAIAgentAsync_WithNullClientFactory_WorksNormallyAsync (line 144) | [Fact] method CreateAIAgentAsync_WithNullClient_ThrowsArgumentNullExceptionAsync (line 170) | [Fact] method CreateAIAgentAsync_WithNullModel_ThrowsArgumentNullExceptionAsync (line 183) | [Fact] method CreateAIAgentAsync_WithNullOptions_ThrowsArgumentNullExceptionAsync (line 199) | [Fact] method AsAIAgent_WithClientResultAndOptions_WorksCorrectly (line 215) | [Fact] method AsAIAgent_WithAssistantAndOptions_WorksCorrectly (line 243) | [Fact] method AsAIAgent_WithAssistantAndOptionsWithNullFields_FallsBackToAssistantMetadata (line 270) | [Fact] method GetAIAgentAsync_WithAgentIdAndOptions_WorksCorrectlyAsync (line 292) | [Fact] method AsAIAgent_WithClientFactory_AppliesFactoryCorrectly (line 319) | [Fact] method AsAIAgent_WithNullClientResult_ThrowsArgumentNullException (line 351) | [Fact] method AsAIAgent_WithNullAssistant_ThrowsArgumentNullException (line 368) | [Fact] method AsAIAgent_WithNullOptions_ThrowsArgumentNullException (line 385) | [Fact] method GetAIAgentAsync_WithEmptyAgentId_ThrowsArgumentExceptionAsync (line 402) | [Fact] method CreateAIAgentAsync_WithServices_PassesServicesToAgentAsync (line 419) | [Fact] method CreateAIAgentAsync_WithOptionsAndServices_PassesServicesToAgentAsync (line 448) | [Fact] method AsAIAgent_WithServices_PassesServicesToAgent (line 479) | [Fact] method GetAIAgentAsync_WithServices_PassesServicesToAgentAsync (line 504) | [Fact] method CreateAIAgentAsync_WithClientFactoryAndServices_AppliesBothCorrectlyAsync (line 528) | [Fact] method GetFunctionInvocationServices (line 564) | private static IServiceProvider? GetFunctionInvocationServices(Functio... method CreateAIAgentAsync_WithHostedCodeInterpreterTool_CreatesAgentWithToolAsync (line 575) | [Fact] method CreateAIAgentAsync_WithHostedCodeInterpreterToolAndHostedFileContent_CreatesAgentWithToolResourcesAsync (line 602) | [Fact] method CreateAIAgentAsync_WithHostedFileSearchTool_CreatesAgentWithToolAsync (line 633) | [Fact] method CreateAIAgentAsync_WithHostedFileSearchToolAndHostedVectorStoreContent_CreatesAgentWithToolResourcesAsync (line 660) | [Fact] method CreateAIAgentAsync_WithMixedTools_CreatesAgentWithAllToolsAsync (line 692) | [Fact] method CreateAIAgentAsync_WithFunctionTools_CategorizesAsOtherToolsAsync (line 720) | [Fact] method AsAIAgent_LegacyOverload_WithAssistantInstructions_SetsInstructions (line 748) | [Fact] method AsAIAgent_LegacyOverload_WithChatOptionsInstructions_UsesChatOptionsInstructions (line 767) | [Fact] method AsAIAgent_LegacyOverload_WithClientResult_WorksCorrectly (line 787) | [Fact] method AsAIAgent_LegacyOverload_WithNullAssistantClient_ThrowsArgumentNullException (line 806) | [Fact] method AsAIAgent_LegacyOverload_WithNullAssistantMetadata_ThrowsArgumentNullException (line 823) | [Fact] method AsAIAgent_LegacyOverload_WithNullClientResult_ThrowsArgumentNullException (line 839) | [Fact] method GetAIAgentAsync_LegacyOverload_WorksCorrectlyAsync (line 855) | [Fact] method GetAIAgentAsync_LegacyOverload_WithNullAssistantClient_ThrowsArgumentNullExceptionAsync (line 873) | [Fact] method GetAIAgentAsync_LegacyOverload_WithEmptyAgentId_ThrowsArgumentExceptionAsync (line 889) | [Fact] method GetAIAgentAsync_WithOptions_WithNullAssistantClient_ThrowsArgumentNullExceptionAsync (line 905) | [Fact] method GetAIAgentAsync_WithOptions_WithNullOptions_ThrowsArgumentNullExceptionAsync (line 922) | [Fact] method AsAIAgent_WithOptions_WithNullAssistantClient_ThrowsArgumentNullException (line 938) | [Fact] class TestAssistantClient (line 956) | private sealed class TestAssistantClient : AssistantClient method TestAssistantClient (line 958) | public TestAssistantClient() method CreateAssistantAsync (line 962) | public override Task> CreateAssistantAsync(s... method GetAssistantAsync (line 967) | public override async Task> GetAssistantAsyn... class TestChatClient (line 974) | private sealed class TestChatClient : DelegatingChatClient method TestChatClient (line 976) | public TestChatClient(IChatClient innerClient) : base(innerClient) class TestServiceProvider (line 981) | private sealed class TestServiceProvider : IServiceProvider method GetService (line 983) | public object? GetService(Type serviceType) => null; class FakePipelineResponse (line 986) | private sealed class FakePipelineResponse : PipelineResponse method BufferContent (line 998) | public override BinaryData BufferContent(CancellationToken cancellat... method BufferContentAsync (line 1003) | public override ValueTask BufferContentAsync(Cancellatio... method Dispose (line 1008) | public override void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/Extensions/OpenAIChatClientExtensionsTests.cs class OpenAIChatClientExtensionsTests (line 18) | public sealed class OpenAIChatClientExtensionsTests class TestChatClient (line 23) | private sealed class TestChatClient : IChatClient method TestChatClient (line 27) | public TestChatClient(IChatClient innerClient) method GetResponseAsync (line 32) | public Task GetResponseAsync(IEnumerable ... method GetStreamingResponseAsync (line 35) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 44) | public object? GetService(Type serviceType, object? serviceKey = null) method Dispose (line 55) | public void Dispose() => this._innerClient.Dispose(); class TestOpenAIChatClient (line 61) | private sealed class TestOpenAIChatClient : OpenAIChatClient method TestOpenAIChatClient (line 63) | public TestOpenAIChatClient() method CreateAIAgent_WithClientFactory_AppliesFactoryCorrectly (line 71) | [Fact] method CreateAIAgent_WithClientFactoryUsingAsBuilder_AppliesFactoryCorrectly (line 99) | [Fact] method CreateAIAgent_WithOptionsAndClientFactory_AppliesFactoryCorrectly (line 124) | [Fact] method CreateAIAgent_WithoutClientFactory_WorksNormally (line 156) | [Fact] method CreateAIAgent_WithNullClientFactory_WorksNormally (line 179) | [Fact] method CreateAIAgent_WithNullClient_ThrowsArgumentNullException (line 203) | [Fact] method CreateAIAgent_WithNullOptions_ThrowsArgumentNullException (line 216) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/Extensions/OpenAIResponseClientExtensionsTests.cs class OpenAIResponseClientExtensionsTests (line 17) | public sealed class OpenAIResponseClientExtensionsTests class TestChatClient (line 22) | private sealed class TestChatClient : IChatClient method TestChatClient (line 26) | public TestChatClient(IChatClient innerClient) method GetResponseAsync (line 31) | public Task GetResponseAsync(IEnumerable ... method GetStreamingResponseAsync (line 34) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 43) | public object? GetService(Type serviceType, object? serviceKey = null) method Dispose (line 54) | public void Dispose() => this._innerClient.Dispose(); class TestOpenAIResponseClient (line 60) | private sealed class TestOpenAIResponseClient : ResponsesClient method TestOpenAIResponseClient (line 62) | public TestOpenAIResponseClient() method CreateAIAgent_WithClientFactory_AppliesFactoryCorrectly (line 70) | [Fact] method CreateAIAgent_WithoutClientFactory_WorksNormally (line 98) | [Fact] method CreateAIAgent_WithNullClientFactory_WorksNormally (line 121) | [Fact] method CreateAIAgent_WithNullClient_ThrowsArgumentNullException (line 145) | [Fact] method CreateAIAgent_WithNullOptions_ThrowsArgumentNullException (line 158) | [Fact] method CreateAIAgent_WithServices_PassesServicesToAgent (line 174) | [Fact] method CreateAIAgent_WithOptionsAndServices_PassesServicesToAgent (line 201) | [Fact] method CreateAIAgent_WithClientFactoryAndServices_AppliesBothCorrectly (line 231) | [Fact] method AsIChatClientWithStoredOutputDisabled_WithNullClient_ThrowsArgumentNullException (line 265) | [Fact] method AsIChatClientWithStoredOutputDisabled_InnerResponsesClientIsAccessible (line 279) | [Fact] method AsIChatClientWithStoredOutputDisabled_WithIncludeReasoningFalse_InnerResponsesClientIsAccessible (line 298) | [Fact] method AsIChatClientWithStoredOutputDisabled_Default_ConfiguresStoredOutputDisabledWithReasoningEncryptedContent (line 317) | [Fact] method AsIChatClientWithStoredOutputDisabled_WithIncludeReasoningTrue_ConfiguresStoredOutputDisabledWithReasoningEncryptedContent (line 337) | [Fact] method AsIChatClientWithStoredOutputDisabled_WithIncludeReasoningFalse_ConfiguresStoredOutputDisabledWithoutReasoningEncryptedContent (line 357) | [Fact] class TestServiceProvider (line 376) | private sealed class TestServiceProvider : IServiceProvider method GetService (line 378) | public object? GetService(Type serviceType) => null; method GetFunctionInvocationServices (line 384) | private static IServiceProvider? GetFunctionInvocationServices(Functio... method GetCreateResponseOptionsFromPipeline (line 396) | private static CreateResponseOptions? GetCreateResponseOptionsFromPipe... FILE: dotnet/tests/Microsoft.Agents.AI.Purview.UnitTests/PurviewClientTests.cs class PurviewClientTests (line 22) | public sealed class PurviewClientTests : IDisposable method PurviewClientTests (line 29) | public PurviewClientTests() method ProcessContentAsync_WithValidRequest_ReturnsSuccessResponseAsync (line 43) | [Fact] method ProcessContentAsync_WithAcceptedStatus_ReturnsSuccessResponseAsync (line 77) | [Fact] method ProcessContentAsync_WithScopeIdentifier_IncludesIfNoneMatchHeaderAsync (line 100) | [Fact] method ProcessContentAsync_WithRateLimitError_ThrowsPurviewRateLimitExceptionAsync (line 118) | [Fact] method ProcessContentAsync_WithUnauthorizedError_ThrowsPurviewAuthenticationExceptionAsync (line 130) | [Fact] method ProcessContentAsync_WithForbiddenError_ThrowsPurviewAuthenticationExceptionAsync (line 142) | [Fact] method ProcessContentAsync_WithPaymentRequiredError_ThrowsPurviewPaymentRequiredExceptionAsync (line 154) | [Fact] method ProcessContentAsync_WithBadRequestError_ThrowsPurviewRequestExceptionAsync (line 166) | [Fact] method ProcessContentAsync_WithInvalidJsonResponse_ThrowsPurviewExceptionAsync (line 178) | [Fact] method ProcessContentAsync_WithHttpRequestException_ThrowsPurviewRequestExceptionAsync (line 195) | [Fact] method GetProtectionScopesAsync_WithValidRequest_ReturnsSuccessResponseAsync (line 215) | [Fact] method GetProtectionScopesAsync_SetsETagFromResponse_Async (line 261) | [Fact] method GetProtectionScopesAsync_WithRateLimitError_ThrowsPurviewRateLimitExceptionAsync (line 279) | [Fact] method GetProtectionScopesAsync_WithUnauthorizedError_ThrowsPurviewAuthenticationExceptionAsync (line 291) | [Fact] method GetProtectionScopesAsync_WithInvalidJsonResponse_ThrowsPurviewExceptionAsync (line 303) | [Fact] method GetProtectionScopesAsync_WithHttpRequestException_ThrowsPurviewRequestExceptionAsync (line 320) | [Fact] method SendContentActivitiesAsync_WithValidRequest_ReturnsSuccessResponseAsync (line 340) | [Fact] method SendContentActivitiesAsync_WithError_ReturnsResponseWithErrorAsync (line 366) | [Fact] method SendContentActivitiesAsync_WithRateLimitError_ThrowsPurviewRateLimitExceptionAsync (line 394) | [Fact] method SendContentActivitiesAsync_WithUnauthorizedError_ThrowsPurviewAuthenticationExceptionAsync (line 407) | [Fact] method SendContentActivitiesAsync_WithBadRequestError_ThrowsPurviewRequestExceptionAsync (line 420) | [Fact] method SendContentActivitiesAsync_WithInvalidJsonResponse_ThrowsPurviewExceptionAsync (line 433) | [Fact] method SendContentActivitiesAsync_WithHttpRequestException_ThrowsPurviewRequestExceptionAsync (line 451) | [Fact] method CreateValidProcessContentRequest (line 472) | private static ProcessContentRequest CreateValidProcessContentRequest() method CreateValidContentToProcess (line 478) | private static ContentToProcess CreateValidContentToProcess() method Dispose (line 514) | public void Dispose() class PurviewClientHttpMessageHandlerStub (line 523) | internal sealed class PurviewClientHttpMessageHandlerStub : HttpMessag... method SendAsync (line 534) | protected override async Task SendAsync(HttpReq... class MockTokenCredential (line 573) | internal sealed class MockTokenCredential : TokenCredential method GetToken (line 575) | public override AccessToken GetToken(TokenRequestContext requestCont... method GetTokenAsync (line 580) | public override ValueTask GetTokenAsync(TokenRequestCon... FILE: dotnet/tests/Microsoft.Agents.AI.Purview.UnitTests/PurviewWrapperTests.cs class PurviewWrapperTests (line 18) | public sealed class PurviewWrapperTests : IDisposable method PurviewWrapperTests (line 25) | public PurviewWrapperTests() method ProcessChatContentAsync_WithBlockedPrompt_ReturnsBlockedMessageAsync (line 41) | [Fact] method ProcessChatContentAsync_WithAllowedPromptAndBlockedResponse_ReturnsBlockedMessageAsync (line 74) | [Fact] method ProcessChatContentAsync_WithAllowedPromptAndResponse_ReturnsInnerResponseAsync (line 120) | [Fact] method ProcessChatContentAsync_WithIgnoreExceptions_ContinuesOnPromptErrorAsync (line 153) | [Fact] method ProcessChatContentAsync_WithoutIgnoreExceptions_ThrowsOnPromptErrorAsync (line 195) | [Fact] method ProcessChatContentAsync_UsesConversationIdFromOptions_Async (line 219) | [Fact] method ProcessAgentContentAsync_WithBlockedPrompt_ReturnsBlockedMessageAsync (line 270) | [Fact] method ProcessAgentContentAsync_WithAllowedPromptAndBlockedResponse_ReturnsBlockedMessageAsync (line 306) | [Fact] method ProcessAgentContentAsync_WithAllowedPromptAndResponse_ReturnsInnerResponseAsync (line 354) | [Fact] method ProcessAgentContentAsync_WithIgnoreExceptions_ContinuesOnErrorAsync (line 389) | [Fact] method ProcessAgentContentAsync_WithoutIgnoreExceptions_ThrowsOnErrorAsync (line 434) | [Fact] method ProcessAgentContentAsync_ExtractsThreadIdFromMessageAdditionalProperties_Async (line 458) | [Fact] method ProcessAgentContentAsync_GeneratesThreadId_WhenNotProvidedAsync (line 513) | [Fact] method ProcessAgentContentAsync_PassesResolvedUserId_ToResponseProcessingAsync (line 553) | [Fact] method Dispose (line 608) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.Purview.UnitTests/ScopedContentProcessorTests.cs class ScopedContentProcessorTests (line 19) | public sealed class ScopedContentProcessorTests method ScopedContentProcessorTests (line 26) | public ScopedContentProcessorTests() method ProcessMessagesAsync_WithBlockAccessAction_ReturnsShouldBlockTrueAsync (line 39) | [Fact] method ProcessMessagesAsync_WithRestrictionActionBlock_ReturnsShouldBlockTrueAsync (line 98) | [Fact] method ProcessMessagesAsync_WithNoBlockingActions_ReturnsShouldBlockFalseAsync (line 157) | [Fact] method ProcessMessagesAsync_UsesCachedProtectionScopes_WhenAvailableAsync (line 216) | [Fact] method ProcessMessagesAsync_InvalidatesCache_WhenProtectionScopeModifiedAsync (line 268) | [Fact] method ProcessMessagesAsync_SendsContentActivities_WhenNoApplicableScopesAsync (line 325) | [Fact] method ProcessMessagesAsync_WithNoTenantId_ThrowsPurviewExceptionAsync (line 373) | [Fact] method ProcessMessagesAsync_WithNoUserId_ThrowsPurviewExceptionAsync (line 394) | [Fact] method ProcessMessagesAsync_ExtractsUserIdFromMessageAdditionalProperties_Async (line 415) | [Fact] method ProcessMessagesAsync_ExtractsUserIdFromMessageAuthorName_WhenValidGuidAsync (line 452) | [Fact] method CreateValidPurviewSettings (line 491) | private static PurviewSettings CreateValidPurviewSettings() FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AIAgentBuilderTests.cs class AIAgentBuilderTests (line 17) | public class AIAgentBuilderTests method Constructor_WithNullInnerAgent_ThrowsArgumentNullException (line 22) | [Fact] method Constructor_WithNullInnerAgentFactory_ThrowsArgumentNullException (line 32) | [Fact] method Build_WithNoMiddleware_ReturnsInnerAgent (line 42) | [Fact] method Build_WithFactory_ReturnsAgentFromFactory (line 59) | [Fact] method Use_WithSimpleFactory_AppliesMiddleware (line 76) | [Fact] method Use_WithServiceProviderFactory_AppliesMiddleware (line 98) | [Fact] method Use_WithMultipleMiddleware_AppliesInCorrectOrder (line 122) | [Fact] method Use_WithNullSimpleFactory_ThrowsArgumentNullException (line 155) | [Fact] method Use_WithNullServiceProviderFactory_ThrowsArgumentNullException (line 169) | [Fact] method Build_WithMiddlewareReturningNull_ThrowsInvalidOperationException (line 183) | [Fact] method Build_WithNullServices_UsesEmptyServiceProvider (line 201) | [Fact] method PassesServiceProviderToFactories (line 224) | [Fact] method BuildsPipelineInOrderAdded (line 255) | [Fact] method DoesNotAllowFactoriesToReturnNull (line 280) | [Fact] method UsesEmptyServiceProviderWhenNoServicesProvided (line 296) | [Fact] method Use_WithNullSharedFunc_ThrowsArgumentNullException (line 322) | [Fact] method Use_WithBothDelegatesNull_ThrowsArgumentNullException (line 337) | [Fact] method Use_WithSharedDelegate_CreatesAnonymousDelegatingAgent (line 354) | [Fact] method Use_WithRunFuncOnly_CreatesAnonymousDelegatingAgent (line 371) | [Fact] method Use_WithStreamingFuncOnly_CreatesAnonymousDelegatingAgent (line 388) | [Fact] method Use_WithBothDelegates_CreatesAnonymousDelegatingAgent (line 405) | [Fact] method Use_WithBothDelegates_AllowsDelegateToAccessAgentRunContextAsync (line 424) | [Fact] class InnerAgentCapturingAgent (line 471) | private sealed class InnerAgentCapturingAgent : DelegatingAIAgent method InnerAgentCapturingAgent (line 476) | public InnerAgentCapturingAgent(string name, AIAgent innerAgent) : b... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AIContextProviderDecorators/AIContextProviderChatClientTests.cs class AIContextProviderChatClientTests (line 17) | public class AIContextProviderChatClientTests method Constructor_NullInnerClient_ThrowsArgumentNullException (line 23) | [Fact] method Constructor_NullProviders_ThrowsArgumentNullException (line 33) | [Fact] method Constructor_EmptyProviders_ThrowsArgumentException (line 43) | [Fact] method GetResponseAsync_NoRunContext_ThrowsInvalidOperationExceptionAsync (line 57) | [Fact] method GetResponseAsync_SingleProvider_EnrichesMessagesAsync (line 70) | [Fact] method GetResponseAsync_MultipleProviders_CalledInSequenceAsync (line 96) | [Fact] method GetResponseAsync_Provider_EnrichesToolsAndInstructionsAsync (line 121) | [Fact] method GetResponseAsync_OnSuccess_InvokedAsyncCalledAsync (line 145) | [Fact] method GetResponseAsync_OnFailure_InvokedAsyncCalledWithExceptionAsync (line 164) | [Fact] method GetStreamingResponseAsync_SingleProvider_EnrichesAndStreamsAsync (line 186) | [Fact] method GetStreamingResponseAsync_OnSuccess_InvokedAsyncCalledAsync (line 213) | [Fact] method GetStreamingResponseAsync_OnFailure_InvokedAsyncCalledWithExceptionAsync (line 232) | [Fact] method UseExtension_NullBuilder_ThrowsArgumentNullException (line 255) | [Fact] method UseExtension_CreatesWorkingPipelineAsync (line 266) | [Fact] method RunWithAgentContextAsync (line 309) | private static async Task RunWithAgentContextAsync(AIContextProviderCh... method RunStreamingWithAgentContextAsync (line 326) | private static async Task RunStreamingWithAgentContextAsync(AIContextP... method CreateMockChatClient (line 344) | private static IChatClient CreateMockChatClient( method CreateMockStreamingChatClient (line 356) | private static IChatClient CreateMockStreamingChatClient( method ToAsyncEnumerableAsync (line 368) | private static async IAsyncEnumerable ToAsyncEnume... class TestAIContextProvider (line 381) | private sealed class TestAIContextProvider : AIContextProvider method TestAIContextProvider (line 394) | public TestAIContextProvider( method ProvideAIContextAsync (line 406) | protected override ValueTask ProvideAIContextAsync(Invoki... method InvokedCoreAsync (line 416) | protected override ValueTask InvokedCoreAsync(InvokedContext context... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AIContextProviderDecorators/MessageAIContextProviderAgentTests.cs class MessageAIContextProviderAgentTests (line 17) | public class MessageAIContextProviderAgentTests method Constructor_NullInnerAgent_ThrowsArgumentNullException (line 23) | [Fact] method Constructor_NullProviders_ThrowsArgumentNullException (line 33) | [Fact] method Constructor_EmptyProviders_ThrowsArgumentOutOfRangeException (line 43) | [Fact] method RunAsync_SingleProvider_EnrichesMessagesAndDelegatesToInnerAgentAsync (line 57) | [Fact] method RunAsync_MultipleProviders_CalledInSequenceAsync (line 85) | [Fact] method RunAsync_SequentialProviders_EachReceivesPreviousOutputAsync (line 114) | [Fact] method RunAsync_OnSuccess_InvokedAsyncCalledOnAllProvidersAsync (line 143) | [Fact] method RunAsync_OnFailure_InvokedAsyncCalledWithExceptionAsync (line 164) | [Fact] method RunAsync_OnSuccess_InvokedContextContainsResponseMessagesAsync (line 183) | [Fact] method RunStreamingAsync_SingleProvider_EnrichesMessagesAndStreamsAsync (line 206) | [Fact] method RunStreamingAsync_OnSuccess_InvokedAsyncCalledAfterAllUpdatesAsync (line 240) | [Fact] method RunStreamingAsync_OnSuccess_InvokedContextContainsAccumulatedResponseAsync (line 261) | [Fact] method RunStreamingAsync_OnFailure_InvokedAsyncCalledWithExceptionAsync (line 284) | [Fact] method RunStreamingAsync_MultipleProviders_CalledInSequenceAsync (line 307) | [Fact] method UseExtension_CreatesWorkingPipelineAsync (line 342) | [Fact] method UseExtension_MultipleProviders_AllAppliedAsync (line 372) | [Fact] method CreateTestAgent (line 404) | private static TestAIAgent CreateTestAgent( method ToAsyncEnumerableAsync (line 422) | private static async IAsyncEnumerable ToAsyncEnum... class TestProvider (line 435) | private sealed class TestProvider : MessageAIContextProvider method TestProvider (line 444) | public TestProvider( method ProvideMessagesAsync (line 452) | protected override ValueTask> ProvideMessag... method InvokedCoreAsync (line 460) | protected override ValueTask InvokedCoreAsync(InvokedContext context... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AgentExtensionsTests.cs class AgentExtensionsTests (line 17) | public class AgentExtensionsTests method CreateFromAgent_WithNullAgent_ThrowsArgumentNullException (line 19) | [Fact] method CreateFromAgent_WithValidAgent_ReturnsAIFunction (line 29) | [Fact] method CreateFromAgent_WithAgentHavingNullName_UsesDefaultName (line 46) | [Fact] method CreateFromAgent_WithAgentHavingNullDescription_UsesDefaultDescription (line 63) | [Fact] method CreateFromAgent_WithCustomOptions_UsesCustomOptions (line 80) | [Fact] method CreateFromAgent_WithNullOptions_UsesAgentProperties (line 103) | [Fact] method CreateFromAgent_WhenFunctionInvokedAsync_CallsAgentRunAsync (line 120) | [Fact] method CreateFromAgent_WhenFunctionInvokedWithCancellationTokenAsync_PassesCancellationTokenAsync (line 138) | [Fact] method CreateFromAgent_WhenAgentThrowsExceptionAsync_PropagatesExceptionAsync (line 158) | [Fact] method CreateFromAgent_ReturnsInvokableFunction (line 175) | [Fact] method CreateFromAgent_WithEmptyAgentName_CreatesValidFunction (line 199) | [Fact] method CreateFromAgent_WithEmptyAgentDescription_CreatesValidFunction (line 216) | [Fact] method CreateFromAgent_WithCustomOptionsOverridingNullAgentProperties_UsesCustomOptions (line 233) | [Fact] method CreateFromAgent_InvokeWithComplexResponseFromAgentAsync_ReturnsCorrectResponseAsync (line 256) | [Fact] method CreateFromAgent_InvokeWithAdditionalProperties_PropagatesAdditionalPropertiesToChildAgentAsync (line 280) | [Fact] method CreateFromAgent_SanitizesAgentName (line 322) | [Theory] method SetFunctionInvokingChatClientCurrentContext (line 350) | private static void SetFunctionInvokingChatClientCurrentContext(Functi... class TestAgent (line 366) | private sealed class TestAgent : AIAgent method TestAgent (line 371) | public TestAgent(string? name, string? description, AgentResponse re... method TestAgent (line 378) | public TestAgent(string? name, string? description, Exception except... method CreateSessionCoreAsync (line 385) | protected override ValueTask CreateSessionCoreAsync(Ca... method SerializeSessionCoreAsync (line 388) | protected override ValueTask SerializeSessionCoreAsync(... method DeserializeSessionCoreAsync (line 391) | protected override ValueTask DeserializeSessionCoreAsy... method RunCoreAsync (line 402) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 421) | protected override async IAsyncEnumerable RunCo... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AgentJsonUtilitiesTests.cs class AgentJsonUtilitiesTests (line 16) | public class AgentJsonUtilitiesTests method DefaultOptions_HasExpectedConfiguration (line 18) | [Fact] method DefaultOptions_UsesExpectedEscaping (line 38) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AgentSkills/FileAgentSkillLoaderTests.cs class FileAgentSkillLoaderTests (line 14) | public sealed class FileAgentSkillLoaderTests : IDisposable method FileAgentSkillLoaderTests (line 21) | public FileAgentSkillLoaderTests() method Dispose (line 28) | public void Dispose() method DiscoverAndLoadSkills_ValidSkill_ReturnsSkill (line 36) | [Fact] method DiscoverAndLoadSkills_QuotedFrontmatterValues_ParsesCorrectly (line 52) | [Fact] method DiscoverAndLoadSkills_MissingFrontmatter_ExcludesSkill (line 71) | [Fact] method DiscoverAndLoadSkills_MissingNameField_ExcludesSkill (line 86) | [Fact] method DiscoverAndLoadSkills_MissingDescriptionField_ExcludesSkill (line 103) | [Fact] method DiscoverAndLoadSkills_InvalidName_ExcludesSkill (line 120) | [Theory] method DiscoverAndLoadSkills_DuplicateNames_KeepsFirstOnly (line 147) | [Fact] method DiscoverAndLoadSkills_NameMismatchesDirectory_ExcludesSkill (line 176) | [Fact] method DiscoverAndLoadSkills_FilesWithMatchingExtensions_DiscoveredAsResources (line 191) | [Fact] method DiscoverAndLoadSkills_FilesWithNonMatchingExtensions_NotDiscovered (line 215) | [Fact] method DiscoverAndLoadSkills_SkillMdFile_NotIncludedAsResource (line 237) | [Fact] method DiscoverAndLoadSkills_NestedResourceFiles_Discovered (line 258) | [Fact] method DiscoverAndLoadSkills_CustomResourceExtensions_UsedForDiscovery (line 284) | [Fact] method Constructor_InvalidExtension_ThrowsArgumentException (line 307) | [Theory] method Constructor_NullExtensions_UsesDefaults (line 317) | [Fact] method Constructor_ValidExtensions_DoesNotThrow (line 330) | [Fact] method Constructor_MixOfValidAndInvalidExtensions_ThrowsArgumentException (line 338) | [Fact] method DiscoverAndLoadSkills_ResourceInSkillRoot_Discovered (line 345) | [Fact] method DiscoverAndLoadSkills_NoResourceFiles_ReturnsEmptyResourceNames (line 368) | [Fact] method DiscoverAndLoadSkills_EmptyPaths_ReturnsEmptyDictionary (line 382) | [Fact] method DiscoverAndLoadSkills_NonExistentPath_ReturnsEmptyDictionary (line 392) | [Fact] method DiscoverAndLoadSkills_NestedSkillDirectory_DiscoveredWithinDepthLimit (line 402) | [Fact] method ReadSkillResourceAsync_ValidResource_ReturnsContentAsync (line 420) | [Fact] method ReadSkillResourceAsync_UnregisteredResource_ThrowsInvalidOperationExceptionAsync (line 438) | [Fact] method ReadSkillResourceAsync_PathTraversal_ThrowsInvalidOperationExceptionAsync (line 451) | [Fact] method DiscoverAndLoadSkills_NameExceedsMaxLength_ExcludesSkill (line 474) | [Fact] method DiscoverAndLoadSkills_DescriptionExceedsMaxLength_ExcludesSkill (line 492) | [Fact] method ReadSkillResourceAsync_DotSlashPrefix_MatchesNormalizedResourceAsync (line 510) | [Fact] method ReadSkillResourceAsync_BackslashSeparator_MatchesNormalizedResourceAsync (line 528) | [Fact] method ReadSkillResourceAsync_DotSlashWithBackslash_MatchesNormalizedResourceAsync (line 546) | [Fact] method DiscoverAndLoadSkills_SymlinkInPath_SkipsSymlinkedResources (line 565) | [Fact] method ReadSkillResourceAsync_SymlinkInPath_ThrowsInvalidOperationExceptionAsync (line 604) | [Fact] method DiscoverAndLoadSkills_FileWithUtf8Bom_ParsesSuccessfully (line 640) | [Fact] method CreateSkillDirectory (line 658) | private string CreateSkillDirectory(string name, string description, s... method CreateSkillDirectoryWithRawContent (line 668) | private string CreateSkillDirectoryWithRawContent(string directoryName... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AgentSkills/FileAgentSkillsProviderTests.cs class FileAgentSkillsProviderTests (line 15) | public sealed class FileAgentSkillsProviderTests : IDisposable method FileAgentSkillsProviderTests (line 20) | public FileAgentSkillsProviderTests() method Dispose (line 26) | public void Dispose() method InvokingCoreAsync_NoSkills_ReturnsInputContextUnchangedAsync (line 34) | [Fact] method InvokingCoreAsync_WithSkills_AppendsInstructionsAndToolsAsync (line 50) | [Fact] method InvokingCoreAsync_NullInputInstructions_SetsInstructionsAsync (line 75) | [Fact] method InvokingCoreAsync_CustomPromptTemplate_UsesCustomTemplateAsync (line 92) | [Fact] method Constructor_InvalidPromptTemplate_ThrowsArgumentException (line 115) | [Fact] method Constructor_PromptWithoutPlaceholder_ThrowsArgumentException (line 130) | [Fact] method Constructor_PromptWithPlaceholder_AppliesCustomTemplateAsync (line 144) | [Fact] method InvokingCoreAsync_SkillNamesAreXmlEscapedAsync (line 166) | [Fact] method Constructor_WithMultiplePaths_LoadsFromAllAsync (line 188) | [Fact] method InvokingCoreAsync_PreservesExistingInputToolsAsync (line 208) | [Fact] method InvokingCoreAsync_SkillsListIsSortedByNameAsync (line 230) | [Fact] method CreateSkill (line 253) | private void CreateSkill(string name, string description, string body) method CreateSkillIn (line 258) | private static void CreateSkillIn(string root, string name, string des... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/AnonymousDelegatingAIAgentTests.cs class AnonymousDelegatingAIAgentTests (line 18) | public class AnonymousDelegatingAIAgentTests method AnonymousDelegatingAIAgentTests (line 27) | public AnonymousDelegatingAIAgentTests() method Constructor_WithNullInnerAgent_ThrowsArgumentNullException (line 63) | [Fact] method Constructor_WithNullSharedFunc_ThrowsArgumentNullException (line 74) | [Fact] method Constructor_WithBothDelegatesNull_ThrowsArgumentNullException (line 85) | [Fact] method Constructor_WithValidSharedFunc_Succeeds (line 98) | [Fact] method Constructor_WithValidRunFunc_Succeeds (line 111) | [Fact] method Constructor_WithValidRunStreamingFunc_Succeeds (line 127) | [Fact] method Constructor_WithBothRunAndStreamingFunc_Succeeds (line 143) | [Fact] method RunAsync_WithSharedFunc_ContextPropagatedAsync (line 163) | [Fact] method SharedFunc_WorksForBothRunAndStreamingAsync (line 205) | [Fact] method RunAsync_WithRunFuncOnly_UsesRunFuncAsync (line 234) | [Fact] method RunStreamingAsync_WithRunFuncOnly_ConvertsFromRunFuncAsync (line 259) | [Fact] method RunAsync_WithStreamingFuncOnly_ConvertsFromStreamingFuncAsync (line 284) | [Fact] method RunStreamingAsync_WithStreamingFuncOnly_UsesStreamingFuncAsync (line 309) | [Fact] method BothDelegates_EachUsesRespectiveImplementationAsync (line 334) | [Fact] method SharedFunc_ThrowsException_PropagatesExceptionAsync (line 370) | [Fact] method RunFunc_ThrowsException_PropagatesExceptionAsync (line 388) | [Fact] method StreamingFunc_ThrowsException_PropagatesExceptionAsync (line 408) | [Fact] method SharedFunc_DoesNotCallInner_ThrowsInvalidOperationAsync (line 433) | [Fact] method AsyncLocalContext_MaintainedAcrossDelegatesAsync (line 454) | [Fact] method MultipleMiddleware_ExecuteInCorrectOrderAsync (line 499) | [Fact] method MultipleMiddleware_SeparateDelegates_ExecuteInCorrectOrderAsync (line 540) | [Fact] method MultipleMiddleware_ContextModification_PropagatedAsync (line 592) | [Fact] method MultipleMiddleware_ExceptionInMiddle_PropagatesAsync (line 633) | [Fact] method MultipleMiddleware_ExceptionInStreaming_PropagatesAsync (line 670) | [Fact] method AIAgentBuilder_Use_MultipleMiddleware_ExecutesInCorrectOrderAsync (line 704) | [Fact] method AIAgentBuilder_Use_MultipleMiddlewareWithSeparateDelegates_ExecutesCorrectlyAsync (line 736) | [Fact] method AIAgentBuilder_Use_MiddlewareModifiesContext_ChangesPropagateAsync (line 807) | [Fact] method AIAgentBuilder_Use_ExceptionInMiddlewareChain_PropagatesCorrectlyAsync (line 848) | [Fact] method AIAgentBuilder_Use_MiddlewareHandlesException_RecoveryWorksAsync (line 889) | [Fact] method AIAgentBuilder_Use_CancellationTokenPropagation_WorksCorrectlyAsync (line 931) | [Fact] method AIAgentBuilder_Use_MiddlewareShortCircuits_InnerAgentNotCalledAsync (line 972) | [Fact] method ToAsyncEnumerableAsync (line 1022) | private static async IAsyncEnumerable ToAsyncEnumerableAsync(IEn... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgentContinuationTokenTests.cs class ChatClientAgentContinuationTokenTests (line 10) | public class ChatClientAgentContinuationTokenTests method ToBytes_Roundtrip (line 12) | [Fact] method Serialization_Roundtrip (line 63) | [Fact] method FromToken_WithChatClientAgentContinuationToken_ReturnsSameInstance (line 116) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgentOptionsTests.cs class ChatClientAgentOptionsTests (line 12) | public class ChatClientAgentOptionsTests method DefaultConstructor_InitializesWithNullValues (line 14) | [Fact] method Constructor_WithNullValues_SetsPropertiesCorrectly (line 32) | [Fact] method Constructor_WithToolsOnly_SetsChatOptionsWithTools (line 48) | [Fact] method Constructor_WithAllParameters_SetsAllPropertiesCorrectly (line 69) | [Fact] method Constructor_WithNameAndDescriptionOnly_DoesNotCreateChatOptions (line 94) | [Fact] method Clone_CreatesDeepCopyWithSameValues (line 114) | [Fact] method Clone_WithoutProvidingChatOptions_ClonesCorrectly (line 160) | [Fact] method AssertSameTools (line 189) | private static void AssertSameTools(IList? expected, IList ToAsyncEnumerableAsync(IEn... class TestAIContextProvider (line 2063) | [JsonSourceGenerationOptions(UseStringEnumConverter = true, PropertyNa... method InvokingCoreAsync (line 2073) | protected override ValueTask InvokingCoreAsync(InvokingCo... class MultiKeyTestAIContextProvider (line 2077) | private sealed class MultiKeyTestAIContextProvider(params string[] sta... method InvokingCoreAsync (line 2081) | protected override ValueTask InvokingCoreAsync(InvokingCo... class TestChatHistoryProvider (line 2085) | private sealed class TestChatHistoryProvider(string stateKey) : ChatHi... method InvokingCoreAsync (line 2091) | protected override ValueTask> InvokingCoreA... method InvokedCoreAsync (line 2094) | protected override ValueTask InvokedCoreAsync(InvokedContext context... class MultiKeyTestChatHistoryProvider (line 2098) | private sealed class MultiKeyTestChatHistoryProvider(params string[] s... method InvokingCoreAsync (line 2102) | protected override ValueTask> InvokingCoreA... method InvokedCoreAsync (line 2105) | protected override ValueTask InvokedCoreAsync(InvokedContext context... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_BackgroundResponsesTests.cs class ChatClientAgent_BackgroundResponsesTests (line 17) | public class ChatClientAgent_BackgroundResponsesTests method RunAsync_PropagatesBackgroundResponsesPropertiesToChatClientAsync (line 19) | [Theory] method RunAsync_WhenPropertiesSetInBothLocations_PrioritizesAgentRunOptionsOverChatOptionsAsync (line 70) | [Fact] method RunStreamingAsync_PropagatesBackgroundResponsesPropertiesToChatClientAsync (line 111) | [Theory] method RunStreamingAsync_WhenPropertiesSetInBothLocations_PrioritizesAgentRunOptionsOverChatOptionsAsync (line 171) | [Fact] method RunAsync_WhenContinuationTokenReceivedFromChatResponse_WrapsContinuationTokenAsync (line 219) | [Fact] method RunStreamingAsync_WhenContinuationTokenReceived_WrapsContinuationTokenAsync (line 244) | [Fact] method RunAsync_WhenMessagesProvidedWithContinuationToken_ThrowsInvalidOperationExceptionAsync (line 280) | [Fact] method RunStreamingAsync_WhenMessagesProvidedWithContinuationToken_ThrowsInvalidOperationExceptionAsync (line 304) | [Fact] method RunAsync_WhenContinuationTokenProvided_SkipsSessionMessagePopulationAsync (line 334) | [Fact] method RunStreamingAsync_WhenContinuationTokenProvided_SkipsSessionMessagePopulationAsync (line 403) | [Fact] method RunAsync_WhenNoSessionProvidedForBackgroundResponses_ThrowsInvalidOperationExceptionAsync (line 471) | [Fact] method RunStreamingAsync_WhenNoSessionProvidedForBackgroundResponses_ThrowsInvalidOperationExceptionAsync (line 495) | [Fact] method RunStreamingAsync_WhenInputMessagesPresentInContinuationToken_ResumesStreamingAsync (line 525) | [Fact] method RunStreamingAsync_WhenResponseUpdatesPresentInContinuationToken_ResumesStreamingAsync (line 573) | [Fact] method RunStreamingAsync_WhenResumingStreaming_UsesUpdatesFromInitialRunForContextProviderAndChatHistoryProviderAsync (line 621) | [Fact] method RunStreamingAsync_WhenResumingStreaming_UsesInputMessagesFromInitialRunForContextProviderAndChatHistoryProviderAsync (line 692) | [Fact] method RunStreamingAsync_WhenResumingStreaming_SavesInputMessagesAndUpdatesInContinuationTokenAsync (line 756) | [Fact] method ToAsyncEnumerableAsync (line 825) | private static async IAsyncEnumerable ToAsyncEnumerableAsync(IEn... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_ChatHistoryManagementTests.cs class ChatClientAgent_ChatHistoryManagementTests (line 20) | public class ChatClientAgent_ChatHistoryManagementTests method RunAsync_DoesNotThrow_WhenSpecifyingTwoSameConversationIdsAsync (line 28) | [Fact] method RunAsync_Throws_WhenSpecifyingTwoDifferentConversationIdsAsync (line 53) | [Fact] method RunAsync_ClonesChatOptions_ToAddConversationIdAsync (line 71) | [Fact] method RunAsync_Throws_ForMissingConversationIdWithConversationIdSessionAsync (line 97) | [Fact] method RunAsync_SetsConversationIdOnSession_WhenReturnedByChatClientAsync (line 119) | [Fact] method RunAsync_UsesDefaultInMemoryChatHistoryProvider_WhenNoConversationIdReturnedByChatClientAsync (line 146) | [Fact] method RunAsync_UsesChatHistoryProvider_WhenProvidedAndNoConversationIdReturnedByChatClientAsync (line 177) | [Fact] method RunAsync_NotifiesChatHistoryProvider_OnFailureAsync (line 233) | [Fact] method RunAsync_Throws_WhenChatHistoryProviderProvidedAndConversationIdReturnedByChatClientAsync (line 274) | [Fact] method RunAsync_ClearsChatHistoryProvider_WhenThrowDisabledAndClearEnabledAsync (line 300) | [Fact] method RunAsync_KeepsChatHistoryProvider_WhenThrowAndClearDisabledAsync (line 331) | [Fact] method RunAsync_Throws_WhenThrowEnabledRegardlessOfClearSettingAsync (line 364) | [Fact] method RunAsync_DoesNotThrow_WhenNoChatHistoryProviderInOptionsAndConversationIdReturnedAsync (line 391) | [Fact] method RunAsync_UsesOverrideChatHistoryProvider_WhenProvidedViaAdditionalPropertiesAsync (line 422) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_ChatOptionsMergingTests.cs class ChatClientAgent_ChatOptionsMergingTests (line 14) | public class ChatClientAgent_ChatOptionsMergingTests method ChatOptionsMergingUsesAgentOptionsWhenRequestHasNoneAsync (line 19) | [Fact] method ChatOptionsMergingUsesAgentOptionsConstructorWhenRequestHasNoneAsync (line 51) | [Fact] method ChatOptionsMergingUsesRequestOptionsWhenAgentHasNoneAsync (line 79) | [Fact] method ChatOptionsMergingPrioritizesRequestOptionsOverAgentOptionsAsync (line 112) | [Fact] method ChatOptionsMergingReturnsNullWhenBothAgentAndRequestHaveNoneAsync (line 181) | [Fact] method ChatOptionsMergingConcatenatesToolsFromAgentAndRequestAsync (line 209) | [Fact] method ChatOptionsMergingUsesAgentToolsWhenRequestHasNoToolsAsync (line 259) | [Fact] method ChatOptionsMergingUsesRawRepresentationFactoryWithFallbackAsync (line 306) | [Theory] method ChatOptionsMergingHandlesAllScalarPropertiesCorrectlyAsync (line 352) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_CreateSessionTests.cs class ChatClientAgent_CreateSessionTests (line 12) | public class ChatClientAgent_CreateSessionTests method CreateSession_UsesConversationId_FromTypedOverloadAsync (line 14) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_RunWithCustomOptionsTests.cs class ChatClientAgent_RunWithCustomOptionsTests (line 17) | public sealed partial class ChatClientAgent_RunWithCustomOptionsTests method RunAsync_WithSessionAndOptions_CallsBaseMethodAsync (line 21) | [Fact] method RunAsync_WithStringMessageAndOptions_CallsBaseMethodAsync (line 50) | [Fact] method RunAsync_WithChatMessageAndOptions_CallsBaseMethodAsync (line 79) | [Fact] method RunAsync_WithMessagesCollectionAndOptions_CallsBaseMethodAsync (line 109) | [Fact] method RunAsync_WithChatOptionsInRunOptions_UsesChatOptionsAsync (line 139) | [Fact] method RunStreamingAsync_WithSessionAndOptions_CallsBaseMethodAsync (line 170) | [Fact] method RunStreamingAsync_WithStringMessageAndOptions_CallsBaseMethodAsync (line 202) | [Fact] method RunStreamingAsync_WithChatMessageAndOptions_CallsBaseMethodAsync (line 234) | [Fact] method RunStreamingAsync_WithMessagesCollectionAndOptions_CallsBaseMethodAsync (line 267) | [Fact] method GetAsyncUpdatesAsync (line 304) | private static async IAsyncEnumerable GetAsyncUpda... method RunAsyncOfT_WithSessionAndOptions_CallsBaseMethodAsync (line 315) | [Fact] method RunAsyncOfT_WithStringMessageAndOptions_CallsBaseMethodAsync (line 345) | [Fact] method RunAsyncOfT_WithChatMessageAndOptions_CallsBaseMethodAsync (line 375) | [Fact] method RunAsyncOfT_WithMessagesCollectionAndOptions_CallsBaseMethodAsync (line 406) | [Fact] class Animal (line 439) | private sealed class Animal type Species (line 446) | private enum Species FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_StructuredOutput_WithFormatResponseTests.cs class ChatClientAgent_StructuredOutput_WithFormatResponseTests (line 13) | public partial class ChatClientAgent_StructuredOutput_WithFormatResponse... method RunAsync_ResponseFormatProvidedAtAgentInitialization_IsPropagatedToChatClientAsync (line 15) | [Fact] method RunAsync_ResponseFormatProvidedAtAgentInvocation_IsPropagatedToChatClientAsync (line 51) | [Fact] method RunAsync_ResponseFormatProvidedAtAgentInvocation_OverridesOneProvidedAtAgentInitializationAsync (line 86) | [Fact] method RunAsync_ResponseFormatProvidedAtAgentRunOptions_OverridesOneProvidedViaChatOptionsAsync (line 129) | [Fact] method RunAsync_StructuredOutputResponse_IsAvailableAsTextOnAgentResponseAsync (line 170) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_StructuredOutput_WithRunAsyncTests.cs class ChatClientAgent_StructuredOutput_WithRunAsyncTests (line 13) | public partial class ChatClientAgent_StructuredOutput_WithRunAsyncTests method RunAsync_WithGenericType_SetsJsonSchemaResponseFormatAndDeserializesResultAsync (line 15) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientBuilderExtensionsTests.cs class ChatClientBuilderExtensionsTests (line 14) | public sealed class ChatClientBuilderExtensionsTests method BuildAIAgent_WithBasicParameters_CreatesAgent (line 16) | [Fact] method BuildAIAgent_WithTools_SetsToolsInOptions (line 37) | [Fact] method BuildAIAgent_WithAllParameters_CreatesAgentCorrectly (line 54) | [Fact] method BuildAIAgent_WithOptions_CreatesAgentWithOptions (line 83) | [Fact] method BuildAIAgent_WithOptionsAndServices_CreatesAgentCorrectly (line 107) | [Fact] method BuildAIAgent_WithNullBuilder_Throws (line 134) | [Fact] method BuildAIAgent_WithNullBuilderAndOptions_Throws (line 144) | [Fact] method BuildAIAgent_WithMiddleware_BuildsCorrectPipeline (line 154) | [Fact] method BuildAIAgent_WithNullOptions_CreatesAgentWithDefaults (line 181) | [Fact] method BuildAIAgent_WithEmptyParameters_CreatesMinimalAgent (line 198) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientExtensionsTests.cs class ChatClientExtensionsTests (line 13) | public sealed class ChatClientExtensionsTests method CreateAIAgent_WithBasicParameters_CreatesAgent (line 15) | [Fact] method CreateAIAgent_WithTools_SetsToolsInOptions (line 35) | [Fact] method CreateAIAgent_WithOptions_CreatesAgentWithOptions (line 51) | [Fact] method CreateAIAgent_WithNullClient_Throws (line 75) | [Fact] method CreateAIAgent_WithNullClientAndOptions_Throws (line 85) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/ChatMessageContentEqualityTests.cs class ChatMessageContentEqualityTests (line 14) | public class ChatMessageContentEqualityTests method BothNullReturnsTrue (line 18) | [Fact] method LeftNullReturnsFalse (line 27) | [Fact] method RightNullReturnsFalse (line 36) | [Fact] method SameReferenceReturnsTrue (line 45) | [Fact] method MatchingMessageIdReturnsTrue (line 57) | [Fact] method MatchingMessageIdSufficientDespiteDifferentContent (line 66) | [Fact] method DifferentMessageIdReturnsFalse (line 75) | [Fact] method OnlyLeftHasMessageIdFallsThroughToContentComparison (line 84) | [Fact] method OnlyRightHasMessageIdFallsThroughToContentComparison (line 93) | [Fact] method DifferentRoleReturnsFalse (line 106) | [Fact] method DifferentAuthorNameReturnsFalse (line 115) | [Fact] method BothNullAuthorNamesAreEqual (line 124) | [Fact] method EqualTextContentReturnsTrue (line 137) | [Fact] method DifferentTextContentReturnsFalse (line 146) | [Fact] method TextContentIsCaseSensitive (line 155) | [Fact] method EqualTextReasoningContentReturnsTrue (line 168) | [Fact] method DifferentReasoningTextReturnsFalse (line 177) | [Fact] method DifferentProtectedDataReturnsFalse (line 186) | [Fact] method EqualDataContentReturnsTrue (line 199) | [Fact] method DifferentDataBytesReturnsFalse (line 209) | [Fact] method DifferentMediaTypeReturnsFalse (line 218) | [Fact] method DifferentDataContentNameReturnsFalse (line 228) | [Fact] method EqualUriContentReturnsTrue (line 242) | [Fact] method DifferentUriReturnsFalse (line 251) | [Fact] method DifferentUriMediaTypeReturnsFalse (line 260) | [Fact] method EqualErrorContentReturnsTrue (line 274) | [Fact] method DifferentErrorMessageReturnsFalse (line 283) | [Fact] method DifferentErrorCodeReturnsFalse (line 292) | [Fact] method EqualFunctionCallContentReturnsTrue (line 305) | [Fact] method DifferentCallIdReturnsFalse (line 314) | [Fact] method DifferentFunctionNameReturnsFalse (line 323) | [Fact] method DifferentArgumentsReturnsFalse (line 332) | [Fact] method NullArgumentsBothSidesReturnsTrue (line 341) | [Fact] method OneNullArgumentsReturnsFalse (line 350) | [Fact] method DifferentArgumentCountReturnsFalse (line 359) | [Fact] method EqualFunctionResultContentReturnsTrue (line 372) | [Fact] method DifferentResultCallIdReturnsFalse (line 381) | [Fact] method DifferentResultValueReturnsFalse (line 390) | [Fact] method EqualHostedFileContentReturnsTrue (line 403) | [Fact] method DifferentFileIdReturnsFalse (line 412) | [Fact] method DifferentHostedFileMediaTypeReturnsFalse (line 421) | [Fact] method DifferentHostedFileNameReturnsFalse (line 430) | [Fact] method DifferentContentCountReturnsFalse (line 443) | [Fact] method MixedContentTypesInSameOrderReturnsTrue (line 452) | [Fact] method MismatchedContentTypeOrderReturnsFalse (line 461) | [Fact] method EmptyContentsListsAreEqual (line 470) | [Fact] method SameContentItemReferenceReturnsTrue (line 479) | [Fact] method UnknownContentSubtypeSameTypeReturnsTrue (line 494) | [Fact] method DifferentUnknownContentSubtypesReturnFalse (line 504) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/ChatReducerCompactionStrategyTests.cs class ChatReducerCompactionStrategyTests (line 16) | public class ChatReducerCompactionStrategyTests method ConstructorNullReducerThrows (line 18) | [Fact] method CompactAsyncTriggerNotMetReturnsFalseAsync (line 25) | [Fact] method CompactAsyncReducerReturnsFewerMessagesRebuildsIndexAsync (line 46) | [Fact] method CompactAsyncReducerReturnsSameCountReturnsFalseAsync (line 69) | [Fact] method CompactAsyncEmptyIndexReturnsFalseAsync (line 90) | [Fact] method CompactAsyncPreservesSystemMessagesWhenReducerKeepsThemAsync (line 106) | [Fact] method CompactAsyncRebuildsToolCallGroupsCorrectlyAsync (line 138) | [Fact] method CompactAsyncSkipsAlreadyExcludedGroupsAsync (line 169) | [Fact] method CompactAsyncExposesReducerPropertyAsync (line 192) | [Fact] method CompactAsyncPassesCancellationTokenToReducerAsync (line 204) | [Fact] class TestChatReducer (line 233) | private sealed class TestChatReducer : IChatReducer method TestChatReducer (line 237) | public TestChatReducer(Func, IEnumerable, CancellationTo... method ReduceAsync (line 249) | public async Task> ReduceAsync(IEnumerable<... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/ChatStrategyExtensionsTests.cs class ChatStrategyExtensionsTests (line 16) | public class ChatStrategyExtensionsTests method AsChatReducerNullStrategyThrows (line 18) | [Fact] method AsChatReducerReturnsIChatReducer (line 25) | [Fact] method ReduceAsyncReturnsAllMessagesWhenStrategyDoesNotCompactAsync (line 38) | [Fact] method ReduceAsyncCompactsMessagesWhenStrategyFiresAsync (line 58) | [Fact] method ReduceAsyncPassesCancellationTokenToStrategyAsync (line 83) | [Fact] method ReduceAsyncEmptyMessagesReturnsEmptyAsync (line 107) | [Fact] class IdentityReducer (line 124) | private sealed class IdentityReducer : IChatReducer method ReduceAsync (line 126) | public Task> ReduceAsync(IEnumerable this._count = count; method ReduceAsync (line 139) | public Task> ReduceAsync(IEnumerable capture) => this._... method ReduceAsync (line 152) | public Task> ReduceAsync(IEnumerable EncodeToTokens(string... method Decode (line 1238) | public override OperationStatus Decode(IEnumerable ids, Span this.Targe... method CompactCoreAsync (line 229) | protected override ValueTask CompactCoreAsync(CompactionMessag... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/CompactionTriggersTests.cs class CompactionTriggersTests (line 11) | public class CompactionTriggersTests method TokensExceedReturnsTrueWhenAboveThreshold (line 13) | [Fact] method TokensExceedReturnsFalseWhenBelowThreshold (line 24) | [Fact] method MessagesExceedReturnsExpectedResult (line 33) | [Fact] method TurnsExceedReturnsExpectedResult (line 53) | [Fact] method GroupsExceedReturnsExpectedResult (line 73) | [Fact] method HasToolCallsReturnsTrueWhenToolCallGroupExists (line 87) | [Fact] method HasToolCallsReturnsFalseWhenNoToolCallGroup (line 101) | [Fact] method AllRequiresAllConditions (line 114) | [Fact] method AnyRequiresAtLeastOneCondition (line 127) | [Fact] method AllEmptyTriggersReturnsTrue (line 140) | [Fact] method AnyEmptyTriggersReturnsFalse (line 148) | [Fact] method TokensBelowReturnsTrueWhenBelowThreshold (line 156) | [Fact] method TokensBelowReturnsFalseWhenAboveThreshold (line 165) | [Fact] method AlwaysReturnsTrue (line 174) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/PipelineCompactionStrategyTests.cs class PipelineCompactionStrategyTests (line 16) | public class PipelineCompactionStrategyTests method CompactAsyncExecutesAllStrategiesInOrderAsync (line 18) | [Fact] method CompactAsyncReturnsFalseWhenNoStrategyCompactsAsync (line 51) | [Fact] method CompactAsyncReturnsTrueWhenAnyStrategyCompactsAsync (line 71) | [Fact] method CompactAsyncContinuesAfterFirstCompactionAsync (line 92) | [Fact] method CompactAsyncComposesStrategiesEndToEndAsync (line 114) | [Fact] method CompactAsyncEmptyPipelineReturnsFalseAsync (line 173) | [Fact] class TestCompactionStrategy (line 190) | private sealed class TestCompactionStrategy : CompactionStrategy method TestCompactionStrategy (line 194) | public TestCompactionStrategy(Func app... method CompactCoreAsync (line 202) | protected override ValueTask CompactCoreAsync(CompactionMessag... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/SlidingWindowCompactionStrategyTests.cs class SlidingWindowCompactionStrategyTests (line 13) | public class SlidingWindowCompactionStrategyTests method CompactAsyncBelowMaxTurnsReturnsFalseAsync (line 15) | [Fact] method CompactAsyncExceedsMaxTurnsExcludesOldestTurnsAsync (line 35) | [Fact] method CompactAsyncPreservesSystemMessagesAsync (line 65) | [Fact] method CompactAsyncPreservesToolCallGroupsInKeptTurnsAsync (line 89) | [Fact] method CompactAsyncTriggerNotMetReturnsFalseAsync (line 116) | [Fact] method CompactAsyncIncludedMessagesContainOnlyKeptTurnsAsync (line 136) | [Fact] method CompactAsyncCustomTargetStopsExcludingEarlyAsync (line 161) | [Fact] method CompactAsyncMinimumPreservedStopsCompactionAsync (line 195) | [Fact] method CompactAsyncSkipsExcludedAndSystemGroupsInEnumerationAsync (line 230) | [Fact] method CompactAsyncPreservesTurnIndexZeroAsync (line 256) | [Fact] method CompactAsyncPreservesNullTurnIndexAsync (line 286) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/SummarizationCompactionStrategyTests.cs class SummarizationCompactionStrategyTests (line 18) | public class SummarizationCompactionStrategyTests method CreateMockChatClient (line 23) | private static IChatClient CreateMockChatClient(string summaryText = "... method CompactAsyncTriggerNotMetReturnsFalseAsync (line 34) | [Fact] method CompactAsyncSummarizesOldGroupsAsync (line 57) | [Fact] method CompactAsyncPreservesSystemMessagesAsync (line 88) | [Fact] method CompactAsyncInsertsSummaryGroupAtCorrectPositionAsync (line 115) | [Fact] method CompactAsyncHandlesEmptyLlmResponseAsync (line 142) | [Fact] method CompactAsyncNothingToSummarizeReturnsFalseAsync (line 165) | [Fact] method CompactAsyncUsesCustomPromptAsync (line 187) | [Fact] method CompactAsyncSetsExcludeReasonAsync (line 226) | [Fact] method CompactAsyncTargetStopsMarkingEarlyAsync (line 250) | [Fact] method CompactAsyncPreservesMultipleRecentGroupsAsync (line 279) | [Fact] method CompactAsyncWithSystemBetweenSummarizableGroupsAsync (line 307) | [Fact] method CompactAsyncMaxSummarizableBoundsLoopExitAsync (line 335) | [Fact] method CompactAsyncWithPreExcludedGroupAsync (line 364) | [Fact] method CompactAsyncWithEmptyTextMessageInGroupAsync (line 391) | [Fact] method CompactAsyncLlmFailureRestoresGroupsAsync (line 419) | [Fact] method CompactAsyncLlmFailurePreservesAllOriginalMessagesAsync (line 454) | [Fact] method CompactAsyncLlmFailureDoesNotInsertSummaryGroupAsync (line 492) | [Fact] method CompactAsyncCancellationPropagatesAsync (line 521) | [Fact] method CompactAsyncTaskCancellationPropagatesAsync (line 548) | [Fact] method CompactAsyncLlmFailureWithMultipleExcludedGroupsRestoresAllAsync (line 575) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/ToolResultCompactionStrategyTests.cs class ToolResultCompactionStrategyTests (line 14) | public class ToolResultCompactionStrategyTests method CompactAsyncTriggerNotMetReturnsFalseAsync (line 16) | [Fact] method CompactAsyncCollapsesOldToolGroupsAsync (line 39) | [Fact] method CompactAsyncPreservesRecentToolGroupsAsync (line 69) | [Fact] method CompactAsyncPreservesSystemMessagesAsync (line 92) | [Fact] method CompactAsyncExtractsMultipleToolNamesAsync (line 117) | [Fact] method CompactAsyncNoToolGroupsReturnsFalseAsync (line 149) | [Fact] method CompactAsyncCompoundTriggerRequiresTokensAndToolCallsAsync (line 170) | [Fact] method CompactAsyncTargetStopsCollapsingEarlyAsync (line 195) | [Fact] method CompactAsyncSkipsPreExcludedAndSystemGroupsAsync (line 237) | [Fact] method CompactAsyncDeduplicatesDuplicateToolNamesAsync (line 264) | [Fact] method CompactAsyncIncludesResultsFromFunctionResultContentAsync (line 293) | [Fact] method CompactAsyncDeduplicatesWithFunctionResultContentAsync (line 322) | [Fact] method CompactAsyncUsesCustomFormatterAsync (line 353) | [Fact] method ToolCallFormatterPropertyIsNullWhenNoneProvided (line 384) | [Fact] method ToolCallFormatterPropertyReturnsCustomFormatterWhenProvided (line 394) | [Fact] method CompactAsyncCustomFormatterCanDelegateToDefaultAsync (line 409) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Compaction/TruncationCompactionStrategyTests.cs class TruncationCompactionStrategyTests (line 13) | public class TruncationCompactionStrategyTests method CompactAsyncAlwaysTriggerCompactsToPreserveRecentAsync (line 15) | [Fact] method CompactAsyncTriggerNotMetReturnsFalseAsync (line 35) | [Fact] method CompactAsyncTriggerMetExcludesOldestGroupsAsync (line 57) | [Fact] method CompactAsyncPreservesSystemMessagesAsync (line 86) | [Fact] method CompactAsyncPreservesToolCallGroupAtomicityAsync (line 114) | [Fact] method CompactAsyncSetsExcludeReasonAsync (line 138) | [Fact] method CompactAsyncSkipsAlreadyExcludedGroupsAsync (line 157) | [Fact] method CompactAsyncMinimumPreservedKeepsMultipleAsync (line 180) | [Fact] method CompactAsyncNothingToRemoveReturnsFalseAsync (line 204) | [Fact] method CompactAsyncCustomTargetStopsEarlyAsync (line 222) | [Fact] method CompactAsyncIncrementalStopsAtTargetAsync (line 253) | [Fact] method CompactAsyncLoopExitsWhenMaxRemovableReachedAsync (line 278) | [Fact] method CompactAsyncSkipsPreExcludedAndSystemGroupsAsync (line 303) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/CopilotStudioAgentTests.cs class CopilotStudioAgentTests (line 14) | public class CopilotStudioAgentTests method CreateTestCopilotClient (line 16) | private static CopilotClient CreateTestCopilotClient() method GetService_RequestingCopilotClient_ReturnsCopilotClient (line 32) | [Fact] method GetService_RequestingAIAgentMetadata_ReturnsMetadata (line 50) | [Fact] method GetService_RequestingUnknownServiceType_ReturnsNull (line 70) | [Fact] method GetService_WithServiceKey_ReturnsNull (line 87) | [Fact] method GetService_RequestingCopilotStudioAgentType_ReturnsBaseImplementation (line 104) | [Fact] method GetService_RequestingAIAgentType_ReturnsBaseImplementation (line 122) | [Fact] method GetService_RequestingCopilotClientWithServiceKey_CallsBaseFirstThenDerivedLogic (line 140) | [Fact] method GetService_RequestingAIAgentMetadata_ReturnsConsistentMetadata (line 158) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Data/TextSearchProviderTests.cs class TextSearchProviderTests (line 18) | public sealed class TextSearchProviderTests method TextSearchProviderTests (line 25) | public TextSearchProviderTests() method StateKeys_ReturnsDefaultKey_WhenNoOptionsProvided (line 41) | [Fact] method StateKeys_ReturnsCustomKey_WhenSetViaOptions (line 52) | [Fact] method InvokingAsync_ShouldInjectFormattedResultsAsync (line 65) | [Theory] method InvokingAsync_OnDemand_ShouldExposeSearchToolAsync (line 167) | [Theory] method InvokingAsync_ShouldNotThrow_WhenSearchFailsAsync (line 198) | [Fact] method SearchAsync_ShouldReturnFormattedResultsAsync (line 224) | [Theory] method InvokingAsync_ShouldUseContextFormatterWhenProvidedAsync (line 278) | [Fact] method InvokingAsync_WithRawRepresentations_ContextFormatterCanAccessAsync (line 312) | [Fact] method InvokingAsync_WithNoResults_ShouldReturnEmptyContextAsync (line 348) | [Fact] method InvokingAsync_DefaultFilter_ExcludesNonExternalMessagesFromSearchInputAsync (line 370) | [Fact] method InvokingAsync_CustomSearchInputFilter_OverridesDefaultAsync (line 398) | [Fact] method InvokedAsync_DefaultFilter_ExcludesNonExternalMessagesFromStorageAsync (line 428) | [Fact] method InvokedAsync_CustomStorageInputFilter_OverridesDefaultAsync (line 464) | [Fact] method InvokingAsync_WithPreviousFailedRequest_ShouldNotIncludeFailedRequestInputInSearchInputAsync (line 504) | [Fact] method InvokingAsync_WithRecentMessageMemory_ShouldIncludeStoredMessagesInSearchInputAsync (line 545) | [Fact] method InvokingAsync_WithAccumulatedMemoryAcrossInvocations_ShouldIncludeAllUpToLimitAsync (line 586) | [Fact] method InvokingAsync_WithRecentMessageRolesIncluded_ShouldFilterRolesAsync (line 635) | [Fact] method InvokedAsync_ShouldPersistMessagesToSessionStateBagAsync (line 680) | [Fact] method StateBag_RoundtripRestoresMessagesAsync (line 712) | [Fact] method InvokingAsync_WithEmptyStateBag_ShouldHaveNoMessagesAsync (line 755) | [Fact] method MessageInvokingAsync_BeforeAIInvoke_SearchesAndReturnsMergedMessagesAsync (line 785) | [Fact] method MessageInvokingAsync_OnDemand_ThrowsInvalidOperationExceptionAsync (line 815) | [Fact] method MessageInvokingAsync_BeforeAIInvoke_NoResults_ReturnsOnlyInputMessagesAsync (line 829) | [Fact] method MessageInvokingAsync_BeforeAIInvoke_DefaultFilter_ExcludesNonExternalMessagesAsync (line 848) | [Fact] method NoResultSearchAsync (line 878) | private Task> NoResul... method FailingSearchAsync (line 883) | private Task> Failing... class RawPayload (line 888) | private sealed class RawPayload class TestAgentSession (line 893) | private sealed class TestAgentSession : AgentSession method TestAgentSession (line 895) | public TestAgentSession() method TestAgentSession (line 899) | public TestAgentSession(AgentSessionStateBag stateBag) FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/FunctionInvocationDelegatingAgentTests.cs class FunctionInvocationDelegatingAgentTests (line 16) | public sealed class FunctionInvocationDelegatingAgentTests method Constructor_ValidParameters_CreatesInstance (line 23) | [Fact] method Constructor_NullInnerAgent_ThrowsArgumentNullException (line 45) | [Fact] method RunAsync_WithFunctionCall_NoOptions_InvokesMiddlewareAsync (line 62) | [Fact] method RunAsync_WithFunctionCall_AgentRunOptions_InvokesMiddlewareAsync (line 109) | [Fact] method RunAsync_WithFunctionCall_CustomAgentRunOptions_ThrowsNotSupportedAsync (line 156) | [Fact] method RunAsync_WithFunctionCall_InvokesMiddlewareAsync (line 191) | [Fact] method RunAsync_WithMultipleFunctionCalls_InvokesMiddlewareForEachAsync (line 239) | [Fact] method RunAsync_MiddlewareContext_ContainsCorrectValuesAsync (line 293) | [Fact] method AIAgentBuilder_Use_FunctionInvocationMiddleware_WorksCorrectlyAsync (line 335) | [Fact] method AIAgentBuilder_Use_MultipleFunctionMiddleware_BothExecuteAsync (line 373) | [Fact] method AIAgentBuilder_Use_NonFICCEnabledAgent_ThrowsInvalidOperationException (line 415) | [Fact] method AIAgentBuilder_Use_NonFICCDecoratedChatClientInAgent_ThrowsInvalidOperationException (line 433) | [Fact] method RunAsync_DirectFunctionInvocation_MiddlewareHandlesNullCurrentContextAsync (line 453) | [Fact] method RunAsync_MiddlewareThrowsPreInvocation_ExceptionSurfacesAsync (line 522) | [Fact] method RunAsync_FunctionThrowsException_MiddlewareCanHandleAsync (line 559) | [Fact] method RunAsync_MiddlewareModifiesResult_ModifiedResultUsedAsync (line 603) | [Fact] method RunAsync_MultipleFunctionMiddleware_ExecutesInCorrectOrderAsync (line 646) | [Fact] method RunAsync_FunctionMiddlewareWithRunningMiddleware_BothExecuteAsync (line 710) | [Fact] method RunStreamingAsync_WithFunctionCall_InvokesMiddlewareAsync (line 768) | [Fact] method RunAsync_NoFunctionCalls_MiddlewareNotInvokedAsync (line 830) | [Fact] method RunAsync_CancellationToken_PropagatedToMiddlewareAsync (line 859) | [Fact] method RunAsync_MiddlewareDoesNotCallNext_FunctionNotExecutedAsync (line 892) | [Fact] method RunAsync_WithBaseAgentRunOptions_PreservesAllOriginalOptionsAsync (line 944) | [Fact] method CreateMockChatClient (line 997) | private static Mock CreateMockChatClient(params ChatRespo... method CreateMockChatClientWithFunctionCalls (line 1016) | private static Mock CreateMockChatClientWithFunctionCalls... method CreateDefaultResponse (line 1037) | private static ChatResponse CreateDefaultResponse() FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/LoggingAgentBuilderExtensionsTests.cs class LoggingAgentBuilderExtensionsTests (line 14) | public class LoggingAgentBuilderExtensionsTests method UseLogging_WithNullBuilder_ThrowsArgumentNullException (line 19) | [Fact] method UseLogging_WithLoggerFactory_ReturnsLoggingAgent (line 29) | [Fact] method UseLogging_WithNullLoggerFactory_ReturnsInnerAgent (line 47) | [Fact] method UseLogging_WithConfigureAction_CallsConfigureAction (line 65) | [Fact] method UseLogging_ReturnsBuilderForChaining (line 92) | [Fact] method UseLogging_WithAllParameters_WorksCorrectly (line 110) | [Fact] method UseLogging_WithoutLoggerFactory_ResolvesFromServiceProvider (line 136) | [Fact] method UseLogging_ConfigureJsonSerializerOptions_WorksCorrectly (line 163) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/LoggingAgentTests.cs class LoggingAgentTests (line 18) | public class LoggingAgentTests method Ctor_InvalidArgs_Throws (line 20) | [Fact] method Properties_DelegateToInnerAgent (line 28) | [Fact] method JsonSerializerOptions_Roundtrips (line 47) | [Fact] method JsonSerializerOptions_SetNull_Throws (line 62) | [Fact] method RunAsync_LogsAtDebugLevelAsync (line 73) | [Fact] method RunAsync_LogsAtTraceLevel_IncludesSensitiveDataAsync (line 116) | [Fact] method RunAsync_OnCancellation_LogsCanceledAsync (line 159) | [Fact] method RunAsync_OnException_LogsFailedAsync (line 188) | [Fact] method RunStreamingAsync_LogsAtDebugLevelAsync (line 218) | [Fact] method RunStreamingAsync_LogsUpdatesAtTraceLevelAsync (line 267) | [Fact] method RunStreamingAsync_OnCancellation_LogsCanceledAsync (line 308) | [Fact] method RunStreamingAsync_OnException_LogsFailedAsync (line 354) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Memory/ChatHistoryMemoryProviderTests.cs class ChatHistoryMemoryProviderTests (line 18) | public class ChatHistoryMemoryProviderTests method ChatHistoryMemoryProviderTests (line 29) | public ChatHistoryMemoryProviderTests() method StateKeys_ReturnsDefaultKey_WhenNoOptionsProvided (line 58) | [Fact] method StateKeys_ReturnsCustomKey_WhenSetViaOptions (line 73) | [Fact] method Constructor_Throws_ForNullVectorStore (line 89) | [Fact] method Constructor_Throws_ForNullCollectionName (line 100) | [Fact] method Constructor_Throws_ForNullStateInitializer (line 111) | [Fact] method Constructor_Throws_ForInvalidVectorDimensions (line 122) | [Fact] method InvokedAsync_UpsertsMessages_ToCollectionAsync (line 140) | [Fact] method InvokedAsync_DoesNotUpsertMessages_WhenInvokeFailedAsync (line 216) | [Fact] method InvokedAsync_DoesNotThrow_WhenUpsertThrowsAsync (line 241) | [Fact] method InvokedAsync_LogsUserIdBasedOnEnableSensitiveTelemetryDataAsync (line 272) | [Theory] method InvokedAsync_SearchesVectorStoreAsync (line 331) | [Fact] method InvokedAsync_CreatesFilter_WhenSearchScopeProvidedAsync (line 401) | [Fact] method InvokedAsync_CombinedFilterCanBeCompiled_WhenMultipleScopeFiltersProvidedAsync (line 457) | [Fact] method InvokingAsync_LogsUserIdBasedOnEnableSensitiveTelemetryDataAsync (line 528) | [Theory] method InvokingAsync_DefaultFilter_ExcludesNonExternalMessagesFromSearchAsync (line 612) | [Fact] method InvokingAsync_CustomSearchInputFilter_OverridesDefaultAsync (line 654) | [Fact] method InvokedAsync_DefaultFilter_ExcludesNonExternalMessagesFromStorageAsync (line 698) | [Fact] method InvokedAsync_CustomStorageInputFilter_OverridesDefaultAsync (line 739) | [Fact] method MessageInvokingAsync_BeforeAIInvoke_SearchesAndReturnsMergedMessagesAsync (line 788) | [Fact] method MessageInvokingAsync_OnDemand_ThrowsInvalidOperationExceptionAsync (line 836) | [Fact] method MessageInvokingAsync_BeforeAIInvoke_NoResults_ReturnsOnlyInputMessagesAsync (line 856) | [Fact] method MessageInvokingAsync_BeforeAIInvoke_DefaultFilter_ExcludesNonExternalMessagesAsync (line 889) | [Fact] method ToAsyncEnumerableAsync (line 927) | private static async IAsyncEnumerable ToAsyncEnumerableAsync(IEn... class TestAgentSession (line 936) | private sealed class TestAgentSession : AgentSession method TestAgentSession (line 938) | public TestAgentSession() method TestAgentSession (line 942) | public TestAgentSession(AgentSessionStateBag stateBag) FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Models/Animal.cs class Animal (line 5) | internal sealed class Animal FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/Models/Species.cs type Species (line 5) | internal enum Species FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/OpenTelemetryAgentBuilderExtensionsTests.cs class OpenTelemetryAgentBuilderExtensionsTests (line 12) | public class OpenTelemetryAgentBuilderExtensionsTests method UseOpenTelemetry_WithNullBuilder_ThrowsArgumentNullException (line 17) | [Fact] method UseOpenTelemetry_WithValidBuilder_ReturnsOpenTelemetryAgent (line 27) | [Fact] method UseOpenTelemetry_WithSourceName_WorksCorrectly (line 44) | [Fact] method UseOpenTelemetry_WithConfigureAction_CallsConfigureAction (line 62) | [Fact] method UseOpenTelemetry_ReturnsBuilderForChaining (line 86) | [Fact] method UseOpenTelemetry_WithAllParameters_WorksCorrectly (line 103) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/OpenTelemetryAgentTests.cs class OpenTelemetryAgentTests (line 19) | public class OpenTelemetryAgentTests method Ctor_InvalidArgs_Throws (line 21) | [Fact] method Ctor_NullSourceName_Valid (line 27) | [Fact] method Properties_DelegateToInnerAgent (line 34) | [Fact] method EnableSensitiveData_Roundtrips (line 50) | [Fact] method WithoutChatOptions_ExpectedInformationLogged_Async (line 63) | [Theory] method WithChatOptions_ExpectedInformationLogged_Async_MemberData (line 277) | public static IEnumerable WithChatOptions_ExpectedInformatio... method WithChatOptions_ExpectedInformationLogged_Async (line 284) | [Theory] method ReplaceWhitespace (line 650) | private static string ReplaceWhitespace(string? input) => Regex.Replac... FILE: dotnet/tests/Microsoft.Agents.AI.UnitTests/TestAIAgent.cs class TestAIAgent (line 12) | internal sealed class TestAIAgent : AIAgent method SerializeSessionCoreAsync (line 27) | protected override ValueTask SerializeSessionCoreAsync(Ag... method DeserializeSessionCoreAsync (line 30) | protected override ValueTask DeserializeSessionCoreAsync... method CreateSessionCoreAsync (line 33) | protected override ValueTask CreateSessionCoreAsync(Canc... method RunCoreAsync (line 36) | protected override Task RunCoreAsync(IEnumerable RunCoreStream... method GetService (line 42) | public override object? GetService(Type serviceType, object? serviceKe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/AgentProvider.cs class AgentProvider (line 12) | internal abstract class AgentProvider(IConfiguration configuration) class Names (line 14) | public static class Names method Create (line 23) | public static AgentProvider Create(IConfiguration configuration, strin... method CreateAgentsAsync (line 34) | public async ValueTask CreateAgentsAsync() method CreateAgentsAsync (line 44) | protected abstract IAsyncEnumerable CreateAgentsAsync(Ur... method GetSetting (line 46) | protected string GetSetting(string settingName) => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/FunctionToolAgentProvider.cs class FunctionToolAgentProvider (line 15) | internal sealed class FunctionToolAgentProvider(IConfiguration configura... method CreateAgentsAsync (line 17) | protected override async IAsyncEnumerable CreateAgentsAs... method DefineMenuAgent (line 36) | private PromptAgentDefinition DefineMenuAgent(AIFunction[] functions) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/MarketingAgentProvider.cs class MarketingAgentProvider (line 13) | internal sealed class MarketingAgentProvider(IConfiguration configuratio... method CreateAgentsAsync (line 15) | protected override async IAsyncEnumerable CreateAgentsAs... method DefineAnalystAgent (line 38) | private PromptAgentDefinition DefineAnalystAgent() => method DefineWriterAgent (line 56) | private PromptAgentDefinition DefineWriterAgent() => method DefineEditorAgent (line 67) | private PromptAgentDefinition DefineEditorAgent() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/MathChatAgentProvider.cs class MathChatAgentProvider (line 13) | internal sealed class MathChatAgentProvider(IConfiguration configuration... method CreateAgentsAsync (line 15) | protected override async IAsyncEnumerable CreateAgentsAs... method DefineStudentAgent (line 32) | private PromptAgentDefinition DefineStudentAgent() => method DefineTeacherAgent (line 44) | private PromptAgentDefinition DefineTeacherAgent() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/MenuPlugin.cs class MenuPlugin (line 13) | public sealed class MenuPlugin method GetTools (line 15) | public IEnumerable GetTools() method GetMenu (line 22) | [Description("Provides a list items on the menu.")] method GetSpecials (line 28) | [Description("Provides a list of specials from the menu.")] method GetItemPrice (line 34) | [Description("Provides the price of the requested menu item.")] class MenuItem (line 85) | public sealed class MenuItem FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/PoemAgentProvider.cs class PoemAgentProvider (line 13) | internal sealed class PoemAgentProvider(IConfiguration configuration) : ... method CreateAgentsAsync (line 15) | protected override async IAsyncEnumerable CreateAgentsAs... method DefinePoemAgent (line 26) | private PromptAgentDefinition DefinePoemAgent() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/TestAgentProvider.cs class TestAgentProvider (line 13) | internal sealed class TestAgentProvider(IConfiguration configuration) : ... method CreateAgentsAsync (line 15) | protected override async IAsyncEnumerable CreateAgentsAs... method DefineMenuAgent (line 26) | private PromptAgentDefinition DefineMenuAgent() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/VisionAgentProvider.cs class VisionAgentProvider (line 13) | internal sealed class VisionAgentProvider(IConfiguration configuration) ... method CreateAgentsAsync (line 15) | protected override async IAsyncEnumerable CreateAgentsAs... method DefineVisionAgent (line 26) | private PromptAgentDefinition DefineVisionAgent() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/AzureAgentProviderTest.cs class AzureAgentProviderTest (line 11) | public sealed class AzureAgentProviderTest(ITestOutputHelper output) : I... method ConversationTestAsync (line 13) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/DeclarativeCodeGenTest.cs class DeclarativeCodeGenTest (line 14) | public sealed class DeclarativeCodeGenTest(ITestOutputHelper output) : W... method ValidateCaseAsync (line 16) | [Theory] method ValidateScenarioAsync (line 26) | [Theory] method ValidateMultiTurnAsync (line 34) | [Fact(Skip = "Needs template support")] method RunAndVerifyAsync (line 38) | protected override async Task RunAndVerifyAsync(Testcase testc... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/DeclarativeWorkflowTest.cs class DeclarativeWorkflowTest (line 15) | public sealed class DeclarativeWorkflowTest(ITestOutputHelper output) : ... method ValidateCaseAsync (line 17) | [Theory] method ValidateScenarioAsync (line 28) | [Theory] method ValidateMultiTurnAsync (line 36) | [Theory(Skip = "Multi-turn tests hang in CI - needs investigation")] method GetWorkflowPath (line 42) | private static string GetWorkflowPath(string workflowFileName, bool is... method RunAndVerifyAsync (line 47) | protected override async Task RunAndVerifyAsync(Testcase testc... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/IntegrationTest.cs class IntegrationTest (line 18) | public abstract class IntegrationTest : IDisposable method IntegrationTest (line 26) | protected IntegrationTest(ITestOutputHelper output) method Dispose (line 37) | public void Dispose() method Dispose (line 43) | protected virtual void Dispose(bool isDisposing) method SetProduct (line 51) | protected static void SetProduct() method FormatVariablePath (line 59) | internal static string FormatVariablePath(string variableName, string?... method CreateOptionsAsync (line 61) | protected async ValueTask CreateOptionsAsy... method CreateOptionsAsync (line 66) | protected async ValueTask CreateOptionsAsy... method InitializeConfig (line 89) | private static IConfigurationRoot InitializeConfig() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/TestOutputAdapter.cs class TestOutputAdapter (line 11) | public sealed class TestOutputAdapter(ITestOutputHelper output) : TextWr... method AddProvider (line 17) | public void AddProvider(ILoggerProvider provider) => throw new NotSupp... method CreateLogger (line 19) | public ILogger CreateLogger(string categoryName) => this; method IsEnabled (line 21) | public bool IsEnabled(LogLevel logLevel) => true; method WriteLine (line 23) | public override void WriteLine(object? value) => this.SafeWrite($"{val... method WriteLine (line 25) | public override void WriteLine(string? format, params object?[] arg) =... method WriteLine (line 27) | public override void WriteLine(string? value) => this.SafeWrite(value ... method Write (line 29) | public override void Write(object? value) => this.SafeWrite($"{value}"); method Write (line 31) | public override void Write(char[]? buffer) => this.SafeWrite(new strin... method BeginScope (line 33) | public IDisposable BeginScope(TState state) where TState : not... method Log (line 39) | public void Log(LogLevel logLevel, EventId eventId, TState sta... method SafeWrite (line 46) | private void SafeWrite(string value) class LoggerScope (line 59) | private sealed class LoggerScope(Action action) : IDisposable method Dispose (line 63) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/Testcase.cs class Testcase (line 8) | public sealed class Testcase method Testcase (line 10) | [JsonConstructor] class TestcaseSetup (line 25) | public sealed class TestcaseSetup method TestcaseSetup (line 27) | [JsonConstructor] class TestcaseInput (line 36) | public sealed class TestcaseInput method TestcaseInput (line 38) | [JsonConstructor] class TestcaseValidation (line 49) | public sealed class TestcaseValidation method TestcaseValidation (line 51) | [JsonConstructor] class TestcaseValidationActions (line 73) | public sealed class TestcaseValidationActions method TestcaseValidationActions (line 77) | [JsonConstructor] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowEvents.cs class WorkflowEvents (line 9) | internal sealed class WorkflowEvents method WorkflowEvents (line 11) | public WorkflowEvents(IReadOnlyList workflowEvents) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowHarness.cs class WorkflowHarness (line 17) | internal sealed class WorkflowHarness(Workflow workflow, string runId) method RunTestcaseAsync (line 22) | public async Task RunTestcaseAsync(Testcase te... method RunWorkflowAsync (line 45) | public async Task RunWorkflowAsync(TInput inpu... method ResumeAsync (line 54) | public async Task ResumeAsync(ExternalResponse response) method GenerateCodeAsync (line 64) | public static async Task GenerateCodeAsync( method GetCheckpointManager (line 85) | private CheckpointManager GetCheckpointManager(bool useJson = false) method MonitorAndDisposeWorkflowRunAsync (line 100) | private static async IAsyncEnumerable MonitorAndDispose... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowTest.cs class WorkflowTest (line 18) | public abstract class WorkflowTest(ITestOutputHelper output) : Integrati... method RunAndVerifyAsync (line 20) | protected abstract Task RunAndVerifyAsync( method RunWorkflowAsync (line 27) | protected Task RunWorkflowAsync( method GetConversationId (line 60) | protected static string? GetConversationId(string? conversationId, IRe... method ReadTestcase (line 75) | protected static Testcase ReadTestcase(string testcaseFileName) method GetInput (line 83) | private static object GetInput(Testcase testcase) where TInput... method GetRepoFolder (line 91) | internal static string GetRepoFolder() class AssertWorkflow (line 108) | protected static class AssertWorkflow method Conversation (line 110) | public static void Conversation(IReadOnlyList respo... method MessagesAsync (line 136) | public static async ValueTask MessagesAsync(string? conversationId, ... method EventSequence (line 155) | internal static void EventSequence(IEnumerable sourceIds, Te... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/FunctionCallingWorkflowTest.cs class FunctionCallingWorkflowTest (line 20) | public sealed class FunctionCallingWorkflowTest(ITestOutputHelper output... method ValidateAutoInvokeAsync (line 22) | [Fact] method ValidateRequestInvokeAsync (line 26) | [Fact] method GetWorkflowPath (line 30) | private static string GetWorkflowPath(string workflowFileName) => Path... method RunWorkflowAsync (line 32) | private async Task RunWorkflowAsync(bool autoInvoke, params IEnumerabl... method InvokeToolsAsync (line 88) | private static async ValueTask> InvokeToolsAsync(IEnu... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/InvokeToolWorkflowTest.cs class InvokeToolWorkflowTest (line 21) | public sealed class InvokeToolWorkflowTest(ITestOutputHelper output) : I... method ValidateInvokeFunctionToolAsync (line 25) | [Theory] method ValidateInvokeMcpToolAsync (line 35) | [Theory] method ValidateInvokeMcpToolWithApprovalAsync (line 40) | [Theory] method RunInvokeFunctionToolTestAsync (line 53) | private async Task RunInvokeFunctionToolTestAsync( method ProcessFunctionCallsAsync (line 116) | private async Task> ProcessFunctionCallsAsync( method RunInvokeMcpToolTestAsync (line 168) | private async Task RunInvokeMcpToolTestAsync( method ProcessMcpToolRequests (line 227) | private List ProcessMcpToolRequests( method AssertWorkflowEventsEmitted (line 255) | private static void AssertWorkflowEventsEmitted(WorkflowEvents workflo... method AssertResultContains (line 262) | private static void AssertResultContains(WorkflowEvents workflowEvents... method GetWorkflowPath (line 272) | private static string GetWorkflowPath(string workflowFileName) => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/MediaInputTest.cs class MediaInputTest (line 18) | public sealed class MediaInputTest(ITestOutputHelper output) : Integrati... method ValidateFileUrlAsync (line 26) | [Theory] method ValidateImageFileDataAsync (line 39) | [Theory] method ValidateFileDataAsync (line 55) | [Theory] method ValidateFileUploadAsync (line 71) | [Theory] method ReadLocalFile (line 96) | private static byte[] ReadLocalFile(string relativePath) method ValidateFileAsync (line 102) | private async Task ValidateFileAsync(AIContent fileContent, bool useCo... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.Mcp.UnitTests/DefaultMcpToolHandlerTests.cs class DefaultMcpToolHandlerTests (line 18) | public sealed class DefaultMcpToolHandlerTests method Constructor_WithNoParameters_ShouldCreateInstanceAsync (line 22) | [Fact] method Constructor_WithNullHttpClientProvider_ShouldCreateInstanceAsync (line 33) | [Fact] method Constructor_WithHttpClientProvider_ShouldCreateInstanceAsync (line 44) | [Fact] method DisposeAsync_WhenCalled_ShouldCompleteWithoutErrorAsync (line 62) | [Fact] method DisposeAsync_WhenCalledMultipleTimes_ShouldHandleGracefullyAsync (line 75) | [Fact] method InvokeToolAsync_WithHttpClientProvider_ShouldCallProviderAsync (line 93) | [Fact] method InvokeToolAsync_WithHttpClientProviderReturningClient_ShouldUseProvidedClientAsync (line 134) | [Fact] method InvokeToolAsync_SameServerUrl_ShouldCallProviderOncePerAttemptWhenConnectionFailsAsync (line 179) | [Fact] method InvokeToolAsync_DifferentServerUrls_ShouldCreateSeparateClientsAsync (line 226) | [Fact] method InvokeToolAsync_SameUrlDifferentHeaders_ShouldCreateSeparateClientsAsync (line 270) | [Fact] method DefaultMcpToolHandler_ShouldImplementIMcpToolHandlerAsync (line 325) | [Fact] method DefaultMcpToolHandler_ShouldImplementIAsyncDisposableAsync (line 336) | [Fact] method ConvertContentBlock_TextContentBlock_ShouldReturnTextContent (line 351) | [Fact] method ConvertContentBlock_ImageContentBlock_WithEmptyData_ShouldReturnDataContentWithEmptyUri (line 365) | [Fact] method ConvertContentBlock_ImageContentBlock_WithBase64Payload_ShouldReturnDataContent (line 380) | [Fact] method ConvertContentBlock_ImageContentBlock_WithDataUri_ShouldReturnDataContentDirectly (line 396) | [Fact] method ConvertContentBlock_ImageContentBlock_WithNullMimeType_ShouldDefaultToImageWildcard (line 413) | [Fact] method ConvertContentBlock_AudioContentBlock_WithEmptyData_ShouldReturnDataContentWithEmptyUri (line 428) | [Fact] method ConvertContentBlock_AudioContentBlock_WithBase64Payload_ShouldReturnDataContent (line 443) | [Fact] method ConvertContentBlock_AudioContentBlock_WithDataUri_ShouldReturnDataContentDirectly (line 459) | [Fact] method ConvertContentBlock_AudioContentBlock_WithNullMimeType_ShouldDefaultToAudioWildcard (line 476) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/AddConversationMessageTemplateTest.cs class AddConversationMessageTemplateTest (line 11) | public class AddConversationMessageTemplateTest(ITestOutputHelper output... method NoRole (line 13) | [Fact] method WithRole (line 31) | [Fact] method WithMetadataLiteral (line 50) | [Fact] method WithMetadataVariable (line 76) | [Fact] method ExecuteTest (line 96) | private void ExecuteTest( method CreateModel (line 125) | private AddConversationMessage CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/BreakLoopTemplateTest.cs class BreakLoopTemplateTest (line 8) | public class BreakLoopTemplateTest(ITestOutputHelper output) : WorkflowA... method BreakLoop (line 10) | [Fact] method ExecuteTest (line 17) | private void ExecuteTest(string displayName) method CreateModel (line 32) | private BreakLoop CreateModel(string displayName) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/ClearAllVariablesTemplateTest.cs class ClearAllVariablesTemplateTest (line 9) | public class ClearAllVariablesTemplateTest(ITestOutputHelper output) : W... method LiteralEnum (line 11) | [Fact] method VariableEnum (line 21) | [Fact] method UnsupportedEnum (line 31) | [Fact] method ExecuteTest (line 41) | private void ExecuteTest( method CreateModel (line 61) | private ClearAllVariables CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/ConditionGroupTemplateTest.cs method NoElse (line 11) | [Fact] method WithElse (line 20) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/ContinueLoopTemplateTest.cs class ContinueLoopTemplateTest (line 8) | public class ContinueLoopTemplateTest(ITestOutputHelper output) : Workfl... method ContinueLoop (line 10) | [Fact] method ExecuteTest (line 17) | private void ExecuteTest(string displayName) method CreateModel (line 32) | private ContinueLoop CreateModel(string displayName) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/CopyConversationMessagesTemplateTest.cs class CopyConversationMessagesTemplateTest (line 9) | public class CopyConversationMessagesTemplateTest(ITestOutputHelper outp... method CopyConversationMessagesLiteral (line 11) | [Fact] method CopyConversationMessagesVariable (line 21) | [Fact] method ExecuteTest (line 31) | private void ExecuteTest( method CreateModel (line 54) | private CopyConversationMessages CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/CreateConversationTemplateTest.cs class CreateConversationTemplateTest (line 11) | public class CreateConversationTemplateTest(ITestOutputHelper output) : ... method Basic (line 13) | [Fact] method WithMetadata (line 22) | [Fact] method ExecuteTest (line 39) | private void ExecuteTest( method CreateModel (line 62) | private CreateConversation CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/DeclarativeEjectionTest.cs class DeclarativeEjectionTest (line 13) | public sealed class DeclarativeEjectionTest(ITestOutputHelper output) : ... method ExecuteActionAsync (line 15) | [Theory] method EjectWorkflowAsync (line 42) | private async Task EjectWorkflowAsync(string workflowFile) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/EdgeTemplateTest.cs class EdgeTemplateTest (line 7) | public class EdgeTemplateTest(ITestOutputHelper output) : WorkflowAction... method InitializeNext (line 9) | [Fact] method ExecuteTest (line 15) | private void ExecuteTest(string sourceId, string targetId) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/EndConversationTest.cs class EndConversationTest (line 8) | public class EndConversationTest(ITestOutputHelper output) : WorkflowAct... method EndConversation (line 10) | [Fact] method ExecuteTest (line 17) | private void ExecuteTest(string displayName) method CreateModel (line 32) | private EndConversation CreateModel(string displayName) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/EndDialogTest.cs class EndDialogTest (line 8) | public class EndDialogTest(ITestOutputHelper output) : WorkflowActionTem... method EndDialog (line 10) | [Fact] method ExecuteTest (line 17) | private void ExecuteTest(string displayName) method CreateModel (line 32) | private EndDialog CreateModel(string displayName) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/ForeachTemplateTest.cs class ForeachTemplateTest (line 10) | public class ForeachTemplateTest(ITestOutputHelper output) : WorkflowAct... method LoopNoIndex (line 12) | [Fact] method LoopWithIndex (line 22) | [Fact] method ExecuteTest (line 33) | private void ExecuteTest( method CreateModel (line 59) | private Foreach CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/GotoTemplateTest.cs class GotoTemplateTest (line 8) | public class GotoTemplateTest(ITestOutputHelper output) : WorkflowAction... method GotoAction (line 10) | [Fact] method ExecuteTest (line 17) | private void ExecuteTest(string displayName, string targetId) method CreateModel (line 32) | private GotoAction CreateModel(string displayName, string targetId) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/InvokeAzureAgentTemplateTest.cs class InvokeAzureAgentTemplateTest (line 9) | public class InvokeAzureAgentTemplateTest(ITestOutputHelper output) : Wo... method LiteralConversation (line 11) | [Fact] method VariableConversation (line 22) | [Fact] method ExpressionAutosend (line 34) | [Fact] method InputMessagesVariable (line 46) | [Fact] method InputMessagesExpression (line 58) | [Fact] method ExecuteTest (line 70) | private void ExecuteTest( method CreateModel (line 99) | private InvokeAzureAgent CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/ProviderTemplateTest.cs class ProviderTemplateTest (line 8) | public class ProviderTemplateTest(ITestOutputHelper output) : WorkflowAc... method WithNamespaceAsync (line 10) | [Fact] method WithoutNamespaceAsync (line 39) | [Fact] method ExecuteTestAsync (line 78) | private async Task ExecuteTestAsync( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/ResetVariableTemplateTest.cs class ResetVariableTemplateTest (line 9) | public class ResetVariableTemplateTest(ITestOutputHelper output) : Workf... method ResetVariable (line 11) | [Fact] method ExecuteTest (line 18) | private void ExecuteTest(string displayName, string variableName) method CreateModel (line 36) | private ResetVariable CreateModel(string displayName, string variableP... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/RetrieveConversationMessageTemplateTest.cs class RetrieveConversationMessageTemplateTest (line 9) | public class RetrieveConversationMessageTemplateTest(ITestOutputHelper o... method RetrieveConversationVariable (line 11) | [Fact] method RetrieveMessageVariable (line 21) | [Fact] method ExecuteTest (line 32) | private void ExecuteTest( method CreateModel (line 57) | private RetrieveConversationMessage CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/RetrieveConversationMessagesTemplateTest.cs class RetrieveConversationMessagesTemplateTest (line 9) | public class RetrieveConversationMessagesTemplateTest(ITestOutputHelper ... method DefaultQuery (line 11) | [Fact] method LimitCountQuery (line 21) | [Fact] method AfterMessageQuery (line 32) | [Fact] method BeforeMessageQuery (line 43) | [Fact] method NewestFirstQuery (line 54) | [Fact] method ExecuteTest (line 65) | private void ExecuteTest( method CreateModel (line 96) | private RetrieveConversationMessages CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/SetMultipleVariablesTemplateTest.cs class SetMultipleVariablesTemplateTest (line 10) | public class SetMultipleVariablesTemplateTest(ITestOutputHelper output) ... method InitializeMultipleValues (line 12) | [Fact] method ExecuteTest (line 23) | private void ExecuteTest(string displayName, params AssignmentCase[] a... method CreateModel (line 45) | private SetMultipleVariables CreateModel(string displayName, params As... type AssignmentCase (line 67) | private sealed record AssignmentCase(string Path, ValueExpression.Buil... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/SetTextVariableTemplateTest.cs class SetTextVariableTemplateTest (line 9) | public class SetTextVariableTemplateTest(ITestOutputHelper output) : Wor... method InitializeTemplate (line 11) | [Fact] method ExecuteTest (line 18) | private void ExecuteTest( method CreateModel (line 42) | private SetTextVariable CreateModel(string displayName, string variabl... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/SetVariableTemplateTest.cs class SetVariableTemplateTest (line 10) | public class SetVariableTemplateTest(ITestOutputHelper output) : Workflo... method InitializeLiteralValue (line 12) | [Fact] method InitializeVariable (line 22) | [Fact] method InitializeExpression (line 32) | [Fact] method ExecuteTest (line 41) | private void ExecuteTest( method CreateModel (line 65) | private SetVariable CreateModel(string displayName, string variablePat... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/CodeGen/WorkflowActionTemplateTest.cs class WorkflowActionTemplateTest (line 12) | public abstract class WorkflowActionTemplateTest(ITestOutputHelper outpu... method CreateActionId (line 17) | protected ActionId CreateActionId(string seed) => new($"{seed.ToLowerI... method FormatDisplayName (line 20) | protected string FormatDisplayName(string name) => $"{this.GetType().N... method AssertGeneratedCode (line 22) | protected static void AssertGeneratedCode(string actionId, stri... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/DeclarativeWorkflowContextTest.cs class DeclarativeWorkflowContextTests (line 11) | public class DeclarativeWorkflowContextTests method InitializeDefaultValues (line 13) | [Fact] method InitializeExplicitValues (line 27) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/DeclarativeWorkflowExceptionTest.cs class DeclarativeWorkflowExceptionTest (line 10) | public sealed class DeclarativeWorkflowExceptionTest(ITestOutputHelper o... method WorkflowExecutionException (line 12) | [Fact] method WorkflowModelException (line 20) | [Fact] method AssertDefault (line 28) | private static void AssertDefault(Action throwAction) wher... method AssertMessage (line 35) | private static void AssertMessage(Action throwActi... method AssertInner (line 43) | private static void AssertInner(Action ... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/DeclarativeWorkflowOptionsTest.cs class DeclarativeWorkflowOptionsTest (line 20) | [Collection("DeclarativeWorkflowOptionsTest")] method DeclarativeWorkflowOptionsTest (line 45) | public DeclarativeWorkflowOptionsTest() method Dispose (line 58) | public void Dispose() method ConfigureTelemetry_DefaultIsNull (line 64) | [Fact] method ConfigureTelemetry_CanBeSet (line 77) | [Fact] method TelemetryActivitySource_DefaultIsNull (line 102) | [Fact] method TelemetryActivitySource_CanBeSet (line 115) | [Fact] method BuildWorkflow_WithDefaultTelemetry_AppliesTelemetryAsync (line 131) | [Fact] method BuildWorkflow_WithTelemetryActivitySource_AppliesTelemetryAsync (line 159) | [Fact] method BuildWorkflow_WithConfigureTelemetry_AppliesConfigurationAsync (line 186) | [Fact] method BuildWorkflow_WithoutTelemetry_DoesNotCreateActivitiesAsync (line 221) | [Fact] method CreateMockProvider (line 248) | private static Mock CreateMockProvider() FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/DeclarativeWorkflowTest.cs class DeclarativeWorkflowTest (line 22) | public sealed class DeclarativeWorkflowTest(ITestOutputHelper output) : ... method InvalidWorkflowAsync (line 28) | [Theory] method LoopEachActionAsync (line 38) | [Fact] method LoopBreakActionAsync (line 49) | [Fact] method LoopContinueActionAsync (line 61) | [Fact] method EndConversationActionAsync (line 73) | [Fact] method GotoActionAsync (line 82) | [Fact] method ConditionActionAsync (line 94) | [Theory] method ConditionActionWithElseAsync (line 122) | [Theory] method ConditionActionWithFallThroughAsync (line 146) | [Theory] method ExecuteActionAsync (line 169) | [Theory] method UnsupportedAction (line 191) | [Theory] method CancelRunAsync (line 249) | [Theory] method AssertExecutionCount (line 297) | private void AssertExecutionCount(int expectedCount) method AssertNotExecuted (line 303) | private void AssertNotExecuted(string executorId) method AssertExecuted (line 309) | private void AssertExecuted(string executorId, bool isAction = true, b... method AssertMessage (line 323) | private void AssertMessage(string message) => method RunWorkflowAsync (line 326) | private Task RunWorkflowAsync(string workflowPath) => method RunWorkflowAsync (line 329) | private async Task RunWorkflowAsync(string workflowPath, TInpu... method CreateWorkflow (line 373) | private Workflow CreateWorkflow(string workflowPath, TInput wo... method CreateMockProvider (line 381) | private static Mock CreateMockProvider(string i... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Entities/EntityExtractionResultTest.cs class EntityExtractionResultTest (line 11) | public sealed class EntityExtractionResultTest(ITestOutputHelper output)... method ConstructorWithErrorMessage (line 13) | [Fact] method ConstructorWithNullValue (line 28) | [Fact] method ConstructorWithNumberValue (line 43) | [Fact] method ConstructorWithBlankValue_IsValid (line 57) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Entities/EntityExtractorTest.cs class EntityExtractorTest (line 13) | public sealed class EntityExtractorTest(ITestOutputHelper output) : Work... method Parse_NullEntity_WithNonEmptyValue_ReturnsStringValue (line 15) | [Fact] method Parse_NullEntity_WithEmptyValue_ReturnsBlankValue (line 31) | [Theory] method Parse_BooleanEntity_ValidValue_ReturnsBoolean (line 48) | [Theory] method Parse_BooleanEntity_InvalidValue_ReturnsError (line 68) | [Theory] method Parse_DateEntity_ValidValue_ReturnsDate (line 85) | [Theory] method Parse_DateEntity_InvalidValue_ReturnsError (line 102) | [Theory] method Parse_DateTimeEntity_ValidValue_ReturnsDateTime (line 118) | [Theory] method Parse_DateTimeEntity_InvalidValue_ReturnsError (line 134) | [Theory] method Parse_DateTimeNoTimeZoneEntity_ValidValue_ReturnsDateTime (line 149) | [Theory] method Parse_DurationEntity_ValidValue_ReturnsDuration (line 167) | [Theory] method Parse_DurationEntity_InvalidValue_ReturnsError (line 184) | [Theory] method Parse_EmailEntity_ValidValue_ReturnsEmail (line 200) | [Theory] method Parse_EmailEntity_InvalidValue_ReturnsError (line 216) | [Theory] method Parse_NumberEntity_ValidValue_ReturnsNumber (line 233) | [Theory] method Parse_NumberEntity_InvalidValue_ReturnsError (line 251) | [Theory] method Parse_AgeEntity_ValidValue_ReturnsString (line 267) | [Theory] method Parse_AgeEntity_InvalidValue_ReturnsError (line 284) | [Theory] method Parse_MoneyEntity_ValidValue_ReturnsString (line 299) | [Theory] method Parse_MoneyEntity_InvalidValue_ReturnsError (line 316) | [Theory] method Parse_PercentageEntity_ValidValue_ReturnsString (line 331) | [Theory] method Parse_PercentageEntity_InvalidValue_ReturnsError (line 348) | [Theory] method Parse_SpeedEntity_ValidValue_ReturnsString (line 363) | [Theory] method Parse_SpeedEntity_InvalidValue_ReturnsError (line 380) | [Theory] method Parse_TemperatureEntity_ValidValue_ReturnsString (line 395) | [Theory] method Parse_TemperatureEntity_InvalidValue_ReturnsError (line 412) | [Theory] method Parse_WeightEntity_ValidValue_ReturnsString (line 427) | [Theory] method Parse_WeightEntity_InvalidValue_ReturnsError (line 444) | [Theory] method Parse_URLEntity_ValidValue_ReturnsURL (line 459) | [Theory] method Parse_URLEntity_InvalidValue_ReturnsError (line 476) | [Theory] method Parse_CityEntity_ValidValue_ReturnsString (line 492) | [Theory] method Parse_CityEntity_EmptyValue_ReturnsError (line 508) | [Theory] method Parse_StateEntity_ValidValue_ReturnsString (line 524) | [Theory] method Parse_CountryOrRegionEntity_ValidValue_ReturnsString (line 540) | [Theory] method Parse_ContinentEntity_ValidValue_ReturnsString (line 556) | [Theory] method Parse_StreetAddressEntity_ValidValue_ReturnsString (line 572) | [Theory] method Parse_PhoneNumberEntity_ValidValue_ReturnsString (line 588) | [Theory] method Parse_ColorEntity_ValidValue_ReturnsString (line 604) | [Theory] method Parse_LanguageEntity_ValidValue_ReturnsString (line 620) | [Theory] method Parse_EventEntity_ValidValue_ReturnsString (line 636) | [Theory] method Parse_PointOfInterestEntity_ValidValue_ReturnsString (line 652) | [Theory] method Parse_StringEntity_ValidValue_ReturnsString (line 668) | [Theory] method CreateBooleanEntity (line 684) | private static BooleanPrebuiltEntity CreateBooleanEntity() => method CreateDateEntity (line 687) | private static DatePrebuiltEntity CreateDateEntity() => method CreateDateTimeEntity (line 690) | private static DateTimePrebuiltEntity CreateDateTimeEntity() => method CreateDateTimeNoTimeZoneEntity (line 693) | private static DateTimeNoTimeZonePrebuiltEntity CreateDateTimeNoTimeZo... method CreateDurationEntity (line 696) | private static DurationPrebuiltEntity CreateDurationEntity() => method CreateEmailEntity (line 699) | private static EmailPrebuiltEntity CreateEmailEntity() => method CreateNumberEntity (line 702) | private static NumberPrebuiltEntity CreateNumberEntity() => method CreateAgeEntity (line 705) | private static AgePrebuiltEntity CreateAgeEntity() => method CreateMoneyEntity (line 708) | private static MoneyPrebuiltEntity CreateMoneyEntity() => method CreatePercentageEntity (line 711) | private static PercentagePrebuiltEntity CreatePercentageEntity() => method CreateSpeedEntity (line 714) | private static SpeedPrebuiltEntity CreateSpeedEntity() => method CreateTemperatureEntity (line 717) | private static TemperaturePrebuiltEntity CreateTemperatureEntity() => method CreateWeightEntity (line 720) | private static WeightPrebuiltEntity CreateWeightEntity() => method CreateURLEntity (line 723) | private static URLPrebuiltEntity CreateURLEntity() => method CreateCityEntity (line 726) | private static CityPrebuiltEntity CreateCityEntity() => method CreateStateEntity (line 729) | private static StatePrebuiltEntity CreateStateEntity() => method CreateCountryOrRegionEntity (line 732) | private static CountryOrRegionPrebuiltEntity CreateCountryOrRegionEnti... method CreateContinentEntity (line 735) | private static ContinentPrebuiltEntity CreateContinentEntity() => method CreateStreetAddressEntity (line 738) | private static StreetAddressPrebuiltEntity CreateStreetAddressEntity() => method CreatePhoneNumberEntity (line 741) | private static PhoneNumberPrebuiltEntity CreatePhoneNumberEntity() => method CreateColorEntity (line 744) | private static ColorPrebuiltEntity CreateColorEntity() => method CreateLanguageEntity (line 747) | private static LanguagePrebuiltEntity CreateLanguageEntity() => method CreateEventEntity (line 750) | private static EventPrebuiltEntity CreateEventEntity() => method CreatePointOfInterestEntity (line 753) | private static PointOfInterestPrebuiltEntity CreatePointOfInterestEnti... method CreateStringEntity (line 756) | private static StringPrebuiltEntity CreateStringEntity() => FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Events/EventTest.cs class EventTest (line 12) | public abstract class EventTest(ITestOutputHelper output) : WorkflowTest... method VerifyEventSerialization (line 14) | protected static TEvent VerifyEventSerialization(TEvent source) method AssertMessage (line 23) | protected static void AssertMessage(ChatMessage source, ChatMessage copy) method AssertContent (line 30) | protected static TContent AssertContent(ChatMessage message)... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Events/ExternalInputRequestTest.cs class ExternalInputRequestTest (line 13) | public sealed class ExternalInputRequestTest(ITestOutputHelper output) :... method VerifySerializationWithText (line 15) | [Fact] method VerifySerializationWithRequests (line 29) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Events/ExternalInputResponseTest.cs class ExternalInputResponseTest (line 13) | public sealed class ExternalInputResponseTest(ITestOutputHelper output) ... method VerifySerializationEmpty (line 15) | [Fact] method VerifySerializationWithResponses (line 29) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/ChatMessageExtensionsTests.cs class ChatMessageExtensionsTests (line 13) | public sealed class ChatMessageExtensionsTests method ToRecordWithSimpleTextMessage (line 15) | [Fact] method ToRecordWithAssistantMessage (line 34) | [Fact] method ToRecordIncludesAllStandardFields (line 52) | [Fact] method ToTableWithMultipleMessages (line 73) | [Fact] method ToTableWithEmptyMessages (line 92) | [Fact] method ToChatMessagesWithNull (line 106) | [Fact] method ToChatMessagesWithBlankDataValue (line 119) | [Fact] method ToChatMessagesWithStringDataValue (line 132) | [Fact] method ToChatMessagesWithRecordDataValue (line 148) | [Fact] method ToChatMessagesWithTableDataValue (line 165) | [Fact] method ToChatMessagesWithTableOfDataValue (line 182) | [Fact] method ToChatMessagesWithUnsupportedValue (line 198) | [Fact] method ToChatMessageFromStringDataValue (line 211) | [Fact] method ToChatMessageFromDataValueRecord (line 226) | [Fact] method ToChatMessageFromDataValueString (line 241) | [Fact] method ToChatMessageFromBlankDataValue (line 256) | [Fact] method ToChatMessageFromUnsupportedValue (line 269) | [Fact] method ToChatMessageFromRecordDataValue (line 279) | [Fact] method ToChatMessageWithImpliedRole (line 296) | [Fact] method ToChatMessageWithImageUrlContentType (line 321) | [Fact] method ToChatMessageWithWithImageDataContentType (line 337) | [Fact] method ToChatMessageWithWithImageFileContentType (line 353) | [Fact] method ToChatMessageWithUnsupportedContent (line 369) | [Fact] method ToChatMessageWithEmptyContent (line 390) | [Fact] method ToMetadataWithNull (line 406) | [Fact] method ToMetadataWithProperties (line 419) | [Fact] method ToChatRoleFromAgentMessageRole (line 437) | [Fact] method AgentMessageContentTypeToContentMissing (line 447) | [Fact] method AgentMessageContentTypeToContentText (line 455) | [Fact] method ToContentWithImageUrlContentType (line 467) | [Fact] method ToContentWithImageUrlContentTypeDataUri (line 479) | [Fact] method ToContentWithImageFileContentType (line 491) | [Fact] method ToChatMessageFromFunctionResultContents (line 503) | [Fact] method ToChatMessagesFromTableDataValueWithStrings (line 522) | [Fact] method ToChatMessagesFromTableDataValueWithRecords (line 542) | [Fact] method ToChatMessagesFromTableDataValueWithSingleColumnRecords (line 564) | [Fact] method ToRecordWithMessageContainingMultipleContentItems (line 586) | [Fact] method ToRecordWithMessageContainingUriContent (line 607) | [Fact] method ToRecordWithMessageContainingHostedFileContent (line 627) | [Fact] method ToRecordWithMessageContainingMetadata (line 647) | [Fact] method RoundTripChatMessageAsRecord (line 670) | [Fact] method RoundTripChatMessageAsTable (line 703) | [Fact] method AssertAIContentEquivalent (line 743) | private static void AssertAIContentEquivalent(AIContent expected, AICo... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/DataValueExtensionsTests.cs class DataValueExtensionsTests (line 15) | public sealed class DataValueExtensionsTests method ToDataValueWithNull (line 17) | [Fact] method ToDataValueWithUnassignedValue (line 30) | [Fact] method ToDataValueWithBooleanTrue (line 43) | [Fact] method ToDataValueWithBooleanFalse (line 57) | [Fact] method ToDataValueWithInt (line 71) | [Fact] method ToDataValueWithLong (line 85) | [Fact] method ToDataValueWithFloat (line 99) | [Fact] method ToDataValueWithDecimal (line 113) | [Fact] method ToDataValueWithDouble (line 127) | [Fact] method ToDataValueWithString (line 141) | [Fact] method ToDataValueWithDateTimeZeroTime (line 155) | [Fact] method ToDataValueWithDateTimeNonZeroTime (line 169) | [Fact] method ToDataValueWithTimeSpan (line 183) | [Fact] method ToDataValueWithDataValue (line 197) | [Fact] method ToDataValueWithFormulaValue (line 210) | [Fact] method ToFormulaWithNull (line 224) | [Fact] method ToFormulaWithBlankDataValue (line 237) | [Fact] method ToFormulaWithBooleanDataValue (line 250) | [Fact] method ToFormulaWithNumberDataValue (line 264) | [Fact] method ToFormulaWithFloatDataValue (line 278) | [Fact] method ToFormulaWithStringDataValue (line 292) | [Fact] method ToFormulaWithDateTimeDataValue (line 306) | [Fact] method ToFormulaWithDateDataValue (line 321) | [Fact] method ToFormulaWithTimeDataValue (line 336) | [Fact] method ToFormulaWithRecordDataValue (line 351) | [Fact] method ToFormulaWithTableDataValue (line 367) | [Fact] method ToFormulaTypeWithNull (line 383) | [Fact] method ToFormulaTypeWithBooleanDataValue (line 396) | [Fact] method ToFormulaTypeWithStringDataValue (line 409) | [Fact] method DataTypeToFormulaTypeWithNull (line 422) | [Fact] method DataTypeToFormulaTypeWithBooleanDataType (line 435) | [Fact] method DataTypeToFormulaTypeWithNumberDataType (line 448) | [Fact] method DataTypeToFormulaTypeWithFloatDataType (line 461) | [Fact] method DataTypeToFormulaTypeWithStringDataType (line 474) | [Fact] method DataTypeToFormulaTypeWithDateTimeDataType (line 487) | [Fact] method DataTypeToFormulaTypeWithDateDataType (line 500) | [Fact] method DataTypeToFormulaTypeWithTimeDataType (line 513) | [Fact] method ToObjectWithNull (line 526) | [Fact] method ToObjectWithBlankDataValue (line 539) | [Fact] method ToObjectWithBooleanDataValue (line 552) | [Fact] method ToObjectWithNumberDataValue (line 566) | [Fact] method ToObjectWithStringDataValue (line 580) | [Fact] method ToClrTypeWithBooleanDataType (line 594) | [Fact] method ToClrTypeWithNumberDataType (line 607) | [Fact] method ToClrTypeWithFloatDataType (line 620) | [Fact] method ToClrTypeWithStringDataType (line 633) | [Fact] method ToClrTypeWithDateTimeDataType (line 646) | [Fact] method ToClrTypeWithTimeDataType (line 659) | [Fact] method AsListWithNull (line 672) | [Fact] method AsListWithBlankDataValue (line 685) | [Fact] method NewBlankWithNullDataType (line 698) | [Fact] method NewBlankWithBooleanDataType (line 711) | [Fact] method ToRecordValueWithRecordDataValue (line 724) | [Fact] method ToRecordTypeWithRecordDataType (line 743) | [Fact] method ToRecordValueWithDictionary (line 781) | [Fact] method ToTableValueWithEmptyEnumerable (line 801) | [Fact] method ToTableValueWithDictionaryEnumerable (line 815) | [Fact] method ToTableValueWithPrimitiveEnumerable (line 832) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/DeclarativeWorkflowOptionsExtensionsTests.cs class DeclarativeWorkflowOptionsExtensionsTests (line 9) | public sealed class DeclarativeWorkflowOptionsExtensionsTests method NullContext_UsesDefaultMaximumExpressionLength (line 11) | [Fact] method OptionsWithoutLimits_UsesDefaults (line 25) | [Fact] method OptionsWithBothLimits (line 40) | [Fact] method CreateOptions (line 57) | private static DeclarativeWorkflowOptions CreateOptions( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/DialogBaseExtensionsTests.cs class DialogBaseExtensionsTests (line 11) | public sealed class DialogBaseExtensionsTests method WrapWithBotCreatesValidBotDefinition (line 13) | [Fact] method VerifyWrappedDialog (line 38) | private static void VerifyWrappedDialog(AdaptiveDialog wrappedDialog) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/ExpandoObjectExtensionsTests.cs class ExpandoObjectExtensionsTests (line 11) | public sealed class ExpandoObjectExtensionsTests method ToRecordTypeWithEmptyExpandoObject (line 13) | [Fact] method ToRecordTypeWithStringProperty (line 27) | [Fact] method ToRecordTypeWithMultipleProperties (line 46) | [Fact] method ToRecordTypeWithNullProperty (line 68) | [Fact] method ToRecordWithEmptyExpandoObject (line 88) | [Fact] method ToRecordWithStringProperty (line 102) | [Fact] method ToRecordWithMultiplePropertiesOfDifferentTypes (line 121) | [Fact] method ToRecordWithNestedExpandoObject (line 150) | [Fact] method ToRecordWithNullProperty (line 176) | [Fact] method ToRecordTypeAndToRecordAreConsistent (line 195) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/FormulaValueExtensionsTests.cs class FormulaValueExtensionsTests (line 12) | public class FormulaValueExtensionsTests method BooleanValue (line 14) | [Fact] method StringValues (line 28) | [Fact] method DecimalValues (line 44) | [Fact] method NumberValues (line 60) | [Fact] method BlankValues (line 76) | [Fact] method VoidValues (line 86) | [Fact] method DateValues (line 94) | [Fact] method DateTimeValues (line 111) | [Fact] method TimeValues (line 128) | [Fact] method RecordValues (line 144) | [Fact] method TableValues (line 188) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/JsonDocumentExtensionsTests.cs class JsonDocumentExtensionsTests (line 11) | public sealed class JsonDocumentExtensionsTests method ParseRecord_Object_PrimitiveFields_Succeeds (line 13) | [Fact] method ParseRecord_Object_NoSchema_Succeeds (line 61) | [Fact] method ParseRecord_Object_NestedRecord_Succeeds (line 93) | [Fact] method ParseRecord_NullRoot_ReturnsEmpty (line 134) | [Fact] method ParseRecord_ArrayWithSingleRecord_Succeeds (line 153) | [Fact] method ParseRecord_ArrayWithMultipleRecords_Throws (line 184) | [Fact] method ParseRecord_InvalidTargetType_Throws (line 206) | [Fact] method ParseRecord_InvalidRootKind_Throws (line 220) | [Fact] method ParseRecord_UnsupportedPropertyType_Throws (line 236) | [Fact] method ParseRecord_MissingRequiredProperty_Throws (line 255) | [Fact] method ParseRecord_MissingNullableProperty_Succeeds (line 271) | [Fact] method ParseList_NullRoot_ReturnsEmpty (line 292) | [Fact] method ParseList_Array_Primitives_Succeeds (line 305) | [Fact] method ParseList_PrimitiveRoot_WrappedAsSingleElement_Succeeds (line 321) | [Fact] method ParseList_Array_Records_Succeeds (line 335) | [Fact] method ParseList_InvalidTargetType_Throws (line 368) | [Fact] method ParseList_Array_MixedTypes_Throws (line 378) | [Fact] method ParseRecord_ObjectWithArrayOfObjects_NoSchema_PreservesNestedProperties (line 395) | [Fact] method ParseList_ArrayOfObjects_NoSchema_PreservesProperties (line 436) | [Fact] method GetListTypeFromJson_EmptyArray_ReturnsFallbackListType (line 463) | [Fact] method GetListTypeFromJson_ArrayOfPrimitives_ReturnsFallbackListType (line 477) | [Fact] method GetListTypeFromJson_ObjectWithStringField_InfersStringType (line 491) | [Fact] method GetListTypeFromJson_ObjectWithNumberField_InfersDecimalType (line 509) | [Fact] method GetListTypeFromJson_ObjectWithBooleanTrueField_InfersBoolType (line 527) | [Fact] method GetListTypeFromJson_ObjectWithBooleanFalseField_InfersBoolType (line 545) | [Fact] method GetListTypeFromJson_ObjectWithNestedObjectField_InfersRecordType (line 563) | [Fact] method GetListTypeFromJson_ObjectWithNestedArrayField_InfersListType (line 581) | [Fact] method GetListTypeFromJson_ObjectWithNullField_InfersStringTypeDefault (line 599) | [Fact] method GetListTypeFromJson_SkipsNonObjectElements_InfersFromFirstObject (line 617) | [Fact] method GetListTypeFromJson_ObjectWithAllFieldTypes_InfersCorrectTypes (line 635) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/ObjectExtensionsTests.cs class ObjectExtensionsTests (line 10) | public sealed class ObjectExtensionsTests method AsListWithNullInput (line 12) | [Fact] method AsListWithEmptyInput (line 20) | [Fact] method AsListWithSingleElement (line 28) | [Fact] method AsListWithMultipleInput (line 38) | [Fact] method ConvertSame (line 47) | [Fact] method ConvertFailure (line 58) | [Fact] method ConvertToString (line 66) | [Fact] method ConvertFromString (line 77) | [Fact] method ConvertJson (line 88) | [Fact] method VerifyConversion (line 107) | private static void VerifyConversion(object? sourceValue, VariableType... method VerifyInvalid (line 120) | private static void VerifyInvalid(object? sourceValue, VariableType ta... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/PortableValueExtensionsTests.cs class PortableValueExtensionsTests (line 15) | public sealed class PortableValueExtensionsTests method InvalidType (line 17) | [Fact] method NullType (line 20) | [Fact] method BooleanType (line 23) | [Fact] method StringType (line 26) | [Fact] method IntType (line 29) | [Fact] method LongType (line 32) | [Fact] method DecimalType (line 35) | [Fact] method FloatType (line 38) | [Fact] method DoubleType (line 41) | [Fact] method DateType (line 44) | [Fact] method DateTimeType (line 47) | [Fact] method TimeSpanType (line 50) | [Fact] method ChatMessageType (line 53) | [Fact] method ListEmptyType (line 56) | [Fact] method ListSimpleType (line 63) | [Fact] method ListComplexType (line 75) | [Fact] method DictionaryType (line 87) | [Fact] method ObjectType (line 98) | [Fact] method TestInvalidType (line 109) | private static void TestInvalidType(object? sourceValue) method TestValidType (line 117) | private static FormulaValue TestValidType(TValue? sourceValue,... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/StringExtensionsTests.cs class StringExtensionsTests (line 7) | public sealed class StringExtensionsTests method TrimJsonWithDelimiter (line 9) | [Fact] method TrimJsonWithPadding (line 34) | [Fact] method TrimJsonWithUnqualifiedDelimiter (line 61) | [Fact] method TrimJsonWithoutDelimiter (line 87) | [Fact] method TrimJsonWithoutDelimiterWithPadding (line 111) | [Fact] method TrimMissingWithDelimiter (line 136) | [Fact] method TrimEmptyString (line 153) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/TemplateExtensionsTests.cs class TemplateExtensionsTests (line 10) | public sealed class TemplateExtensionsTests method FormatTemplateWithTextSegments (line 12) | [Fact] method FormatTemplateWithMultipleLines (line 36) | [Fact] method FormatSingleTemplateLineWithNullValue (line 66) | [Fact] method FormatSingleTemplateLineWithTextSegment (line 80) | [Fact] method FormatTextSegmentWithNullValue (line 100) | [Fact] method FormatTextSegmentWithEmptyValue (line 114) | [Fact] method FormatTextSegmentWithValue (line 128) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Extensions/TypeExtensionsTests.cs class TypeExtensionsTests (line 8) | public sealed class TypeExtensionsTests method ReferenceType (line 10) | [Fact] method ClassType (line 13) | [Fact] method InterfaceType (line 16) | [Fact] method ArrayType (line 19) | [Fact] method NonNullableValueType (line 22) | [Fact] method NonNullableStructType (line 25) | [Fact] method NonNullableEnumType (line 28) | [Fact] method NullableInt (line 31) | [Fact] method NullableDateTime (line 34) | [Fact] method NullableEnum (line 37) | [Fact] method NullableCustomStruct (line 40) | [Fact] method VerifyNotNullable (line 43) | private static void VerifyNotNullable(Type targetType) method VerifyIsNullable (line 52) | private static void VerifyIsNullable(Type targetType) type TestStruct (line 61) | private struct TestStruct FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Interpreter/WorkflowModelTest.cs class DeclarativeWorkflowModelTest (line 10) | public sealed class DeclarativeWorkflowModelTest(ITestOutputHelper outpu... method GetDepthForDefault (line 12) | [Fact] method GetDepthForMissingNode (line 19) | [Fact] method ConnectMissingNode (line 26) | [Fact] method AddToMissingParent (line 36) | [Fact] method LinkFromMissingSource (line 43) | [Fact] method LocateMissingParent (line 50) | [Fact] class TestExecutor (line 58) | internal sealed class TestExecutor(string actionId) : IModeledAction class TestWorkflowBuilder (line 63) | internal sealed class TestWorkflowBuilder : IModelBuilder method Connect (line 65) | public void Connect(IModeledAction source, IModeledAction target, st... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Kit/VariableTypeTests.cs class VariableTypeTests (line 9) | public sealed class VariableTypeTests method IsValidPrimitivesReturnTrue (line 11) | [Fact] method IsValidUnsupportedTypeReturnFalse (line 25) | [Fact] method IsListForListTypeReturnTrue (line 32) | [Fact] method IsRecordForDictionaryInterfaceReturnTrue (line 41) | [Fact] method RecordFactoryCreatesSchema (line 50) | [Fact] method EqualsPrimitiveTypeEquality (line 72) | [Fact] method EqualsRecordEqualityIgnoresOrder (line 85) | [Fact] method EqualsRecordInequalityDifferentSchema (line 102) | [Fact] method GetHashCodePrimitiveConsistency (line 119) | [Fact] method GetHashCodeRecordConsistency (line 129) | [Fact] method HasSchemaFalseForNonRecord (line 138) | [Fact] method ImplicitOperatorFromTypeWrapsCorrectly (line 145) | [Fact] method EqualsNullAndDifferentTypes (line 153) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/MockAgentProvider.cs class MockAgentProvider (line 16) | internal sealed class MockAgentProvider : Mock method MockAgentProvider (line 22) | public MockAgentProvider() method CreateConversationId (line 51) | private string CreateConversationId() method CaptureChatMessage (line 59) | private ChatMessage CaptureChatMessage(ChatMessage message) method CreateMessages (line 66) | private List CreateMessages() method ToAsyncEnumerableAsync (line 80) | private static async IAsyncEnumerable ToAsyncEnumerableAs... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/AddConversationMessageExecutorTest.cs class AddConversationMessageExecutorTest (line 18) | public sealed class AddConversationMessageExecutorTest(ITestOutputHelper... method AddMessageSuccessfullyAsync (line 20) | [Theory] method AddMessageToWorkflowAsync (line 33) | [Theory] method AddMessageWithMetadataAsync (line 50) | [Theory] method ExecuteTestAsync (line 73) | private async Task ExecuteTestAsync( method CreateModel (line 109) | private AddConversationMessage CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/ClearAllVariablesExecutorTest.cs class ClearAllVariablesExecutorTest (line 13) | public sealed class ClearAllVariablesExecutorTest(ITestOutputHelper outp... method ClearGlobalScopeAsync (line 15) | [Fact] method ClearWorkflowScopeAsync (line 29) | [Fact] method ClearUserScopeAsync (line 42) | [Fact] method ClearWorkflowHistoryAsync (line 56) | [Fact] method ExecuteTestAsync (line 70) | private async Task ExecuteTestAsync( method CreateModel (line 102) | private ClearAllVariables CreateModel(string displayName, VariablesToC... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/ConditionGroupExecutorTest.cs class ConditionGroupExecutorTest (line 13) | public sealed class ConditionGroupExecutorTest(ITestOutputHelper output)... method ConditionGroupThrowsWhenModelInvalid (line 15) | [Fact] method ConditionGroupDefaultNaming (line 20) | [Fact] method ConditionGroupExplicitNaming (line 36) | [Fact] method ConditionGroupFirstConditionTrueAsync (line 52) | [Fact] method ConditionGroupSecondConditionTrueAsync (line 61) | [Fact] method ConditionGroupFirstConditionNullAsync (line 70) | [Fact] method ConditionGroupElseBranchAsync (line 79) | [Fact] method ConditionGroupDoneAsync (line 89) | [Fact] method ConditionGroupIsMatchTrue (line 105) | [Fact] method ConditionGroupIsMatchFalse (line 121) | [Fact] method ConditionGroupIsElseTrue (line 138) | [Fact] method ConditionGroupIsElseFalse (line 153) | [Fact] method ExecuteTestAsync (line 168) | private async Task ExecuteTestAsync( method CreateModel (line 189) | private ConditionGroup CreateModel( method CreateActions (line 223) | private ActionScope.Builder CreateActions(string? actionScopeId) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/CopyConversationMessagesExecutorTest.cs class CopyConversationMessagesExecutorTest (line 18) | public sealed class CopyConversationMessagesExecutorTest(ITestOutputHelp... method CopyMessagesWithSingleStringMessageAsync (line 20) | [Fact] method CopyMessagesWithSingleRecordMessageAsync (line 31) | [Fact] method CopyMessagesWithMultipleMessagesAsync (line 48) | [Fact] method CopyMessagesWithVariableExpressionAsync (line 70) | [Fact] method CopyMessagesToWorkflowConversationAsync (line 89) | [Fact] method CopyMessagesToNonWorkflowConversationAsync (line 112) | [Fact] method CopyMessagesWithBlankDataValueAsync (line 135) | [Fact] method ExecuteTestAsync (line 146) | private async Task ExecuteTestAsync( method CreateModel (line 186) | private CopyConversationMessages CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/CreateConversationExecutorTest.cs class CreateConversationExecutorTest (line 15) | public sealed class CreateConversationExecutorTest(ITestOutputHelper out... method CreateNewConversationAsync (line 17) | [Fact] method CreateMultipleConversationsAsync (line 26) | [Fact] method ExecuteTestAsync (line 35) | private async Task ExecuteTestAsync( method CreateModel (line 62) | private CreateConversation CreateModel(string displayName, string conv... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/DefaultActionExecutorTest.cs class DefaultActionExecutorTest (line 12) | public sealed class DefaultActionExecutorTest(ITestOutputHelper output) ... method ExecuteDefaultActionAsync (line 14) | [Fact] method ExecuteTestAsync (line 22) | private async Task ExecuteTestAsync(string displayName) method CreateModel (line 36) | private ResetVariable CreateModel(string displayName) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/EditTableExecutorTest.cs class EditTableExecutorTest (line 15) | public sealed class EditTableExecutorTest(ITestOutputHelper output) : Wo... method InvalidModelNullItemsVariable (line 17) | [Fact] method AddItemToTableAsync (line 22) | [Fact] method AddItemWithMultipleFieldsAsync (line 43) | [Fact] method AddItemToEmptyTableAsync (line 69) | [Fact] method RemoveItemFromTableAsync (line 93) | [Fact] method RemoveMultipleItemsFromTableAsync (line 114) | [Fact] method ClearTableAsync (line 138) | [Fact] method ClearEmptyTableAsync (line 157) | [Fact] method TakeFirstItemAsync (line 179) | [Fact] method TakeFirstFromEmptyTableAsync (line 200) | [Fact] method TakeLastItemAsync (line 223) | [Fact] method TakeLastFromEmptyTableAsync (line 244) | [Fact] method TakeFirstFromSingleItemTableAsync (line 267) | [Fact] method TakeLastFromSingleItemTableAsync (line 288) | [Fact] method ErrorWhenVariableIsNotTableAsync (line 309) | [Fact] method AddWithExpressionAsync (line 330) | [Fact] method RemoveWithNonTableValueAsync (line 356) | [Fact] method ExecuteTestAsync (line 381) | private async Task ExecuteTestAsync( method CreateModel (line 398) | private EditTable CreateModel( method CreateModel (line 413) | private EditTable CreateModel( method CreateModel (line 423) | private EditTable CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/EditTableV2ExecutorTest.cs class EditTableV2ExecutorTest (line 14) | public sealed class EditTableV2ExecutorTest(ITestOutputHelper output) : ... method InvalidModelNullItemsVariable (line 16) | [Fact] method InvalidModelVariableNotTableAsync (line 36) | [Fact] method InvalidModelAddItemOperationNullValueAsync (line 56) | [Fact] method InvalidModelRemoveItemOperationNullValueAsync (line 80) | [Fact] method RemoveItemOperationNonTableValueAsync (line 104) | [Fact] method AddItemOperationWithSingleFieldRecordAsync (line 138) | [Fact] method AddItemOperationWithScalarValueAsync (line 162) | [Fact] method ClearItemsOperationAsync (line 180) | [Fact] method RemoveItemOperationAsync (line 197) | [Fact] method TakeLastItemOperationWithItemsAsync (line 214) | [Fact] method TakeLastItemOperationEmptyTableAsync (line 235) | [Fact] method TakeFirstItemOperationWithItemsAsync (line 250) | [Fact] method TakeFirstItemOperationEmptyTableAsync (line 271) | [Fact] method ExecuteTestAsync (line 286) | private async Task ExecuteTestAsync( method CreateModel (line 307) | private EditTableV2 CreateModel(string displayName, string variableNam... method CreateAddItemOperation (line 320) | private AddItemOperation CreateAddItemOperation(DataValue value) method CreateRemoveItemOperation (line 328) | private RemoveItemOperation CreateRemoveItemOperation(string itemValue) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/ForeachExecutorTest.cs class ForeachExecutorTest (line 14) | public sealed class ForeachExecutorTest(ITestOutputHelper output) : Work... method ForeachThrowsWhenModelInvalid (line 16) | [Fact] method ForeachNamingConvention (line 21) | [Fact] method ForeachInvokedWithSingleValueAsync (line 38) | [Fact] method ForeachInvokedWithTableValueAsync (line 52) | [Fact] method ForeachInvokedWithIndexAsync (line 66) | [Fact] method ForeachInvokedWithExpressionAsync (line 84) | [Fact] method ForeachTakeNextAsync (line 99) | [Fact] method ForeachTakeNextWithIndexAsync (line 120) | [Fact] method ForeachTakeLastAsync (line 141) | [Fact] method ForeachTakeNextWhenDoneAsync (line 160) | [Fact] method ForeachCompletedWithoutIndexAsync (line 175) | [Fact] method ForeachCompletedWithIndexAsync (line 188) | [Fact] method SetVariableState (line 201) | private void SetVariableState(string valueName, string? indexName = nu... method ExecuteTestAsync (line 210) | private async Task ExecuteTestAsync( method TakeNextTestAsync (line 244) | private async Task TakeNextTestAsync( method CompletedTestAsync (line 265) | private async Task CompletedTestAsync( method CreateModel (line 294) | private Foreach CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/InvokeFunctionToolExecutorTest.cs class InvokeFunctionToolExecutorTest (line 15) | public sealed class InvokeFunctionToolExecutorTest(ITestOutputHelper out... method InvokeFunctionToolThrowsWhenModelInvalid (line 19) | [Fact] method InvokeFunctionToolNamingConvention (line 24) | [Fact] method InvokeFunctionToolExecuteWithoutApprovalAsync (line 43) | [Fact] method InvokeFunctionToolExecuteWithArgumentsAsync (line 57) | [Fact] method InvokeFunctionToolExecuteWithRequireApprovalAsync (line 72) | [Fact] method InvokeFunctionToolExecuteWithEmptyConversationIdAsync (line 86) | [Fact] method InvokeFunctionToolExecuteWithNullArgumentsAsync (line 100) | [Fact] method InvokeFunctionToolExecuteWithNullRequireApprovalAsync (line 114) | [Fact] method InvokeFunctionToolExecuteWithNullConversationIdAsync (line 128) | [Fact] method InvokeFunctionToolCaptureResponseWithNoOutputConfiguredAsync (line 146) | [Fact] method InvokeFunctionToolCaptureResponseWithEmptyMessagesAsync (line 168) | [Fact] method InvokeFunctionToolCaptureResponseWithConversationIdAsync (line 190) | [Fact] method InvokeFunctionToolCaptureResponseWithNonMatchingResultAsync (line 214) | [Fact] method InvokeFunctionToolCaptureResponseWithMultipleFunctionResultsAsync (line 237) | [Fact] method ExecuteTestAsync (line 266) | private async Task ExecuteTestAsync(InvokeFunctionTool model) method ExecuteCaptureResponseTestAsync (line 282) | private async Task ExecuteCaptureResponseTestAsync( method CreateModel (line 292) | private InvokeFunctionTool CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/InvokeMcpToolExecutorTest.cs class InvokeMcpToolExecutorTest (line 19) | public sealed class InvokeMcpToolExecutorTest(ITestOutputHelper output) ... method InvokeMcpToolThrowsWhenModelInvalid (line 27) | [Fact] method InvokeMcpToolNamingConvention (line 42) | [Fact] method RequiresInputReturnsTrueForExternalInputRequest (line 61) | [Fact] method RequiresInputReturnsFalseForOtherTypes (line 74) | [Fact] method RequiresNothingReturnsTrueForActionExecutorResult (line 83) | [Fact] method RequiresNothingReturnsFalseForOtherTypes (line 96) | [Fact] method InvokeMcpToolExecuteWithoutApprovalAsync (line 109) | [Fact] method InvokeMcpToolExecuteWithServerLabelAsync (line 124) | [Fact] method InvokeMcpToolExecuteWithArgumentsAsync (line 139) | [Fact] method InvokeMcpToolExecuteWithHeadersAsync (line 155) | [Fact] method InvokeMcpToolExecuteWithRequireApprovalAsync (line 171) | [Fact] method InvokeMcpToolExecuteWithEmptyConversationIdAsync (line 186) | [Fact] method InvokeMcpToolExecuteWithNullArgumentsAsync (line 201) | [Fact] method InvokeMcpToolExecuteWithNullRequireApprovalAsync (line 216) | [Fact] method InvokeMcpToolExecuteWithNullConversationIdAsync (line 231) | [Fact] method InvokeMcpToolExecuteWithEmptyServerLabelAsync (line 246) | [Fact] method InvokeMcpToolExecuteWithConversationIdAsync (line 261) | [Fact] method InvokeMcpToolExecuteWithRequireApprovalAndHeadersAsync (line 276) | [Fact] method InvokeMcpToolExecuteWithEmptyHeaderValueAsync (line 293) | [Fact] method InvokeMcpToolExecuteWithJsonObjectResultAsync (line 309) | [Fact] method InvokeMcpToolExecuteWithJsonArrayResultAsync (line 330) | [Fact] method InvokeMcpToolExecuteWithInvalidJsonResultAsync (line 351) | [Fact] method InvokeMcpToolExecuteWithDataContentResultAsync (line 372) | [Fact] method InvokeMcpToolExecuteWithEmptyOutputAsync (line 393) | [Fact] method InvokeMcpToolExecuteWithNullOutputAsync (line 414) | [Fact] method InvokeMcpToolExecuteWithMultipleContentTypesAsync (line 435) | [Fact] method InvokeMcpToolCaptureResponseWithApprovalApprovedAsync (line 460) | [Fact] method InvokeMcpToolCaptureResponseWithApprovalRejectedAsync (line 488) | [Fact] method InvokeMcpToolCaptureResponseWithEmptyMessagesAsync (line 516) | [Fact] method InvokeMcpToolCaptureResponseWithNonMatchingApprovalIdAsync (line 540) | [Fact] method InvokeMcpToolCaptureResponseWithApprovedAndArgumentsAsync (line 567) | [Fact] method InvokeMcpToolCaptureResponseWithApprovedAndHeadersAsync (line 597) | [Fact] method InvokeMcpToolCaptureResponseWithApprovedAndConversationIdAsync (line 628) | [Fact] method InvokeMcpToolCompleteAsyncRaisesCompletionEventAsync (line 662) | [Fact] method ExecuteTestAsync (line 688) | private async Task ExecuteTestAsync(InvokeMcpTool model) method ExecuteCaptureResponseTestAsync (line 705) | private async Task ExecuteCaptureResponseTestAsync( method ExecuteCompleteTestAsync (line 715) | private async Task ExecuteCompleteTestAsync( method CreateModel (line 725) | private InvokeMcpTool CreateModel( class MockMcpToolProvider (line 776) | private sealed class MockMcpToolProvider : Mock method MockMcpToolProvider (line 778) | public MockMcpToolProvider( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/ParseValueExecutorTest.cs class ParseValueExecutorTest (line 13) | public sealed class ParseValueExecutorTest(ITestOutputHelper output) : W... method ParseRecordAsync (line 15) | [Fact] method ParseTableAsync (line 36) | [Fact] method ParseBooleanAsync (line 47) | [Fact] method ParseNumberAsync (line 58) | [Fact] method ParseStringAsync (line 69) | [Fact] method ExecuteTestAsync (line 80) | private async Task ExecuteTestAsync( method CreateModel (line 102) | private ParseValue CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/QuestionExecutorTest.cs class QuestionExecutorTest (line 21) | public sealed class QuestionExecutorTest(ITestOutputHelper output) : Wor... method QuestionNamingConvention (line 23) | [Fact] method QuestionIsComplete (line 40) | [Theory] method QuestionExecuteWithResultUndefinedAsync (line 56) | [Fact] method QuestionExecuteWithAlwaysPromptAsync (line 68) | [Fact] method QuestionExecuteWithSkipModeAsyncWithResultUndefinedAsync (line 82) | [Theory] method QuestionExecuteWithSkipModeAsyncWithResultDefinedAsync (line 98) | [Theory] method QuestionPrepareResponseAsync (line 115) | [Fact] method QuestionCaptureResponseWithValidEntityAsync (line 128) | [Fact] method QuestionCaptureResponseWithInvalidEntityAsync (line 147) | [Theory] method QuestionCaptureResponseWithUnrecognizedResponseAsync (line 167) | [Theory] method QuestionCaptureResponseWithUnsupportedPromptAsync (line 186) | [Fact] method QuestionCaptureResponseExceedingRepeatCountAsync (line 210) | [Theory] method QuestionCaptureResponseWithAutoSendFalseAsync (line 231) | [Fact] method QuestionCaptureResponseWithAutoSendTrueAsync (line 247) | [Fact] method QuestionCaptureResponseWithAutoSendInvalidAsync (line 264) | [Fact] method QuestionCompleteAsync (line 280) | [Fact] method ExecuteTestAsync (line 293) | private async Task ExecuteTestAsync(Question model, bool expectPrompt) method PrepareResponseTestAsync (line 321) | private async Task PrepareResponseTestAsync( method CaptureResponseTestAsync (line 358) | private async Task CaptureResponseTestAsync( method CompleteTestAsync (line 413) | private async Task CompleteTestAsync(Question model) method CreateModel (line 429) | private Question CreateModel( method CreateOptionalMessageActivity (line 493) | private static MessageActivityTemplate.Builder? CreateOptionalMessageA... method CreateMessageActivity (line 496) | private static MessageActivityTemplate.Builder CreateMessageActivity(s... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/RequestExternalInputExecutorTest.cs class RequestExternalInputExecutorTest (line 20) | public sealed class RequestExternalInputExecutorTest(ITestOutputHelper o... method RequestExternalInputNamingConvention (line 22) | [Fact] method ExecuteRequestsExternalInputAsync (line 37) | [Fact] method CaptureResponseWithVariableAsync (line 46) | [Fact] method CaptureResponseWithoutVariableAsync (line 55) | [Fact] method CaptureResponseWithMultipleMessagesAsync (line 64) | [Fact] method CaptureResponseWithWorkflowConversationAsync (line 74) | [Fact] method ExecuteTestAsync (line 88) | private async Task ExecuteTestAsync( method CaptureResponseTestAsync (line 104) | private async Task CaptureResponseTestAsync( method CreateModel (line 147) | private RequestExternalInput CreateModel(string displayName, string? v... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/ResetVariableExecutorTest.cs class ResetVariableExecutorTest (line 13) | public sealed class ResetVariableExecutorTest(ITestOutputHelper output) ... method ResetDefinedValueAsync (line 15) | [Fact] method ResetUndefinedValueAsync (line 37) | [Fact] method CreateModel (line 58) | private ResetVariable CreateModel(string displayName, string variableP... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/RetrieveConversationMessageExecutorTest.cs class RetrieveConversationMessageExecutorTest (line 15) | public sealed class RetrieveConversationMessageExecutorTest(ITestOutputH... method RetrieveMessageSuccessfullyAsync (line 17) | [Fact] method ExecuteTestAsync (line 25) | private async Task ExecuteTestAsync( method CreateModel (line 50) | private RetrieveConversationMessage CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/RetrieveConversationMessagesExecutorTest.cs class RetrieveConversationMessagesExecutorTest (line 13) | public sealed class RetrieveConversationMessagesExecutorTest(ITestOutput... method RetrieveAllMessagesSuccessfullyAsync (line 15) | [Fact] method RetrieveMessagesWithOptionalValuesAsync (line 25) | [Fact] method ExecuteTestAsync (line 39) | private async Task ExecuteTestAsync( method CreateModel (line 72) | private RetrieveConversationMessages CreateModel( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/SendActivityExecutorTest.cs class SendActivityExecutorTest (line 12) | public sealed class SendActivityExecutorTest(ITestOutputHelper output) :... method CaptureActivityAsync (line 14) | [Fact] method CreateModel (line 32) | private SendActivity CreateModel(string displayName, string activityMe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/SetMultipleVariablesExecutorTest.cs class SetMultipleVariablesExecutorTest (line 14) | public sealed class SetMultipleVariablesExecutorTest(ITestOutputHelper o... method SetMultipleVariablesAsync (line 16) | [Fact] method SetMultipleVariablesWithExpressionsAsync (line 29) | [Fact] method SetMultipleVariablesWithVariableReferencesAsync (line 46) | [Fact] method SetMultipleVariablesWithNullValuesAsync (line 62) | [Fact] method SetMultipleVariablesWithNullVariableAsync (line 75) | [Fact] method SetMultipleVariablesUpdateExistingAsync (line 88) | [Fact] method SetMultipleVariablesEmptyAssignmentsAsync (line 105) | [Fact] method ExecuteTestAsync (line 119) | private async Task ExecuteTestAsync(string displayName, AssignmentCase... method CreateModel (line 136) | private SetMultipleVariables CreateModel(string displayName, Assignmen... type AssignmentCase (line 170) | private sealed record AssignmentCase(string? VariableName, object? Val... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/SetTextVariableExecutorTest.cs class SetTextVariableExecutorTest (line 13) | public sealed class SetTextVariableExecutorTest(ITestOutputHelper output... method SetLiteralValueAsync (line 15) | [Fact] method UpdateExistingValueAsync (line 25) | [Fact] method ExecuteTestAsync (line 38) | private async Task ExecuteTestAsync( method CreateModel (line 59) | private SetTextVariable CreateModel(string displayName, string variabl... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/SetVariableExecutorTest.cs class SetVariableExecutorTest (line 13) | public sealed class SetVariableExecutorTest(ITestOutputHelper output) : ... method InvalidModel (line 15) | [Fact] method SetNumericValueAsync (line 20) | [Fact] method SetStringValueAsync (line 29) | [Fact] method SetBooleanValueAsync (line 38) | [Fact] method SetBooleanExpressionAsync (line 47) | [Fact] method SetNumberExpressionAsync (line 61) | [Fact] method SetStringExpressionAsync (line 75) | [Fact] method SetBooleanVariableAsync (line 89) | [Fact] method SetNumberVariableAsync (line 105) | [Fact] method SetStringVariableAsync (line 121) | [Fact] method UpdateExistingValueAsync (line 137) | [Fact] method ExecuteTestAsync (line 151) | private Task ExecuteTestAsync( method ExecuteTestAsync (line 164) | private async Task ExecuteTestAsync( method CreateModel (line 188) | private SetVariable CreateModel(string displayName, string variablePat... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/ObjectModel/WorkflowActionExecutorTest.cs class WorkflowActionExecutorTest (line 20) | public abstract class WorkflowActionExecutorTest(ITestOutputHelper outpu... method CreateActionId (line 24) | protected ActionId CreateActionId() => new($"{this.GetType().Name}_{Gu... method FormatDisplayName (line 26) | protected string FormatDisplayName(string name) => $"{this.GetType().N... method ExecuteAsync (line 28) | internal Task ExecuteAsync(string actionId, DelegateA... method ExecuteAsync (line 31) | internal Task ExecuteAsync(Executor executor, string ... method ExecuteAsync (line 34) | internal async Task ExecuteAsync(DeclarativeActionExe... method ExecuteAsync (line 40) | internal async Task ExecuteAsync(Executor[] executors... method VerifyModel (line 78) | internal static void VerifyModel(DialogAction model, DeclarativeAction... method VerifyIsDiscrete (line 84) | internal static void VerifyIsDiscrete(DeclarativeActionExecutor action... method VerifyInvocationEvent (line 93) | protected static void VerifyInvocationEvent(WorkflowEvent[] events) => method VerifyCompletionEvent (line 96) | protected static void VerifyCompletionEvent(WorkflowEvent[] events) => method VerifyState (line 99) | protected void VerifyState(string variableName, FormulaValue expectedV... method VerifyState (line 101) | protected void VerifyState(string variableName, string scopeName, Form... method VerifyUndefined (line 107) | protected void VerifyUndefined(string variableName, string? scopeName ... method AssignParent (line 110) | protected static TAction AssignParent(DialogAction.Builder ac... class TestWorkflowExecutor (line 125) | internal sealed class TestWorkflowExecutor() : Executor EvaluateExpression(BoolExpression expre... method EvaluateInvalidExpression (line 453) | private void EvaluateInvalidExpression(BoolExpression expr... method EvaluateExpression (line 457) | private EvaluationResult EvaluateExpression(StringExpression e... method EvaluateInvalidExpression (line 460) | private void EvaluateInvalidExpression(StringExpression ex... method EvaluateExpression (line 464) | private EvaluationResult EvaluateExpression(IntExpression expres... method EvaluateInvalidExpression (line 467) | private void EvaluateInvalidExpression(IntExpression expre... method EvaluateExpression (line 471) | private EvaluationResult EvaluateExpression(NumberExpression e... method EvaluateInvalidExpression (line 474) | private void EvaluateInvalidExpression(NumberExpression ex... method EvaluateExpression (line 478) | private EvaluationResult EvaluateExpression(ValueExpression... method EvaluateInvalidExpression (line 481) | private void EvaluateInvalidExpression(ValueExpression exp... method EvaluateExpression (line 485) | private EvaluationResult EvaluateExpression(EnumExpressi... method EvaluateInvalidExpression (line 489) | private void EvaluateInvalidExpression(EnumExpressi... method EvaluateExpression (line 494) | private EvaluationResult EvaluateExpression(ObjectExp... method EvaluateInvalidExpression (line 498) | private void EvaluateInvalidExpression(ObjectExpre... method EvaluateExpression (line 503) | private ImmutableArray EvaluateExpression(ArrayExpress... method EvaluateInvalidExpression (line 506) | private void EvaluateInvalidExpression(ArrayExpres... method EvaluateExpression (line 510) | private ImmutableArray EvaluateExpression(ArrayExpress... method EvaluateInvalidExpression (line 513) | private void EvaluateInvalidExpression(ArrayExpres... method EvaluateExpression (line 517) | private EvaluationResult EvaluateExpression( method EvaluateArrayExpression (line 532) | private ImmutableArray EvaluateArrayExpression( method EvaluateInvalidExpression (line 546) | private void EvaluateInvalidExpression(Action throw new NotSupp... method CreateLogger (line 19) | public ILogger CreateLogger(string categoryName) => this; method IsEnabled (line 21) | public bool IsEnabled(LogLevel logLevel) => true; method WriteLine (line 23) | public override void WriteLine(object? value) => this.SafeWrite($"{val... method WriteLine (line 25) | public override void WriteLine(string? format, params object?[] arg) =... method WriteLine (line 27) | public override void WriteLine(string? value) => this.SafeWrite(value ... method Write (line 29) | public override void Write(object? value) => this.SafeWrite($"{value}"); method Write (line 31) | public override void Write(char[]? buffer) => this.SafeWrite(new strin... method BeginScope (line 33) | public IDisposable BeginScope(TState state) where TState : not... method Log (line 39) | public void Log(LogLevel logLevel, EventId eventId, TState sta... method SafeWrite (line 46) | private void SafeWrite(string value) class LoggerScope (line 59) | private sealed class LoggerScope(Action action) : IDisposable method Dispose (line 63) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/WorkflowTest.cs class WorkflowTest (line 12) | public abstract class WorkflowTest : IDisposable method WorkflowTest (line 16) | protected WorkflowTest(ITestOutputHelper output) method Dispose (line 23) | public void Dispose() method Dispose (line 29) | protected virtual void Dispose(bool isDisposing) method SetProduct (line 37) | protected static void SetProduct() method FormatOptionalPath (line 45) | internal static string? FormatOptionalPath(string? variableName, strin... method FormatVariablePath (line 48) | internal static string FormatVariablePath(string variableName, string?... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/AddConversationMessage.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class WorkflowTestRootExecutor (line 38) | internal sealed class WorkflowTestRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class AddMessageExecutor (line 55) | internal sealed class AddMessageExecutor(FormulaSession session, Respo... method ExecuteAsync (line 58) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method GetContentAsync (line 72) | private async ValueTask> GetContentAsync(IWorkflowC... method GetMetadata (line 85) | private AdditionalPropertiesDictionary? GetMetadata() method CreateWorkflow (line 98) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/CancelWorkflow.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SendActivity1Executor (line 52) | internal sealed class SendActivity1Executor(FormulaSession session) : ... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 70) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/ClearAllVariables.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class ClearAllExecutor (line 52) | internal sealed class ClearAllExecutor(FormulaSession session) : Actio... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 64) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/Condition.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetvariableTestExecutor (line 54) | internal sealed class SetvariableTestExecutor(FormulaSession session) ... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ConditiongroupTestExecutor (line 69) | internal sealed class ConditiongroupTestExecutor(FormulaSession sessio... method ExecuteAsync (line 72) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendactivityOddExecutor (line 93) | internal sealed class SendactivityOddExecutor(FormulaSession session) ... method ExecuteAsync (line 96) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendactivityEvenExecutor (line 114) | internal sealed class SendactivityEvenExecutor(FormulaSession session)... method ExecuteAsync (line 117) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ActivityFinalExecutor (line 135) | internal sealed class ActivityFinalExecutor(FormulaSession session) : ... method ExecuteAsync (line 138) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 153) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/ConditionElse.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetvariableTestExecutor (line 54) | internal sealed class SetvariableTestExecutor(FormulaSession session) ... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ConditiongroupTestExecutor (line 69) | internal sealed class ConditiongroupTestExecutor(FormulaSession sessio... method ExecuteAsync (line 72) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendactivityOddExecutor (line 87) | internal sealed class SendactivityOddExecutor(FormulaSession session) ... method ExecuteAsync (line 90) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendactivityElseExecutor (line 108) | internal sealed class SendactivityElseExecutor(FormulaSession session)... method ExecuteAsync (line 111) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ActivityFinalExecutor (line 129) | internal sealed class ActivityFinalExecutor(FormulaSession session) : ... method ExecuteAsync (line 132) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 147) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/CopyConversationMessages.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class WorkflowTestRootExecutor (line 38) | internal sealed class WorkflowTestRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class CopyMessagesExecutor (line 52) | internal sealed class CopyMessagesExecutor(FormulaSession session, Res... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 74) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/CreateConversation.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class WorkflowTestRootExecutor (line 38) | internal sealed class WorkflowTestRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class ConversationCreateExecutor (line 54) | internal sealed class ConversationCreateExecutor(FormulaSession sessio... method ExecuteAsync (line 56) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 67) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/EditTable.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetVarExecutor (line 54) | internal sealed class SetVarExecutor(FormulaSession session) : ActionE... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 66) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/EditTableV2.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetVarExecutor (line 54) | internal sealed class SetVarExecutor(FormulaSession session) : ActionE... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 66) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/EndConversation.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SendActivity1Executor (line 52) | internal sealed class SendActivity1Executor(FormulaSession session) : ... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 70) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/EndWorkflow.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SendActivity1Executor (line 52) | internal sealed class SendActivity1Executor(FormulaSession session) : ... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 70) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/Goto.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SendActivity1Executor (line 52) | internal sealed class SendActivity1Executor(FormulaSession session) : ... method ExecuteAsync (line 55) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendActivity2Executor (line 73) | internal sealed class SendActivity2Executor(FormulaSession session) : ... method ExecuteAsync (line 76) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendActivity3Executor (line 94) | internal sealed class SendActivity3Executor(FormulaSession session) : ... method ExecuteAsync (line 97) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 112) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/InvokeAgent.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class InvokeAgentExecutor (line 57) | internal sealed class InvokeAgentExecutor(FormulaSession session, Resp... method ExecuteAsync (line 60) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 91) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/LoopBreak.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class ForeachLoopExecutor (line 56) | internal sealed class ForeachLoopExecutor(FormulaSession session) : Ac... method ExecuteAsync (line 64) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method TakeNextAsync (line 89) | public async ValueTask TakeNextAsync(IWorkflowContext context, objec... method CompleteAsync (line 102) | public async ValueTask CompleteAsync(IWorkflowContext context, objec... method ResetAsync (line 107) | private async ValueTask ResetAsync(IWorkflowContext context, Cancell... class SetVariableInnerExecutor (line 117) | internal sealed class SetVariableInnerExecutor(FormulaSession session)... method ExecuteAsync (line 120) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendActivityInnerExecutor (line 132) | internal sealed class SendActivityInnerExecutor(FormulaSession session... method ExecuteAsync (line 135) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 150) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/LoopContinue.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class ForeachLoopExecutor (line 56) | internal sealed class ForeachLoopExecutor(FormulaSession session) : Ac... method ExecuteAsync (line 64) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method TakeNextAsync (line 89) | public async ValueTask TakeNextAsync(IWorkflowContext context, objec... method CompleteAsync (line 102) | public async ValueTask CompleteAsync(IWorkflowContext context, objec... method ResetAsync (line 107) | private async ValueTask ResetAsync(IWorkflowContext context, Cancell... class SetVariableInnerExecutor (line 117) | internal sealed class SetVariableInnerExecutor(FormulaSession session)... method ExecuteAsync (line 120) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendActivityInnerExecutor (line 132) | internal sealed class SendActivityInnerExecutor(FormulaSession session... method ExecuteAsync (line 135) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 150) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/LoopEach.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class ForeachLoopExecutor (line 56) | internal sealed class ForeachLoopExecutor(FormulaSession session) : Ac... method ExecuteAsync (line 64) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method TakeNextAsync (line 89) | public async ValueTask TakeNextAsync(IWorkflowContext context, objec... method CompleteAsync (line 102) | public async ValueTask CompleteAsync(IWorkflowContext context, objec... method ResetAsync (line 107) | private async ValueTask ResetAsync(IWorkflowContext context, Cancell... class SetVariableInnerExecutor (line 117) | internal sealed class SetVariableInnerExecutor(FormulaSession session)... method ExecuteAsync (line 120) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class SendActivityInnerExecutor (line 132) | internal sealed class SendActivityInnerExecutor(FormulaSession session... method ExecuteAsync (line 135) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 150) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/ParseValue.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetVarExecutor (line 55) | internal sealed class SetVarExecutor(FormulaSession session) : ActionE... method ExecuteAsync (line 58) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ParseVarExecutor (line 70) | internal sealed class ParseVarExecutor(FormulaSession session) : Actio... method ExecuteAsync (line 73) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 83) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/ResetVariable.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetVarExecutor (line 54) | internal sealed class SetVarExecutor(FormulaSession session) : ActionE... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ClearVarExecutor (line 70) | internal sealed class ClearVarExecutor(FormulaSession session) : Actio... method ExecuteAsync (line 72) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 80) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/RetrieveConversationMessage.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class WorkflowTestRootExecutor (line 38) | internal sealed class WorkflowTestRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class GetMessageSingleExecutor (line 56) | internal sealed class GetMessageSingleExecutor(FormulaSession session,... method ExecuteAsync (line 59) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 70) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/RetrieveConversationMessages.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class WorkflowTestRootExecutor (line 38) | internal sealed class WorkflowTestRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class GetMessagesAllExecutor (line 54) | internal sealed class GetMessagesAllExecutor(FormulaSession session, R... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 83) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/SendActivity.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetInputExecutor (line 54) | internal sealed class SetInputExecutor(FormulaSession session) : Actio... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... class ActivityInputExecutor (line 69) | internal sealed class ActivityInputExecutor(FormulaSession session) : ... method ExecuteAsync (line 72) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 87) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/SetTextVariable.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetTextExecutor (line 54) | internal sealed class SetTextExecutor(FormulaSession session) : Action... method ExecuteAsync (line 56) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 69) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Workflows/SetVariable.cs class WorkflowProvider (line 33) | public static class WorkflowProvider class MyWorkflowRootExecutor (line 38) | internal sealed class MyWorkflowRootExecutor( method ExecuteAsync (line 44) | protected override async ValueTask ExecuteAsync(TInput message, IWor... class SetVarExecutor (line 54) | internal sealed class SetVarExecutor(FormulaSession session) : ActionE... method ExecuteAsync (line 57) | protected override async ValueTask ExecuteAsync(IWorkflowCo... method CreateWorkflow (line 66) | public static Workflow CreateWorkflow( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Generators.UnitTests/ExecutorRouteGeneratorTests.cs class ExecutorRouteGeneratorTests (line 12) | public class ExecutorRouteGeneratorTests method SingleHandler_VoidReturn_GeneratesCorrectRoute (line 16) | [Fact] method SingleHandler_ValueTaskReturn_GeneratesCorrectRoute (line 46) | [Fact] method SingleHandler_WithOutput_GeneratesCorrectRoute (line 76) | [Fact] method SingleHandler_WithCancellationToken_GeneratesCorrectRoute (line 106) | [Fact] method MultipleHandlers_GeneratesAllRoutes (line 140) | [Fact] method Handler_WithYieldTypes_GeneratesConfigureYieldTypes (line 182) | [Fact] method Handler_WithSendTypes_GeneratesConfigureSentTypes (line 213) | [Fact] method ClassLevel_SendsMessageAttribute_GeneratesConfigureSentTypes (line 243) | [Fact] method ClassLevel_YieldsOutputAttribute_GeneratesConfigureYieldTypes (line 274) | [Fact] method NestedClass_SingleLevel_GeneratesCorrectPartialHierarchy (line 309) | [Fact] method NestedClass_TwoLevels_GeneratesCorrectPartialHierarchy (line 342) | [Fact] method NestedClass_ThreeLevels_GeneratesCorrectPartialHierarchy (line 378) | [Fact] method NestedClass_WithoutNamespace_GeneratesCorrectly (line 417) | [Fact] method NestedClass_GeneratedCodeCompiles (line 449) | [Fact] method NestedClass_BraceBalancing_IsCorrect (line 493) | [Fact] method PartialClass_SplitAcrossFiles_GeneratesCorrectly (line 543) | [Fact] method PartialClass_HandlersInBothFiles_GeneratesAllHandlers (line 606) | [Fact] method PartialClass_SendsYieldsInBothFiles_GeneratesAllOverrides (line 653) | [Fact] method NonPartialClass_ProducesDiagnosticAndNoSource (line 710) | [Fact] method NonExecutorClass_ProducesDiagnostic (line 739) | [Fact] method StaticHandler_ProducesDiagnostic (line 761) | [Fact] method MissingWorkflowContext_ProducesDiagnostic (line 785) | [Fact] method WrongSecondParameter_ProducesDiagnostic (line 809) | [Fact] method ClassWithManualConfigureProtocol_DoesNotGenerate (line 837) | [Fact] method ClassWithNoMessageHandlers_DoesNotGenerate (line 868) | [Fact] method ProtocolOnly_MultipleSendsMessageAttributes_GeneratesAllTypes (line 895) | [Fact] method ProtocolOnly_NonPartialClass_ProducesDiagnostic (line 930) | [Fact] method ProtocolOnly_NonExecutorClass_ProducesDiagnostic (line 957) | [Fact] method ProtocolOnly_NestedClass_GeneratesCorrectPartialHierarchy (line 983) | [Fact] method ProtocolOnly_GenericExecutor_GeneratesCorrectly (line 1019) | [Fact] method ProtocolOnly_DerivesFromExecutorOfT_GeneratesBaseCall (line 1049) | [Fact] method ProtocolOnly_DerivesDirectlyFromExecutor_DoesNotGenerateBaseCall (line 1092) | [Fact] method GenericExecutor_GeneratesCorrectly (line 1132) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Generators.UnitTests/GeneratorTestHelper.cs class GeneratorTestHelper (line 20) | public static class GeneratorTestHelper method RunGenerator (line 25) | public static GeneratorRunResult RunGenerator(string source) => RunGen... method RunGenerator (line 31) | public static GeneratorRunResult RunGenerator(params string[] sources) method AssertGeneratesSource (line 59) | public static void AssertGeneratesSource(string source, string expecte... method AssertGeneratesNoSource (line 72) | public static void AssertGeneratesNoSource(string source) method AssertProducesDiagnostic (line 81) | public static void AssertProducesDiagnostic(string source, string diag... method AssertCompilationSucceeds (line 93) | public static void AssertCompilationSucceeds(string source) method GetMetadataReferences (line 104) | private static ImmutableArray GetMetadataReferences() type GeneratorRunResult (line 142) | public record GeneratorRunResult( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.Generators.UnitTests/SyntaxTreeFluentExtensions.cs class SyntaxTreeAssertions (line 11) | internal sealed class SyntaxTreeAssertions : ObjectAssertions AddHandler(string handlerName) method AddHandler (line 33) | public AndConstraint AddHandler(string handlerNa... method AddHandler (line 46) | public AndConstraint AddHandler(string handlerNa... method AddHandler (line 59) | public AndConstraint AddHandler(string hand... method AddHandler (line 66) | public AndConstraint AddHandler(strin... method HaveNoHandlers (line 74) | public AndConstraint HaveNoHandlers() method RegisterSentMessageType (line 85) | public AndConstraint RegisterSentMessageType(str... method RegisterSentMessageType (line 98) | public AndConstraint RegisterSentMessageType NotRegisterSentMessageTypes() method RegisterYieldedOutputType (line 116) | public AndConstraint RegisterYieldedOutputType(s... method RegisterYieldedOutputType (line 129) | public AndConstraint RegisterYieldedOutputType NotRegisterYieldedOutputTyp... method ContainPartialDeclaration (line 147) | private AndConstraint ContainPartialDeclaration(... method DeclarePartialsInCorrectOrder (line 158) | private AndConstraint DeclarePartialsInCorrectOr... method HaveHierarchy (line 169) | public AndConstraint HaveHierarchy(params string... method HaveNamespace (line 194) | public AndConstraint HaveNamespace() method NotHaveNamespace (line 205) | public AndConstraint NotHaveNamespace() class SyntaxTreeFluentExtensions (line 217) | internal static class SyntaxTreeFluentExtensions method Should (line 219) | public static SyntaxTreeAssertions Should(this SyntaxTree syntaxTree) ... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/AIAgentHostExecutorTests.cs class AIAgentHostExecutorTests (line 13) | public class AIAgentHostExecutorTests method Test_AgentHostExecutor_EmitsStreamingUpdatesIFFConfiguredAsync (line 27) | [Theory] method Test_AgentHostExecutor_EmitsResponseIFFConfiguredAsync (line 79) | [Theory] method Test_AgentHostExecutor_ReassignsRolesIFFConfiguredAsync (line 125) | [Theory] method Test_AgentHostExecutor_InterceptsRequestsIFFConfiguredAsync (line 185) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/AgentEventsTests.cs class AgentEventsTests (line 11) | public class AgentEventsTests method WorkflowBuilder_WithAgents_EmitsWorkflowOutputEventAsync (line 18) | [Fact] method AgentResponseUpdateEvent_IsWorkflowOutputEvent (line 59) | [Fact] method AgentResponseEvent_IsWorkflowOutputEvent (line 78) | [Fact] method StreamingRun_WorkflowStartedEvent_ShouldBeEmittedBefore_SuperStepStartedAsync (line 97) | [Fact] method StreamingRun_LockstepExecution_ShouldEmit_WorkflowStartedEventAsync (line 134) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/AgentWorkflowBuilderTests.cs class AgentWorkflowBuilderTests (line 20) | public class AgentWorkflowBuilderTests method BuildSequential_InvalidArguments_Throws (line 22) | [Fact] method BuildConcurrent_InvalidArguments_Throws (line 29) | [Fact] method BuildHandoffs_InvalidArguments_Throws (line 35) | [Fact] method BuildGroupChat_InvalidArguments_Throws (line 56) | [Fact] method GroupChatManager_MaximumIterationCount_Invalid_Throws (line 70) | [Fact] method BuildGroupChat_WithNameAndDescription_SetsWorkflowNameAndDescription (line 91) | [Fact] method BuildGroupChat_WithNameOnly_SetsWorkflowName (line 108) | [Fact] method BuildGroupChat_WithoutNameOrDescription_DefaultsToNull (line 123) | [Fact] method BuildSequential_AgentsRunInOrderAsync (line 135) | [Theory] class DoubleEchoAgent (line 179) | private class DoubleEchoAgent(string name) : AIAgent method CreateSessionCoreAsync (line 183) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 186) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 189) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 192) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 196) | protected override async IAsyncEnumerable RunCo... method BuildConcurrent_AgentsRunInParallelAsync (line 211) | [Fact] method Handoffs_NoTransfers_ResponseServedByOriginalAgentAsync (line 241) | [Fact] method Handoffs_OneTransfer_ResponseServedBySecondAgentAsync (line 275) | [Fact] method Handoffs_OneTransfer_HandoffTargetDoesNotReceiveHandoffFunctionMessagesAsync (line 321) | [Fact] method Handoffs_TwoTransfers_HandoffTargetsDoNotReceiveHandoffFunctionMessagesAsync (line 364) | [Fact] method Handoffs_FilteringNone_HandoffTargetReceivesAllMessagesIncludingToolCallsAsync (line 429) | [Fact] method Handoffs_FilteringAll_HandoffTargetDoesNotReceiveAnyToolCallsAsync (line 469) | [Fact] method Handoffs_FilteringHandoffOnly_PreservesNonHandoffToolCallsAsync (line 521) | [Fact] method Handoffs_TwoTransfers_ResponseServedByThirdAgentAsync (line 572) | [Fact] method BuildGroupChat_AgentsRunInOrderAsync (line 637) | [Theory] method RunWorkflowAsync (line 683) | private static async Task<(string UpdateText, List? Resul... class DoubleEchoAgentWithBarrier (line 713) | private sealed class DoubleEchoAgentWithBarrier(string name, StrongBox... method RunCoreStreamingAsync (line 715) | protected override async IAsyncEnumerable RunCo... class MockChatClient (line 733) | private sealed class MockChatClient(Func, Cha... method GetResponseAsync (line 735) | public Task GetResponseAsync(IEnumerable ... method GetStreamingResponseAsync (line 738) | public async IAsyncEnumerable GetStreamingRespon... method GetService (line 747) | public object? GetService(Type serviceType, object? serviceKey = nul... method Dispose (line 748) | public void Dispose() { } FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ChatMessageBuilder.cs class TextMessageStreamingExtensions (line 10) | internal static class TextMessageStreamingExtensions method ToContentStream (line 12) | public static IEnumerable ToContentStream(this string? mess... method ToResponseUpdate (line 28) | public static AgentResponseUpdate ToResponseUpdate(this AIContent cont... method ToAgentRunStream (line 40) | public static IEnumerable ToAgentRunStream(this s... method ToChatMessage (line 48) | public static ChatMessage ToChatMessage(this IEnumerable co... method StreamMessage (line 57) | public static IEnumerable StreamMessage(this Chat... method StreamMessages (line 65) | public static IEnumerable StreamMessages(this Lis... method ToChatMessages (line 68) | public static List ToChatMessages(this IEnumerable(string i... method ConfigureProtocol (line 15) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method PostRequestAsync (line 36) | public ValueTask PostRequestAsync(string portId, TRequest request, Tes... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/DynamicRequestPortTests.cs class DynamicRequestPortTests (line 14) | public class DynamicRequestPortTests class RequestPortTestContext (line 16) | private sealed class RequestPortTestContext method RequestPortTestContext (line 21) | public RequestPortTestContext() method CreateAsync (line 36) | public static async ValueTask CreateAsync(st... method InvokeExecutorWithResponseAsync (line 52) | public ValueTask InvokeExecutorWithResponseAsync(ExternalRe... class ExternalRequestContext (line 56) | private sealed class ExternalRequestContext : IExternalRequestContext,... method PostAsync (line 60) | public ValueTask PostAsync(ExternalRequest request) method RegisterPort (line 66) | public IExternalRequestSink RegisterPort(RequestPort port) method Test_DynamicRequestPort_DeliversExpectedResponseAsync (line 72) | [Fact] method Test_DynamicRequestPort_ThrowsOnWrongPortAsync (line 87) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/EdgeMapSmokeTests.cs class EdgeMapSmokeTests (line 14) | public class EdgeMapSmokeTests method Test_EdgeMap_RoutesStaticPortAsync (line 16) | [Fact] method Test_EdgeMap_RoutesDynamicPortAsync (line 37) | [Fact] method Test_EdgeMap_DoesNotRouteUnregisteredPortAsync (line 64) | [Fact] method Test_EdgeMap_MaintainsFanInEdgeStateAsync (line 89) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/EdgeRunnerTests.cs class EdgeRunnerTests (line 13) | public class EdgeRunnerTests method CreateAndRunDirectedEdgeTestAsync (line 15) | private static async Task CreateAndRunDirectedEdgeTestAsync(bool? cond... method Test_DirectEdgeRunnerAsync (line 60) | [Fact] method CreateAndRunFanOutEdgeTestAsync (line 81) | private static async Task CreateAndRunFanOutEdgeTestAsync(bool? assign... method Test_FanOutEdgeRunnerAsync (line 134) | [Fact] method Test_FanInEdgeRunnerAsync (line 155) | [Fact] method Test_FanInEdgeRunner_ConcurrentProcessingAsync (line 204) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ExecutionExtensions.cs class ExecutionExtensions (line 8) | internal static class ExecutionExtensions method ToWorkflowExecutionEnvironment (line 10) | public static InProcessExecutionEnvironment ToWorkflowExecutionEnviron... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/FileSystemJsonCheckpointStoreTests.cs class FileSystemJsonCheckpointStoreTests (line 12) | public sealed class FileSystemJsonCheckpointStoreTests method CreateCheckpointAsync_ShouldPersistIndexToDiskBeforeDisposeAsync (line 14) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ForwardMessageExecutor.cs class ForwardMessageExecutor (line 5) | internal sealed class ForwardMessageExecutor(string id) : Exec... method ConfigureProtocol (line 7) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/InMemoryJsonStore.cs class InMemoryJsonStore (line 10) | internal sealed class InMemoryJsonStore : JsonCheckpointStore method EnsureSessionStore (line 14) | private SessionCheckpointCache EnsureSessionStore(string ... method CreateCheckpointAsync (line 24) | public override ValueTask CreateCheckpointAsync(string... method RetrieveCheckpointAsync (line 29) | public override ValueTask RetrieveCheckpointAsync(string ... method RetrieveIndexAsync (line 39) | public override ValueTask> RetrieveIndexAs... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/InProcessExecutionTests.cs class InProcessExecutionTests (line 17) | public class InProcessExecutionTests method RunAsyncShouldExecuteWorkflowAsync (line 23) | [Fact] method StreamAsyncWithTurnTokenShouldExecuteWorkflowAsync (line 53) | [Fact] method RunAsyncAndStreamAsyncShouldProduceSimilarResultsAsync (line 94) | [Fact] class SimpleTestAgent (line 138) | private sealed class SimpleTestAgent : AIAgent method SimpleTestAgent (line 140) | public SimpleTestAgent(string name) method CreateSessionCoreAsync (line 147) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 149) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 152) | protected override ValueTask Serialize... method RunCoreAsync (line 155) | protected override Task RunCoreAsync( method RunCoreStreamingAsync (line 166) | protected override async IAsyncEnumerable RunCo... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/InProcessStateTests.cs class InProcessStateTests (line 10) | public partial class InProcessStateTests class TurnToken (line 12) | private sealed class TurnToken method TurnToken (line 16) | public TurnToken() : this(0) method TurnToken (line 19) | private TurnToken(int count) class StateTestExecutor (line 27) | private sealed class StateTestExecutor : TestingExecutor CreateOrIncrement(int defaultValue = d... method ValidateState (line 70) | private static Func ValidateState(int expectedValue, strin... method MaxTurns (line 78) | private static Func MaxTurns(int maxTurns) method InProcessRun_StateShouldPersist_NotCheckpointedAsync (line 81) | [Fact] method InProcessRun_StateShouldPersist_CheckpointedAsync (line 112) | [Fact] method InProcessRun_StateShouldError_TwoExecutorsAsync (line 145) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/JsonSerializationTests.cs class JsonSerializationTests (line 19) | public class JsonSerializationTests method TakeEdgeId (line 34) | private static EdgeId TakeEdgeId() => new(Interlocked.Increment(ref s_... method RunJsonRoundtrip (line 36) | internal static T RunJsonRoundtrip(T value, JsonSerializerOptions? ... method Test_EdgeConnection_JsonRoundtrip (line 57) | [Fact] method Test_TypeId_JsonRoundtrip (line 64) | [Fact] method Test_ExecutorInfo_JsonRoundtrip (line 78) | [Fact] method Test_RequestPortInfo_JsonRoundtrip (line 95) | [Fact] method Test_DirectEdgeInfo_JsonRoundtrip (line 104) | [Fact] method Test_FanOutEdgeInfo_JsonRoundtrip (line 114) | [Fact] method Test_FanInEdgeInfo_JsonRoundtrip (line 124) | [Fact] method Test_EdgeInfoPolymorphism_JsonRoundtrip (line 136) | [Fact] method CreateTestWorkflow (line 158) | private static Workflow CreateTestWorkflow() method CreateTestWorkflowInfo (line 175) | internal static WorkflowInfo CreateTestWorkflowInfo() method ValidateWorkflowInfo (line 181) | private static void ValidateWorkflowInfo(WorkflowInfo actual, Workflow... method Test_WorkflowInfo_JsonRoundtripAsync (line 232) | [Fact] method Test_ExecutorIdentity_JsonRoundtrip (line 247) | [Fact] method Test_ScopeId_JsonRoundtrip (line 257) | [Fact] method Test_ScopeKey_JsonRoundtrip (line 267) | [Fact] method SanityCheck_JsonTypeInfo (line 276) | [Fact] method Test_PortableValue_JsonRoundtrip_BuiltInType (line 283) | [Fact] method Test_PortableValue_JsonRoundTrip_InternalType (line 300) | [Fact] method Test_PortableValue_JsonRoundTrip_CustomType (line 321) | [Fact] method ValidateExternalRequest (line 342) | private static void ValidateExternalRequest(ExternalRequest actual, Ex... method Test_ExternalRequest_JsonRoundtrip (line 353) | [Fact] method Test_ExternalResponse_JsonRoundtrip (line 362) | [Fact] method Test_PortableMessageEnvelope_JsonRoundtrip_BuiltInType (line 376) | [Fact] method Test_PortableMessageEnvelope_JsonRoundtrip_InternalType (line 400) | [Fact] method Test_PortableMessageEnvelope_JsonRoundtrip_CustomType (line 431) | [Fact] method ValidateRunnerStateData (line 477) | private static void ValidateRunnerStateData(RunnerStateData result, Ru... method Test_RunnerStateData_JsonRoundtrip (line 511) | [Fact] method CreateEdgeState (line 521) | private static PortableValue CreateEdgeState(TMessage messag... method ValidateEdgeStateData (line 544) | private static void ValidateEdgeStateData(Dictionary GetExpectedActivityNameCounts() => method GetExecutionEnvironment (line 85) | private static InProcessExecutionEnvironment GetExecutionEnvironment(s... method Dispose (line 95) | public void Dispose() method TestWorkflowEndToEndActivitiesAsync (line 104) | private async Task TestWorkflowEndToEndActivitiesAsync(string executio... method CreatesWorkflowEndToEndActivities_WithCorrectName_DefaultAsync (line 136) | [Fact(Skip = "Flaky test - temporarily disabled.")] method CreatesWorkflowEndToEndActivities_WithCorrectName_OffThreadAsync (line 142) | [Fact(Skip = "Flaky test - temporarily disabled.")] method CreatesWorkflowEndToEndActivities_WithCorrectName_ConcurrentAsync (line 148) | [Fact(Skip = "Flaky test - temporarily disabled.")] method CreatesWorkflowEndToEndActivities_WithCorrectName_LockstepAsync (line 154) | [Fact(Skip = "Flaky test - temporarily disabled.")] method CreatesWorkflowActivities_WithCorrectNameAsync (line 160) | [Fact(Skip = "Flaky test - temporarily disabled.")] method TelemetryDisabledByDefault_CreatesNoActivitiesAsync (line 185) | [Fact(Skip = "Flaky test - temporarily disabled.")] method WithOpenTelemetry_UsesProvidedActivitySourceAsync (line 203) | [Fact(Skip = "Flaky test - temporarily disabled.")] method DisableWorkflowBuild_PreventsWorkflowBuildActivityAsync (line 238) | [Fact(Skip = "Flaky test - temporarily disabled.")] method DisableWorkflowRun_PreventsWorkflowRunActivityAsync (line 258) | [Fact(Skip = "Flaky test - temporarily disabled.")] method DisableExecutorProcess_PreventsExecutorProcessActivityAsync (line 288) | [Fact(Skip = "Flaky test - temporarily disabled.")] method DisableEdgeGroupProcess_PreventsEdgeGroupProcessActivityAsync (line 315) | [Fact(Skip = "Flaky test - temporarily disabled.")] method DisableMessageSend_PreventsMessageSendActivityAsync (line 336) | [Fact(Skip = "Flaky test - temporarily disabled.")] method CreateWorkflowWithDisabledEdges (line 357) | private static Workflow CreateWorkflowWithDisabledEdges() method CreateWorkflowWithDisabledMessages (line 371) | private static Workflow CreateWorkflowWithDisabledMessages() method EnableSensitiveData_LogsExecutorInputAndOutputAsync (line 385) | [Fact(Skip = "Flaky test - temporarily disabled.")] method EnableSensitiveData_Disabled_DoesNotLogInputOutputAsync (line 416) | [Fact(Skip = "Flaky test - temporarily disabled.")] method EnableSensitiveData_LogsMessageSendContentAsync (line 445) | [Fact(Skip = "Flaky test - temporarily disabled.")] method EnableSensitiveData_Disabled_DoesNotLogMessageContentAsync (line 477) | [Fact(Skip = "Flaky test - temporarily disabled.")] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/PolymorphicOutputTests.cs class PolymorphicOutputTests (line 18) | public partial class PolymorphicOutputTests class BaseOutput (line 25) | public class BaseOutput class DerivedOutput (line 33) | public class DerivedOutput : BaseOutput class GrandchildOutput (line 41) | public class GrandchildOutput : DerivedOutput class UnrelatedOutput (line 49) | public class UnrelatedOutput class DerivedOutputExecutor (line 61) | internal sealed class DerivedOutputExecutor() : Executor(nameof(Derive... method ConfigureProtocol (line 63) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method HandleAsync (line 69) | private async ValueTask HandleAsync(string input, IWorkf... class GrandchildOutputExecutor (line 81) | internal sealed class GrandchildOutputExecutor() : Executor(nameof(Gra... method ConfigureProtocol (line 83) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method HandleAsync (line 89) | private async ValueTask HandleAsync(string input, IWorkf... class UnrelatedOutputExecutor (line 102) | internal sealed class UnrelatedOutputExecutor() : Executor(nameof(Unre... method ConfigureProtocol (line 104) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method HandleAsync (line 110) | private async ValueTask HandleAsync(string input, IWorkf... class ExactTypeExecutor (line 124) | internal sealed class ExactTypeExecutor() : Executor(nameof(ExactTypeE... method ConfigureProtocol (line 126) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method HandleAsync (line 132) | private ValueTask HandleAsync(string input, IWorkflowCon... method ReturningDerivedType_WhenBaseTypeIsDeclared_ShouldSucceedAsync (line 147) | [Fact] method ReturningGrandchildType_WhenBaseTypeIsDeclared_ShouldSucceedAsync (line 181) | [Fact] method ReturningUnrelatedType_WhenBaseTypeIsDeclared_ShouldFailAsync (line 216) | [Fact] method ReturningExactType_WhenSameTypeIsDeclared_ShouldSucceedAsync (line 245) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/PortableValueTests.cs class PortableValueTests (line 12) | public class PortableValueTests class Never (line 14) | [SuppressMessage("Performance", "CA1812", Justification = "This is use... method Never (line 17) | private Never() { } method Test_PortableValueRoundtripAsync (line 20) | [Theory] method Test_PortableValueRoundtripObjectAsync (line 36) | [Fact] method Test_DelayedSerializationRoundtripAsync (line 48) | [Theory] method Test_DelayedSerializationRoundtripObjectAsync (line 71) | [Fact] class TestDelayedDeserialization (line 90) | private sealed class TestDelayedDeserialization : IDelayedDeseriali... method TestDelayedDeserialization (line 95) | public TestDelayedDeserialization([DisallowNull] T value) method Deserialize (line 100) | public TValue Deserialize() method Deserialize (line 115) | public object? Deserialize(Type targetType) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ReflectionSmokeTest.cs class BaseTestExecutor (line 14) | public class BaseTestExecutor(string id) : ReflectingExecutor this.InvokedHandler = true; class DefaultHandler (line 25) | public class DefaultHandler() : BaseTestExecutor(nameof(... method HandleAsync (line 27) | public ValueTask HandleAsync(object message, IWorkflowContext context,... class TypedHandler (line 40) | public class TypedHandler() : BaseTestExecutor() : BaseTestExecuto... method HandleAsync (line 57) | public ValueTask HandleAsync(TInput message, IWorkflowContext... class RoutingReflectionTests (line 69) | public class RoutingReflectionTests method RunTestReflectAndRouteMessageAsync (line 71) | private static async ValueTask RunTestReflectAndRouteMess... method Test_ReflectAndExecute_DefaultHandlerAsync (line 87) | [Fact] method Test_ReflectAndExecute_HandlerReturnsVoidAsync (line 99) | [Fact] method Test_ReflectAndExecute_HandlerReturnsValueAsync (line 111) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/RepresentationTests.cs class RepresentationTests (line 18) | public class RepresentationTests class TestExecutor (line 20) | private sealed class TestExecutor() : Executor("TestExecutor") method ConfigureProtocol (line 22) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... class TestAgent (line 25) | private sealed class TestAgent : AIAgent method CreateSessionCoreAsync (line 27) | protected override ValueTask CreateSessionCoreAsync(Ca... method DeserializeSessionCoreAsync (line 30) | protected override ValueTask DeserializeSessionCoreAsy... method SerializeSessionCoreAsync (line 33) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 36) | protected override Task RunCoreAsync(IEnumerable RunCoreStre... method RunExecutorBindingInfoMatchTestAsync (line 46) | private static async ValueTask RunExecutorBindingInfoMatchTestAsync(Ex... method Test_ExecutorBinding_InfosAsync (line 53) | [Fact] method Test_SpecializedExecutor_InfosAsync (line 88) | [Fact] method Source (line 95) | private static string Source(int id) => $"Source/{id}"; method Sink (line 96) | private static string Sink(int id) => $"Sink/{id}"; method Condition (line 98) | private static Func Condition() => Condition(); method Condition (line 99) | private static Func Condition() => _ => true; method EdgeAssigner (line 101) | private static Func> EdgeAssigner() => ... method EdgeAssigner (line 102) | private static Func> EdgeAssigner() =... method Test_EdgeInfos (line 104) | [Fact] method Test_Sample_WorkflowInfosAsync (line 168) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/RoleCheckAgent.cs class RoleCheckAgent (line 13) | internal sealed class RoleCheckAgent(bool allowOtherAssistantRoles, stri... method DeserializeSessionCoreAsync (line 19) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 22) | protected override ValueTask SerializeSessionCoreAsync(Ag... method CreateSessionCoreAsync (line 25) | protected override ValueTask CreateSessionCoreAsync(Canc... method RunCoreAsync (line 27) | protected override Task RunCoreAsync(IEnumerable RunCore... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/01_Simple_Workflow_Sequential.cs class Step1EntryPoint (line 13) | internal static class Step1EntryPoint method RunAsync (line 29) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... class UppercaseExecutor (line 43) | internal sealed class UppercaseExecutor() : Executor(nam... method HandleAsync (line 45) | public override async ValueTask HandleAsync(string message, IW... class ReverseTextExecutor (line 49) | internal sealed class ReverseTextExecutor() : Executor("ReverseTextExecu... method ConfigureProtocol (line 51) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleAsync (line 56) | public async ValueTask HandleAsync(string message, IWorkflowCo... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/01a_Simple_Workflow_Sequential.cs class Step1aEntryPoint (line 9) | internal static class Step1aEntryPoint method RunAsync (line 12) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/02_Simple_Workflow_Condition.cs class Step2EntryPoint (line 14) | internal static class Step2EntryPoint method RunAsync (line 34) | public static async ValueTask RunAsync(TextWriter writer, IWor... class DetectSpamExecutor (line 59) | internal sealed class DetectSpamExecutor(string id, params string[] spam... method HandleAsync (line 62) | public async ValueTask HandleAsync(string message, IWorkflowCont... class RespondToMessageExecutor (line 66) | internal sealed partial class RespondToMessageExecutor(string id) : Exec... method HandleAsync (line 70) | [MessageHandler(Yield = [typeof(string)])] class RemoveSpamExecutor (line 86) | internal sealed partial class RemoveSpamExecutor(string id) : Executor(i... method HandleAsync (line 90) | [MessageHandler(Yield = [typeof(string)])] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/03_Simple_Workflow_Loop.cs class Step3EntryPoint (line 12) | internal static class Step3EntryPoint method RunAsync (line 29) | public static async ValueTask RunAsync(TextWriter writer, IWor... type TryCount (line 52) | internal sealed record TryCount(int Tries); type NumberBounds (line 54) | internal sealed record NumberBounds(int LowerBound, int UpperBound) type NumberSignal (line 62) | internal enum NumberSignal class GuessNumberExecutor (line 70) | [YieldsOutput(typeof(string))] method GuessNumberExecutor (line 76) | public GuessNumberExecutor(string id, int lowerBound, int upperBound) ... method HandleAsync (line 87) | [MessageHandler] class JudgeExecutor (line 115) | [YieldsOutput(typeof(TryCount))] method JudgeExecutor (line 120) | public JudgeExecutor(string id, int targetNumber) : base(id, declareCr... method HandleAsync (line 125) | [MessageHandler] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/04_Simple_Workflow_ExternalRequest.cs class Step4EntryPoint (line 10) | internal static class Step4EntryPoint method CreateWorkflowInstance (line 14) | public static Workflow CreateWorkflowInstance(out JudgeExecutor judge) method RunAsync (line 34) | public static async ValueTask RunAsync(TextWriter writer, Func... method ExecuteExternalRequest (line 87) | private static ExternalResponse ExecuteExternalRequest( method UpdatePrompt (line 108) | internal static string? UpdatePrompt(string? runningResult, NumberSign... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/05_Simple_Workflow_Checkpointing.cs class Step5EntryPoint (line 13) | internal static class Step5EntryPoint method RunAsync (line 15) | public static async ValueTask RunAsync(TextWriter writer, Func... method ExecuteExternalRequest (line 155) | private static ExternalResponse ExecuteExternalRequest( FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/06_GroupChat_Workflow.cs class Step6EntryPoint (line 17) | internal static class Step6EntryPoint method CreateWorkflow (line 22) | public static Workflow CreateWorkflow(int maxTurns) => method RunAsync (line 28) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... class HelloAgent (line 55) | internal sealed class HelloAgent(string id = nameof(HelloAgent)) : AIAgent method CreateSessionCoreAsync (line 63) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 66) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 69) | protected override ValueTask SerializeSessionCoreAsync(Ag... method RunCoreAsync (line 72) | protected override async Task RunCoreAsync(IEnumerable<... method RunCoreStreamingAsync (line 82) | protected override async IAsyncEnumerable RunCore... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/07_GroupChat_Workflow_HostAsAgent.cs class Step7EntryPoint (line 9) | internal static class Step7EntryPoint method RunAsync (line 14) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/08_Subworkflow_Simple.cs type TextProcessingRequest (line 14) | internal sealed record class TextProcessingRequest(string Text, string T... type TextProcessingResult (line 15) | internal sealed record class TextProcessingResult(string TaskId, string ... class Step8EntryPoint (line 17) | internal static partial class Step8EntryPoint method RunAsync (line 28) | public static async ValueTask> RunAsync(Tex... method ProcessTextAsync (line 81) | [YieldsOutput(typeof(TextProcessingResult))] class TextProcessingOrchestrator (line 96) | private sealed partial class TextProcessingOrchestrator(string id) class State (line 99) | internal sealed class State method AddPending (line 106) | public void AddPending(string taskId) => this.PendingTaskIds.Add(t... method CompletePending (line 107) | public bool CompletePending(string taskId) => this.PendingTaskIds.... method StartProcessingAsync (line 110) | [MessageHandler(Send = [typeof(TextProcessingRequest)])] method CollectResultAsync (line 127) | [MessageHandler(Yield = [typeof(List)])] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/09_Subworkflow_ExternalRequest.cs type UserRequest (line 14) | internal sealed record class UserRequest(string RequestType, string Type... type ResourceRequest (line 58) | internal sealed record class ResourceRequest(string Id, string ResourceT... type PolicyCheckRequest (line 59) | internal sealed record class PolicyCheckRequest(string Id, string Resour... type ResourceResponse (line 60) | internal sealed record class ResourceResponse(string Id, string Resource... type PolicyResponse (line 61) | internal sealed record class PolicyResponse(string Id, bool Approved, st... type RequestFinished (line 62) | internal sealed record class RequestFinished(string Id, string RequestTy... class Step9EntryPoint (line 64) | internal static class Step9EntryPoint method AddPassthroughRequestHandler (line 66) | public static WorkflowBuilder AddPassthroughRequestHandler(... method AddExternalRequest (line 81) | public static WorkflowBuilder AddExternalRequest(... method AddExternalRequest (line 90) | public static WorkflowBuilder AddExternalRequest(... method CreateSubWorkflow (line 98) | public static Workflow CreateSubWorkflow() method CreateWorkflow (line 109) | public static Workflow CreateWorkflow() method RunAsync (line 187) | public static async ValueTask> RunAsync(TextWrit... class ResourceRequestor (line 295) | internal sealed class ResourceRequestor() : Executor(nameof(ResourceRequ... method ConfigureProtocol (line 297) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method RequestResourcesAsync (line 319) | private async ValueTask RequestResourcesAsync(List reques... method HandleResponseAsync (line 337) | private async ValueTask HandleResponseAsync(ResourceResponse response,... method HandleResponseAsync (line 342) | private async ValueTask HandleResponseAsync(PolicyResponse response, I... class ResourceCache (line 347) | internal sealed class ResourceCache() method InitializeResourceCache (line 352) | private static Dictionary InitializeResourceCache() method ConfigureProtocol (line 360) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method UnwrapAndHandleRequestAsync (line 373) | private async ValueTask UnwrapAndHandleRequestAsync(ExternalRequest re... method TryHandleResourceRequestAsync (line 392) | private async ValueTask TryHandleResourceRequestAsy... method CollectResultAsync (line 422) | private ValueTask CollectResultAsync(ExternalResponse response, IWorkf... class QuotaPolicyEngine (line 434) | internal sealed class QuotaPolicyEngine() method InitializePolicyQuotas (line 439) | private static Dictionary InitializePolicyQuotas() method ConfigureProtocol (line 447) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method UnwrapAndHandleRequestAsync (line 460) | private async ValueTask UnwrapAndHandleRequestAsync(ExternalRequest re... method TryHandlePolicyCheckRequestAsync (line 479) | private async ValueTask TryHandlePolicyCheckRequestAs... method CollectAndForwardAsync (line 508) | private ValueTask CollectAndForwardAsync(ExternalResponse response, IW... class Coordinator (line 519) | internal sealed class Coordinator() : Executor(nameof(Coordinator), decl... method ConfigureProtocol (line 523) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder p... method HandleFinishedRequestAsync (line 543) | private ValueTask HandleFinishedRequestAsync(RequestFinished finished,... method StartAsync (line 555) | private ValueTask StartAsync(List requests, IWorkflowCont... method RunWorkflowHandleEventsAsync (line 570) | internal async ValueTask RunWorkflowHandleEventsAsync(Workflow... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/10_Sequential_HostAsAgent.cs class Step10EntryPoint (line 11) | internal static class Step10EntryPoint method CreateWorkflow (line 13) | public static Workflow CreateWorkflow() method RunAsync (line 20) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/11_Concurrent_HostAsAgent.cs class Step11EntryPoint (line 12) | internal static class Step11EntryPoint method ExpectedOutputForInput (line 19) | public static string ExpectedOutputForInput(string input, int agentNum... method CreateWorkflow (line 22) | public static Workflow CreateWorkflow() method RunAsync (line 32) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/12_HandOff_HostAsAgent.cs class HandoffTestEchoAgent (line 13) | internal sealed class HandoffTestEchoAgent(string id, string name, strin... method GetEpilogueMessages (line 16) | protected override IEnumerable GetEpilogueMessages(AgentR... class Step12EntryPoint (line 45) | internal static class Step12EntryPoint method EchoPrefixForAgent (line 52) | public static string EchoPrefixForAgent(int agentNumber) method CreateWorkflow (line 55) | public static Workflow CreateWorkflow() method RunAsync (line 68) | public static async ValueTask RunAsync(TextWriter writer, IWorkflowExe... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/13_Subworkflow_Checkpointing.cs class Step13EntryPoint (line 11) | internal static class Step13EntryPoint method RunAsAgentAsync (line 31) | public static async ValueTask RunAsAgentAsync(TextWriter... method RunAsync (line 51) | public static async ValueTask RunAsync(TextWriter writ... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/Sample/14_Subworkflow_SharedState.cs class Step14EntryPoint (line 14) | internal static partial class Step14EntryPoint method RunSubworkflowInternalStateAsync (line 23) | public static async ValueTask RunSubworkflowInternalStateAsync(st... method RunCrossBoundaryStateAsync (line 67) | public static async ValueTask RunCrossBoundaryStateAsync(s... class TextReadExecutor (line 109) | internal sealed partial class TextReadExecutor() : Executor("TextReadE... method HandleAsync (line 111) | [MessageHandler] class TextTrimExecutor (line 123) | internal sealed partial class TextTrimExecutor() : Executor("TextTrimE... method HandleAsync (line 125) | [MessageHandler] class CharCountingExecutor (line 143) | internal sealed partial class CharCountingExecutor() : Executor("CharC... method HandleAsync (line 145) | [MessageHandler] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/SampleSmokeTest.cs type ExecutionEnvironment (line 15) | internal enum ExecutionEnvironment class SampleSmokeTest (line 22) | public class SampleSmokeTest method Test_RunSample_Step1Async (line 24) | [Theory] method Test_RunSample_Step1aAsync (line 45) | [Theory] method Test_RunSample_Step2Async (line 66) | [Theory] method Test_RunSample_Step3Async (line 83) | [Theory] method Test_RunSample_Step4Async (line 96) | [Theory] method Test_RunSample_Step5Async (line 113) | [Theory] method Test_RunSample_Step5aAsync (line 135) | [Theory] method Test_RunSample_Step5bAsync (line 157) | [Theory] method Test_RunSample_Step6Async (line 183) | [Theory] method Test_RunSample_Step7Async (line 202) | [Theory] method Test_RunSample_Step8Async (line 223) | [Theory] method Test_RunSample_Step9Async (line 262) | [Theory] method Test_RunSample_Step10Async (line 272) | [Theory] method Test_RunSample_Step11Async (line 290) | [Theory] method Test_RunSample_Step12Async (line 317) | [Theory] method Test_RunSample_Step13Async (line 376) | [Theory] method Test_RunSample_Step13aAsync (line 409) | [Theory] method Test_RunSample_Step14_SharedState_WorksWithinSubworkflowAsync (line 447) | [Theory] method Test_RunSample_Step14a_SharedState_IsolatedAcrossSubworkflowBoundaryAsync (line 469) | [Theory] class VerifyingPlaybackResponder (line 495) | internal sealed class VerifyingPlaybackResponder method VerifyingPlaybackResponder (line 500) | public VerifyingPlaybackResponder(params (TInput input, TResponse resp... method InvokeNext (line 507) | public TResponse InvokeNext(TInput input) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/SpecializedExecutorSmokeTests.cs class SpecializedExecutorSmokeTests (line 15) | public class SpecializedExecutorSmokeTests class TestWorkflowContext (line 17) | internal sealed class TestWorkflowContext(string executorId, bool conc... method AddEventAsync (line 23) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancella... method YieldOutputAsync (line 26) | public ValueTask YieldOutputAsync(object output, CancellationToken c... method RequestHaltAsync (line 29) | public ValueTask RequestHaltAsync() => method QueueClearScopeAsync (line 32) | public ValueTask QueueClearScopeAsync(string? scopeName = null, Canc... method QueueStateUpdateAsync (line 35) | public ValueTask QueueStateUpdateAsync(string key, T? value, stri... method ReadStateAsync (line 40) | public ValueTask ReadStateAsync(string key, string? scopeName... method ReadStateKeysAsync (line 43) | public ValueTask> ReadStateKeysAsync(string? scopeNa... method SendMessageAsync (line 46) | public ValueTask SendMessageAsync(object message, string? targetId =... method ReadOrInitStateAsync (line 60) | public async ValueTask ReadOrInitStateAsync(string key, Func(PortableValue? candidatePV... method VerifyIsNot (line 464) | private static void VerifyIsNot(PortableValue? candidat... method Test_LoadPortableValueStateAsync (line 470) | [Theory] method Test_LoadPortableValueState_AfterSerializationAsync (line 521) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/StreamingAggregatorsTests.cs class StreamingAggregatorsTests (line 10) | public class StreamingAggregatorsTests method ApplyStreamingAggregator (line 12) | private static TResult? ApplyStreamingAggregator( method Test_StreamingAggregators_First (line 25) | [Fact] method Test_StreamingAggregators_First_WithConversion (line 40) | [Fact] method Test_StreamingAggregators_Last (line 55) | [Fact] method Test_StreamingAggregators_Last_WithConversion (line 70) | [Fact] method Test_StreamingAggregators_Union (line 85) | [Fact] method Test_StreamingAggregators_Union_WithConversion (line 102) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/SubstitutionVisitor.cs class SubstitutionVisitor (line 7) | internal sealed class SubstitutionVisitor(ParameterExpression parameter,... method VisitParameter (line 12) | protected override Expression VisitParameter(ParameterExpression node) FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestEchoAgent.cs class TestEchoAgent (line 15) | internal class TestEchoAgent(string? id = null, string? name = null, str... method DeserializeSessionCoreAsync (line 22) | protected override async ValueTask DeserializeSessionCor... method SerializeSessionCoreAsync (line 27) | protected override ValueTask SerializeSessionCoreAsync(Ag... method CreateSessionCoreAsync (line 37) | protected override ValueTask CreateSessionCoreAsync(Canc... method UpdateSession (line 40) | private ChatMessage UpdateSession(ChatMessage message, AgentSession? s... method EchoMessages (line 47) | private IEnumerable EchoMessages(IEnumerable... method GetEpilogueMessages (line 69) | protected virtual IEnumerable GetEpilogueMessages(AgentRu... method RunCoreAsync (line 74) | protected override Task RunCoreAsync(IEnumerable RunCore... class EchoAgentSession (line 105) | private sealed class EchoAgentSession : AgentSession method EchoAgentSession (line 107) | internal EchoAgentSession() { } method EchoAgentSession (line 109) | [JsonConstructor] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestJsonSerializable.cs class TestJsonSerializable (line 9) | [JsonSourceGenerationOptions(JsonSerializerDefaults.Web, method Equals (line 18) | public override bool Equals(object? obj) method GetHashCode (line 33) | public override int GetHashCode() => HashCode.Combine(this.Id, this.Na... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestReplayAgent.cs class TestReplayAgent (line 14) | public class TestReplayAgent(List? messages = null, string?... method ToChatMessages (line 19) | public static List ToChatMessages(params string[] messages) method CreateSessionCoreAsync (line 48) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 51) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 54) | protected override ValueTask SerializeSessionCoreAsync(Ag... method FromStrings (line 57) | public static TestReplayAgent FromStrings(params string[] messages) => method RunCoreAsync (line 62) | protected override Task RunCoreAsync(IEnumerable RunCore... method Validate (line 85) | private static List? Validate(List? candidat... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestRequestAgent.cs type TestRequestAgentSessionState (line 15) | internal sealed record TestRequestAgentSessionState(JsonElement SessionS... type TestAgentRequestType (line 17) | public enum TestAgentRequestType class TestRequestAgent (line 23) | internal sealed class TestRequestAgent(TestAgentRequestType requestType,... method CreateSessionCoreAsync (line 32) | protected override ValueTask CreateSessionCoreAsync(Canc... method DeserializeSessionCoreAsync (line 40) | protected override ValueTask DeserializeSessionCoreAsync... method SerializeSessionCoreAsync (line 48) | protected override ValueTask SerializeSessionCoreAsync(Ag... method RunCoreAsync (line 51) | protected override Task RunCoreAsync(IEnumerable RunStreamingAsync<... method ConvertSession (line 130) | private static TestRequestAgentSession ConvertSes... class FunctionCallStrategy (line 142) | private sealed class FunctionCallStrategy : IRequestResponseStrategy CreateRequests(int... method ProcessResponse (line 159) | public void ProcessResponse(FunctionResultContent response, TestRequ... class FunctionApprovalStrategy (line 182) | private sealed class FunctionApprovalStrategy : IRequestResponseStrate... method CreatePairedResponse (line 184) | public ToolApprovalResponseContent CreatePairedResponse(ToolApproval... method CreateRequests (line 189) | public IEnumerable<(string, ToolApprovalRequestContent)> CreateReque... method ProcessResponse (line 199) | public void ProcessResponse(ToolApprovalResponseContent response, Te... type IRequestResponseStrategy (line 223) | private interface IRequestResponseStrategy method CreateRequests (line 227) | IEnumerable<(string, TRequest)> CreateRequests(int count); method CreatePairedResponse (line 228) | TResponse CreatePairedResponse(TRequest request); method ProcessResponse (line 230) | void ProcessResponse(TResponse response, TestRequestAgentSession RunCoreStream... method RetrieveId (line 243) | private static string RetrieveId(TRequest request) method ValidateUnpairedRequests (line 254) | private IEnumerable ValidateUnpairedRequests ValidateUnpairedRequests(IEnume... method ValidateUnpairedRequests (line 294) | internal IEnumerable ValidateUnpairedRequests(List : Ag... method TestRequestAgentSession (line 322) | public TestRequestAgentSession() method TestRequestAgentSession (line 331) | public TestRequestAgentSession(JsonElement element, JsonSerializerOp... method Serialize (line 346) | internal JsonElement Serialize(JsonSerializerOptions? jsonSerializer... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestRunContext.cs class TestRunContext (line 13) | public class TestRunContext : IRunnerContext class TestExternalRequestContext (line 15) | private sealed class TestExternalRequestContext(IRunnerContext runnerC... method RegisterPort (line 17) | public IExternalRequestSink RegisterPort(RequestPort port) method ConfigureExecutor (line 28) | internal TestRunContext ConfigureExecutor(Executor executor, EdgeMap? ... method ConfigureExecutors (line 35) | internal TestRunContext ConfigureExecutors(IEnumerable execu... class BoundContext (line 45) | private sealed class BoundContext( method AddEventAsync (line 50) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancella... method YieldOutputAsync (line 53) | public ValueTask YieldOutputAsync(object output, CancellationToken c... method RequestHaltAsync (line 69) | public ValueTask RequestHaltAsync() method QueueClearScopeAsync (line 72) | public ValueTask QueueClearScopeAsync(string? scopeName = null, Canc... method QueueStateUpdateAsync (line 75) | public ValueTask QueueStateUpdateAsync(string key, T? value, stri... method ReadStateAsync (line 78) | public ValueTask ReadStateAsync(string key, string? scopeName... method ReadStateKeysAsync (line 81) | public ValueTask> ReadStateKeysAsync(string? scopeNa... method SendMessageAsync (line 84) | public ValueTask SendMessageAsync(object message, string? targetId =... method ReadOrInitStateAsync (line 87) | public ValueTask ReadOrInitStateAsync(string key, Func init... method AddEventAsync (line 99) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancellati... method BindWorkflowContext (line 105) | public IWorkflowContext BindWorkflowContext(string executorId, Diction... method PostAsync (line 109) | public ValueTask PostAsync(ExternalRequest request) method SendMessageAsync (line 119) | public ValueTask SendMessageAsync(string sourceId, object message, str... method YieldOutputAsync (line 130) | public ValueTask YieldOutputAsync(string sourceId, object output, Canc... method AdvanceAsync (line 141) | ValueTask IRunnerContext.AdvanceAsync(CancellationToken c... method EnsureExecutorAsync (line 152) | ValueTask IRunnerContext.EnsureExecutorAsync(string executor... method GetStartingExecutorInputTypesAsync (line 155) | public ValueTask> GetStartingExecutorInputTypesAsync... method ForwardWorkflowEventAsync (line 165) | public ValueTask ForwardWorkflowEventAsync(WorkflowEvent workflowEvent... method SendMessageAsync (line 168) | ValueTask ISuperStepJoinContext.SendMessageAsync(string send... method YieldOutputAsync (line 171) | ValueTask ISuperStepJoinContext.YieldOutputAsync(string sende... method AttachSuperstepAsync (line 174) | ValueTask ISuperStepJoinContext.AttachSuperstepAsync(ISuperSte... method DetachSuperstepAsync (line 175) | ValueTask ISuperStepJoinContext.DetachSuperstepAsync(string join... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestRunState.cs class TestRunState (line 9) | internal sealed class TestRunState method IncrementHaltRequests (line 22) | public void IncrementHaltRequests() method ContextFor (line 27) | public TestWorkflowContext ContextFor(string executorId) => new(execut... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestWorkflowContext.cs class TestWorkflowContext (line 12) | internal sealed class TestWorkflowContext : IWorkflowContext method TestWorkflowContext (line 17) | public TestWorkflowContext(string executorId, TestRunState? state = nu... method AddEventAsync (line 35) | public ValueTask AddEventAsync(WorkflowEvent workflowEvent, Cancellati... method YieldOutputAsync (line 41) | public ValueTask YieldOutputAsync(object output, CancellationToken can... method RequestHaltAsync (line 59) | public ValueTask RequestHaltAsync() method QueueClearScopeAsync (line 65) | public ValueTask QueueClearScopeAsync(string? scopeName = null, Cancel... method QueueStateUpdateAsync (line 68) | public ValueTask QueueStateUpdateAsync(string key, T? value, string... method ReadStateAsync (line 71) | public ValueTask ReadStateAsync(string key, string? scopeName =... method ReadOrInitStateAsync (line 74) | public ValueTask ReadOrInitStateAsync(string key, Func initia... method ReadStateKeysAsync (line 77) | public ValueTask> ReadStateKeysAsync(string? scopeName... method SendMessageAsync (line 80) | public ValueTask SendMessageAsync(object message, string? targetId = n... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/TestingExecutor.cs class TestingExecutor (line 11) | internal abstract partial class TestingExecutor : Executor, I... method TestingExecutor (line 22) | protected TestingExecutor(string id, bool loop = false, params Func method LinkCancellation (line 31) | public void LinkCancellation(CancellationToken cancellationToken) method SetCancel (line 39) | public void SetCancel() => method RouteToActionsAsync (line 44) | [MessageHandler] method Dispose (line 76) | protected virtual void Dispose(bool disposing) => method Dispose (line 79) | public void Dispose() FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ValidationExtensions.cs class ValidationExtensions (line 13) | internal static partial class ValidationExtensions method CreateValidator (line 15) | public static Expression> CreateValidator(t... method CreateValidator (line 23) | public static Expression> CreateValidator(this Type... method CreateValidator (line 31) | public static Expression> CreateValidator(thi... method CreatePortInfoValidator (line 38) | public static Expression> CreatePortInfoVa... method CreateValidator (line 46) | public static Expression> CreateValidator(t... method CreateValidator (line 52) | public static Expression> CreateValidator(t... method CreateValidator (line 58) | public static Expression> CreateValidator(th... method CreatePolyValidator (line 63) | public static Expression> CreatePolyValidator(thi... method CreateValidator (line 127) | public static Expression> CreateValidator(this Sco... method CreateValidator (line 133) | public static Expression> CreateValidator(this Sc... method CreateValidator (line 140) | public static Expression> CreateValidator... method CreateValidator (line 145) | public static Expression> CreateValidator(... method CreateValidator (line 152) | public static Expression> CreateValidator... method CreateValidatorCheckingText (line 158) | public static Expression> CreateValidatorCheck... FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/WorkflowBuilderSmokeTests.cs class WorkflowBuilderSmokeTests (line 8) | public partial class WorkflowBuilderSmokeTests class NoOpExecutor (line 10) | private sealed class NoOpExecutor(string id) : Executor(id) method ConfigureProtocol (line 12) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... class SomeOtherNoOpExecutor (line 17) | private sealed class SomeOtherNoOpExecutor(string id) : Executor(id) method ConfigureProtocol (line 19) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method Test_Validation_FailsWhenUnboundExecutors (line 24) | [Fact] method Test_Validation_FailsWhenUnreachableExecutors (line 37) | [Fact] method Test_Validation_AddEdgesOutOfOrderDoesNotImpactReachability (line 50) | [Fact] method Test_LateBinding_Executor (line 69) | [Fact] method Test_LateImplicitBinding_Executor (line 83) | [Fact] method Test_RebindToDifferent_Disallowed (line 98) | [Fact] method Test_RebindToSameish_Allowed (line 114) | [Fact] method Test_Workflow_NameAndDescription (line 130) | [Fact] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/WorkflowHostSmokeTests.cs class ExpectedException (line 15) | public sealed class ExpectedException : Exception method ExpectedException (line 17) | public ExpectedException(string message) method ExpectedException (line 22) | public ExpectedException() : base() method ExpectedException (line 26) | public ExpectedException(string? message, Exception? innerException) :... class WorkflowHostSmokeTests (line 31) | public class WorkflowHostSmokeTests class AlwaysFailsAIAgent (line 33) | private sealed class AlwaysFailsAIAgent(bool failByThrowing) : AIAgent class Session (line 35) | private sealed class Session : AgentSession method Session (line 37) | public Session() { } method Session (line 39) | public Session(AgentSessionStateBag stateBag) : base(stateBag) { } method DeserializeSessionCoreAsync (line 42) | protected override ValueTask DeserializeSessionCoreAsy... method CreateSessionCoreAsync (line 47) | protected override ValueTask CreateSessionCoreAsync(Ca... method SerializeSessionCoreAsync (line 52) | protected override ValueTask SerializeSessionCoreAsync(... method RunCoreAsync (line 55) | protected override async Task RunCoreAsync(IEnumerabl... method RunCoreStreamingAsync (line 61) | protected override async IAsyncEnumerable RunCo... method CreateWorkflow (line 73) | private static Workflow CreateWorkflow(bool failByThrowing) method Test_AsAgent_ErrorContentStreamedOutAsync (line 80) | [Theory] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/WorkflowRunActivityStopTests.cs class WorkflowRunActivityStopTests (line 18) | [Collection("ObservabilityTests")] method WorkflowRunActivityStopTests (line 26) | public WorkflowRunActivityStopTests() method Dispose (line 38) | public void Dispose() method CreateWorkflow (line 50) | private static Workflow CreateWorkflow() method WorkflowRunActivity_IsStopped_LockstepAsync (line 70) | [Fact(Skip = "Flaky test - temporarily disabled.")] method WorkflowRunActivity_IsStopped_OffThreadAsync (line 114) | [Fact(Skip = "Flaky test - temporarily disabled.")] method WorkflowRunActivity_IsStopped_Streaming_OffThreadAsync (line 159) | [Fact(Skip = "Flaky test - temporarily disabled.")] method WorkflowRunActivity_IsStopped_Streaming_OffThread_MultiTurnAsync (line 206) | [Fact(Skip = "Flaky test - temporarily disabled.")] method AllActivities_AreStopped_AfterWorkflowCompletionAsync (line 267) | [Fact(Skip = "Flaky test - temporarily disabled.")] method Lockstep_SessionActivity_DoesNotLeak_IntoCaller_ActivityCurrentAsync (line 308) | [Fact(Skip = "Flaky test - temporarily disabled.")] FILE: dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/WorkflowVisualizerTests.cs class WorkflowVisualizerTests (line 8) | public class WorkflowVisualizerTests class MockExecutor (line 10) | private sealed class MockExecutor(string id) : Executor(id) method ConfigureProtocol (line 12) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... class ListStrTargetExecutor (line 17) | private sealed class ListStrTargetExecutor(string id) : Executor(id) method ConfigureProtocol (line 19) | protected override ProtocolBuilder ConfigureProtocol(ProtocolBuilder... method Test_WorkflowViz_ToDotString_Basic (line 24) | [Fact] method Test_WorkflowViz_Complex_Workflow (line 46) | [Fact] method Test_WorkflowViz_Conditional_Edge (line 80) | [Fact] method Test_WorkflowViz_FanIn_EdgeGroup (line 105) | [Fact] method Test_WorkflowViz_FanOut_Edges (line 169) | [Fact] method Test_WorkflowViz_Mixed_EdgeTypes (line 190) | [Fact] method Test_WorkflowViz_SingleNode_Workflow (line 222) | [Fact] method Test_WorkflowViz_SelfLoop_Edge (line 240) | [Fact] method Test_WorkflowViz_ToMermaidString_Basic (line 258) | [Fact] method Test_WorkflowViz_Mermaid_Conditional_Edge (line 278) | [Fact] method Test_WorkflowViz_Mermaid_FanIn_EdgeGroup (line 305) | [Fact] method Test_WorkflowViz_Mermaid_Complex_Workflow (line 359) | [Fact] method Test_WorkflowViz_Mermaid_Mixed_EdgeTypes (line 391) | [Fact] method Test_WorkflowViz_Mermaid_Edge_Label_With_Pipe (line 426) | [Fact] method Test_WorkflowViz_Mermaid_Edge_Label_With_Special_Chars (line 445) | [Fact] method Test_WorkflowViz_Mermaid_Edge_Label_With_Newline (line 464) | [Fact] method Test_WorkflowViz_Mermaid_ConditionalEdge_ArrowSyntax (line 483) | [Fact] method Test_WorkflowViz_Mermaid_IdentifiersWithSpaces (line 504) | [Fact] method Test_WorkflowViz_Mermaid_IdentifiersWithUnicode (line 535) | [Fact] FILE: dotnet/tests/OpenAIAssistant.IntegrationTests/OpenAIAssistantChatClientAgentRunStreamingTests.cs class OpenAIAssistantChatClientAgentRunStreamingTests (line 7) | public class OpenAIAssistantChatClientAgentRunStreamingTests() : ChatCli... FILE: dotnet/tests/OpenAIAssistant.IntegrationTests/OpenAIAssistantChatClientAgentRunTests.cs class OpenAIAssistantChatClientAgentRunTests (line 7) | public class OpenAIAssistantChatClientAgentRunTests() : ChatClientAgentR... FILE: dotnet/tests/OpenAIAssistant.IntegrationTests/OpenAIAssistantClientExtensionsTests.cs class OpenAIAssistantClientExtensionsTests (line 20) | public class OpenAIAssistantClientExtensionsTests method CreateAIAgentAsync_WithAIFunctionTool_InvokesFunctionAsync (line 27) | [Theory] method CreateAIAgentAsync_WithHostedCodeInterpreter_RunsCodeAsync (line 86) | [Theory(Skip = SkipCodeInterpreterReason)] method CreateAIAgentAsync_WithHostedFileSearchTool_SearchesFilesAsync (line 150) | [Theory(Skip = "For manual testing only")] method WaitForVectorStoreReadyAsync (line 237) | private static async Task WaitForVectorStoreReadyAsync( FILE: dotnet/tests/OpenAIAssistant.IntegrationTests/OpenAIAssistantFixture.cs class OpenAIAssistantFixture (line 16) | public class OpenAIAssistantFixture : IChatClientAgentFixture method GetChatHistoryAsync (line 25) | public async Task> GetChatHistoryAsync(AIAgent agent... method CreateChatClientAgentAsync (line 44) | public async Task CreateChatClientAgentAsync( method DeleteAgentAsync (line 67) | public Task DeleteAgentAsync(ChatClientAgent agent) => method DeleteSessionAsync (line 70) | public Task DeleteSessionAsync(AgentSession session) method InitializeAsync (line 81) | public async ValueTask InitializeAsync() method DisposeAsync (line 89) | public ValueTask DisposeAsync() FILE: dotnet/tests/OpenAIAssistant.IntegrationTests/OpenAIAssistantIRunTests.cs class OpenAIAssistantIRunTests (line 7) | public class OpenAIAssistantIRunTests() : RunTests> GetChatHistoryAsync(AIAgent agent... method CreateChatClientAgentAsync (line 43) | public Task CreateChatClientAgentAsync( method DeleteAgentAsync (line 59) | public Task DeleteAgentAsync(ChatClientAgent agent) => method DeleteSessionAsync (line 63) | public Task DeleteSessionAsync(AgentSession session) => method InitializeAsync (line 67) | public async ValueTask InitializeAsync() => method DisposeAsync (line 70) | public ValueTask DisposeAsync() FILE: dotnet/tests/OpenAIChatCompletion.IntegrationTests/OpenAIChatCompletionRunStreamingTests.cs class OpenAIChatCompletionRunStreamingTests (line 7) | public class OpenAIChatCompletionRunStreamingTests() class OpenAIChatCompletionReasoningRunStreamingTests (line 12) | public class OpenAIChatCompletionReasoningRunStreamingTests() FILE: dotnet/tests/OpenAIChatCompletion.IntegrationTests/OpenAIChatCompletionRunTests.cs class OpenAIChatCompletionRunTests (line 7) | public class OpenAIChatCompletionRunTests() class OpenAIChatCompletionReasoningRunTests (line 12) | public class OpenAIChatCompletionReasoningRunTests() FILE: dotnet/tests/OpenAIChatCompletion.IntegrationTests/OpenAIChatCompletionStructuredOutputRunTests.cs class OpenAIChatCompletionStructuredOutputRunTests (line 7) | public class OpenAIChatCompletionStructuredOutputRunTests() : Structured... FILE: dotnet/tests/OpenAIResponse.IntegrationTests/OpenAIResponseChatClientAgentRunStreamingTests.cs class OpenAIResponseStoreTrueChatClientAgentRunStreamingTests (line 8) | public class OpenAIResponseStoreTrueChatClientAgentRunStreamingTests() :... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 12) | public override Task RunWithInstructionsAndNoMessageReturnsExpectedRes... class OpenAIResponseStoreFalseChatClientAgentRunStreamingTests (line 19) | public class OpenAIResponseStoreFalseChatClientAgentRunStreamingTests() ... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 23) | public override Task RunWithInstructionsAndNoMessageReturnsExpectedRes... FILE: dotnet/tests/OpenAIResponse.IntegrationTests/OpenAIResponseChatClientAgentRunTests.cs class OpenAIResponseStoreTrueChatClientAgentRunTests (line 8) | public class OpenAIResponseStoreTrueChatClientAgentRunTests() : ChatClie... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 12) | public override Task RunWithInstructionsAndNoMessageReturnsExpectedRes... class OpenAIResponseStoreFalseChatClientAgentRunTests (line 19) | public class OpenAIResponseStoreFalseChatClientAgentRunTests() : ChatCli... method RunWithInstructionsAndNoMessageReturnsExpectedResultAsync (line 23) | public override Task RunWithInstructionsAndNoMessageReturnsExpectedRes... FILE: dotnet/tests/OpenAIResponse.IntegrationTests/OpenAIResponseFixture.cs class OpenAIResponseFixture (line 17) | public class OpenAIResponseFixture(bool store) : IChatClientAgentFixture method GetChatHistoryAsync (line 27) | public async Task> GetChatHistoryAsync(AIAgent agent... method ConvertToChatMessage (line 62) | private static ChatMessage ConvertToChatMessage(ResponseItem item) method CreateChatClientAgentAsync (line 73) | public async Task CreateChatClientAgentAsync( method DeleteAgentAsync (line 90) | public Task DeleteAgentAsync(ChatClientAgent agent) => method DeleteSessionAsync (line 94) | public Task DeleteSessionAsync(AgentSession session) => method InitializeAsync (line 98) | public async ValueTask InitializeAsync() method DisposeAsync (line 107) | public ValueTask DisposeAsync() FILE: dotnet/tests/OpenAIResponse.IntegrationTests/OpenAIResponseRunStreamingTests.cs class OpenAIResponseStoreTrueRunStreamingTests (line 8) | public class OpenAIResponseStoreTrueRunStreamingTests() : RunStreamingTe... method RunWithNoMessageDoesNotFailAsync (line 12) | public override Task RunWithNoMessageDoesNotFailAsync() class OpenAIResponseStoreFalseRunStreamingTests (line 19) | public class OpenAIResponseStoreFalseRunStreamingTests() : RunStreamingT... method RunWithNoMessageDoesNotFailAsync (line 23) | public override Task RunWithNoMessageDoesNotFailAsync() FILE: dotnet/tests/OpenAIResponse.IntegrationTests/OpenAIResponseRunTests.cs class OpenAIResponseStoreTrueRunTests (line 8) | public class OpenAIResponseStoreTrueRunTests() : RunTests dict[str, Any]: function _version (line 18) | def _version() -> str: FILE: python/packages/a2a/agent_framework_a2a/_agent.py class A2AContinuationToken (line 55) | class A2AContinuationToken(ContinuationToken): function _get_uri_data (line 81) | def _get_uri_data(uri: str) -> str: class A2AAgent (line 89) | class A2AAgent(AgentTelemetryLayer, BaseAgent): method __init__ (line 102) | def __init__( method _create_timeout_config (line 183) | def _create_timeout_config(self, timeout: float | httpx.Timeout | None... method __aenter__ (line 209) | async def __aenter__(self) -> A2AAgent: method __aexit__ (line 213) | async def __aexit__( method run (line 225) | def run( method run (line 239) | def run( method run (line 252) | def run( # pyright: ignore[reportIncompatibleMethodOverride] method _map_a2a_stream (line 325) | async def _map_a2a_stream( method _updates_from_task (line 392) | def _updates_from_task(self, task: Task, *, background: bool = False) ... method _build_continuation_token (line 430) | def _build_continuation_token(task: Task) -> A2AContinuationToken | None: method poll_task (line 436) | async def poll_task(self, continuation_token: A2AContinuationToken) ->... method _prepare_message_for_a2a (line 457) | def _prepare_message_for_a2a(self, message: Message) -> A2AMessage: method _parse_contents_from_a2a (line 551) | def _parse_contents_from_a2a(self, parts: Sequence[A2APart]) -> list[C... method _parse_messages_from_task (line 600) | def _parse_messages_from_task(self, task: Task) -> list[Message]: method _parse_message_from_artifact (line 621) | def _parse_message_from_artifact(self, artifact: Artifact) -> Message: FILE: python/packages/a2a/tests/test_a2a_agent.py class MockA2AClient (line 39) | class MockA2AClient: method __init__ (line 42) | def __init__(self) -> None: method add_message_response (line 48) | def add_message_response(self, message_id: str, text: str, role: str =... method add_task_response (line 60) | def add_task_response(self, task_id: str, artifacts: list[dict[str, An... method add_in_progress_task_response (line 89) | def add_in_progress_task_response( method send_message (line 101) | async def send_message(self, message: Any) -> AsyncIterator[Any]: method resubscribe (line 109) | async def resubscribe(self, request: Any) -> AsyncIterator[Any]: method get_task (line 117) | async def get_task(self, request: Any) -> Task: function mock_a2a_client (line 127) | def mock_a2a_client() -> MockA2AClient: function a2a_agent (line 133) | def a2a_agent(mock_a2a_client: MockA2AClient) -> A2AAgent: function test_a2a_agent_initialization_with_client (line 138) | def test_a2a_agent_initialization_with_client(mock_a2a_client: MockA2ACl... function test_a2a_agent_defaults_name_description_from_agent_card (line 151) | def test_a2a_agent_defaults_name_description_from_agent_card(mock_a2a_cl... function test_a2a_agent_explicit_name_description_overrides_agent_card (line 163) | def test_a2a_agent_explicit_name_description_overrides_agent_card(mock_a... function test_a2a_agent_empty_string_name_description_not_overridden (line 181) | def test_a2a_agent_empty_string_name_description_not_overridden(mock_a2a... function test_a2a_agent_initialization_without_client_raises_error (line 199) | def test_a2a_agent_initialization_without_client_raises_error() -> None: function test_run_with_message_response (line 205) | async def test_run_with_message_response(a2a_agent: A2AAgent, mock_a2a_c... function test_run_with_task_response_single_artifact (line 219) | async def test_run_with_task_response_single_artifact(a2a_agent: A2AAgen... function test_run_with_task_response_multiple_artifacts (line 234) | async def test_run_with_task_response_multiple_artifacts(a2a_agent: A2AA... function test_run_with_task_response_no_artifacts (line 259) | async def test_run_with_task_response_no_artifacts(a2a_agent: A2AAgent, ... function test_run_with_unknown_response_type_raises_error (line 269) | async def test_run_with_unknown_response_type_raises_error(a2a_agent: A2... function test_parse_messages_from_task_empty_artifacts (line 277) | def test_parse_messages_from_task_empty_artifacts(a2a_agent: A2AAgent) -... function test_parse_messages_from_task_with_artifacts (line 287) | def test_parse_messages_from_task_with_artifacts(a2a_agent: A2AAgent) ->... function test_parse_message_from_artifact (line 320) | def test_parse_message_from_artifact(a2a_agent: A2AAgent) -> None: function test_get_uri_data_valid_uri (line 341) | def test_get_uri_data_valid_uri() -> None: function test_get_uri_data_invalid_uri (line 349) | def test_get_uri_data_invalid_uri() -> None: function test_parse_contents_from_a2a_conversion (line 356) | def test_parse_contents_from_a2a_conversion(a2a_agent: A2AAgent) -> None: function test_prepare_message_for_a2a_with_error_content (line 375) | def test_prepare_message_for_a2a_with_error_content(a2a_agent: A2AAgent)... function test_prepare_message_for_a2a_with_uri_content (line 390) | def test_prepare_message_for_a2a_with_uri_content(a2a_agent: A2AAgent) -... function test_prepare_message_for_a2a_with_data_content (line 406) | def test_prepare_message_for_a2a_with_data_content(a2a_agent: A2AAgent) ... function test_prepare_message_for_a2a_empty_contents_raises_error (line 422) | def test_prepare_message_for_a2a_empty_contents_raises_error(a2a_agent: ... function test_run_streaming_with_message_response (line 432) | async def test_run_streaming_with_message_response(a2a_agent: A2AAgent, ... function test_context_manager_cleanup (line 455) | async def test_context_manager_cleanup() -> None: function test_context_manager_no_cleanup_when_no_http_client (line 473) | async def test_context_manager_no_cleanup_when_no_http_client() -> None: function test_prepare_message_for_a2a_with_multiple_contents (line 485) | def test_prepare_message_for_a2a_with_multiple_contents() -> None: function test_prepare_message_for_a2a_forwards_context_id (line 513) | def test_prepare_message_for_a2a_forwards_context_id() -> None: function test_parse_contents_from_a2a_with_data_part (line 530) | def test_parse_contents_from_a2a_with_data_part() -> None: function test_parse_contents_from_a2a_unknown_part_kind (line 547) | def test_parse_contents_from_a2a_unknown_part_kind() -> None: function test_prepare_message_for_a2a_with_hosted_file (line 559) | def test_prepare_message_for_a2a_with_hosted_file() -> None: function test_parse_contents_from_a2a_with_hosted_file_uri (line 585) | def test_parse_contents_from_a2a_with_hosted_file_uri() -> None: function test_auth_interceptor_parameter (line 609) | def test_auth_interceptor_parameter() -> None: function test_transport_negotiation_both_fail (line 627) | def test_transport_negotiation_both_fail() -> None: function test_create_timeout_config_httpx_timeout (line 656) | def test_create_timeout_config_httpx_timeout() -> None: function test_create_timeout_config_invalid_type (line 670) | def test_create_timeout_config_invalid_type() -> None: function test_a2a_agent_initialization_with_timeout_parameter (line 678) | def test_a2a_agent_initialization_with_timeout_parameter() -> None: function test_working_task_emits_continuation_token (line 707) | async def test_working_task_emits_continuation_token(a2a_agent: A2AAgent... function test_submitted_task_emits_continuation_token (line 719) | async def test_submitted_task_emits_continuation_token(a2a_agent: A2AAge... function test_input_required_task_emits_continuation_token (line 729) | async def test_input_required_task_emits_continuation_token( function test_working_task_no_token_without_background (line 741) | async def test_working_task_no_token_without_background(a2a_agent: A2AAg... function test_completed_task_has_no_continuation_token (line 750) | async def test_completed_task_has_no_continuation_token(a2a_agent: A2AAg... function test_streaming_emits_continuation_token (line 761) | async def test_streaming_emits_continuation_token(a2a_agent: A2AAgent, m... function test_resume_via_continuation_token (line 775) | async def test_resume_via_continuation_token(a2a_agent: A2AAgent, mock_a... function test_resume_streaming_via_continuation_token (line 796) | async def test_resume_streaming_via_continuation_token(a2a_agent: A2AAge... function test_poll_task_in_progress (line 824) | async def test_poll_task_in_progress(a2a_agent: A2AAgent, mock_a2a_clien... function test_poll_task_completed (line 836) | async def test_poll_task_completed(a2a_agent: A2AAgent, mock_a2a_client:... class TrackingContextProvider (line 862) | class TrackingContextProvider(BaseContextProvider): method __init__ (line 865) | def __init__(self) -> None: method before_run (line 872) | async def before_run( method after_run (line 883) | async def after_run( function test_run_invokes_context_providers (line 895) | async def test_run_invokes_context_providers(mock_a2a_client: MockA2ACli... function test_run_streaming_invokes_context_providers (line 914) | async def test_run_streaming_invokes_context_providers(mock_a2a_client: ... function test_context_providers_receive_response (line 937) | async def test_context_providers_receive_response(mock_a2a_client: MockA... function test_context_providers_receive_input_messages (line 956) | async def test_context_providers_receive_input_messages(mock_a2a_client:... function test_run_without_context_providers (line 975) | async def test_run_without_context_providers(mock_a2a_client: MockA2ACli... function test_run_creates_session_for_providers_when_none_provided (line 989) | async def test_run_creates_session_for_providers_when_none_provided(mock... function test_run_raises_when_no_messages_and_no_continuation_token (line 1007) | async def test_run_raises_when_no_messages_and_no_continuation_token( function test_run_with_continuation_token_does_not_require_messages (line 1021) | async def test_run_with_continuation_token_does_not_require_messages(moc... FILE: python/packages/ag-ui/agent_framework_ag_ui/_agent.py class AgentConfig (line 15) | class AgentConfig: method __init__ (line 18) | def __init__( method _normalize_state_schema (line 39) | def _normalize_state_schema(state_schema: Any | None) -> dict[str, Any]: class AgentFrameworkAgent (line 66) | class AgentFrameworkAgent: method __init__ (line 73) | def __init__( method run (line 113) | async def run( FILE: python/packages/ag-ui/agent_framework_ag_ui/_agent_run.py function _build_safe_metadata (line 74) | def _build_safe_metadata(thread_metadata: dict[str, Any] | None) -> dict... function _should_suppress_intermediate_snapshot (line 96) | def _should_suppress_intermediate_snapshot( function _extract_approved_state_updates (line 126) | def _extract_approved_state_updates( function _resume_to_tool_messages (line 160) | def _resume_to_tool_messages(resume_payload: Any) -> list[dict[str, Any]]: function _normalize_response_stream (line 180) | async def _normalize_response_stream(response_stream: Any) -> AsyncItera... function _create_state_context_message (line 214) | def _create_state_context_message( function _inject_state_context (line 250) | def _inject_state_context( function _is_confirm_changes_response (line 292) | def _is_confirm_changes_response(messages: list[Any]) -> bool: function _handle_step_based_approval (line 322) | def _handle_step_based_approval(messages: list[Any]) -> list[BaseEvent]: function _make_approval_tool_result_events (line 373) | def _make_approval_tool_result_events(resolved_approval_results: list[Co... function _evict_oldest_approvals (line 391) | def _evict_oldest_approvals(registry: dict[str, str], max_size: int = 10... function _resolve_approval_responses (line 406) | async def _resolve_approval_responses( function _convert_approval_results_to_tool_messages (line 548) | def _convert_approval_results_to_tool_messages(messages: list[Message]) ... function _clean_resolved_approvals_from_snapshot (line 590) | def _clean_resolved_approvals_from_snapshot( function _build_messages_snapshot (line 652) | def _build_messages_snapshot( function run_agent_stream (line 690) | async def run_agent_stream( FILE: python/packages/ag-ui/agent_framework_ag_ui/_client.py function _unwrap_server_function_call_contents (line 55) | def _unwrap_server_function_call_contents(contents: MutableSequence[Cont... function _apply_server_function_call_unwrap (line 72) | def _apply_server_function_call_unwrap(client: BaseChatClientT) -> BaseC... class AGUIChatClient (line 113) | class AGUIChatClient( method __init__ (line 214) | def __init__( method close (line 245) | async def close(self) -> None: method __aenter__ (line 249) | async def __aenter__(self) -> Self: method __aexit__ (line 253) | async def __aexit__(self, *args: Any) -> None: method _register_server_tool_placeholder (line 257) | def _register_server_tool_placeholder(self, tool_name: str) -> None: method _extract_state_from_messages (line 279) | def _extract_state_from_messages(self, messages: Sequence[Message]) ->... method _convert_messages_to_agui_format (line 311) | def _convert_messages_to_agui_format(self, messages: list[Message]) ->... method _get_thread_id (line 322) | def _get_thread_id(self, options: Mapping[str, Any]) -> str: method _inner_get_response (line 342) | def _inner_get_response( method _streaming_impl (line 382) | async def _streaming_impl( FILE: python/packages/ag-ui/agent_framework_ag_ui/_endpoint.py function add_agent_framework_fastapi_endpoint (line 26) | def add_agent_framework_fastapi_endpoint( FILE: python/packages/ag-ui/agent_framework_ag_ui/_event_converters.py class AGUIEventConverter (line 15) | class AGUIEventConverter: method __init__ (line 22) | def __init__(self) -> None: method convert_event (line 31) | def convert_event(self, event: dict[str, Any]) -> ChatResponseUpdate |... method _handle_run_started (line 86) | def _handle_run_started(self, event: dict[str, Any]) -> ChatResponseUp... method _handle_text_message_start (line 100) | def _handle_text_message_start(self, event: dict[str, Any]) -> ChatRes... method _handle_text_message_content (line 109) | def _handle_text_message_content(self, event: dict[str, Any]) -> ChatR... method _handle_text_message_end (line 123) | def _handle_text_message_end(self, event: dict[str, Any]) -> ChatRespo... method _handle_tool_call_start (line 127) | def _handle_tool_call_start(self, event: dict[str, Any]) -> ChatRespon... method _handle_tool_call_args (line 144) | def _handle_tool_call_args(self, event: dict[str, Any]) -> ChatRespons... method _handle_tool_call_end (line 160) | def _handle_tool_call_end(self, event: dict[str, Any]) -> ChatResponse... method _handle_tool_call_result (line 165) | def _handle_tool_call_result(self, event: dict[str, Any]) -> ChatRespo... method _handle_run_finished (line 180) | def _handle_run_finished(self, event: dict[str, Any]) -> ChatResponseU... method _handle_run_error (line 198) | def _handle_run_error(self, event: dict[str, Any]) -> ChatResponseUpdate: method _handle_custom_event (line 217) | def _handle_custom_event(self, event: dict[str, Any], raw_event_type: ... FILE: python/packages/ag-ui/agent_framework_ag_ui/_http_service.py class AGUIHttpService (line 17) | class AGUIHttpService: method __init__ (line 45) | def __init__( method post_run (line 62) | async def post_run( method close (line 154) | async def close(self) -> None: method __aenter__ (line 164) | async def __aenter__(self) -> AGUIHttpService: method __aexit__ (line 168) | async def __aexit__(self, *args: Any) -> None: FILE: python/packages/ag-ui/agent_framework_ag_ui/_message_adapters.py function _sanitize_tool_history (line 29) | def _sanitize_tool_history(messages: list[Message]) -> list[Message]: function _deduplicate_messages (line 200) | def _deduplicate_messages(messages: list[Message]) -> list[Message]: function _parse_multimodal_media_part (line 266) | def _parse_multimodal_media_part(part: dict[str, Any]) -> Content | None: function _convert_agui_content_to_framework (line 337) | def _convert_agui_content_to_framework(content: Any) -> list[Content]: function _normalize_snapshot_content (line 379) | def _normalize_snapshot_content(content: Any) -> Any: function normalize_agui_input_messages (line 479) | def normalize_agui_input_messages( function agui_messages_to_agent_framework (line 500) | def agui_messages_to_agent_framework(messages: list[dict[str, Any]]) -> ... function agent_framework_messages_to_agui (line 871) | def agent_framework_messages_to_agui(messages: list[Message] | list[dict... function extract_text_from_contents (line 951) | def extract_text_from_contents(contents: list[Any]) -> str: function agui_messages_to_snapshot_format (line 974) | def agui_messages_to_snapshot_format(messages: list[dict[str, Any]]) -> ... FILE: python/packages/ag-ui/agent_framework_ag_ui/_orchestration/_helpers.py function pending_tool_call_ids (line 24) | def pending_tool_call_ids(messages: list[Message]) -> set[str]: function is_state_context_message (line 44) | def is_state_context_message(message: Message) -> bool: function ensure_tool_call_entry (line 61) | def ensure_tool_call_entry( function tool_name_for_call_id (line 91) | def tool_name_for_call_id( function schema_has_steps (line 114) | def schema_has_steps(schema: Any) -> bool: function select_approval_tool_name (line 134) | def select_approval_tool_name(client_tools: list[Any] | None) -> str | N... function build_safe_metadata (line 158) | def build_safe_metadata(thread_metadata: dict[str, Any] | None) -> dict[... function latest_approval_response (line 180) | def latest_approval_response(messages: list[Message]) -> Content | None: function approval_steps (line 198) | def approval_steps(approval: Content) -> list[Any]: function is_step_based_approval (line 223) | def is_step_based_approval( FILE: python/packages/ag-ui/agent_framework_ag_ui/_orchestration/_predictive_state.py class PredictiveStateHandler (line 19) | class PredictiveStateHandler: method __init__ (line 22) | def __init__( method reset_streaming (line 40) | def reset_streaming(self) -> None: method extract_state_value (line 45) | def extract_state_value( method is_predictive_tool (line 77) | def is_predictive_tool(self, tool_name: str | None) -> bool: method emit_streaming_deltas (line 93) | def emit_streaming_deltas( method _emit_partial_deltas (line 131) | def _emit_partial_deltas(self, tool_name: str) -> list[StateDeltaEvent]: method _emit_complete_deltas (line 160) | def _emit_complete_deltas( method _create_delta_event (line 196) | def _create_delta_event(self, state_key: str, value: Any) -> StateDelt... method apply_pending_updates (line 228) | def apply_pending_updates(self) -> None: FILE: python/packages/ag-ui/agent_framework_ag_ui/_orchestration/_tooling.py function _collect_mcp_tool_functions (line 19) | def _collect_mcp_tool_functions(mcp_tools: list[Any]) -> list[Any]: function collect_server_tools (line 35) | def collect_server_tools(agent: SupportsAgentRun) -> list[Any]: function register_additional_client_tools (line 74) | def register_additional_client_tools(agent: SupportsAgentRun, client_too... function _has_approval_tools (line 94) | def _has_approval_tools(tools: list[Any]) -> bool: function merge_tools (line 99) | def merge_tools(server_tools: list[Any], client_tools: list[Any] | None)... FILE: python/packages/ag-ui/agent_framework_ag_ui/_run_common.py function _has_only_tool_calls (line 39) | def _has_only_tool_calls(contents: list[Any]) -> bool: function _normalize_resume_interrupts (line 46) | def _normalize_resume_interrupts(resume_payload: Any) -> list[dict[str, ... function _extract_resume_payload (line 85) | def _extract_resume_payload(input_data: dict[str, Any]) -> Any: function _build_run_finished_event (line 105) | def _build_run_finished_event( class FlowState (line 115) | class FlowState: method get_tool_name (line 130) | def get_tool_name(self, call_id: str | None) -> str | None: method get_pending_without_end (line 137) | def get_pending_without_end(self) -> list[dict[str, Any]]: function _emit_text (line 142) | def _emit_text(content: Content, flow: FlowState, skip_text: bool = Fals... function _emit_tool_call (line 165) | def _emit_tool_call( function _emit_tool_result_common (line 233) | def _emit_tool_result_common( function _emit_tool_result (line 286) | def _emit_tool_result( function _emit_approval_request (line 298) | def _emit_approval_request( function _emit_usage (line 388) | def _emit_usage(content: Content) -> list[BaseEvent]: function _emit_oauth_consent (line 394) | def _emit_oauth_consent(content: Content) -> list[BaseEvent]: function _emit_mcp_tool_call (line 403) | def _emit_mcp_tool_call(content: Content, flow: FlowState) -> list[BaseE... function _emit_mcp_tool_result (line 448) | def _emit_mcp_tool_result( function _emit_text_reasoning (line 463) | def _emit_text_reasoning(content: Content) -> list[BaseEvent]: function _emit_content (line 504) | def _emit_content( FILE: python/packages/ag-ui/agent_framework_ag_ui/_types.py class PredictStateConfig (line 25) | class PredictStateConfig(TypedDict): class RunMetadata (line 33) | class RunMetadata(TypedDict): class AgentState (line 41) | class AgentState(TypedDict): class AGUIRequest (line 47) | class AGUIRequest(BaseModel): class AGUIChatOptions (line 100) | class AGUIChatOptions(ChatOptions[ResponseModelT], Generic[ResponseModel... FILE: python/packages/ag-ui/agent_framework_ag_ui/_utils.py function generate_event_id (line 33) | def generate_event_id() -> str: function safe_json_parse (line 38) | def safe_json_parse(value: Any) -> dict[str, Any] | None: function get_role_value (line 59) | def get_role_value(message: Any) -> str: function normalize_agui_role (line 78) | def normalize_agui_role(raw_role: Any) -> str: function extract_state_from_tool_args (line 97) | def extract_state_from_tool_args( function merge_state (line 117) | def merge_state(current: dict[str, Any], update: dict[str, Any]) -> dict... function make_json_safe (line 132) | def make_json_safe(obj: Any) -> Any: # noqa: ANN401 function convert_agui_tools_to_agent_framework (line 163) | def convert_agui_tools_to_agent_framework( function convert_tools_to_agui_format (line 201) | def convert_tools_to_agui_format( function get_conversation_id_from_update (line 265) | def get_conversation_id_from_update(update: AgentResponseUpdate) -> str ... FILE: python/packages/ag-ui/agent_framework_ag_ui/_workflow.py class AgentFrameworkWorkflow (line 19) | class AgentFrameworkWorkflow: method __init__ (line 25) | def __init__( method _thread_id_from_input (line 43) | def _thread_id_from_input(input_data: dict[str, Any]) -> str: method _resolve_workflow (line 50) | def _resolve_workflow(self, thread_id: str) -> Workflow: method clear_thread_workflow (line 66) | def clear_thread_workflow(self, thread_id: str) -> None: method clear_workflow_cache (line 70) | def clear_workflow_cache(self) -> None: method run (line 74) | async def run(self, input_data: dict[str, Any]) -> AsyncGenerator[Base... FILE: python/packages/ag-ui/agent_framework_ag_ui/_workflow_run.py function _pending_request_events (line 64) | async def _pending_request_events(workflow: Workflow) -> dict[str, Any]: function _interrupt_entry_for_request_event (line 85) | def _interrupt_entry_for_request_event(request_event: Any) -> dict[str, ... function _interrupts_from_pending_requests (line 98) | def _interrupts_from_pending_requests(pending_events: dict[str, Any]) ->... function _request_payload_from_request_event (line 108) | def _request_payload_from_request_event(request_event: Any) -> dict[str,... function _extract_responses_from_messages (line 126) | def _extract_responses_from_messages(messages: list[Message]) -> dict[st... function _resume_to_workflow_responses (line 152) | def _resume_to_workflow_responses(resume_payload: Any) -> dict[str, Any]: function _coerce_json_value (line 161) | def _coerce_json_value(value: Any) -> Any: function _response_type_name (line 176) | def _response_type_name(request_event: Any) -> str: function _coerce_content (line 184) | def _coerce_content(value: Any) -> Content | None: function _coerce_message_content (line 203) | def _coerce_message_content(content_payload: Any) -> Content | None: function _coerce_message (line 223) | def _coerce_message(value: Any) -> Message | None: function _coerce_response_for_request (line 265) | def _coerce_response_for_request(request_event: Any, value: Any) -> Any ... function _single_pending_response_from_value (line 325) | def _single_pending_response_from_value(pending_events: dict[str, Any], ... function _coerce_responses_for_pending_requests (line 347) | def _coerce_responses_for_pending_requests( function _latest_user_text (line 377) | def _latest_user_text(messages: list[Message]) -> str | None: function _workflow_interrupt_event_value (line 396) | def _workflow_interrupt_event_value(request_payload: dict[str, Any]) -> ... function _message_role_value (line 406) | def _message_role_value(message: Message) -> str: function _latest_assistant_contents (line 414) | def _latest_assistant_contents(messages: list[Message]) -> list[Content]... function _text_from_contents (line 425) | def _text_from_contents(contents: list[Content]) -> str | None: function _workflow_payload_to_contents (line 442) | def _workflow_payload_to_contents(payload: Any) -> list[Content] | None: function _event_name (line 480) | def _event_name(event: Any) -> str: function _custom_event_value (line 487) | def _custom_event_value(event: Any) -> Any: function _details_message (line 500) | def _details_message(details: Any) -> str: function _details_code (line 510) | def _details_code(details: Any) -> str | None: function run_workflow_stream (line 520) | async def run_workflow_stream( FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/document_writer_agent.py function write_document (line 12) | def write_document(document: str) -> str: function document_writer_agent (line 43) | def document_writer_agent(client: SupportsChatGetResponse) -> AgentFrame... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/human_in_the_loop_agent.py class StepStatus (line 12) | class StepStatus(str, Enum): class TaskStep (line 19) | class TaskStep(BaseModel): function generate_task_steps (line 31) | def generate_task_steps(steps: list[TaskStep]) -> str: function human_in_the_loop_agent (line 46) | def human_in_the_loop_agent(client: SupportsChatGetResponse[Any]) -> Age... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/recipe_agent.py class SkillLevel (line 15) | class SkillLevel(str, Enum): class CookingTime (line 23) | class CookingTime(str, Enum): class Ingredient (line 33) | class Ingredient(BaseModel): class Recipe (line 41) | class Recipe(BaseModel): function update_recipe (line 55) | def update_recipe(recipe: Recipe) -> str: function recipe_agent (line 107) | def recipe_agent(client: SupportsChatGetResponse[Any]) -> AgentFramework... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/research_assistant_agent.py function research_topic (line 13) | async def research_topic(topic: str) -> str: function create_presentation (line 39) | async def create_presentation(title: str, num_slides: int) -> str: function analyze_data (line 59) | async def analyze_data(dataset: str) -> str: function research_assistant_agent (line 91) | def research_assistant_agent(client: SupportsChatGetResponse[Any]) -> Ag... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/simple_agent.py function simple_agent (line 10) | def simple_agent(client: SupportsChatGetResponse[Any]) -> Agent[Any]: FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/subgraphs_agent.py class _PresentFlights (line 99) | class _PresentFlights: class _PresentHotels (line 104) | class _PresentHotels: class _PlanExperiences (line 109) | class _PlanExperiences: class _FinalizeTrip (line 114) | class _FinalizeTrip: function _initial_state (line 118) | def _initial_state() -> dict[str, Any]: function _emit_text_events (line 129) | def _emit_text_events(text: str) -> list[BaseEvent]: function _emit_text (line 138) | async def _emit_text(ctx: WorkflowContext[Any, BaseEvent], text: str) ->... function _emit_state_snapshot (line 143) | async def _emit_state_snapshot(ctx: WorkflowContext[Any, BaseEvent], sta... function _flight_interrupt_value (line 147) | def _flight_interrupt_value() -> dict[str, Any]: function _hotel_interrupt_value (line 156) | def _hotel_interrupt_value() -> dict[str, Any]: function _normalize_flight (line 165) | def _normalize_flight(value: Any) -> dict[str, str] | None: function _normalize_hotel (line 182) | def _normalize_hotel(value: Any) -> dict[str, str] | None: function _load_state (line 198) | def _load_state(ctx: WorkflowContext[Any, BaseEvent]) -> dict[str, Any]: class _SupervisorExecutor (line 207) | class _SupervisorExecutor(Executor): method __init__ (line 208) | def __init__(self) -> None: method start (line 212) | async def start(self, message: list[Message], ctx: WorkflowContext[_Pr... method finalize (line 232) | async def finalize(self, message: _FinalizeTrip, ctx: WorkflowContext[... class _FlightsExecutor (line 242) | class _FlightsExecutor(Executor): method __init__ (line 243) | def __init__(self) -> None: method present_options (line 247) | async def present_options(self, message: _PresentFlights, ctx: Workflo... method handle_selection (line 257) | async def handle_selection( class _HotelsExecutor (line 300) | class _HotelsExecutor(Executor): method __init__ (line 301) | def __init__(self) -> None: method present_options (line 305) | async def present_options(self, message: _PresentHotels, ctx: Workflow... method handle_selection (line 315) | async def handle_selection( class _ExperiencesExecutor (line 358) | class _ExperiencesExecutor(Executor): method __init__ (line 359) | def __init__(self) -> None: method plan (line 363) | async def plan(self, message: _PlanExperiences, ctx: WorkflowContext[_... function _build_subgraphs_workflow (line 373) | def _build_subgraphs_workflow() -> Workflow: function _build_subgraphs_workflow_for_thread (line 393) | def _build_subgraphs_workflow_for_thread(thread_id: str) -> Workflow: function subgraphs_agent (line 399) | def subgraphs_agent() -> AgentFrameworkWorkflow: FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/task_planner_agent.py function create_calendar_event (line 12) | def create_calendar_event(title: str, date: str, time: str) -> str: function send_email (line 27) | def send_email(to: str, subject: str, body: str) -> str: function book_meeting_room (line 42) | def book_meeting_room(room_name: str, date: str, start_time: str, end_ti... function task_planner_agent (line 64) | def task_planner_agent(client: SupportsChatGetResponse[Any]) -> AgentFra... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/task_steps_agent.py class StepStatus (line 30) | class StepStatus(str, Enum): class TaskStep (line 37) | class TaskStep(BaseModel): function generate_task_steps (line 47) | def generate_task_steps(steps: list[TaskStep]) -> str: function _create_task_steps_agent (line 59) | def _create_task_steps_agent(client: SupportsChatGetResponse[Any]) -> Ag... class TaskStepsAgentWithExecution (line 110) | class TaskStepsAgentWithExecution(AgentFrameworkWorkflow): method __init__ (line 117) | def __init__(self, base_agent: AgentFrameworkAgent): method __getattr__ (line 122) | def __getattr__(self, name: str) -> Any: method run (line 126) | async def run(self, input_data: dict[str, Any]) -> AsyncGenerator[Any]: function task_steps_agent_wrapped (line 328) | def task_steps_agent_wrapped(client: SupportsChatGetResponse[Any]) -> Ta... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/ui_generator_agent.py function ui_generator_agent (line 171) | def ui_generator_agent(client: SupportsChatGetResponse[OptionsT]) -> Age... FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/agents/weather_agent.py function get_weather (line 13) | def get_weather(location: str) -> dict[str, Any]: function get_forecast (line 45) | def get_forecast(location: str, days: int = 3) -> str: function weather_agent (line 62) | def weather_agent(client: SupportsChatGetResponse[Any]) -> Agent[Any]: FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/server/api/backend_tool_rendering.py function register_backend_tool_rendering (line 15) | def register_backend_tool_rendering(app: FastAPI) -> None: FILE: python/packages/ag-ui/agent_framework_ag_ui_examples/server/main.py function main (line 145) | def main(): FILE: python/packages/ag-ui/getting_started/client.py function main (line 18) | async def main(): FILE: python/packages/ag-ui/getting_started/client_advanced.py function get_weather (line 23) | def get_weather(location: str) -> str: function calculate (line 40) | def calculate(a: float, b: float, operation: str) -> str: function streaming_example (line 64) | async def streaming_example(client: AGUIChatClient, thread_id: str | Non... function non_streaming_example (line 93) | async def non_streaming_example(client: AGUIChatClient, thread_id: str |... function tool_example (line 114) | async def tool_example(client: AGUIChatClient, thread_id: str | None = N... function conversation_example (line 164) | async def conversation_example(client: AGUIChatClient): function main (line 203) | async def main(): FILE: python/packages/ag-ui/getting_started/client_with_agent.py function get_weather (line 39) | def get_weather(location: str) -> str: function main (line 57) | async def main(): FILE: python/packages/ag-ui/getting_started/server.py function verify_api_key (line 59) | async def verify_api_key(api_key: str | None = Security(API_KEY_HEADER))... function get_time_zone (line 93) | def get_time_zone(location: str) -> str: FILE: python/packages/ag-ui/tests/ag_ui/conftest.py function pytest_configure (line 40) | def pytest_configure() -> None: class StreamingChatClientStub (line 47) | class StreamingChatClientStub( method __init__ (line 56) | def __init__(self, stream_fn: StreamFn, response_fn: ResponseFn | None... method get_response (line 64) | def get_response( method get_response (line 74) | def get_response( method get_response (line 84) | def get_response( method get_response (line 93) | def get_response( method _inner_get_response (line 118) | def _inner_get_response( method _get_response_impl (line 135) | async def _get_response_impl( function stream_from_updates (line 152) | def stream_from_updates(updates: list[ChatResponseUpdate]) -> StreamFn: class StubAgent (line 164) | class StubAgent(SupportsAgentRun): method __init__ (line 167) | def __init__( method run (line 188) | def run( method run (line 198) | def run( method run (line 207) | def run( method create_session (line 233) | def create_session(self, **kwargs: Any) -> AgentSession: function streaming_chat_client_stub (line 241) | def streaming_chat_client_stub() -> type[SupportsChatGetResponse]: function stream_from_updates_fixture (line 247) | def stream_from_updates_fixture() -> Callable[[list[ChatResponseUpdate]]... function stub_agent (line 253) | def stub_agent() -> type[SupportsAgentRun]: function collect_events (line 262) | def collect_events() -> Callable[..., Any]: function make_agent_wrapper (line 272) | def make_agent_wrapper() -> Callable[..., Any]: function make_app (line 305) | def make_app() -> Callable[..., Any]: FILE: python/packages/ag-ui/tests/ag_ui/event_stream.py class EventStream (line 10) | class EventStream: method __init__ (line 20) | def __init__(self, events: list[Any]) -> None: method __len__ (line 23) | def __len__(self) -> int: method __iter__ (line 26) | def __iter__(self): method types (line 29) | def types(self) -> list[str]: method get (line 33) | def get(self, event_type: str) -> list[Any]: method first (line 37) | def first(self, event_type: str) -> Any: method last (line 44) | def last(self, event_type: str) -> Any: method snapshot (line 51) | def snapshot(self) -> dict[str, Any]: method messages_snapshot (line 55) | def messages_snapshot(self) -> list[Any]: method assert_bookends (line 61) | def assert_bookends(self) -> None: method assert_has_run_lifecycle (line 68) | def assert_has_run_lifecycle(self) -> None: method assert_strict_types (line 79) | def assert_strict_types(self, expected: list[str]) -> None: method assert_ordered_types (line 84) | def assert_ordered_types(self, expected: list[str]) -> None: method assert_text_messages_balanced (line 103) | def assert_text_messages_balanced(self) -> None: method assert_tool_calls_balanced (line 122) | def assert_tool_calls_balanced(self) -> None: method assert_no_run_error (line 141) | def assert_no_run_error(self) -> None: method assert_has_type (line 148) | def assert_has_type(self, event_type: str) -> None: method assert_message_ids_consistent (line 152) | def assert_message_ids_consistent(self) -> None: method _type_str (line 168) | def _type_str(event: Any) -> str: FILE: python/packages/ag-ui/tests/ag_ui/golden/conftest.py function pytest_configure (line 9) | def pytest_configure() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_agentic_chat.py function _build_agent (line 16) | def _build_agent(updates: list[AgentResponseUpdate], **kwargs: Any) -> A... function _run (line 21) | async def _run(agent: AgentFrameworkAgent, payload: dict[str, Any]) -> E... function _text_update (line 32) | def _text_update(text: str) -> AgentResponseUpdate: function _snapshot_role (line 36) | def _snapshot_role(msg: Any) -> str: function _snapshot_content (line 44) | def _snapshot_content(msg: Any) -> str: function test_basic_chat_golden_event_sequence (line 53) | async def test_basic_chat_golden_event_sequence() -> None: function test_basic_chat_bookends (line 70) | async def test_basic_chat_bookends() -> None: function test_basic_chat_text_messages_balanced (line 77) | async def test_basic_chat_text_messages_balanced() -> None: function test_basic_chat_no_errors (line 84) | async def test_basic_chat_no_errors() -> None: function test_basic_chat_message_id_consistency (line 91) | async def test_basic_chat_message_id_consistency() -> None: function test_multi_chunk_text_golden_sequence (line 102) | async def test_multi_chunk_text_golden_sequence() -> None: function test_messages_snapshot_contains_assistant_reply (line 122) | async def test_messages_snapshot_contains_assistant_reply() -> None: function test_empty_messages_produces_start_and_finish (line 133) | async def test_empty_messages_produces_start_and_finish() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_backend_tools.py function _build_agent (line 16) | def _build_agent(updates: list[AgentResponseUpdate], **kwargs: Any) -> A... function _run (line 21) | async def _run(agent: AgentFrameworkAgent, payload: dict[str, Any]) -> E... function test_tool_call_lifecycle_golden_sequence (line 35) | async def test_tool_call_lifecycle_golden_sequence() -> None: function test_tool_calls_balanced (line 75) | async def test_tool_calls_balanced() -> None: function test_text_messages_balanced_with_tools (line 97) | async def test_text_messages_balanced_with_tools() -> None: function test_tool_call_id_matches_result (line 119) | async def test_tool_call_id_matches_result() -> None: function test_tool_result_content_preserved (line 139) | async def test_tool_result_content_preserved() -> None: function test_no_run_error_on_tool_flow (line 158) | async def test_no_run_error_on_tool_flow() -> None: function test_multiple_sequential_tool_calls (line 177) | async def test_multiple_sequential_tool_calls() -> None: function test_messages_snapshot_includes_tool_calls (line 214) | async def test_messages_snapshot_includes_tool_calls() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_generative_ui_agent.py function _run (line 16) | async def _run(wrapper: AgentFrameworkWorkflow, payload: dict[str, Any])... function test_workflow_agent_golden_sequence (line 30) | async def test_workflow_agent_golden_sequence() -> None: function test_workflow_agent_step_names_match (line 53) | async def test_workflow_agent_step_names_match() -> None: function test_workflow_agent_ordered_events (line 70) | async def test_workflow_agent_ordered_events() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_generative_ui_tool.py function _build_agent (line 16) | def _build_agent(updates: list[AgentResponseUpdate], **kwargs: Any) -> A... function _run (line 21) | async def _run(agent: AgentFrameworkAgent, payload: dict[str, Any]) -> E... function test_declaration_only_tool_golden_sequence (line 48) | async def test_declaration_only_tool_golden_sequence() -> None: function test_declaration_only_tool_no_tool_call_result (line 78) | async def test_declaration_only_tool_no_tool_call_result() -> None: function test_declaration_only_tool_text_messages_balanced (line 98) | async def test_declaration_only_tool_text_messages_balanced() -> None: function test_declaration_only_tool_messages_snapshot (line 118) | async def test_declaration_only_tool_messages_snapshot() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_hitl.py function _build_agent (line 28) | def _build_agent(updates: list[AgentResponseUpdate], **kwargs: Any) -> A... function _run (line 39) | async def _run(agent: AgentFrameworkAgent, payload: dict[str, Any]) -> E... function test_hitl_turn1_golden_sequence (line 60) | async def test_hitl_turn1_golden_sequence() -> None: function test_hitl_turn1_tool_calls_balanced (line 95) | async def test_hitl_turn1_tool_calls_balanced() -> None: function test_hitl_turn1_text_messages_balanced (line 115) | async def test_hitl_turn1_text_messages_balanced() -> None: function test_hitl_turn2_resume_with_approval (line 138) | async def test_hitl_turn2_resume_with_approval() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_predictive_state.py function _build_agent (line 27) | def _build_agent(updates: list[AgentResponseUpdate], **kwargs: Any) -> A... function _run (line 38) | async def _run(agent: AgentFrameworkAgent, payload: dict[str, Any]) -> E... function test_predictive_state_emits_deltas_during_tool_args (line 53) | async def test_predictive_state_emits_deltas_during_tool_args() -> None: function test_predictive_state_snapshot_after_tool_end (line 86) | async def test_predictive_state_snapshot_after_tool_end() -> None: function test_predictive_state_ordered_events (line 108) | async def test_predictive_state_ordered_events() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_shared_state.py class RecipeState (line 17) | class RecipeState(BaseModel): function _build_agent (line 23) | def _build_agent(updates: list[AgentResponseUpdate], **kwargs: Any) -> A... function _run (line 38) | async def _run(agent: AgentFrameworkAgent, payload: dict[str, Any]) -> E... function test_shared_state_emits_state_snapshot (line 53) | async def test_shared_state_emits_state_snapshot() -> None: function test_shared_state_initial_snapshot_on_first_update (line 76) | async def test_shared_state_initial_snapshot_on_first_update() -> None: function test_shared_state_text_emitted_from_message_field (line 91) | async def test_shared_state_text_emitted_from_message_field() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_subgraphs.py function _run (line 19) | async def _run(agent: Any, payload: dict[str, Any]) -> EventStream: function test_subgraphs_turn1_golden_bookends (line 26) | async def test_subgraphs_turn1_golden_bookends() -> None: function test_subgraphs_turn1_no_errors (line 40) | async def test_subgraphs_turn1_no_errors() -> None: function test_subgraphs_turn1_has_step_events (line 54) | async def test_subgraphs_turn1_has_step_events() -> None: function test_subgraphs_turn1_interrupt_structure (line 69) | async def test_subgraphs_turn1_interrupt_structure() -> None: function test_subgraphs_turn1_text_messages_balanced (line 90) | async def test_subgraphs_turn1_text_messages_balanced() -> None: function test_subgraphs_turn1_ordered_flow (line 104) | async def test_subgraphs_turn1_ordered_flow() -> None: function test_subgraphs_full_flow_event_ordering (line 128) | async def test_subgraphs_full_flow_event_ordering() -> None: FILE: python/packages/ag-ui/tests/ag_ui/golden/test_scenario_workflow.py function _run (line 39) | async def _run(wrapper: AgentFrameworkWorkflow, payload: dict[str, Any])... function _payload (line 43) | def _payload( function test_workflow_text_output_golden_sequence (line 58) | async def test_workflow_text_output_golden_sequence() -> None: function test_workflow_text_output_message_id_consistency (line 81) | async def test_workflow_text_output_message_id_consistency() -> None: function test_workflow_executor_lifecycle_events (line 100) | async def test_workflow_executor_lifecycle_events() -> None: function test_workflow_executor_step_ordering (line 125) | async def test_workflow_executor_step_ordering() -> None: function test_workflow_dict_output_maps_to_custom_event (line 153) | async def test_workflow_dict_output_maps_to_custom_event() -> None: function test_workflow_base_event_passthrough (line 180) | async def test_workflow_base_event_passthrough() -> None: function test_workflow_agent_response_output_extracts_latest_assistant (line 202) | async def test_workflow_agent_response_output_extracts_latest_assistant(... class ProgressEvent (line 231) | class ProgressEvent(WorkflowEvent): method __init__ (line 234) | def __init__(self, progress: int) -> None: function test_workflow_custom_events (line 238) | async def test_workflow_custom_events() -> None: function test_workflow_request_info_tool_call_lifecycle (line 265) | async def test_workflow_request_info_tool_call_lifecycle() -> None: function test_workflow_request_info_interrupt_in_run_finished (line 306) | async def test_workflow_request_info_interrupt_in_run_finished() -> None: function test_workflow_request_info_emits_interrupt_card_event (line 329) | async def test_workflow_request_info_emits_interrupt_card_event() -> None: function test_workflow_text_drained_before_request_info (line 353) | async def test_workflow_text_drained_before_request_info() -> None: function test_workflow_skips_duplicate_text_from_snapshot (line 382) | async def test_workflow_skips_duplicate_text_from_snapshot() -> None: function test_workflow_skips_consecutive_duplicate_outputs (line 409) | async def test_workflow_skips_consecutive_duplicate_outputs() -> None: function test_workflow_emits_distinct_consecutive_outputs (line 427) | async def test_workflow_emits_distinct_consecutive_outputs() -> None: function test_workflow_error_emits_run_error_event (line 449) | async def test_workflow_error_emits_run_error_event() -> None: function test_workflow_error_preserves_bookend_structure (line 471) | async def test_workflow_error_preserves_bookend_structure() -> None: function test_workflow_interrupt_resume_round_trip (line 495) | async def test_workflow_interrupt_resume_round_trip() -> None: function test_workflow_forwarded_props_resume (line 548) | async def test_workflow_forwarded_props_resume() -> None: function test_workflow_empty_turn_preserves_interrupts (line 583) | async def test_workflow_empty_turn_preserves_interrupts() -> None: function test_workflow_empty_turn_no_pending_requests (line 619) | async def test_workflow_empty_turn_no_pending_requests() -> None: function test_workflow_usage_output_maps_to_custom_event (line 650) | async def test_workflow_usage_output_maps_to_custom_event() -> None: function test_workflow_approval_flow_round_trip (line 677) | async def test_workflow_approval_flow_round_trip() -> None: function test_workflow_message_list_resume (line 751) | async def test_workflow_message_list_resume() -> None: function test_workflow_plain_text_does_not_resume_pending_dict_request (line 805) | async def test_workflow_plain_text_does_not_resume_pending_dict_request(... function test_workflow_factory_thread_scoping (line 859) | async def test_workflow_factory_thread_scoping() -> None: function test_workflow_sequential_request_info_interrupts (line 888) | async def test_workflow_sequential_request_info_interrupts() -> None: FILE: python/packages/ag-ui/tests/ag_ui/sse_helpers.py function parse_sse_response (line 13) | def parse_sse_response(response_content: bytes) -> list[dict[str, Any]]: function parse_sse_to_event_stream (line 35) | def parse_sse_to_event_stream(response_content: bytes) -> EventStream: FILE: python/packages/ag-ui/tests/ag_ui/test_ag_ui_client.py class StubAGUIChatClient (line 24) | class StubAGUIChatClient(AGUIChatClient): method http_service (line 28) | def http_service(self) -> AGUIHttpService: method extract_state_from_messages (line 32) | def extract_state_from_messages(self, messages: list[Message]) -> tupl... method convert_messages_to_agui_format (line 36) | def convert_messages_to_agui_format(self, messages: list[Message]) -> ... method get_thread_id (line 40) | def get_thread_id(self, options: dict[str, Any]) -> str: method inner_get_response (line 44) | def inner_get_response( class TestAGUIChatClient (line 51) | class TestAGUIChatClient: method test_client_initialization (line 54) | async def test_client_initialization(self) -> None: method test_client_context_manager (line 61) | async def test_client_context_manager(self) -> None: method test_extract_state_from_messages_no_state (line 66) | async def test_extract_state_from_messages_no_state(self) -> None: method test_extract_state_from_messages_with_state (line 79) | async def test_extract_state_from_messages_with_state(self) -> None: method test_extract_state_invalid_json (line 103) | async def test_extract_state_invalid_json(self) -> None: method test_convert_messages_to_agui_format (line 124) | async def test_convert_messages_to_agui_format(self) -> None: method test_get_thread_id_from_metadata (line 141) | async def test_get_thread_id_from_metadata(self) -> None: method test_get_thread_id_generation (line 150) | async def test_get_thread_id_generation(self) -> None: method test_get_response_streaming (line 160) | async def test_get_response_streaming(self, monkeypatch: MonkeyPatch) ... method test_get_response_non_streaming (line 194) | async def test_get_response_non_streaming(self, monkeypatch: MonkeyPat... method test_tool_handling (line 218) | async def test_tool_handling(self, monkeypatch: MonkeyPatch) -> None: method test_server_tool_calls_unwrapped_after_invocation (line 259) | async def test_server_tool_calls_unwrapped_after_invocation(self, monk... method test_server_tool_calls_not_executed_locally (line 290) | async def test_server_tool_calls_not_executed_locally(self, monkeypatc... method test_state_transmission (line 325) | async def test_state_transmission(self, monkeypatch: MonkeyPatch) -> N... method test_extract_state_from_empty_messages (line 360) | async def test_extract_state_from_empty_messages(self) -> None: method test_register_server_tool_non_dict_config (line 367) | async def test_register_server_tool_non_dict_config(self) -> None: method test_non_streaming_response (line 376) | async def test_non_streaming_response(self, monkeypatch: MonkeyPatch) ... method test_client_tool_sets_additional_properties (line 397) | async def test_client_tool_sets_additional_properties(self, monkeypatc... method test_interrupt_options_transmission (line 435) | async def test_interrupt_options_transmission(self, monkeypatch: Monke... FILE: python/packages/ag-ui/tests/ag_ui/test_agent_wrapper_comprehensive.py function test_agent_initialization_basic (line 14) | async def test_agent_initialization_basic(streaming_chat_client_stub): function test_agent_initialization_with_state_schema (line 36) | async def test_agent_initialization_with_state_schema(streaming_chat_cli... function test_agent_initialization_with_predict_state_config (line 52) | async def test_agent_initialization_with_predict_state_config(streaming_... function test_agent_initialization_with_pydantic_state_schema (line 68) | async def test_agent_initialization_with_pydantic_state_schema(streaming... function test_run_started_event_emission (line 91) | async def test_run_started_event_emission(streaming_chat_client_stub): function test_predict_state_custom_event_emission (line 115) | async def test_predict_state_custom_event_emission(streaming_chat_client... function test_usage_content_emits_custom_usage_event (line 147) | async def test_usage_content_emits_custom_usage_event(streaming_chat_cli... function test_multimodal_input_is_forwarded_to_agent_run (line 181) | async def test_multimodal_input_is_forwarded_to_agent_run(streaming_chat... function test_initial_state_snapshot_with_schema (line 224) | async def test_initial_state_snapshot_with_schema(streaming_chat_client_... function test_state_initialization_object_type (line 254) | async def test_state_initialization_object_type(streaming_chat_client_st... function test_state_initialization_array_type (line 281) | async def test_state_initialization_array_type(streaming_chat_client_stub): function test_run_finished_event_emission (line 308) | async def test_run_finished_event_emission(streaming_chat_client_stub): function test_tool_result_confirm_changes_accepted (line 330) | async def test_tool_result_confirm_changes_accepted(streaming_chat_clien... function test_tool_result_confirm_changes_rejected (line 377) | async def test_tool_result_confirm_changes_rejected(streaming_chat_clien... function test_tool_result_function_approval_accepted (line 411) | async def test_tool_result_function_approval_accepted(streaming_chat_cli... function test_tool_result_function_approval_rejected (line 457) | async def test_tool_result_function_approval_rejected(streaming_chat_cli... function test_thread_metadata_tracking (line 494) | async def test_thread_metadata_tracking(streaming_chat_client_stub): function test_state_context_injection (line 530) | async def test_state_context_injection(streaming_chat_client_stub): function test_no_messages_provided (line 567) | async def test_no_messages_provided(streaming_chat_client_stub): function test_message_end_event_emission (line 591) | async def test_message_end_event_emission(streaming_chat_client_stub): function test_error_handling_with_exception (line 619) | async def test_error_handling_with_exception(streaming_chat_client_stub): function test_json_decode_error_in_tool_result (line 640) | async def test_json_decode_error_in_tool_result(streaming_chat_client_st... function test_agent_with_use_service_session_is_false (line 677) | async def test_agent_with_use_service_session_is_false(streaming_chat_cl... function test_agent_with_use_service_session_is_true (line 701) | async def test_agent_with_use_service_session_is_true(streaming_chat_cli... function test_function_approval_mode_executes_tool (line 735) | async def test_function_approval_mode_executes_tool(streaming_chat_clien... function test_function_approval_mode_rejection (line 856) | async def test_function_approval_mode_rejection(streaming_chat_client_st... function test_approval_bypass_via_crafted_function_approvals_is_blocked (line 947) | async def test_approval_bypass_via_crafted_function_approvals_is_blocked... function test_approval_replay_is_blocked (line 1031) | async def test_approval_replay_is_blocked(streaming_chat_client_stub): function test_approval_function_name_mismatch_is_blocked (line 1160) | async def test_approval_function_name_mismatch_is_blocked(streaming_chat... function test_approval_bypass_via_fabricated_tool_result_is_blocked (line 1259) | async def test_approval_bypass_via_fabricated_tool_result_is_blocked(str... function test_fabricated_rejection_without_pending_approval_is_blocked (line 1340) | async def test_fabricated_rejection_without_pending_approval_is_blocked(... FILE: python/packages/ag-ui/tests/ag_ui/test_approval_result_event.py function _make_weather_tool (line 17) | def _make_weather_tool() -> FunctionTool: function test_approval_resume_emits_tool_call_result (line 31) | async def test_approval_resume_emits_tool_call_result() -> None: function test_approval_resume_result_has_content (line 103) | async def test_approval_resume_result_has_content() -> None: function test_no_approval_no_extra_tool_result (line 158) | async def test_no_approval_no_extra_tool_result() -> None: function test_rejection_does_not_emit_tool_call_result (line 177) | async def test_rejection_does_not_emit_tool_call_result() -> None: function _make_temperature_tool (line 228) | def _make_temperature_tool() -> FunctionTool: function test_mixed_approve_reject_emits_only_approved_tool_result (line 242) | async def test_mixed_approve_reject_emits_only_approved_tool_result() ->... function test_approval_resume_zero_updates_emits_tool_result (line 311) | async def test_approval_resume_zero_updates_emits_tool_result() -> None: function test_resolve_approval_responses_returns_only_approved (line 367) | async def test_resolve_approval_responses_returns_only_approved() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_endpoint.py function build_chat_client (line 29) | def build_chat_client(streaming_chat_client_stub, stream_from_updates_fi... function test_add_endpoint_with_agent_protocol (line 39) | async def test_add_endpoint_with_agent_protocol(build_chat_client): function test_add_endpoint_with_wrapped_agent (line 53) | async def test_add_endpoint_with_wrapped_agent(build_chat_client): function test_add_endpoint_with_workflow_protocol (line 68) | async def test_add_endpoint_with_workflow_protocol(): function test_endpoint_with_state_schema (line 94) | async def test_endpoint_with_state_schema(build_chat_client): function test_endpoint_with_default_state_seed (line 110) | async def test_endpoint_with_default_state_seed(build_chat_client): function test_endpoint_with_predict_state_config (line 137) | async def test_endpoint_with_predict_state_config(build_chat_client): function test_endpoint_request_logging (line 151) | async def test_endpoint_request_logging(build_chat_client): function test_endpoint_event_streaming (line 171) | async def test_endpoint_event_streaming(build_chat_client): function test_endpoint_with_workflow_as_agent_stream_output (line 205) | async def test_endpoint_with_workflow_as_agent_stream_output(build_chat_... function test_endpoint_error_handling (line 227) | async def test_endpoint_error_handling(build_chat_client): function test_endpoint_multiple_paths (line 243) | async def test_endpoint_multiple_paths(build_chat_client): function test_endpoint_default_path (line 261) | async def test_endpoint_default_path(build_chat_client): function test_endpoint_response_headers (line 274) | async def test_endpoint_response_headers(build_chat_client): function test_endpoint_empty_messages (line 290) | async def test_endpoint_empty_messages(build_chat_client): function test_endpoint_complex_input (line 303) | async def test_endpoint_complex_input(build_chat_client): function test_endpoint_openapi_schema (line 328) | async def test_endpoint_openapi_schema(build_chat_client): function test_endpoint_default_tags (line 372) | async def test_endpoint_default_tags(build_chat_client): function test_endpoint_custom_tags (line 390) | async def test_endpoint_custom_tags(build_chat_client): function test_endpoint_missing_required_field (line 408) | async def test_endpoint_missing_required_field(build_chat_client): function test_endpoint_internal_error_handling (line 425) | async def test_endpoint_internal_error_handling(build_chat_client): function test_endpoint_streaming_error_emits_run_error_event (line 446) | async def test_endpoint_streaming_error_emits_run_error_event(): function test_endpoint_with_dependencies_blocks_unauthorized (line 470) | async def test_endpoint_with_dependencies_blocks_unauthorized(build_chat... function test_endpoint_with_dependencies_allows_authorized (line 489) | async def test_endpoint_with_dependencies_allows_authorized(build_chat_c... function test_endpoint_with_multiple_dependencies (line 512) | async def test_endpoint_with_multiple_dependencies(build_chat_client): function test_endpoint_without_dependencies_is_accessible (line 540) | async def test_endpoint_without_dependencies_is_accessible(build_chat_cl... function test_endpoint_invalid_agent_type_raises_typeerror (line 555) | async def test_endpoint_invalid_agent_type_raises_typeerror(): function test_endpoint_encoding_failure_emits_run_error (line 563) | async def test_endpoint_encoding_failure_emits_run_error(): function test_endpoint_double_encoding_failure_terminates (line 586) | async def test_endpoint_double_encoding_failure_terminates(): FILE: python/packages/ag-ui/tests/ag_ui/test_event_converters.py class TestAGUIEventConverter (line 8) | class TestAGUIEventConverter: method test_run_started_event (line 11) | def test_run_started_event(self) -> None: method test_text_message_start_event (line 29) | def test_text_message_start_event(self) -> None: method test_text_message_content_event (line 44) | def test_text_message_content_event(self) -> None: method test_text_message_streaming (line 61) | def test_text_message_streaming(self) -> None: method test_text_message_end_event (line 78) | def test_text_message_end_event(self) -> None: method test_tool_call_start_event (line 90) | def test_tool_call_start_event(self) -> None: method test_tool_call_start_with_tool_call_name (line 110) | def test_tool_call_start_with_tool_call_name(self) -> None: method test_tool_call_start_with_tool_call_name_snake_case (line 125) | def test_tool_call_start_with_tool_call_name_snake_case(self) -> None: method test_tool_call_args_streaming (line 140) | def test_tool_call_args_streaming(self) -> None: method test_tool_call_end_event (line 158) | def test_tool_call_end_event(self) -> None: method test_tool_call_result_event (line 173) | def test_tool_call_result_event(self) -> None: method test_run_finished_event (line 190) | def test_run_finished_event(self) -> None: method test_run_finished_event_with_interrupt (line 210) | def test_run_finished_event_with_interrupt(self) -> None: method test_run_error_event (line 230) | def test_run_error_event(self) -> None: method test_unknown_event_type (line 250) | def test_unknown_event_type(self) -> None: method test_custom_event_conversion (line 262) | def test_custom_event_conversion(self) -> None: method test_custom_event_alias_conversion (line 278) | def test_custom_event_alias_conversion(self) -> None: method test_full_conversation_flow (line 293) | def test_full_conversation_flow(self) -> None: method test_multiple_tool_calls (line 320) | def test_multiple_tool_calls(self) -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_helpers.py class TestPendingToolCallIds (line 21) | class TestPendingToolCallIds: method test_empty_messages (line 24) | def test_empty_messages(self): method test_no_tool_calls (line 29) | def test_no_tool_calls(self): method test_pending_tool_call (line 38) | def test_pending_tool_call(self): method test_resolved_tool_call (line 49) | def test_resolved_tool_call(self): method test_multiple_tool_calls_some_resolved (line 64) | def test_multiple_tool_calls_some_resolved(self): class TestIsStateContextMessage (line 88) | class TestIsStateContextMessage: method test_state_context_message (line 91) | def test_state_context_message(self): method test_non_system_message (line 99) | def test_non_system_message(self): method test_system_message_without_state_prefix (line 107) | def test_system_message_without_state_prefix(self): method test_empty_contents (line 115) | def test_empty_contents(self): class TestEnsureToolCallEntry (line 121) | class TestEnsureToolCallEntry: method test_creates_new_entry (line 124) | def test_creates_new_entry(self): method test_returns_existing_entry (line 138) | def test_returns_existing_entry(self): class TestToolNameForCallId (line 155) | class TestToolNameForCallId: method test_returns_tool_name (line 158) | def test_returns_tool_name(self): method test_returns_none_for_missing_id (line 169) | def test_returns_none_for_missing_id(self): method test_returns_none_for_missing_function (line 175) | def test_returns_none_for_missing_function(self): method test_returns_none_for_non_dict_function (line 181) | def test_returns_none_for_non_dict_function(self): method test_returns_none_for_empty_name (line 187) | def test_returns_none_for_empty_name(self): class TestSchemaHasSteps (line 194) | class TestSchemaHasSteps: method test_schema_with_steps_array (line 197) | def test_schema_with_steps_array(self): method test_schema_without_steps (line 202) | def test_schema_without_steps(self): method test_schema_with_non_array_steps (line 207) | def test_schema_with_non_array_steps(self): method test_non_dict_schema (line 212) | def test_non_dict_schema(self): method test_missing_properties (line 218) | def test_missing_properties(self): method test_non_dict_properties (line 223) | def test_non_dict_properties(self): method test_non_dict_steps (line 228) | def test_non_dict_steps(self): class TestSelectApprovalToolName (line 234) | class TestSelectApprovalToolName: method test_none_client_tools (line 237) | def test_none_client_tools(self): method test_empty_client_tools (line 242) | def test_empty_client_tools(self): method test_finds_approval_tool (line 247) | def test_finds_approval_tool(self): method test_skips_tool_without_name (line 259) | def test_skips_tool_without_name(self): method test_skips_tool_without_parameters_method (line 269) | def test_skips_tool_without_parameters_method(self): method test_skips_tool_without_steps_schema (line 279) | def test_skips_tool_without_steps_schema(self): class TestBuildSafeMetadata (line 292) | class TestBuildSafeMetadata: method test_none_metadata (line 295) | def test_none_metadata(self): method test_empty_metadata (line 300) | def test_empty_metadata(self): method test_string_values_under_limit (line 305) | def test_string_values_under_limit(self): method test_truncates_long_string_values (line 311) | def test_truncates_long_string_values(self): method test_non_string_values_serialized (line 319) | def test_non_string_values_serialized(self): method test_truncates_serialized_values (line 326) | def test_truncates_serialized_values(self): class TestLatestApprovalResponse (line 334) | class TestLatestApprovalResponse: method test_empty_messages (line 337) | def test_empty_messages(self): method test_no_approval_response (line 342) | def test_no_approval_response(self): method test_finds_approval_response (line 350) | def test_finds_approval_response(self): class TestApprovalSteps (line 366) | class TestApprovalSteps: method test_steps_from_ag_ui_state_args (line 369) | def test_steps_from_ag_ui_state_args(self): method test_steps_from_function_call (line 381) | def test_steps_from_function_call(self): method test_empty_steps_when_no_state_args (line 396) | def test_empty_steps_when_no_state_args(self): method test_empty_steps_when_state_args_not_dict (line 407) | def test_empty_steps_when_state_args_not_dict(self): method test_empty_steps_when_steps_not_list (line 419) | def test_empty_steps_when_steps_not_list(self): class TestIsStepBasedApproval (line 432) | class TestIsStepBasedApproval: method test_returns_true_when_has_steps (line 435) | def test_returns_true_when_has_steps(self): method test_returns_false_no_steps_no_function_call (line 447) | def test_returns_false_no_steps_no_function_call(self): method test_returns_false_no_predict_config (line 457) | def test_returns_false_no_predict_config(self): method test_returns_true_when_tool_matches_config (line 468) | def test_returns_true_when_tool_matches_config(self): method test_returns_false_when_tool_not_in_config (line 480) | def test_returns_false_when_tool_not_in_config(self): method test_returns_false_when_tool_arg_not_steps (line 492) | def test_returns_false_when_tool_arg_not_steps(self): FILE: python/packages/ag-ui/tests/ag_ui/test_http_round_trip.py function _build_app_with_agent (line 23) | def _build_app_with_agent(updates: list[AgentResponseUpdate], **kwargs: ... function _build_app_with_workflow (line 31) | def _build_app_with_workflow(workflow_builder: WorkflowBuilder) -> FastAPI: function test_agentic_chat_sse_round_trip (line 49) | def test_agentic_chat_sse_round_trip() -> None: function test_tool_call_sse_round_trip (line 81) | def test_tool_call_sse_round_trip() -> None: function test_sse_event_encoding_fidelity (line 116) | def test_sse_event_encoding_fidelity() -> None: function test_camel_case_request_fields_accepted (line 142) | def test_camel_case_request_fields_accepted() -> None: function test_workflow_sse_round_trip (line 167) | def test_workflow_sse_round_trip() -> None: function test_empty_messages_returns_valid_sse (line 189) | def test_empty_messages_returns_valid_sse() -> None: function test_sse_response_headers (line 204) | def test_sse_response_headers() -> None: function test_mcp_tool_call_sse_round_trip (line 221) | def test_mcp_tool_call_sse_round_trip() -> None: function test_text_reasoning_sse_round_trip (line 274) | def test_text_reasoning_sse_round_trip() -> None: function test_text_reasoning_with_encrypted_value_sse_round_trip (line 312) | def test_text_reasoning_with_encrypted_value_sse_round_trip() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_http_service.py function mock_http_client (line 15) | def mock_http_client(): function sample_events (line 22) | def sample_events(): function create_sse_response (line 34) | def create_sse_response(events: list[dict]) -> str: function test_http_service_initialization (line 42) | async def test_http_service_initialization(): function test_http_service_strips_trailing_slash (line 61) | async def test_http_service_strips_trailing_slash(): function test_post_run_successful_streaming (line 68) | async def test_post_run_successful_streaming(mock_http_client, sample_ev... function test_post_run_with_state_tools_and_interrupts (line 110) | async def test_post_run_with_state_tools_and_interrupts(mock_http_client): function test_post_run_http_error (line 153) | async def test_post_run_http_error(mock_http_client): function test_post_run_invalid_json (line 177) | async def test_post_run_invalid_json(mock_http_client): function test_context_manager (line 206) | async def test_context_manager(): function test_context_manager_with_external_client (line 215) | async def test_context_manager_with_external_client(): function test_post_run_empty_response (line 228) | async def test_post_run_empty_response(mock_http_client): FILE: python/packages/ag-ui/tests/ag_ui/test_message_adapters.py function sample_agui_message (line 21) | def sample_agui_message(): function sample_agent_framework_message (line 27) | def sample_agent_framework_message(): function test_agui_to_agent_framework_basic (line 32) | def test_agui_to_agent_framework_basic(sample_agui_message): function test_agent_framework_to_agui_basic (line 41) | def test_agent_framework_to_agui_basic(sample_agent_framework_message): function test_agent_framework_to_agui_normalizes_dict_roles (line 51) | def test_agent_framework_to_agui_normalizes_dict_roles(): function test_agui_snapshot_format_normalizes_roles (line 64) | def test_agui_snapshot_format_normalizes_roles(): function test_agui_tool_result_to_agent_framework (line 77) | def test_agui_tool_result_to_agent_framework(): function test_agui_tool_approval_updates_tool_call_arguments (line 102) | def test_agui_tool_approval_updates_tool_call_arguments(): function test_agui_tool_approval_from_confirm_changes_maps_to_function_call (line 190) | def test_agui_tool_approval_from_confirm_changes_maps_to_function_call(): function test_agui_tool_approval_from_confirm_changes_falls_back_to_sibling_call (line 233) | def test_agui_tool_approval_from_confirm_changes_falls_back_to_sibling_c... function test_agui_tool_approval_from_generate_task_steps_maps_to_function_call (line 278) | def test_agui_tool_approval_from_generate_task_steps_maps_to_function_ca... function test_agui_multiple_messages_to_agent_framework (line 330) | def test_agui_multiple_messages_to_agent_framework(): function test_agui_empty_messages (line 346) | def test_agui_empty_messages(): function test_agui_function_approvals (line 352) | def test_agui_function_approvals(): function test_agui_system_role (line 393) | def test_agui_system_role(): function test_agui_non_string_content (line 401) | def test_agui_non_string_content(): function test_agui_multimodal_legacy_binary_to_agent_framework (line 411) | def test_agui_multimodal_legacy_binary_to_agent_framework(): function test_agui_multimodal_draft_source_base64_to_agent_framework (line 434) | def test_agui_multimodal_draft_source_base64_to_agent_framework(): function test_agui_multimodal_invalid_base64_logs_warning (line 459) | def test_agui_multimodal_invalid_base64_logs_warning(caplog): function test_agui_multimodal_mixed_order_preserved (line 483) | def test_agui_multimodal_mixed_order_preserved(): function test_agui_message_without_id (line 506) | def test_agui_message_without_id(): function test_agui_snapshot_format_preserves_multimodal_content (line 514) | def test_agui_snapshot_format_preserves_multimodal_content(): function test_agui_with_tool_calls_to_agent_framework (line 539) | def test_agui_with_tool_calls_to_agent_framework(): function test_agent_framework_to_agui_with_tool_calls (line 569) | def test_agent_framework_to_agui_with_tool_calls(): function test_agent_framework_to_agui_multiple_text_contents (line 594) | def test_agent_framework_to_agui_multiple_text_contents(): function test_agent_framework_to_agui_no_message_id (line 607) | def test_agent_framework_to_agui_no_message_id(): function test_agent_framework_to_agui_system_role (line 619) | def test_agent_framework_to_agui_system_role(): function test_extract_text_from_contents (line 629) | def test_extract_text_from_contents(): function test_extract_text_from_empty_contents (line 638) | def test_extract_text_from_empty_contents(): class CustomTextContent (line 645) | class CustomTextContent: method __init__ (line 648) | def __init__(self, text: str): function test_extract_text_from_custom_contents (line 652) | def test_extract_text_from_custom_contents(): function test_agent_framework_to_agui_function_result_dict (line 664) | def test_agent_framework_to_agui_function_result_dict(): function test_agent_framework_to_agui_function_result_none (line 681) | def test_agent_framework_to_agui_function_result_none(): function test_agent_framework_to_agui_function_result_string (line 697) | def test_agent_framework_to_agui_function_result_string(): function test_agent_framework_to_agui_function_result_empty_list (line 712) | def test_agent_framework_to_agui_function_result_empty_list(): function test_agent_framework_to_agui_function_result_single_text_content (line 728) | def test_agent_framework_to_agui_function_result_single_text_content(): function test_agent_framework_to_agui_function_result_multiple_text_contents (line 744) | def test_agent_framework_to_agui_function_result_multiple_text_contents(): function test_extract_text_from_contents_empty (line 768) | def test_extract_text_from_contents_empty(): function test_extract_text_from_contents_multiple (line 774) | def test_extract_text_from_contents_multiple(): function test_extract_text_from_contents_non_text (line 784) | def test_extract_text_from_contents_non_text(): function test_agui_to_agent_framework_with_tool_calls (line 794) | def test_agui_to_agent_framework_with_tool_calls(): function test_agui_to_agent_framework_tool_result (line 818) | def test_agui_to_agent_framework_tool_result(): function test_agui_messages_to_snapshot_format_empty (line 849) | def test_agui_messages_to_snapshot_format_empty(): function test_agui_messages_to_snapshot_format_basic (line 855) | def test_agui_messages_to_snapshot_format_basic(): function test_sanitize_multiple_approvals_and_logic (line 874) | def test_sanitize_multiple_approvals_and_logic(): function test_sanitize_pending_tool_skip_on_user_followup (line 906) | def test_sanitize_pending_tool_skip_on_user_followup(): function test_sanitize_tool_result_clears_pending_confirm (line 926) | def test_sanitize_tool_result_clears_pending_confirm(): function test_sanitize_non_standard_role_resets_state (line 946) | def test_sanitize_non_standard_role_resets_state(): function test_sanitize_json_confirm_changes_response (line 963) | def test_sanitize_json_confirm_changes_response(): function test_deduplicate_tool_results (line 990) | def test_deduplicate_tool_results(): function test_deduplicate_assistant_tool_calls (line 1001) | def test_deduplicate_assistant_tool_calls(): function test_deduplicate_by_message_id (line 1018) | def test_deduplicate_by_message_id(): function test_deduplicate_preserves_repeated_confirmations_with_distinct_ids (line 1032) | def test_deduplicate_preserves_repeated_confirmations_with_distinct_ids(): function test_deduplicate_preserves_repeated_system_messages_with_distinct_ids (line 1047) | def test_deduplicate_preserves_repeated_system_messages_with_distinct_id... function test_deduplicate_skips_replayed_system_messages_with_same_id (line 1062) | def test_deduplicate_skips_replayed_system_messages_with_same_id(): function test_deduplicate_without_message_id_uses_content_hash (line 1076) | def test_deduplicate_without_message_id_uses_content_hash(): function test_deduplicate_without_message_id_preserves_different_content (line 1087) | def test_deduplicate_without_message_id_preserves_different_content(): function test_deduplicate_handles_none_contents (line 1098) | def test_deduplicate_handles_none_contents(): function test_deduplicate_mixed_id_and_no_id (line 1110) | def test_deduplicate_mixed_id_and_no_id(): function test_deduplicate_replaces_empty_tool_result (line 1125) | def test_deduplicate_replaces_empty_tool_result(): function test_deduplicate_empty_string_message_id_falls_back_to_content_hash (line 1137) | def test_deduplicate_empty_string_message_id_falls_back_to_content_hash(): function test_deduplicate_empty_string_message_id_deduplicates_same_content (line 1150) | def test_deduplicate_empty_string_message_id_deduplicates_same_content(): function test_convert_agui_content_unknown_source_type_fallback (line 1163) | def test_convert_agui_content_unknown_source_type_fallback(): function test_convert_agui_content_data_uri_prefix (line 1176) | def test_convert_agui_content_data_uri_prefix(): function test_convert_agui_content_binary_id (line 1189) | def test_convert_agui_content_binary_id(): function test_convert_agui_content_string_items_in_list (line 1202) | def test_convert_agui_content_string_items_in_list(): function test_convert_agui_content_non_dict_non_str_items (line 1212) | def test_convert_agui_content_non_dict_non_str_items(): function test_convert_agui_content_unknown_part_type_with_text (line 1222) | def test_convert_agui_content_unknown_part_type_with_text(): function test_convert_agui_content_unknown_part_type_without_text (line 1231) | def test_convert_agui_content_unknown_part_type_without_text(): function test_convert_agui_content_none (line 1240) | def test_convert_agui_content_none(): function test_convert_agui_content_non_str_non_list_non_none (line 1248) | def test_convert_agui_content_non_str_non_list_non_none(): function test_snapshot_input_image_to_binary (line 1260) | def test_snapshot_input_image_to_binary(): function test_snapshot_mime_type_snake_case (line 1276) | def test_snapshot_mime_type_snake_case(): function test_snapshot_text_only_list_collapsed (line 1299) | def test_snapshot_text_only_list_collapsed(): function test_snapshot_legacy_binary_data_and_id (line 1307) | def test_snapshot_legacy_binary_data_and_id(): function test_agui_tool_message_action_execution_id_fallback (line 1331) | def test_agui_tool_message_action_execution_id_fallback(): function test_agui_tool_message_result_key_instead_of_content (line 1347) | def test_agui_tool_message_result_key_instead_of_content(): function test_agui_tool_message_dict_content (line 1362) | def test_agui_tool_message_dict_content(): function test_agui_tool_message_list_content (line 1378) | def test_agui_tool_message_list_content(): function test_agui_action_execution_id_without_role (line 1393) | def test_agui_action_execution_id_without_role(): function test_agui_non_dict_tool_call_skipped (line 1408) | def test_agui_non_dict_tool_call_skipped(): function test_agui_empty_content_default (line 1431) | def test_agui_empty_content_default(): function test_agui_dict_tool_msg_without_tool_call_id (line 1439) | def test_agui_dict_tool_msg_without_tool_call_id(): function test_snapshot_argument_serialization_none (line 1446) | def test_snapshot_argument_serialization_none(): function test_snapshot_argument_serialization_object (line 1463) | def test_snapshot_argument_serialization_object(): function test_snapshot_tool_call_id_normalization (line 1480) | def test_snapshot_tool_call_id_normalization(): function test_agui_to_framework_dict_tool_msg_without_tool_call_id (line 1487) | def test_agui_to_framework_dict_tool_msg_without_tool_call_id(): function test_snapshot_none_content (line 1496) | def test_snapshot_none_content(): function test_sanitize_confirm_changes_with_approval_accepted (line 1502) | def test_sanitize_confirm_changes_with_approval_accepted(): function test_sanitize_json_accepted_text_for_pending_confirm (line 1532) | def test_sanitize_json_accepted_text_for_pending_confirm(): function test_parse_multimodal_media_part_no_data_no_url (line 1558) | def test_parse_multimodal_media_part_no_data_no_url(): function test_parse_multimodal_media_part_binary_source_type (line 1566) | def test_parse_multimodal_media_part_binary_source_type(): function test_snapshot_non_dict_item_in_content_list (line 1577) | def test_snapshot_non_dict_item_in_content_list(): function test_snapshot_non_dict_tool_call_skipped (line 1584) | def test_snapshot_non_dict_tool_call_skipped(): function test_snapshot_tool_call_without_function_payload (line 1602) | def test_snapshot_tool_call_without_function_payload(): function test_agui_to_framework_action_name_without_role (line 1616) | def test_agui_to_framework_action_name_without_role(): function test_agui_to_framework_tool_message_content_none (line 1623) | def test_agui_to_framework_tool_message_content_none(): function test_agui_fresh_approval_is_still_processed (line 1632) | def test_agui_fresh_approval_is_still_processed(): FILE: python/packages/ag-ui/tests/ag_ui/test_message_hygiene.py function test_sanitize_tool_history_filters_out_confirm_changes_only_message (line 8) | def test_sanitize_tool_history_filters_out_confirm_changes_only_message(... function test_deduplicate_messages_prefers_non_empty_tool_results (line 45) | def test_deduplicate_messages_prefers_non_empty_tool_results() -> None: function test_convert_approval_results_to_tool_messages (line 62) | def test_convert_approval_results_to_tool_messages() -> None: function test_convert_approval_results_preserves_other_user_content (line 102) | def test_convert_approval_results_preserves_other_user_content() -> None: function test_sanitize_tool_history_filters_confirm_changes_keeps_other_tools (line 146) | def test_sanitize_tool_history_filters_confirm_changes_keeps_other_tools... function test_sanitize_tool_history_filters_confirm_changes_from_assistant_messages (line 198) | def test_sanitize_tool_history_filters_confirm_changes_from_assistant_me... function test_clean_resolved_approvals_from_snapshot (line 272) | def test_clean_resolved_approvals_from_snapshot() -> None: function test_clean_resolved_approvals_from_snapshot_no_approvals (line 317) | def test_clean_resolved_approvals_from_snapshot_no_approvals() -> None: function test_cleaned_snapshot_prevents_approval_reprocessing (line 338) | def test_cleaned_snapshot_prevents_approval_reprocessing() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_multi_turn.py function _build_app_with_agent (line 24) | def _build_app_with_agent(updates: list[AgentResponseUpdate], **kwargs: ... function _extract_snapshot_messages (line 32) | def _extract_snapshot_messages(response_content: bytes) -> list[dict[str... function test_basic_multi_turn_chat (line 46) | def test_basic_multi_turn_chat() -> None: function test_tool_call_history_round_trips (line 92) | def test_tool_call_history_round_trips() -> None: function test_approval_interrupt_resume_round_trip (line 149) | async def test_approval_interrupt_resume_round_trip() -> None: function test_workflow_interrupt_resume_round_trip (line 269) | async def test_workflow_interrupt_resume_round_trip() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_predictive_state.py class TestPredictiveStateHandlerInit (line 10) | class TestPredictiveStateHandlerInit: method test_default_init (line 13) | def test_default_init(self): method test_init_with_config (line 23) | def test_init_with_config(self): class TestResetStreaming (line 32) | class TestResetStreaming: method test_resets_streaming_state (line 35) | def test_resets_streaming_state(self): class TestExtractStateValue (line 47) | class TestExtractStateValue: method test_no_config (line 50) | def test_no_config(self): method test_no_args (line 56) | def test_no_args(self): method test_empty_args (line 62) | def test_empty_args(self): method test_tool_not_in_config (line 68) | def test_tool_not_in_config(self): method test_extracts_specific_argument (line 74) | def test_extracts_specific_argument(self): method test_extracts_with_wildcard (line 82) | def test_extracts_with_wildcard(self): method test_extracts_from_json_string (line 89) | def test_extracts_from_json_string(self): method test_argument_not_in_args (line 97) | def test_argument_not_in_args(self): class TestIsPredictiveTool (line 106) | class TestIsPredictiveTool: method test_none_tool_name (line 109) | def test_none_tool_name(self): method test_no_config (line 114) | def test_no_config(self): method test_tool_in_config (line 119) | def test_tool_in_config(self): method test_tool_not_in_config (line 124) | def test_tool_not_in_config(self): class TestEmitStreamingDeltas (line 130) | class TestEmitStreamingDeltas: method test_no_tool_name (line 133) | def test_no_tool_name(self): method test_no_config (line 139) | def test_no_config(self): method test_accumulates_args (line 145) | def test_accumulates_args(self): method test_emits_delta_on_complete_json (line 152) | def test_emits_delta_on_complete_json(self): method test_emits_delta_on_partial_json (line 162) | def test_emits_delta_on_partial_json(self): method test_does_not_emit_duplicate_deltas (line 170) | def test_does_not_emit_duplicate_deltas(self): method test_emits_delta_on_value_change (line 182) | def test_emits_delta_on_value_change(self): method test_tracks_pending_updates (line 195) | def test_tracks_pending_updates(self): class TestEmitPartialDeltas (line 202) | class TestEmitPartialDeltas: method test_unescapes_newlines (line 205) | def test_unescapes_newlines(self): method test_handles_escaped_quotes_partially (line 213) | def test_handles_escaped_quotes_partially(self): method test_unescapes_backslashes (line 230) | def test_unescapes_backslashes(self): class TestEmitCompleteDeltas (line 239) | class TestEmitCompleteDeltas: method test_emits_for_matching_tool (line 242) | def test_emits_for_matching_tool(self): method test_skips_non_matching_tool (line 249) | def test_skips_non_matching_tool(self): method test_handles_wildcard_argument (line 255) | def test_handles_wildcard_argument(self): method test_skips_missing_argument (line 263) | def test_skips_missing_argument(self): class TestCreateDeltaEvent (line 270) | class TestCreateDeltaEvent: method test_creates_event (line 273) | def test_creates_event(self): method test_increments_count (line 283) | def test_increments_count(self): class TestApplyPendingUpdates (line 292) | class TestApplyPendingUpdates: method test_applies_pending_to_current (line 295) | def test_applies_pending_to_current(self): method test_clears_pending_updates (line 304) | def test_clears_pending_updates(self): method test_overwrites_existing_keys (line 313) | def test_overwrites_existing_keys(self): FILE: python/packages/ag-ui/tests/ag_ui/test_public_exports.py function test_agent_framework_ag_ui_exports_workflow (line 6) | def test_agent_framework_ag_ui_exports_workflow() -> None: function test_core_ag_ui_lazy_exports_include_only_stable_api (line 13) | def test_core_ag_ui_lazy_exports_include_only_stable_api() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_run.py class TestBuildSafeMetadata (line 45) | class TestBuildSafeMetadata: method test_none_metadata (line 48) | def test_none_metadata(self): method test_empty_metadata (line 53) | def test_empty_metadata(self): method test_short_string_values (line 58) | def test_short_string_values(self): method test_truncates_long_strings (line 64) | def test_truncates_long_strings(self): method test_serializes_non_strings (line 71) | def test_serializes_non_strings(self): method test_truncates_serialized_values (line 78) | def test_truncates_serialized_values(self): class TestHasOnlyToolCalls (line 86) | class TestHasOnlyToolCalls: method test_only_tool_calls (line 89) | def test_only_tool_calls(self): method test_tool_call_with_text (line 96) | def test_tool_call_with_text(self): method test_only_text (line 104) | def test_only_text(self): method test_empty_contents (line 109) | def test_empty_contents(self): method test_tool_call_with_empty_text (line 113) | def test_tool_call_with_empty_text(self): class TestShouldSuppressIntermediateSnapshot (line 122) | class TestShouldSuppressIntermediateSnapshot: method test_no_tool_name (line 125) | def test_no_tool_name(self): method test_no_config (line 132) | def test_no_config(self): method test_confirmation_required (line 137) | def test_confirmation_required(self): method test_tool_not_in_config (line 143) | def test_tool_not_in_config(self): method test_suppresses_predictive_tool (line 149) | def test_suppresses_predictive_tool(self): class TestFlowState (line 156) | class TestFlowState: method test_default_values (line 159) | def test_default_values(self): method test_get_tool_name (line 174) | def test_get_tool_name(self): method test_get_tool_name_empty_name (line 183) | def test_get_tool_name_empty_name(self): method test_get_pending_without_end (line 190) | def test_get_pending_without_end(self): class TestNormalizeResponseStream (line 205) | class TestNormalizeResponseStream: method test_accepts_response_stream (line 208) | async def test_accepts_response_stream(self): method test_accepts_async_iterable (line 220) | async def test_accepts_async_iterable(self): method test_accepts_awaitable_resolving_to_async_iterable (line 232) | async def test_accepts_awaitable_resolving_to_async_iterable(self): method test_rejects_non_stream_values (line 247) | async def test_rejects_non_stream_values(self): class TestCreateStateContextMessage (line 253) | class TestCreateStateContextMessage: method test_no_state (line 256) | def test_no_state(self): method test_no_schema (line 261) | def test_no_schema(self): method test_creates_message (line 266) | def test_creates_message(self): class TestInjectStateContext (line 281) | class TestInjectStateContext: method test_no_state_message (line 284) | def test_no_state_message(self): method test_empty_messages (line 290) | def test_empty_messages(self): method test_last_message_not_user (line 295) | def test_last_message_not_user(self): method test_injects_before_last_user_message (line 307) | def test_injects_before_last_user_message(self): function test_emit_text_basic (line 334) | def test_emit_text_basic(): function test_emit_text_skip_empty (line 346) | def test_emit_text_skip_empty(): function test_emit_text_continues_existing_message (line 356) | def test_emit_text_continues_existing_message(): function test_emit_text_skips_duplicate_full_message_delta (line 368) | def test_emit_text_skips_duplicate_full_message_delta(): function test_emit_text_skips_when_waiting_for_approval (line 381) | def test_emit_text_skips_when_waiting_for_approval(): function test_emit_text_skips_when_skip_text_flag (line 392) | def test_emit_text_skips_when_skip_text_flag(): function test_emit_tool_call_basic (line 402) | def test_emit_tool_call_basic(): function test_emit_tool_call_generates_id (line 418) | def test_emit_tool_call_generates_id(): function test_emit_tool_call_skips_duplicate_full_arguments_replay (line 430) | def test_emit_tool_call_skips_duplicate_full_arguments_replay(): function test_emit_tool_result_closes_open_message (line 466) | def test_emit_tool_result_closes_open_message(): function test_emit_tool_result_no_open_message (line 494) | def test_emit_tool_result_no_open_message(): function test_emit_tool_result_serializes_non_string_result (line 510) | def test_emit_tool_result_serializes_non_string_result(): function test_emit_content_usage_emits_custom_usage_event (line 523) | def test_emit_content_usage_emits_custom_usage_event(): function test_emit_approval_request_populates_interrupt_metadata (line 536) | def test_emit_approval_request_populates_interrupt_metadata(): function test_emit_approval_request_accumulates_multiple_interrupts (line 550) | def test_emit_approval_request_accumulates_multiple_interrupts(): function test_resume_to_tool_messages_from_interrupts_payload (line 571) | def test_resume_to_tool_messages_from_interrupts_payload(): function test_extract_resume_payload_prefers_top_level_resume (line 588) | def test_extract_resume_payload_prefers_top_level_resume(): function test_extract_resume_payload_reads_forwarded_command_resume (line 599) | def test_extract_resume_payload_reads_forwarded_command_resume(): function test_build_run_finished_event_with_interrupt (line 612) | def test_build_run_finished_event_with_interrupt(): function test_extract_approved_state_updates_no_handler (line 622) | def test_extract_approved_state_updates_no_handler(): function test_extract_approved_state_updates_no_approval (line 631) | def test_extract_approved_state_updates_no_approval(): class TestBuildMessagesSnapshot (line 642) | class TestBuildMessagesSnapshot: method test_tool_calls_and_text_are_separate_messages (line 645) | def test_tool_calls_and_text_are_separate_messages(self): method test_only_tool_calls_no_text (line 686) | def test_only_tool_calls_no_text(self): method test_only_text_no_tool_calls (line 706) | def test_only_text_no_tool_calls(self): method test_preserves_snapshot_messages (line 726) | def test_preserves_snapshot_messages(self): function test_malformed_json_in_confirm_args_skips_confirmation (line 746) | def test_malformed_json_in_confirm_args_skips_confirmation(): class TestTextMessageEventBalancing (line 782) | class TestTextMessageEventBalancing: method test_tool_only_flow_produces_balanced_events (line 790) | def test_tool_only_flow_produces_balanced_events(self): method test_text_then_tool_flow (line 857) | def test_text_then_tool_flow(self): function test_run_agent_stream_accumulates_multiple_confirm_interrupts (line 907) | async def test_run_agent_stream_accumulates_multiple_confirm_interrupts(): function test_emit_oauth_consent_request (line 982) | def test_emit_oauth_consent_request(): function test_emit_oauth_consent_request_no_link (line 996) | def test_emit_oauth_consent_request_no_link(): class TestEmitMcpToolCall (line 1010) | class TestEmitMcpToolCall: method test_produces_start_and_args_events (line 1013) | def test_produces_start_and_args_events(self): method test_tracks_in_flow_state (line 1033) | def test_tracks_in_flow_state(self): method test_no_server_name_uses_tool_name_only (line 1050) | def test_no_server_name_uses_tool_name_only(self): method test_no_arguments_skips_args_event (line 1062) | def test_no_arguments_skips_args_event(self): method test_generates_id_when_missing (line 1075) | def test_generates_id_when_missing(self): method test_missing_tool_name_falls_back_to_mcp_tool (line 1087) | def test_missing_tool_name_falls_back_to_mcp_tool(self): class TestEmitMcpToolResult (line 1098) | class TestEmitMcpToolResult: method test_produces_end_and_result_events (line 1101) | def test_produces_end_and_result_events(self): method test_tracks_in_flow_state (line 1118) | def test_tracks_in_flow_state(self): method test_no_call_id_returns_empty (line 1133) | def test_no_call_id_returns_empty(self): method test_serializes_non_string_output (line 1142) | def test_serializes_non_string_output(self): method test_output_none_falls_back_to_empty_string (line 1156) | def test_output_none_falls_back_to_empty_string(self): method test_resets_flow_state_like_emit_tool_result (line 1167) | def test_resets_flow_state_like_emit_tool_result(self): method test_no_open_message_skips_text_end (line 1191) | def test_no_open_message_skips_text_end(self): method test_predictive_handler_emits_state_snapshot (line 1206) | def test_predictive_handler_emits_state_snapshot(self): class TestEmitTextReasoning (line 1228) | class TestEmitTextReasoning: method test_produces_reasoning_events (line 1231) | def test_produces_reasoning_events(self): method test_protected_data_emits_encrypted_value_event (line 1254) | def test_protected_data_emits_encrypted_value_event(self): method test_protected_data_only_emits_event (line 1270) | def test_protected_data_only_emits_event(self): method test_empty_text_and_no_protected_data_returns_empty (line 1287) | def test_empty_text_and_no_protected_data_returns_empty(self): method test_generates_message_id_when_missing (line 1295) | def test_generates_message_id_when_missing(self): class TestEmitContentMcpRouting (line 1308) | class TestEmitContentMcpRouting: method test_routes_mcp_server_tool_call (line 1311) | def test_routes_mcp_server_tool_call(self): method test_routes_mcp_server_tool_result (line 1326) | def test_routes_mcp_server_tool_result(self): method test_routes_text_reasoning (line 1340) | def test_routes_text_reasoning(self): FILE: python/packages/ag-ui/tests/ag_ui/test_run_common.py class TestNormalizeResumeInterrupts (line 15) | class TestNormalizeResumeInterrupts: method test_plain_list_of_dicts (line 18) | def test_plain_list_of_dicts(self): method test_dict_with_singular_interrupt_key (line 23) | def test_dict_with_singular_interrupt_key(self): method test_dict_without_interrupts_key_wraps_as_candidate (line 28) | def test_dict_without_interrupts_key_wraps_as_candidate(self): method test_non_dict_items_in_list_are_skipped (line 33) | def test_non_dict_items_in_list_are_skipped(self): method test_items_missing_id_are_skipped (line 38) | def test_items_missing_id_are_skipped(self): method test_response_key_used_as_value (line 43) | def test_response_key_used_as_value(self): method test_neither_value_nor_response_uses_remaining_fields (line 48) | def test_neither_value_nor_response_uses_remaining_fields(self): method test_none_payload_returns_empty (line 53) | def test_none_payload_returns_empty(self): method test_non_dict_non_list_returns_empty (line 57) | def test_non_dict_non_list_returns_empty(self): method test_interrupt_id_key_used_as_id (line 61) | def test_interrupt_id_key_used_as_id(self): method test_tool_call_id_key_used_as_id (line 66) | def test_tool_call_id_key_used_as_id(self): class TestExtractResumePayload (line 72) | class TestExtractResumePayload: method test_forwarded_props_resume_not_nested_in_command (line 75) | def test_forwarded_props_resume_not_nested_in_command(self): method test_forwarded_props_not_dict_returns_none (line 80) | def test_forwarded_props_not_dict_returns_none(self): method test_resume_key_has_priority (line 85) | def test_resume_key_has_priority(self): method test_no_resume_at_all (line 90) | def test_no_resume_at_all(self): method test_forwarded_props_camelcase (line 95) | def test_forwarded_props_camelcase(self): class TestEmitToolResult (line 101) | class TestEmitToolResult: method test_tool_result_without_call_id_returns_empty (line 104) | def test_tool_result_without_call_id_returns_empty(self): method test_tool_result_closes_open_text_message (line 111) | def test_tool_result_closes_open_text_message(self): FILE: python/packages/ag-ui/tests/ag_ui/test_service_thread_id.py function test_service_thread_id_when_there_are_updates (line 12) | async def test_service_thread_id_when_there_are_updates(stub_agent): function test_service_thread_id_when_no_user_message (line 44) | async def test_service_thread_id_when_no_user_message(stub_agent): function test_service_thread_id_when_user_supplied_thread_id (line 66) | async def test_service_thread_id_when_user_supplied_thread_id(stub_agent): FILE: python/packages/ag-ui/tests/ag_ui/test_structured_output.py class RecipeOutput (line 13) | class RecipeOutput(BaseModel): class StepsOutput (line 20) | class StepsOutput(BaseModel): class GenericOutput (line 27) | class GenericOutput(BaseModel): function test_structured_output_with_recipe (line 33) | async def test_structured_output_with_recipe(streaming_chat_client_stub,... function test_structured_output_with_steps (line 71) | async def test_structured_output_with_steps(streaming_chat_client_stub, ... function test_structured_output_with_no_schema_match (line 111) | async def test_structured_output_with_no_schema_match(streaming_chat_cli... function test_structured_output_without_schema (line 141) | async def test_structured_output_without_schema(streaming_chat_client_st... function test_no_structured_output_when_no_response_format (line 179) | async def test_no_structured_output_when_no_response_format(streaming_ch... function test_structured_output_with_message_field (line 206) | async def test_structured_output_with_message_field(streaming_chat_clien... function test_empty_updates_no_structured_processing (line 241) | async def test_empty_updates_no_structured_processing(streaming_chat_cli... FILE: python/packages/ag-ui/tests/ag_ui/test_subgraphs_example_agent.py function _run (line 13) | async def _run(agent: Any, payload: dict[str, Any]) -> list[Any]: function test_subgraphs_example_initial_run_emits_flight_interrupt (line 17) | async def test_subgraphs_example_initial_run_emits_flight_interrupt() ->... function test_subgraphs_example_resume_flow_reaches_completion (line 56) | async def test_subgraphs_example_resume_flow_reaches_completion() -> None: function test_subgraphs_example_requires_structured_resume_for_selection (line 135) | async def test_subgraphs_example_requires_structured_resume_for_selectio... function test_subgraphs_example_forwarded_command_resume_reaches_hotels_interrupt (line 197) | async def test_subgraphs_example_forwarded_command_resume_reaches_hotels... FILE: python/packages/ag-ui/tests/ag_ui/test_tooling.py class DummyTool (line 15) | class DummyTool: method __init__ (line 16) | def __init__(self, name: str) -> None: class MockMCPTool (line 21) | class MockMCPTool: method __init__ (line 24) | def __init__(self, functions: list[DummyTool], is_connected: bool = Tr... function regular_tool (line 31) | def regular_tool() -> str: function _create_chat_agent_with_tool (line 36) | def _create_chat_agent_with_tool(tool_name: str = "regular_tool") -> Agent: function test_merge_tools_filters_duplicates (line 46) | def test_merge_tools_filters_duplicates() -> None: function test_register_additional_client_tools_assigns_when_configured (line 54) | def test_register_additional_client_tools_assigns_when_configured() -> N... function test_collect_server_tools_includes_mcp_tools_when_connected (line 69) | def test_collect_server_tools_includes_mcp_tools_when_connected() -> None: function test_collect_server_tools_excludes_mcp_tools_when_not_connected (line 87) | def test_collect_server_tools_excludes_mcp_tools_when_not_connected() ->... function test_collect_server_tools_works_with_no_mcp_tools (line 103) | def test_collect_server_tools_works_with_no_mcp_tools() -> None: function test_collect_server_tools_with_mcp_tools_via_public_property (line 114) | def test_collect_server_tools_with_mcp_tools_via_public_property() -> None: function test_collect_server_tools_raises_on_duplicate_agent_and_mcp_tool_names (line 133) | def test_collect_server_tools_raises_on_duplicate_agent_and_mcp_tool_nam... function test_collect_server_tools_no_default_options (line 147) | def test_collect_server_tools_no_default_options() -> None: function test_register_additional_client_tools_no_tools (line 158) | def test_register_additional_client_tools_no_tools() -> None: function test_register_additional_client_tools_no_chat_client (line 167) | def test_register_additional_client_tools_no_chat_client() -> None: function test_merge_tools_no_client_tools (line 181) | def test_merge_tools_no_client_tools() -> None: function test_merge_tools_all_duplicates (line 188) | def test_merge_tools_all_duplicates() -> None: function test_merge_tools_empty_server (line 196) | def test_merge_tools_empty_server() -> None: function test_merge_tools_with_approval_tools_no_client (line 205) | def test_merge_tools_with_approval_tools_no_client() -> None: function test_merge_tools_with_approval_tools_all_duplicates (line 220) | def test_merge_tools_with_approval_tools_all_duplicates() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_types.py class TestPredictStateConfig (line 8) | class TestPredictStateConfig: method test_predict_state_config_creation (line 11) | def test_predict_state_config_creation(self) -> None: method test_predict_state_config_with_none_tool_argument (line 23) | def test_predict_state_config_with_none_tool_argument(self) -> None: method test_predict_state_config_type_validation (line 35) | def test_predict_state_config_type_validation(self) -> None: class TestRunMetadata (line 48) | class TestRunMetadata: method test_run_metadata_creation (line 51) | def test_run_metadata_creation(self) -> None: method test_run_metadata_with_none_predict_state (line 71) | def test_run_metadata_with_none_predict_state(self) -> None: method test_run_metadata_empty_predict_state (line 83) | def test_run_metadata_empty_predict_state(self) -> None: class TestAgentState (line 96) | class TestAgentState: method test_agent_state_creation (line 99) | def test_agent_state_creation(self) -> None: method test_agent_state_with_none_messages (line 113) | def test_agent_state_with_none_messages(self) -> None: method test_agent_state_empty_messages (line 119) | def test_agent_state_empty_messages(self) -> None: method test_agent_state_complex_messages (line 125) | def test_agent_state_complex_messages(self) -> None: class TestAGUIRequest (line 148) | class TestAGUIRequest: method test_agui_request_minimal (line 151) | def test_agui_request_minimal(self) -> None: method test_agui_request_all_fields (line 165) | def test_agui_request_all_fields(self) -> None: method test_agui_request_camel_case_aliases (line 186) | def test_agui_request_camel_case_aliases(self) -> None: method test_agui_request_model_dump_excludes_none (line 201) | def test_agui_request_model_dump_excludes_none(self) -> None: method test_agui_request_model_dump_includes_all_set_fields (line 220) | def test_agui_request_model_dump_includes_all_set_fields(self) -> None: method test_agui_request_available_interrupts_alias_round_trip (line 242) | def test_agui_request_available_interrupts_alias_round_trip(self) -> N... FILE: python/packages/ag-ui/tests/ag_ui/test_utils.py function test_generate_event_id (line 15) | def test_generate_event_id(): function test_merge_state (line 25) | def test_merge_state(): function test_merge_state_empty_update (line 37) | def test_merge_state_empty_update(): function test_merge_state_empty_current (line 48) | def test_merge_state_empty_current(): function test_merge_state_deep_copy (line 58) | def test_merge_state_deep_copy(): function test_make_json_safe_basic (line 72) | def test_make_json_safe_basic(): function test_make_json_safe_datetime (line 82) | def test_make_json_safe_datetime(): function test_make_json_safe_date (line 89) | def test_make_json_safe_date(): class SampleDataclass (line 97) | class SampleDataclass: function test_make_json_safe_dataclass (line 104) | def test_make_json_safe_dataclass(): class ModelDumpObject (line 111) | class ModelDumpObject: method model_dump (line 114) | def model_dump(self): function test_make_json_safe_model_dump (line 118) | def test_make_json_safe_model_dump(): class ToDictObject (line 125) | class ToDictObject: method to_dict (line 128) | def to_dict(self): function test_make_json_safe_to_dict (line 132) | def test_make_json_safe_to_dict(): class DictObject (line 139) | class DictObject: method dict (line 142) | def dict(self): function test_make_json_safe_dict_method (line 146) | def test_make_json_safe_dict_method(): class CustomObject (line 153) | class CustomObject: method __init__ (line 156) | def __init__(self): function test_make_json_safe_dict_attribute (line 161) | def test_make_json_safe_dict_attribute(): function test_make_json_safe_list (line 168) | def test_make_json_safe_list(): function test_make_json_safe_tuple (line 175) | def test_make_json_safe_tuple(): function test_make_json_safe_dict (line 182) | def test_make_json_safe_dict(): function test_make_json_safe_nested (line 189) | def test_make_json_safe_nested(): class UnserializableObject (line 204) | class UnserializableObject: method __init__ (line 207) | def __init__(self): function test_make_json_safe_fallback (line 212) | def test_make_json_safe_fallback(): function test_make_json_safe_dataclass_with_nested_to_dict_object (line 220) | def test_make_json_safe_dataclass_with_nested_to_dict_object(): function test_convert_tools_to_agui_format_with_tool (line 255) | def test_convert_tools_to_agui_format_with_tool(): function test_convert_tools_to_agui_format_with_callable (line 276) | def test_convert_tools_to_agui_format_with_callable(): function test_convert_tools_to_agui_format_with_dict (line 293) | def test_convert_tools_to_agui_format_with_dict(): function test_convert_tools_to_agui_format_with_none (line 310) | def test_convert_tools_to_agui_format_with_none(): function test_convert_tools_to_agui_format_with_single_tool (line 319) | def test_convert_tools_to_agui_format_with_single_tool(): function test_convert_tools_to_agui_format_with_multiple_tools (line 337) | def test_convert_tools_to_agui_format_with_multiple_tools(): function test_safe_json_parse_with_dict (line 364) | def test_safe_json_parse_with_dict(): function test_safe_json_parse_with_json_string (line 373) | def test_safe_json_parse_with_json_string(): function test_safe_json_parse_with_invalid_json (line 381) | def test_safe_json_parse_with_invalid_json(): function test_safe_json_parse_with_non_dict_json (line 389) | def test_safe_json_parse_with_non_dict_json(): function test_safe_json_parse_with_none (line 397) | def test_safe_json_parse_with_none(): function test_get_role_value_with_enum (line 405) | def test_get_role_value_with_enum(): function test_get_role_value_with_string (line 416) | def test_get_role_value_with_string(): function test_get_role_value_with_none (line 427) | def test_get_role_value_with_none(): function test_normalize_agui_role_developer (line 438) | def test_normalize_agui_role_developer(): function test_normalize_agui_role_valid (line 445) | def test_normalize_agui_role_valid(): function test_normalize_agui_role_invalid (line 455) | def test_normalize_agui_role_invalid(): function test_extract_state_from_tool_args (line 463) | def test_extract_state_from_tool_args(): function test_convert_agui_tools_to_agent_framework (line 481) | def test_convert_agui_tools_to_agent_framework(): function test_convert_agui_tools_to_agent_framework_none (line 502) | def test_convert_agui_tools_to_agent_framework_none(): function test_convert_agui_tools_to_agent_framework_empty (line 510) | def test_convert_agui_tools_to_agent_framework_empty(): function test_make_json_safe_unconvertible (line 518) | def test_make_json_safe_unconvertible(): FILE: python/packages/ag-ui/tests/ag_ui/test_workflow_agent.py function _run (line 15) | async def _run(agent: AgentFrameworkWorkflow, payload: dict[str, Any]) -... function test_workflow_wrapper_rejects_workflow_and_factory_at_once (line 19) | async def test_workflow_wrapper_rejects_workflow_and_factory_at_once() -... function test_workflow_wrapper_factory_is_thread_scoped (line 32) | async def test_workflow_wrapper_factory_is_thread_scoped() -> None: function test_workflow_wrapper_without_workflow_raises_not_implemented (line 99) | async def test_workflow_wrapper_without_workflow_raises_not_implemented(... function test_workflow_wrapper_factory_return_type_is_validated (line 107) | async def test_workflow_wrapper_factory_return_type_is_validated() -> None: FILE: python/packages/ag-ui/tests/ag_ui/test_workflow_run.py class ProgressEvent (line 51) | class ProgressEvent(WorkflowEvent): method __init__ (line 54) | def __init__(self, progress: int) -> None: function test_workflow_run_maps_custom_and_text_events (line 58) | async def test_workflow_run_maps_custom_and_text_events(): function test_workflow_run_request_info_emits_interrupt_and_resume_works (line 84) | async def test_workflow_run_request_info_emits_interrupt_and_resume_work... function test_workflow_run_request_info_closes_open_text_message (line 120) | async def test_workflow_run_request_info_closes_open_text_message() -> N... function test_workflow_run_request_info_interrupt_uses_raw_dict_value (line 143) | async def test_workflow_run_request_info_interrupt_uses_raw_dict_value(): function test_workflow_run_resume_from_forwarded_command_payload (line 170) | async def test_workflow_run_resume_from_forwarded_command_payload() -> N... function test_workflow_run_structured_user_json_resumes_single_pending_request (line 200) | async def test_workflow_run_structured_user_json_resumes_single_pending_... function test_workflow_run_resume_content_response_from_json_payload (line 227) | async def test_workflow_run_resume_content_response_from_json_payload() ... function test_workflow_run_resume_message_list_from_json_payload (line 291) | async def test_workflow_run_resume_message_list_from_json_payload() -> N... function test_workflow_run_non_chat_output_maps_to_custom_output_event (line 346) | async def test_workflow_run_non_chat_output_maps_to_custom_output_event(): function test_workflow_run_passthroughs_ag_ui_base_events (line 361) | async def test_workflow_run_passthroughs_ag_ui_base_events(): function test_workflow_run_plain_text_follow_up_does_not_infer_interrupt_response (line 376) | async def test_workflow_run_plain_text_follow_up_does_not_infer_interrup... function test_workflow_run_empty_turn_with_pending_request_preserves_interrupts (line 429) | async def test_workflow_run_empty_turn_with_pending_request_preserves_in... function test_workflow_run_agent_response_output_uses_latest_assistant_message_only (line 452) | async def test_workflow_run_agent_response_output_uses_latest_assistant_... function test_workflow_run_skips_duplicate_text_from_conversation_snapshot (line 476) | async def test_workflow_run_skips_duplicate_text_from_conversation_snaps... function test_workflow_run_skips_consecutive_duplicate_text_outputs (line 500) | async def test_workflow_run_skips_consecutive_duplicate_text_outputs() -... function test_workflow_run_skips_final_snapshot_when_streamed_chunks_already_match (line 517) | async def test_workflow_run_skips_final_snapshot_when_streamed_chunks_al... function test_workflow_run_usage_content_emits_custom_usage_event (line 550) | async def test_workflow_run_usage_content_emits_custom_usage_event() -> ... function test_workflow_run_accepts_multimodal_input_messages (line 576) | async def test_workflow_run_accepts_multimodal_input_messages() -> None: function test_coerce_message_accepts_string_payload (line 633) | def test_coerce_message_accepts_string_payload() -> None: function test_coerce_message_accepts_content_key_variant (line 643) | def test_coerce_message_accepts_content_key_variant() -> None: function test_coerce_response_for_request_bool_int_float_and_mismatch (line 653) | def test_coerce_response_for_request_bool_int_float_and_mismatch() -> None: function test_workflow_run_emits_run_error_when_stream_raises (line 674) | async def test_workflow_run_emits_run_error_when_stream_raises() -> None: class TestPendingRequestEvents (line 705) | class TestPendingRequestEvents: method test_no_runner_context (line 708) | async def test_no_runner_context(self): method test_runner_context_missing_get_pending (line 714) | async def test_runner_context_missing_get_pending(self): method test_get_pending_returns_non_dict (line 720) | async def test_get_pending_returns_non_dict(self): class TestInterruptEntryForRequestEvent (line 731) | class TestInterruptEntryForRequestEvent: method test_request_id_none (line 734) | def test_request_id_none(self): method test_dict_data_used_directly (line 739) | def test_dict_data_used_directly(self): method test_non_dict_data_wrapped (line 745) | def test_non_dict_data_wrapped(self): class TestRequestPayloadFromRequestEvent (line 752) | class TestRequestPayloadFromRequestEvent: method test_falsy_request_id_returns_none (line 755) | def test_falsy_request_id_returns_none(self): class TestCoerceJsonValue (line 761) | class TestCoerceJsonValue: method test_empty_string (line 764) | def test_empty_string(self): method test_whitespace_string (line 768) | def test_whitespace_string(self): method test_valid_json_parsed (line 772) | def test_valid_json_parsed(self): method test_invalid_json_returned_as_is (line 776) | def test_invalid_json_returned_as_is(self): method test_non_string_returned_as_is (line 780) | def test_non_string_returned_as_is(self): class TestCoerceContent (line 786) | class TestCoerceContent: method test_already_content (line 789) | def test_already_content(self): method test_non_dict_returns_none (line 794) | def test_non_dict_returns_none(self): method test_auto_function_approval_response_type_attempted (line 799) | def test_auto_function_approval_response_type_attempted(self): method test_valid_text_content_dict (line 812) | def test_valid_text_content_dict(self): class TestCoerceMessageContent (line 820) | class TestCoerceMessageContent: method test_string_content (line 823) | def test_string_content(self): method test_already_content_object (line 830) | def test_already_content_object(self): method test_none_input_returns_none (line 835) | def test_none_input_returns_none(self): class TestCoerceMessage (line 840) | class TestCoerceMessage: method test_already_message (line 843) | def test_already_message(self): method test_non_dict_non_str_returns_none (line 848) | def test_non_dict_non_str_returns_none(self): method test_empty_contents (line 852) | def test_empty_contents(self): method test_dict_with_content_key_variant (line 859) | def test_dict_with_content_key_variant(self): class TestCoerceResponseForRequest (line 867) | class TestCoerceResponseForRequest: method test_response_type_none (line 870) | def test_response_type_none(self): method test_response_type_any (line 875) | def test_response_type_any(self): method test_list_coercion_bare_list (line 880) | def test_list_coercion_bare_list(self): method test_list_content_coercion (line 885) | def test_list_content_coercion(self): method test_list_message_coercion (line 893) | def test_list_message_coercion(self): method test_list_coercion_fails_returns_none (line 901) | def test_list_coercion_fails_returns_none(self): method test_str_coercion_from_dict (line 907) | def test_str_coercion_from_dict(self): method test_unknown_type_mismatch (line 914) | def test_unknown_type_mismatch(self): method test_unknown_type_match (line 923) | def test_unknown_type_match(self): class TestSinglePendingResponseFromValue (line 934) | class TestSinglePendingResponseFromValue: method test_missing_request_id (line 937) | def test_missing_request_id(self): method test_multiple_pending_returns_empty (line 944) | def test_multiple_pending_returns_empty(self): class TestCoerceResponsesForPendingRequests (line 952) | class TestCoerceResponsesForPendingRequests: method test_failed_coercion_skipped (line 955) | def test_failed_coercion_skipped(self): method test_unknown_request_id_preserved (line 963) | def test_unknown_request_id_preserved(self): method test_empty_responses (line 970) | def test_empty_responses(self): class TestMessageRoleValue (line 976) | class TestMessageRoleValue: method test_string_role (line 979) | def test_string_role(self): method test_enum_role (line 984) | def test_enum_role(self): class TestLatestUserText (line 994) | class TestLatestUserText: method test_only_assistant_messages (line 997) | def test_only_assistant_messages(self): method test_user_with_non_text_content (line 1002) | def test_user_with_non_text_content(self): method test_user_with_empty_text (line 1009) | def test_user_with_empty_text(self): class TestLatestAssistantContents (line 1015) | class TestLatestAssistantContents: method test_no_assistant_messages (line 1018) | def test_no_assistant_messages(self): method test_assistant_with_empty_contents (line 1023) | def test_assistant_with_empty_contents(self): class TestTextFromContents (line 1029) | class TestTextFromContents: method test_empty_text_skipped (line 1032) | def test_empty_text_skipped(self): method test_non_text_content_skipped (line 1037) | def test_non_text_content_skipped(self): class TestWorkflowInterruptEventValue (line 1043) | class TestWorkflowInterruptEventValue: method test_none_data (line 1046) | def test_none_data(self): method test_string_data (line 1050) | def test_string_data(self): method test_dict_data_serialized (line 1054) | def test_dict_data_serialized(self): class TestWorkflowPayloadToContents (line 1060) | class TestWorkflowPayloadToContents: method test_none_payload (line 1063) | def test_none_payload(self): method test_non_assistant_message (line 1067) | def test_non_assistant_message(self): method test_agent_response_update_non_assistant (line 1072) | def test_agent_response_update_non_assistant(self): method test_agent_response_update_none_role (line 1077) | def test_agent_response_update_none_role(self): method test_list_with_none_item (line 1082) | def test_list_with_none_item(self): method test_empty_list (line 1087) | def test_empty_list(self): method test_string_payload (line 1091) | def test_string_payload(self): method test_content_payload (line 1098) | def test_content_payload(self): method test_unknown_type_returns_none (line 1104) | def test_unknown_type_returns_none(self): class TestCustomEventValue (line 1109) | class TestCustomEventValue: method test_event_with_data (line 1112) | def test_event_with_data(self): method test_event_without_data (line 1117) | def test_event_without_data(self): method test_event_with_no_custom_fields (line 1123) | def test_event_with_no_custom_fields(self): class TestDetailsMessage (line 1130) | class TestDetailsMessage: method test_none_details (line 1133) | def test_none_details(self): method test_details_with_message (line 1137) | def test_details_with_message(self): method test_details_with_empty_message (line 1142) | def test_details_with_empty_message(self): method test_details_without_message (line 1148) | def test_details_without_message(self): class TestDetailsCode (line 1153) | class TestDetailsCode: method test_none_details (line 1156) | def test_none_details(self): method test_details_with_error_type (line 1160) | def test_details_with_error_type(self): method test_details_with_empty_error_type (line 1165) | def test_details_with_empty_error_type(self): method test_details_without_error_type (line 1170) | def test_details_without_error_type(self): class TestExtractResponsesFromMessages (line 1176) | class TestExtractResponsesFromMessages: method test_function_result_extracted (line 1179) | def test_function_result_extracted(self): method test_function_result_without_call_id_skipped (line 1186) | def test_function_result_without_call_id_skipped(self): method test_function_approval_response_extracted (line 1193) | def test_function_approval_response_extracted(self): method test_denied_approval_response_extracted (line 1212) | def test_denied_approval_response_extracted(self): method test_mixed_result_and_approval (line 1229) | def test_mixed_result_and_approval(self): method test_mixed_result_and_approval_same_message (line 1252) | def test_mixed_result_and_approval_same_message(self): method test_text_content_skipped (line 1272) | def test_text_content_skipped(self): method test_empty_messages (line 1279) | def test_empty_messages(self): function test_workflow_run_approval_via_messages_approved (line 1287) | async def test_workflow_run_approval_via_messages_approved() -> None: function test_workflow_run_approval_via_messages_denied (line 1355) | async def test_workflow_run_approval_via_messages_denied() -> None: function test_workflow_run_available_interrupts_logged (line 1423) | async def test_workflow_run_available_interrupts_logged(): function test_workflow_run_failed_event (line 1443) | async def test_workflow_run_failed_event(): function test_workflow_run_status_enum_state (line 1471) | async def test_workflow_run_status_enum_state(): function test_workflow_run_executor_invoked_drains_text (line 1497) | async def test_workflow_run_executor_invoked_drains_text(): function test_workflow_run_executor_failed_event (line 1523) | async def test_workflow_run_executor_failed_event(): function test_workflow_run_list_base_event_output (line 1551) | async def test_workflow_run_list_base_event_output(): function test_workflow_run_late_run_started (line 1581) | async def test_workflow_run_late_run_started(): function test_workflow_run_last_assistant_text_update (line 1603) | async def test_workflow_run_last_assistant_text_update(): function test_workflow_run_superstep_events (line 1627) | async def test_workflow_run_superstep_events(): function test_workflow_run_non_terminal_status_emits_custom (line 1654) | async def test_workflow_run_non_terminal_status_emits_custom(): FILE: python/packages/anthropic/agent_framework_anthropic/_chat_client.py class ThinkingConfig (line 87) | class ThinkingConfig(TypedDict, total=False): class AnthropicChatOptions (line 105) | class AnthropicChatOptions(ChatOptions[ResponseModelT], Generic[Response... class AnthropicSettings (line 198) | class AnthropicSettings(TypedDict, total=False): class RawAnthropicClient (line 214) | class RawAnthropicClient( method __init__ (line 235) | def __init__( method get_code_interpreter_tool (line 344) | def get_code_interpreter_tool( method get_web_search_tool (line 369) | def get_web_search_tool( method get_shell_tool (line 394) | def get_shell_tool( method get_mcp_tool (line 445) | def get_mcp_tool( method _inner_get_response (line 502) | def _inner_get_response( method _prepare_options (line 532) | def _prepare_options( method _prepare_betas (line 619) | def _prepare_betas(self, options: Mapping[str, Any]) -> set[str]: method _prepare_response_format (line 634) | def _prepare_response_format(self, response_format: type[BaseModel] | ... method _prepare_messages_for_anthropic (line 669) | def _prepare_messages_for_anthropic(self, messages: Sequence[Message])... method _prepare_message_for_anthropic (line 680) | def _prepare_message_for_anthropic(self, message: Message) -> dict[str... method _prepare_tools_for_anthropic (line 793) | def _prepare_tools_for_anthropic(self, options: Mapping[str, Any]) -> ... method _process_message (line 901) | def _process_message(self, message: BetaMessage, options: Mapping[str,... method _process_stream_event (line 927) | def _process_stream_event(self, event: BetaRawMessageStreamEvent) -> C... method _parse_usage_from_anthropic (line 982) | def _parse_usage_from_anthropic(self, usage: BetaUsage | BetaMessageDe... method _parse_contents_from_anthropic (line 995) | def _parse_contents_from_anthropic( method _parse_citations_from_anthropic (line 1307) | def _parse_citations_from_anthropic( method service_url (line 1377) | def service_url(self) -> str: class AnthropicClient (line 1386) | class AnthropicClient( method __init__ (line 1395) | def __init__( FILE: python/packages/anthropic/tests/conftest.py function exclude_list (line 9) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 15) | def override_env_param_dict(request: Any) -> dict[str, str]: function anthropic_unit_test_env (line 21) | def anthropic_unit_test_env(monkeypatch, exclude_list, override_env_para... function mock_anthropic_client (line 46) | def mock_anthropic_client() -> MagicMock: FILE: python/packages/anthropic/tests/test_anthropic_client.py function create_test_anthropic_client (line 41) | def create_test_anthropic_client( function test_anthropic_settings_init (line 80) | def test_anthropic_settings_init(anthropic_unit_test_env: dict[str, str]... function test_anthropic_settings_init_with_explicit_values (line 89) | def test_anthropic_settings_init_with_explicit_values() -> None: function test_anthropic_settings_missing_api_key (line 104) | def test_anthropic_settings_missing_api_key( function test_anthropic_client_init_with_client (line 116) | def test_anthropic_client_init_with_client(mock_anthropic_client: MagicM... function test_anthropic_client_wraps_raw_client_with_standard_layer_order (line 125) | def test_anthropic_client_wraps_raw_client_with_standard_layer_order() -... function test_anthropic_client_init_auto_create_client (line 138) | def test_anthropic_client_init_auto_create_client( function test_anthropic_client_init_missing_api_key (line 151) | def test_anthropic_client_init_missing_api_key() -> None: function test_anthropic_client_service_url (line 163) | def test_anthropic_client_service_url(mock_anthropic_client: MagicMock) ... function test_prepare_message_for_anthropic_text (line 172) | def test_prepare_message_for_anthropic_text(mock_anthropic_client: Magic... function test_prepare_message_for_anthropic_function_call (line 185) | def test_prepare_message_for_anthropic_function_call( function test_prepare_message_for_anthropic_function_result (line 211) | def test_prepare_message_for_anthropic_function_result( function test_prepare_message_for_anthropic_function_result_with_data_image (line 241) | def test_prepare_message_for_anthropic_function_result_with_data_image( function test_prepare_message_for_anthropic_function_result_with_uri_image (line 272) | def test_prepare_message_for_anthropic_function_result_with_uri_image( function test_prepare_message_for_anthropic_function_result_with_unsupported_media (line 298) | def test_prepare_message_for_anthropic_function_result_with_unsupported_... function test_prepare_message_for_anthropic_function_result_all_unsupported_media (line 324) | def test_prepare_message_for_anthropic_function_result_all_unsupported_m... function test_prepare_message_for_anthropic_text_reasoning (line 347) | def test_prepare_message_for_anthropic_text_reasoning( function test_prepare_message_for_anthropic_text_reasoning_with_signature (line 366) | def test_prepare_message_for_anthropic_text_reasoning_with_signature( function test_prepare_message_for_anthropic_mcp_server_tool_call (line 385) | def test_prepare_message_for_anthropic_mcp_server_tool_call( function test_prepare_message_for_anthropic_mcp_server_tool_call_no_server_name (line 413) | def test_prepare_message_for_anthropic_mcp_server_tool_call_no_server_name( function test_prepare_message_for_anthropic_mcp_server_tool_result (line 440) | def test_prepare_message_for_anthropic_mcp_server_tool_result( function test_prepare_message_for_anthropic_mcp_server_tool_result_none_output (line 464) | def test_prepare_message_for_anthropic_mcp_server_tool_result_none_output( function test_prepare_messages_for_anthropic_with_system (line 488) | def test_prepare_messages_for_anthropic_with_system( function test_prepare_messages_for_anthropic_without_system (line 506) | def test_prepare_messages_for_anthropic_without_system( function test_prepare_tools_for_anthropic_tool (line 526) | def test_prepare_tools_for_anthropic_tool(mock_anthropic_client: MagicMo... function test_prepare_tools_for_anthropic_web_search (line 548) | def test_prepare_tools_for_anthropic_web_search( function test_prepare_tools_for_anthropic_code_interpreter (line 564) | def test_prepare_tools_for_anthropic_code_interpreter( function _dummy_bash (line 580) | def _dummy_bash(command: str) -> str: function test_prepare_tools_for_anthropic_shell_tool (line 584) | def test_prepare_tools_for_anthropic_shell_tool( function test_prepare_tools_for_anthropic_shell_tool_custom_type (line 605) | def test_prepare_tools_for_anthropic_shell_tool_custom_type( function test_prepare_tools_for_anthropic_shell_tool_does_not_mutate_name (line 625) | def test_prepare_tools_for_anthropic_shell_tool_does_not_mutate_name( function test_get_shell_tool_reuses_function_tool_instance (line 647) | def test_get_shell_tool_reuses_function_tool_instance( function test_prepare_tools_for_anthropic_mcp_tool (line 669) | def test_prepare_tools_for_anthropic_mcp_tool(mock_anthropic_client: Mag... function test_prepare_tools_for_anthropic_mcp_with_auth (line 684) | def test_prepare_tools_for_anthropic_mcp_with_auth( function test_prepare_tools_for_anthropic_dict_tool (line 706) | def test_prepare_tools_for_anthropic_dict_tool( function test_prepare_tools_for_anthropic_none (line 721) | def test_prepare_tools_for_anthropic_none(mock_anthropic_client: MagicMo... function test_prepare_options_basic (line 734) | async def test_prepare_options_basic(mock_anthropic_client: MagicMock) -... function test_prepare_options_with_system_message (line 749) | async def test_prepare_options_with_system_message( function test_anthropic_shell_tool_is_invoked_in_function_loop (line 767) | async def test_anthropic_shell_tool_is_invoked_in_function_loop( function test_prepare_options_with_tool_choice_auto (line 830) | async def test_prepare_options_with_tool_choice_auto( function test_prepare_options_with_tool_choice_required (line 846) | async def test_prepare_options_with_tool_choice_required( function test_prepare_options_with_tool_choice_none (line 862) | async def test_prepare_options_with_tool_choice_none( function test_prepare_options_with_tools (line 876) | async def test_prepare_options_with_tools(mock_anthropic_client: MagicMo... function test_prepare_options_with_stop_sequences (line 894) | async def test_prepare_options_with_stop_sequences( function test_prepare_options_with_top_p (line 908) | async def test_prepare_options_with_top_p(mock_anthropic_client: MagicMo... function test_prepare_options_excludes_stream_option (line 920) | async def test_prepare_options_excludes_stream_option( function test_prepare_options_filters_internal_kwargs (line 934) | async def test_prepare_options_filters_internal_kwargs( function test_process_message_basic (line 969) | def test_process_message_basic(mock_anthropic_client: MagicMock) -> None: function test_process_message_with_tool_use (line 995) | def test_process_message_with_tool_use(mock_anthropic_client: MagicMock)... function test_parse_usage_from_anthropic_basic (line 1022) | def test_parse_usage_from_anthropic_basic(mock_anthropic_client: MagicMo... function test_parse_usage_from_anthropic_none (line 1034) | def test_parse_usage_from_anthropic_none(mock_anthropic_client: MagicMoc... function test_parse_contents_from_anthropic_text (line 1043) | def test_parse_contents_from_anthropic_text(mock_anthropic_client: Magic... function test_parse_contents_from_anthropic_tool_use (line 1055) | def test_parse_contents_from_anthropic_tool_use( function test_parse_contents_from_anthropic_input_json_delta_no_duplicate_name (line 1077) | def test_parse_contents_from_anthropic_input_json_delta_no_duplicate_name( function test_process_stream_event_simple (line 1129) | def test_process_stream_event_simple(mock_anthropic_client: MagicMock) -... function test_inner_get_response (line 1143) | async def test_inner_get_response(mock_anthropic_client: MagicMock) -> N... function test_inner_get_response_ignores_options_stream_non_streaming (line 1169) | async def test_inner_get_response_ignores_options_stream_non_streaming( function test_inner_get_response_streaming (line 1195) | async def test_inner_get_response_streaming(mock_anthropic_client: Magic... function test_inner_get_response_ignores_options_stream_streaming (line 1221) | async def test_inner_get_response_ignores_options_stream_streaming( function test_process_stream_event_message_start_sets_assistant_role (line 1248) | def test_process_stream_event_message_start_sets_assistant_role(mock_ant... function test_process_stream_event_message_start_role_prevents_tool_use_collapse (line 1273) | def test_process_stream_event_message_start_role_prevents_tool_use_colla... function test_process_stream_event_message_start_without_role_reproduces_bug (line 1329) | def test_process_stream_event_message_start_without_role_reproduces_bug(... function get_weather (line 1374) | def get_weather( function test_anthropic_client_integration_basic_chat (line 1384) | async def test_anthropic_client_integration_basic_chat() -> None: function test_anthropic_client_integration_streaming_chat (line 1402) | async def test_anthropic_client_integration_streaming_chat() -> None: function test_anthropic_client_integration_function_calling (line 1419) | async def test_anthropic_client_integration_function_calling() -> None: function test_anthropic_client_integration_hosted_tools (line 1440) | async def test_anthropic_client_integration_hosted_tools() -> None: function test_anthropic_client_integration_with_system_message (line 1466) | async def test_anthropic_client_integration_with_system_message() -> None: function test_anthropic_client_integration_temperature_control (line 1484) | async def test_anthropic_client_integration_temperature_control() -> None: function test_anthropic_client_integration_ordering (line 1502) | async def test_anthropic_client_integration_ordering() -> None: function test_anthropic_client_integration_images (line 1523) | async def test_anthropic_client_integration_images() -> None: function test_prepare_response_format_openai_style (line 1552) | def test_prepare_response_format_openai_style(mock_anthropic_client: Mag... function test_prepare_response_format_direct_schema (line 1572) | def test_prepare_response_format_direct_schema( function test_prepare_response_format_raw_schema (line 1592) | def test_prepare_response_format_raw_schema(mock_anthropic_client: Magic... function test_prepare_response_format_pydantic_model (line 1608) | def test_prepare_response_format_pydantic_model( function test_prepare_message_with_image_data (line 1628) | def test_prepare_message_with_image_data(mock_anthropic_client: MagicMoc... function test_prepare_message_with_image_uri (line 1647) | def test_prepare_message_with_image_uri(mock_anthropic_client: MagicMock... function test_prepare_message_with_unsupported_data_type (line 1665) | def test_prepare_message_with_unsupported_data_type( function test_prepare_message_with_unsupported_uri_type (line 1683) | def test_prepare_message_with_unsupported_uri_type( function test_parse_contents_mcp_tool_use (line 1704) | def test_parse_contents_mcp_tool_use(mock_anthropic_client: MagicMock) -... function test_parse_contents_code_execution_tool (line 1721) | def test_parse_contents_code_execution_tool(mock_anthropic_client: Magic... function test_parse_contents_mcp_tool_result_list_content (line 1738) | def test_parse_contents_mcp_tool_result_list_content( function test_parse_contents_mcp_tool_result_string_content (line 1761) | def test_parse_contents_mcp_tool_result_string_content( function test_parse_contents_mcp_tool_result_bytes_content (line 1780) | def test_parse_contents_mcp_tool_result_bytes_content( function test_parse_contents_mcp_tool_result_object_content (line 1799) | def test_parse_contents_mcp_tool_result_object_content( function test_parse_contents_web_search_tool_result (line 1822) | def test_parse_contents_web_search_tool_result( function test_parse_contents_web_fetch_tool_result (line 1841) | def test_parse_contents_web_fetch_tool_result(mock_anthropic_client: Mag... function test_get_mcp_tool_with_allowed_tools (line 1861) | def test_get_mcp_tool_with_allowed_tools() -> None: function test_get_mcp_tool_without_allowed_tools (line 1875) | def test_get_mcp_tool_without_allowed_tools() -> None: function test_prepare_tools_mcp_with_allowed_tools (line 1885) | def test_prepare_tools_mcp_with_allowed_tools(mock_anthropic_client: Mag... function test_tool_choice_auto_with_allow_multiple (line 1913) | def test_tool_choice_auto_with_allow_multiple(mock_anthropic_client: Mag... function test_tool_choice_required_any (line 1936) | def test_tool_choice_required_any(mock_anthropic_client: MagicMock) -> N... function test_tool_choice_required_specific_function (line 1954) | def test_tool_choice_required_specific_function( function test_tool_choice_none (line 1978) | def test_tool_choice_none(mock_anthropic_client: MagicMock) -> None: function test_tool_choice_required_allows_parallel_use (line 1996) | def test_tool_choice_required_allows_parallel_use( function test_prepare_options_with_instructions (line 2025) | def test_prepare_options_with_instructions(mock_anthropic_client: MagicM... function test_prepare_options_missing_model_id (line 2039) | def test_prepare_options_missing_model_id(mock_anthropic_client: MagicMo... function test_prepare_options_with_user_metadata (line 2054) | def test_prepare_options_with_user_metadata(mock_anthropic_client: Magic... function test_prepare_options_user_metadata_no_override (line 2067) | def test_prepare_options_user_metadata_no_override( function test_process_stream_event_message_stop (line 2082) | def test_process_stream_event_message_stop(mock_anthropic_client: MagicM... function test_parse_usage_with_cache_tokens (line 2095) | def test_parse_usage_with_cache_tokens(mock_anthropic_client: MagicMock)... function test_parse_code_execution_result_with_error (line 2118) | def test_parse_code_execution_result_with_error( function test_parse_code_execution_result_with_stdout (line 2143) | def test_parse_code_execution_result_with_stdout( function test_parse_code_execution_result_with_stderr (line 2167) | def test_parse_code_execution_result_with_stderr( function test_parse_code_execution_result_with_files (line 2191) | def test_parse_code_execution_result_with_files( function test_parse_bash_execution_result_with_stdout (line 2222) | def test_parse_bash_execution_result_with_stdout( function test_parse_bash_execution_result_with_stderr (line 2254) | def test_parse_bash_execution_result_with_stderr( function test_parse_bash_execution_result_with_error (line 2284) | def test_parse_bash_execution_result_with_error( function test_parse_text_editor_result_error (line 2316) | def test_parse_text_editor_result_error(mock_anthropic_client: MagicMock... function test_parse_text_editor_result_view (line 2337) | def test_parse_text_editor_result_view(mock_anthropic_client: MagicMock)... function test_parse_text_editor_result_str_replace (line 2360) | def test_parse_text_editor_result_str_replace(mock_anthropic_client: Mag... function test_parse_text_editor_result_file_create (line 2385) | def test_parse_text_editor_result_file_create(mock_anthropic_client: Mag... function test_parse_thinking_block (line 2409) | def test_parse_thinking_block(mock_anthropic_client: MagicMock) -> None: function test_parse_thinking_delta_block (line 2426) | def test_parse_thinking_delta_block(mock_anthropic_client: MagicMock) ->... function test_parse_signature_delta_block (line 2441) | def test_parse_signature_delta_block(mock_anthropic_client: MagicMock) -... function test_parse_citations_char_location (line 2461) | def test_parse_citations_char_location(mock_anthropic_client: MagicMock)... function test_parse_citations_page_location (line 2484) | def test_parse_citations_page_location(mock_anthropic_client: MagicMock)... function test_parse_citations_content_block_location (line 2507) | def test_parse_citations_content_block_location( function test_parse_citations_web_search_location (line 2532) | def test_parse_citations_web_search_location(mock_anthropic_client: Magi... function test_parse_citations_search_result_location (line 2554) | def test_parse_citations_search_result_location( function test_anthropic_client_integration_tool_rich_content_image (line 2583) | async def test_anthropic_client_integration_tool_rich_content_image() ->... FILE: python/packages/azure-ai-search/agent_framework_azure_ai_search/_context_provider.py class AzureAISearchSettings (line 119) | class AzureAISearchSettings(TypedDict, total=False): class AzureAISearchContextProvider (line 143) | class AzureAISearchContextProvider(BaseContextProvider): method __init__ (line 153) | def __init__( method __aenter__ (line 311) | async def __aenter__(self) -> Self: method __aexit__ (line 315) | async def __aexit__( method close (line 324) | async def close(self) -> None: method before_run (line 339) | async def before_run( method _find_vector_fields (line 368) | def _find_vector_fields(self, index: Any) -> list[str]: method _find_vectorizable_fields (line 376) | def _find_vectorizable_fields(self, index: Any, vector_fields: list[st... method _auto_discover_vector_field (line 390) | async def _auto_discover_vector_field(self) -> None: method _semantic_search (line 447) | async def _semantic_search(self, query: str) -> list[Message]: method _ensure_knowledge_base (line 484) | async def _ensure_knowledge_base(self) -> None: method _agentic_search (line 565) | async def _agentic_search(self, messages: list[Message]) -> list[Messa... method _prepare_messages_for_kb_search (line 607) | def _prepare_messages_for_kb_search(messages: list[Message]) -> list[K... method _parse_references_to_annotations (line 644) | def _parse_references_to_annotations(references: list[KnowledgeBaseRef... method _parse_messages_from_kb_response (line 700) | def _parse_messages_from_kb_response(retrieval_result: KnowledgeBaseRe... method _extract_document_text (line 737) | def _extract_document_text(self, doc: dict[str, Any], doc_id: str | No... FILE: python/packages/azure-ai-search/tests/test_aisearch_context_provider.py function clear_azure_search_env (line 20) | def clear_azure_search_env(monkeypatch: pytest.MonkeyPatch) -> None: class MockSearchResults (line 31) | class MockSearchResults: method __init__ (line 34) | def __init__(self, docs: list[dict]): method __aiter__ (line 38) | def __aiter__(self): method __anext__ (line 41) | async def __anext__(self): function _make_mock_index (line 49) | def _make_mock_index( function mock_search_client (line 62) | def mock_search_client() -> AsyncMock: function mock_search_client_empty (line 74) | def mock_search_client_empty() -> AsyncMock: function _make_provider (line 85) | def _make_provider(**overrides) -> AzureAISearchContextProvider: class TestInitSemantic (line 102) | class TestInitSemantic: method test_valid_init (line 105) | def test_valid_init(self) -> None: method test_source_id_set (line 112) | def test_source_id_set(self) -> None: method test_missing_endpoint_raises (line 116) | def test_missing_endpoint_raises(self) -> None: method test_missing_index_name_semantic_raises (line 125) | def test_missing_index_name_semantic_raises(self) -> None: method test_env_variable_fallback (line 134) | def test_env_variable_fallback(self) -> None: method test_top_k_and_semantic_config (line 145) | def test_top_k_and_semantic_config(self) -> None: method test_default_context_prompt (line 150) | def test_default_context_prompt(self) -> None: method test_custom_context_prompt (line 154) | def test_custom_context_prompt(self) -> None: method test_model_name_falls_back_to_deployment_name (line 158) | def test_model_name_falls_back_to_deployment_name(self) -> None: method test_model_name_explicit (line 163) | def test_model_name_explicit(self) -> None: class TestInitCredentialResolution (line 171) | class TestInitCredentialResolution: method test_token_credential_used (line 174) | def test_token_credential_used(self) -> None: method test_azure_key_credential_passed_through (line 184) | def test_azure_key_credential_passed_through(self) -> None: method test_no_credential_raises (line 194) | def test_no_credential_raises(self) -> None: class TestInitAgenticValidation (line 205) | class TestInitAgenticValidation: method test_both_index_and_kb_raises (line 208) | def test_both_index_and_kb_raises(self) -> None: method test_neither_index_nor_kb_raises (line 221) | def test_neither_index_nor_kb_raises(self) -> None: method test_missing_model_deployment_name_raises (line 230) | def test_missing_model_deployment_name_raises(self) -> None: method test_vector_field_without_embedding_raises (line 241) | def test_vector_field_without_embedding_raises(self) -> None: method test_agentic_missing_aoai_url_with_index_raises (line 251) | def test_agentic_missing_aoai_url_with_index_raises(self) -> None: method test_agentic_with_kb_name_sets_use_existing (line 262) | def test_agentic_with_kb_name_sets_use_existing(self) -> None: method test_agentic_with_index_generates_kb_name (line 273) | def test_agentic_with_index_generates_kb_name(self) -> None: class TestAsyncContextManager (line 290) | class TestAsyncContextManager: method test_aenter_returns_self (line 293) | async def test_aenter_returns_self(self) -> None: method test_closes_retrieval_client (line 298) | async def test_closes_retrieval_client(self) -> None: method test_no_retrieval_client_no_error (line 308) | async def test_no_retrieval_client_no_error(self) -> None: class TestBeforeRunSemantic (line 318) | class TestBeforeRunSemantic: method test_results_added_to_context (line 321) | async def test_results_added_to_context(self, mock_search_client: Asyn... method test_empty_input_no_search (line 339) | async def test_empty_input_no_search(self, mock_search_client: AsyncMo... method test_no_results_no_messages (line 352) | async def test_no_results_no_messages(self, mock_search_client_empty: ... method test_context_prompt_prepended (line 368) | async def test_context_prompt_prepended(self, mock_search_client: Asyn... class TestBeforeRunFiltering (line 389) | class TestBeforeRunFiltering: method test_filters_non_user_assistant (line 392) | async def test_filters_non_user_assistant(self, mock_search_client: As... method test_only_system_messages_no_search (line 414) | async def test_only_system_messages_no_search(self, mock_search_client... method test_whitespace_only_messages_filtered (line 429) | async def test_whitespace_only_messages_filtered(self, mock_search_cli... method test_assistant_messages_included (line 444) | async def test_assistant_messages_included(self, mock_search_client: A... class TestFindVectorFields (line 470) | class TestFindVectorFields: method test_finds_fields_with_dimensions (line 473) | def test_finds_fields_with_dimensions(self) -> None: method test_returns_empty_for_no_vector_fields (line 485) | def test_returns_empty_for_no_vector_fields(self) -> None: method test_multiple_vector_fields (line 496) | def test_multiple_vector_fields(self) -> None: class TestFindVectorizableFields (line 511) | class TestFindVectorizableFields: method test_finds_vectorizable_fields (line 514) | def test_finds_vectorizable_fields(self) -> None: method test_returns_empty_when_no_vector_search (line 524) | def test_returns_empty_when_no_vector_search(self) -> None: method test_returns_empty_when_no_profiles (line 530) | def test_returns_empty_when_no_profiles(self) -> None: method test_field_not_in_vector_fields_excluded (line 537) | def test_field_not_in_vector_fields_excluded(self) -> None: method test_profile_without_vectorizer_not_included (line 547) | def test_profile_without_vectorizer_not_included(self) -> None: method test_field_without_profile_name_excluded (line 557) | def test_field_without_profile_name_excluded(self) -> None: class TestAutoDiscoverVectorField (line 571) | class TestAutoDiscoverVectorField: method test_skip_if_already_discovered (line 574) | async def test_skip_if_already_discovered(self) -> None: method test_skip_if_vector_field_set (line 580) | async def test_skip_if_vector_field_set(self) -> None: method test_no_index_name_warns (line 587) | async def test_no_index_name_warns(self) -> None: method test_no_vector_fields_sets_flag (line 596) | async def test_no_vector_fields_sets_flag(self) -> None: method test_single_vectorizable_field_discovered (line 609) | async def test_single_vectorizable_field_discovered(self) -> None: method test_multiple_vectorizable_fields_warns (line 625) | async def test_multiple_vectorizable_fields_warns(self) -> None: method test_single_vector_field_without_embedding_clears_field (line 645) | async def test_single_vector_field_without_embedding_clears_field(self... method test_single_vector_field_with_embedding_function (line 660) | async def test_single_vector_field_with_embedding_function(self) -> None: method test_multiple_vector_fields_no_vectorizable_warns (line 675) | async def test_multiple_vector_fields_no_vectorizable_warns(self) -> N... method test_exception_falls_back_to_keyword_search (line 690) | async def test_exception_falls_back_to_keyword_search(self) -> None: method test_creates_index_client_if_none (line 700) | async def test_creates_index_client_if_none(self) -> None: class TestSemanticSearch (line 720) | class TestSemanticSearch: method test_basic_keyword_search (line 723) | async def test_basic_keyword_search(self) -> None: method test_vectorizable_text_query (line 739) | async def test_vectorizable_text_query(self) -> None: method test_vectorized_query_with_embedding_function (line 757) | async def test_vectorized_query_with_embedding_function(self) -> None: method test_semantic_configuration_params (line 779) | async def test_semantic_configuration_params(self) -> None: method test_vector_k_with_semantic_config (line 795) | async def test_vector_k_with_semantic_config(self) -> None: method test_no_search_client_raises (line 812) | async def test_no_search_client_raises(self) -> None: method test_empty_results_returns_empty_list (line 819) | async def test_empty_results_returns_empty_list(self) -> None: method test_doc_without_text_excluded (line 832) | async def test_doc_without_text_excluded(self) -> None: class TestExtractDocumentText (line 850) | class TestExtractDocumentText: method test_content_field_extracted (line 853) | def test_content_field_extracted(self) -> None: method test_text_field_extracted (line 858) | def test_text_field_extracted(self) -> None: method test_description_field_extracted (line 863) | def test_description_field_extracted(self) -> None: method test_body_field_extracted (line 868) | def test_body_field_extracted(self) -> None: method test_chunk_field_extracted (line 873) | def test_chunk_field_extracted(self) -> None: method test_content_field_priority (line 878) | def test_content_field_priority(self) -> None: method test_fallback_to_string_fields (line 885) | def test_fallback_to_string_fields(self) -> None: method test_empty_doc_returns_empty (line 896) | def test_empty_doc_returns_empty(self) -> None: method test_no_doc_id_returns_text_only (line 901) | def test_no_doc_id_returns_text_only(self) -> None: method test_search_id_fallback (line 906) | def test_search_id_fallback(self) -> None: method test_only_id_and_metadata_returns_empty (line 912) | def test_only_id_and_metadata_returns_empty(self) -> None: method test_non_string_values_excluded_from_fallback (line 917) | def test_non_string_values_excluded_from_fallback(self) -> None: class TestEnsureKnowledgeBase (line 927) | class TestEnsureKnowledgeBase: method test_already_initialized_returns_early (line 930) | async def test_already_initialized_returns_early(self) -> None: method test_missing_kb_name_raises (line 936) | async def test_missing_kb_name_raises(self) -> None: method test_existing_kb_sets_initialized (line 944) | async def test_existing_kb_sets_initialized(self) -> None: method test_missing_index_client_raises (line 955) | async def test_missing_index_client_raises(self) -> None: method test_missing_aoai_url_raises (line 965) | async def test_missing_aoai_url_raises(self) -> None: method test_missing_deployment_name_raises (line 976) | async def test_missing_deployment_name_raises(self) -> None: method test_missing_index_name_raises (line 988) | async def test_missing_index_name_raises(self) -> None: method test_creates_knowledge_source_when_not_found (line 1001) | async def test_creates_knowledge_source_when_not_found(self) -> None: method test_uses_existing_knowledge_source (line 1027) | async def test_uses_existing_knowledge_source(self) -> None: method test_answer_synthesis_output_mode (line 1049) | async def test_answer_synthesis_output_mode(self) -> None: method test_medium_reasoning_effort (line 1071) | async def test_medium_reasoning_effort(self) -> None: class TestAgenticSearch (line 1097) | class TestAgenticSearch: method test_no_retrieval_client_raises (line 1100) | async def test_no_retrieval_client_raises(self) -> None: method test_minimal_reasoning_returns_results (line 1109) | async def test_minimal_reasoning_returns_results(self) -> None: method test_non_minimal_reasoning_uses_messages (line 1139) | async def test_non_minimal_reasoning_uses_messages(self) -> None: method test_no_response_returns_default_message (line 1171) | async def test_no_response_returns_default_message(self) -> None: method test_empty_content_returns_default_message (line 1189) | async def test_empty_content_returns_default_message(self) -> None: method test_answer_synthesis_output_mode (line 1209) | async def test_answer_synthesis_output_mode(self) -> None: method test_content_without_text_excluded (line 1238) | async def test_content_without_text_excluded(self) -> None: method test_none_response_returns_default_message (line 1268) | async def test_none_response_returns_default_message(self) -> None: class TestPrepareMessagesForKbSearch (line 1293) | class TestPrepareMessagesForKbSearch: method test_text_only_messages (line 1296) | def test_text_only_messages(self) -> None: method test_image_uri_content (line 1311) | def test_image_uri_content(self) -> None: method test_mixed_text_and_image_content (line 1322) | def test_mixed_text_and_image_content(self) -> None: method test_skips_non_text_non_image_content (line 1331) | def test_skips_non_text_non_image_content(self) -> None: method test_skips_empty_text (line 1338) | def test_skips_empty_text(self) -> None: method test_fallback_to_msg_text_when_no_contents (line 1345) | def test_fallback_to_msg_text_when_no_contents(self) -> None: method test_data_uri_image (line 1351) | def test_data_uri_image(self) -> None: method test_non_image_uri_skipped (line 1361) | def test_non_image_uri_skipped(self) -> None: class TestParseReferencesToAnnotations (line 1369) | class TestParseReferencesToAnnotations: method test_none_references (line 1372) | def test_none_references(self) -> None: method test_empty_references (line 1376) | def test_empty_references(self) -> None: method test_search_index_reference_captures_doc_key (line 1380) | def test_search_index_reference_captures_doc_key(self) -> None: method test_web_reference_with_url_and_title (line 1394) | def test_web_reference_with_url_and_title(self) -> None: method test_blob_reference_extracts_blob_url (line 1406) | def test_blob_reference_extracts_blob_url(self) -> None: method test_source_data_and_reranker_score (line 1416) | def test_source_data_and_reranker_score(self) -> None: method test_raw_representation_stores_original_ref (line 1427) | def test_raw_representation_stores_original_ref(self) -> None: method test_remote_sharepoint_captures_sensitivity_label (line 1434) | def test_remote_sharepoint_captures_sensitivity_label(self) -> None: method test_multiple_references (line 1453) | def test_multiple_references(self) -> None: class TestParseMessagesFromKbResponse (line 1469) | class TestParseMessagesFromKbResponse: method test_converts_all_messages (line 1472) | def test_converts_all_messages(self) -> None: method test_none_response_returns_default (line 1493) | def test_none_response_returns_default(self) -> None: method test_empty_response_returns_default (line 1501) | def test_empty_response_returns_default(self) -> None: method test_image_content (line 1509) | def test_image_content(self) -> None: method test_mixed_text_and_image_content (line 1535) | def test_mixed_text_and_image_content(self) -> None: method test_references_become_annotations (line 1564) | def test_references_become_annotations(self) -> None: method test_multiple_messages_with_references (line 1589) | def test_multiple_messages_with_references(self) -> None: class TestBeforeRunAgentic (line 1622) | class TestBeforeRunAgentic: method test_agentic_mode_calls_agentic_search (line 1625) | async def test_agentic_mode_calls_agentic_search(self) -> None: FILE: python/packages/azure-ai/agent_framework_azure_ai/_agent_provider.py class AzureAIAgentsProvider (line 50) | class AzureAIAgentsProvider(Generic[OptionsCoT]): method __init__ (line 95) | def __init__( method __aenter__ (line 156) | async def __aenter__(self) -> Self: method __aexit__ (line 160) | async def __aexit__( method close (line 169) | async def close(self) -> None: method create_agent (line 177) | async def create_agent( method get_agent (line 284) | async def get_agent( method as_agent (line 347) | def as_agent( method _to_chat_agent_from_agent (line 410) | def _to_chat_agent_from_agent( method _merge_tools (line 453) | def _merge_tools( method _validate_function_tools (line 484) | def _validate_function_tools( method _create_response_format_config (line 531) | def _create_response_format_config( FILE: python/packages/azure-ai/agent_framework_azure_ai/_chat_client.py class AzureAIAgentOptions (line 119) | class AzureAIAgentOptions(ChatOptions, total=False): class AzureAIAgentClient (line 213) | class AzureAIAgentClient( method get_code_interpreter_tool (line 233) | def get_code_interpreter_tool( method get_file_search_tool (line 283) | def get_file_search_tool( method get_web_search_tool (line 318) | def get_web_search_tool( method get_mcp_tool (line 400) | def get_mcp_tool( method __init__ (line 485) | def __init__( method __aenter__ (line 625) | async def __aenter__(self) -> Self: method __aexit__ (line 629) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... method close (line 633) | async def close(self) -> None: method _inner_get_response (line 639) | def _inner_get_response( method _get_agent_id_or_create (line 682) | async def _get_agent_id_or_create(self, run_options: dict[str, Any] | ... method _create_agent_stream (line 725) | async def _create_agent_stream( method _get_active_thread_run (line 777) | async def _get_active_thread_run(self, thread_id: str | None) -> Threa... method _prepare_thread (line 792) | async def _prepare_thread( method _extract_url_citations (line 811) | def _extract_url_citations( method _extract_file_path_contents (line 851) | def _extract_file_path_contents(self, message_delta_chunk: MessageDelt... method _get_real_url_from_citation_reference (line 890) | def _get_real_url_from_citation_reference( method _process_stream (line 931) | async def _process_stream( method _capture_azure_search_tool_calls (line 1105) | def _capture_azure_search_tool_calls( method _parse_function_calls_from_azure_ai (line 1126) | def _parse_function_calls_from_azure_ai(self, event_data: ThreadRun, r... method _close_client_if_needed (line 1156) | async def _close_client_if_needed(self) -> None: method _cleanup_agent_if_needed (line 1161) | async def _cleanup_agent_if_needed(self) -> None: method _load_agent_definition_if_needed (line 1168) | async def _load_agent_definition_if_needed(self) -> AzureAgent | None: method _prepare_options (line 1174) | async def _prepare_options( method _prepare_tool_choice_mode (line 1267) | def _prepare_tool_choice_mode( method _prepare_tool_definitions_and_resources (line 1286) | async def _prepare_tool_definitions_and_resources( method _prepare_mcp_resources (line 1318) | def _prepare_mcp_resources(self, tools: Sequence[Any]) -> list[dict[st... method _prepare_messages (line 1339) | def _prepare_messages( method _prepare_tools_for_azure_ai (line 1397) | async def _prepare_tools_for_azure_ai( method _prepare_tool_outputs_for_azure_ai (line 1429) | def _prepare_tool_outputs_for_azure_ai( method _update_agent_name_and_description (line 1482) | def _update_agent_name_and_description(self, agent_name: str | None, d... method service_url (line 1496) | def service_url(self) -> str: method as_agent (line 1505) | def as_agent( FILE: python/packages/azure-ai/agent_framework_azure_ai/_client.py class AzureAIProjectAgentOptions (line 71) | class AzureAIProjectAgentOptions(OpenAIResponsesOptions, total=False): class RawAzureAIClient (line 91) | class RawAzureAIClient(RawOpenAIResponsesClient[AzureAIClientOptionsT], ... method __init__ (line 109) | def __init__( method configure_azure_monitor (line 242) | async def configure_azure_monitor( method __aenter__ (line 330) | async def __aenter__(self) -> Self: method __aexit__ (line 334) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... method close (line 338) | async def close(self) -> None: method _get_agent_reference_or_create (line 342) | async def _get_agent_reference_or_create( method _close_client_if_needed (line 425) | async def _close_client_if_needed(self) -> None: method _extract_tool_names (line 430) | def _extract_tool_names(self, tools: Any) -> set[str]: method _get_tool_name (line 439) | def _get_tool_name(self, tool: Any) -> str: method _get_structured_output_signature (line 466) | def _get_structured_output_signature(self, chat_options: Mapping[str, ... method _remove_agent_level_run_options (line 479) | def _remove_agent_level_run_options( method _prepare_options (line 522) | async def _prepare_options( method _check_model_presence (line 551) | def _check_model_presence(self, options: dict[str, Any]) -> None: method _transform_input_for_azure_ai (line 560) | def _transform_input_for_azure_ai(self, input_items: list[dict[str, An... method _get_current_conversation_id (line 598) | def _get_current_conversation_id(self, options: Mapping[str, Any], **k... method _parse_response_from_openai (line 603) | def _parse_response_from_openai( method _parse_chunk_from_openai (line 631) | def _parse_chunk_from_openai( method _prepare_messages_for_azure_ai (line 664) | def _prepare_messages_for_azure_ai(self, messages: Sequence[Message]) ... method _initialize_client (line 683) | async def _initialize_client(self) -> None: method _update_agent_name_and_description (line 687) | def _update_agent_name_and_description(self, agent_name: str | None, d... method _extract_azure_search_urls (line 703) | def _extract_azure_search_urls(self, output_items: Any) -> list[str]: method _get_search_doc_url (line 735) | def _get_search_doc_url(self, citation_title: str | None, get_urls: li... method _enrich_annotations_with_search_urls (line 755) | def _enrich_annotations_with_search_urls(self, contents: list[Content]... method _build_url_citation_content (line 780) | def _build_url_citation_content( method _inner_get_response (line 823) | def _inner_get_response( method get_code_interpreter_tool (line 908) | def get_code_interpreter_tool( # type: ignore[override] method get_file_search_tool (line 944) | def get_file_search_tool( method get_web_search_tool (line 988) | def get_web_search_tool( # type: ignore[override] method get_image_generation_tool (line 1033) | def get_image_generation_tool( # type: ignore[override] method get_mcp_tool (line 1082) | def get_mcp_tool( method as_agent (line 1166) | def as_agent( class AzureAIClient (line 1216) | class AzureAIClient( method __init__ (line 1233) | def __init__( FILE: python/packages/azure-ai/agent_framework_azure_ai/_embedding_client.py class AzureAIInferenceEmbeddingOptions (line 36) | class AzureAIInferenceEmbeddingOptions(EmbeddingGenerationOptions, total... class AzureAIInferenceEmbeddingSettings (line 79) | class AzureAIInferenceEmbeddingSettings(TypedDict, total=False): class RawAzureAIInferenceEmbeddingClient (line 88) | class RawAzureAIInferenceEmbeddingClient( method __init__ (line 117) | def __init__( method close (line 165) | async def close(self) -> None: method __aenter__ (line 172) | async def __aenter__(self) -> RawAzureAIInferenceEmbeddingClient[Azure... method __aexit__ (line 176) | async def __aexit__(self, *args: Any) -> None: method service_url (line 180) | def service_url(self) -> str: method get_embeddings (line 184) | async def get_embeddings( class AzureAIInferenceEmbeddingClient (line 313) | class AzureAIInferenceEmbeddingClient( method __init__ (line 368) | def __init__( FILE: python/packages/azure-ai/agent_framework_azure_ai/_foundry_memory_provider.py class FoundryMemoryProvider (line 36) | class FoundryMemoryProvider(BaseContextProvider): method __init__ (line 55) | def __init__( method __aenter__ (line 126) | async def __aenter__(self) -> Self: method __aexit__ (line 132) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... method before_run (line 139) | async def before_run( method after_run (line 215) | async def after_run( FILE: python/packages/azure-ai/agent_framework_azure_ai/_project_provider.py class AzureAIProjectAgentProvider (line 58) | class AzureAIProjectAgentProvider(Generic[OptionsCoT]): method __init__ (line 98) | def __init__( method create_agent (line 163) | async def create_agent( method get_agent (line 264) | async def get_agent( method as_agent (line 325) | def as_agent( method _to_chat_agent_from_details (line 365) | def _to_chat_agent_from_details( method _merge_tools (line 413) | def _merge_tools( method _validate_function_tools (line 448) | def _validate_function_tools( method __aenter__ (line 471) | async def __aenter__(self) -> Self: method __aexit__ (line 475) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... method close (line 479) | async def close(self) -> None: FILE: python/packages/azure-ai/agent_framework_azure_ai/_shared.py class AzureAISettings (line 45) | class AzureAISettings(TypedDict, total=False): function _extract_project_connection_id (line 83) | def _extract_project_connection_id(additional_properties: Mapping[str, A... function resolve_file_ids (line 115) | def resolve_file_ids(file_ids: Sequence[str | Content] | None) -> list[s... function to_azure_ai_agent_tools (line 156) | def to_azure_ai_agent_tools( function from_azure_ai_agent_tools (line 217) | def from_azure_ai_agent_tools( function _convert_dict_tool (line 259) | def _convert_dict_tool(tool: dict[str, Any]) -> dict[str, Any] | None: function _convert_sdk_tool (line 302) | def _convert_sdk_tool(tool: ToolDefinition) -> dict[str, Any] | None: function from_azure_ai_tools (line 347) | def from_azure_ai_tools(tools: Sequence[Tool | dict[str, Any]] | None) -... function to_azure_ai_tools (line 414) | def to_azure_ai_tools( function _prepare_mcp_tool_dict_for_azure_ai (line 461) | def _prepare_mcp_tool_dict_for_azure_ai(tool_dict: dict[str, Any]) -> MC... function create_text_format_config (line 501) | def create_text_format_config( function _convert_response_format (line 540) | def _convert_response_format(response_format: Mapping[str, Any]) -> dict... FILE: python/packages/azure-ai/tests/azure_ai/test_azure_ai_inference_embedding_client.py function _make_embed_response (line 20) | def _make_embed_response( function mock_text_client (line 44) | def mock_text_client() -> AsyncMock: function mock_image_client (line 52) | def mock_image_client() -> AsyncMock: function raw_client (line 60) | def raw_client(mock_text_client: AsyncMock, mock_image_client: AsyncMock... function client (line 72) | def client(mock_text_client: AsyncMock, mock_image_client: AsyncMock) ->... class TestRawAzureAIInferenceEmbeddingClient (line 83) | class TestRawAzureAIInferenceEmbeddingClient: method test_text_embeddings (line 86) | async def test_text_embeddings( method test_text_content_embeddings (line 96) | async def test_text_content_embeddings( method test_image_content_embeddings (line 107) | async def test_image_content_embeddings( method test_mixed_text_and_image (line 120) | async def test_mixed_text_and_image( method test_empty_input (line 141) | async def test_empty_input(self, raw_client: RawAzureAIInferenceEmbedd... method test_options_passed_through (line 146) | async def test_options_passed_through( method test_model_override_in_options (line 162) | async def test_model_override_in_options( method test_unsupported_content_type_raises (line 172) | async def test_unsupported_content_type_raises(self, raw_client: RawAz... method test_usage_metadata (line 178) | async def test_usage_metadata( method test_service_url (line 187) | def test_service_url(self, raw_client: RawAzureAIInferenceEmbeddingCli... method test_settings_from_env (line 191) | def test_settings_from_env(self) -> None: method test_image_model_id_from_env (line 209) | def test_image_model_id_from_env(self) -> None: method test_image_model_id_explicit (line 228) | def test_image_model_id_explicit(self, mock_text_client: AsyncMock, mo... method test_image_model_id_sent_to_image_client (line 241) | async def test_image_model_id_sent_to_image_client( class TestAzureAIInferenceEmbeddingClient (line 259) | class TestAzureAIInferenceEmbeddingClient: method test_text_embeddings (line 262) | async def test_text_embeddings( method test_otel_provider_name_default (line 270) | async def test_otel_provider_name_default(self) -> None: method test_otel_provider_name_override (line 274) | async def test_otel_provider_name_override(self, mock_text_client: Asy... function _integration_tests_enabled (line 290) | def _integration_tests_enabled() -> bool: class TestAzureAIInferenceEmbeddingIntegration (line 304) | class TestAzureAIInferenceEmbeddingIntegration: method test_text_embedding_live (line 310) | async def test_text_embedding_live(self) -> None: FILE: python/packages/azure-ai/tests/conftest.py function exclude_list (line 9) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 15) | def override_env_param_dict(request: Any) -> dict[str, str]: function azure_ai_unit_test_env (line 21) | def azure_ai_unit_test_env(monkeypatch, exclude_list, override_env_param... function mock_agents_client (line 47) | def mock_agents_client() -> MagicMock: function mock_azure_credential (line 76) | def mock_azure_credential() -> MagicMock: FILE: python/packages/azure-ai/tests/test_agent_provider.py function test_provider_init_with_agents_client (line 39) | def test_provider_init_with_agents_client(mock_agents_client: MagicMock)... function test_provider_init_with_credential (line 47) | def test_provider_init_with_credential( function test_provider_init_with_explicit_endpoint (line 63) | def test_provider_init_with_explicit_endpoint(mock_azure_credential: Mag... function test_provider_init_missing_endpoint_raises (line 80) | def test_provider_init_missing_endpoint_raises( function test_provider_init_missing_credential_raises (line 94) | def test_provider_init_missing_credential_raises(azure_ai_unit_test_env:... function test_provider_context_manager_closes_client (line 107) | async def test_provider_context_manager_closes_client(mock_agents_client... function test_provider_context_manager_does_not_close_external_client (line 125) | async def test_provider_context_manager_does_not_close_external_client(m... function test_create_agent_basic (line 142) | async def test_create_agent_basic( function test_create_agent_with_model (line 172) | async def test_create_agent_with_model( function test_create_agent_with_tools (line 196) | async def test_create_agent_with_tools( function test_create_agent_with_response_format (line 226) | async def test_create_agent_with_response_format( function test_create_agent_missing_model_raises (line 258) | async def test_create_agent_missing_model_raises( function test_get_agent_by_id (line 279) | async def test_get_agent_by_id( function test_get_agent_with_function_tools (line 304) | async def test_get_agent_with_function_tools( function test_get_agent_with_provided_function_tools (line 333) | async def test_get_agent_with_provided_function_tools( function test_as_agent_wraps_without_http (line 372) | def test_as_agent_wraps_without_http( function test_as_agent_with_function_tools_validates (line 399) | def test_as_agent_with_function_tools_validates( function test_as_agent_with_hosted_tools (line 427) | def test_as_agent_with_hosted_tools( function test_as_agent_with_dict_function_tools_validates (line 456) | def test_as_agent_with_dict_function_tools_validates( function test_as_agent_with_dict_function_tools_provided (line 489) | def test_as_agent_with_dict_function_tools_provided( function test_to_azure_ai_agent_tools_empty (line 531) | def test_to_azure_ai_agent_tools_empty() -> None: function test_to_azure_ai_agent_tools_function (line 540) | def test_to_azure_ai_agent_tools_function() -> None: function test_to_azure_ai_agent_tools_code_interpreter (line 555) | def test_to_azure_ai_agent_tools_code_interpreter() -> None: function test_to_azure_ai_agent_tools_file_search (line 565) | def test_to_azure_ai_agent_tools_file_search() -> None: function test_to_azure_ai_agent_tools_web_search_bing_grounding (line 576) | def test_to_azure_ai_agent_tools_web_search_bing_grounding(monkeypatch: ... function test_to_azure_ai_agent_tools_web_search_custom (line 591) | def test_to_azure_ai_agent_tools_web_search_custom(monkeypatch: Any) -> ... function test_to_azure_ai_agent_tools_web_search_missing_config (line 603) | def test_to_azure_ai_agent_tools_web_search_missing_config(monkeypatch: ... function test_to_azure_ai_agent_tools_mcp (line 616) | def test_to_azure_ai_agent_tools_mcp() -> None: function test_to_azure_ai_agent_tools_dict_passthrough (line 628) | def test_to_azure_ai_agent_tools_dict_passthrough() -> None: function test_to_azure_ai_agent_tools_unsupported_type (line 638) | def test_to_azure_ai_agent_tools_unsupported_type() -> None: function test_from_azure_ai_agent_tools_empty (line 655) | def test_from_azure_ai_agent_tools_empty() -> None: function test_from_azure_ai_agent_tools_code_interpreter (line 664) | def test_from_azure_ai_agent_tools_code_interpreter() -> None: function test_from_azure_ai_agent_tools_code_interpreter_dict (line 674) | def test_from_azure_ai_agent_tools_code_interpreter_dict() -> None: function test_from_azure_ai_agent_tools_file_search_dict (line 684) | def test_from_azure_ai_agent_tools_file_search_dict() -> None: function test_from_azure_ai_agent_tools_bing_grounding_dict (line 698) | def test_from_azure_ai_agent_tools_bing_grounding_dict() -> None: function test_from_azure_ai_agent_tools_bing_custom_search_dict (line 712) | def test_from_azure_ai_agent_tools_bing_custom_search_dict() -> None: function test_from_azure_ai_agent_tools_mcp_dict (line 730) | def test_from_azure_ai_agent_tools_mcp_dict() -> None: function test_from_azure_ai_agent_tools_function_dict (line 747) | def test_from_azure_ai_agent_tools_function_dict() -> None: function test_from_azure_ai_agent_tools_unknown_dict (line 764) | def test_from_azure_ai_agent_tools_unknown_dict() -> None: function test_integration_create_agent (line 782) | async def test_integration_create_agent() -> None: function test_integration_get_agent (line 806) | async def test_integration_get_agent() -> None: function test_integration_create_and_run (line 832) | async def test_integration_create_and_run() -> None: FILE: python/packages/azure-ai/tests/test_azure_ai_agent_client.py function create_test_azure_ai_chat_client (line 58) | def create_test_azure_ai_chat_client( function test_azure_ai_settings_init (line 105) | def test_azure_ai_settings_init(azure_ai_unit_test_env: dict[str, str]) ... function test_azure_ai_settings_init_with_explicit_values (line 113) | def test_azure_ai_settings_init_with_explicit_values() -> None: function test_azure_ai_chat_client_init_with_client (line 126) | def test_azure_ai_chat_client_init_with_client(mock_agents_client: Magic... function test_azure_ai_chat_client_init_auto_create_client (line 138) | def test_azure_ai_chat_client_init_auto_create_client( function test_azure_ai_chat_client_init_missing_project_endpoint (line 165) | def test_azure_ai_chat_client_init_missing_project_endpoint() -> None: function test_azure_ai_chat_client_init_missing_model_deployment_for_agent_creation (line 181) | def test_azure_ai_chat_client_init_missing_model_deployment_for_agent_cr... function test_azure_ai_chat_client_init_missing_credential (line 197) | def test_azure_ai_chat_client_init_missing_credential(azure_ai_unit_test... function test_azure_ai_chat_client_from_dict (line 209) | def test_azure_ai_chat_client_from_dict() -> None: function test_azure_ai_chat_client_get_agent_id_or_create_with_temperature_and_top_p (line 229) | async def test_azure_ai_chat_client_get_agent_id_or_create_with_temperat... function test_azure_ai_chat_client_get_agent_id_or_create_existing_agent (line 256) | async def test_azure_ai_chat_client_get_agent_id_or_create_existing_agent( function test_azure_ai_chat_client_get_agent_id_or_create_create_new (line 268) | async def test_azure_ai_chat_client_get_agent_id_or_create_create_new( function test_azure_ai_chat_client_thread_management_through_public_api (line 288) | async def test_azure_ai_chat_client_thread_management_through_public_api... function test_azure_ai_chat_client_get_agent_id_or_create_missing_model (line 323) | async def test_azure_ai_chat_client_get_agent_id_or_create_missing_model( function test_azure_ai_chat_client_prepare_options_basic (line 333) | async def test_azure_ai_chat_client_prepare_options_basic(mock_agents_cl... function test_azure_ai_chat_client_prepare_options_no_chat_options (line 346) | async def test_azure_ai_chat_client_prepare_options_no_chat_options(mock... function test_azure_ai_chat_client_prepare_options_with_image_content (line 358) | async def test_azure_ai_chat_client_prepare_options_with_image_content(m... function test_azure_ai_chat_client_prepare_tool_outputs_for_azure_ai_none (line 378) | def test_azure_ai_chat_client_prepare_tool_outputs_for_azure_ai_none(moc... function test_azure_ai_chat_client_close_client_when_should_close_true (line 389) | async def test_azure_ai_chat_client_close_client_when_should_close_true(... function test_azure_ai_chat_client_close_client_when_should_close_false (line 401) | async def test_azure_ai_chat_client_close_client_when_should_close_false... function test_azure_ai_chat_client_update_agent_name_and_description_when_current_is_none (line 411) | def test_azure_ai_chat_client_update_agent_name_and_description_when_cur... function test_azure_ai_chat_client_update_agent_name_and_description_when_current_exists (line 424) | def test_azure_ai_chat_client_update_agent_name_and_description_when_cur... function test_azure_ai_chat_client_update_agent_name_and_description_with_none_input (line 438) | def test_azure_ai_chat_client_update_agent_name_and_description_with_non... function test_azure_ai_chat_client_prepare_options_with_messages (line 450) | async def test_azure_ai_chat_client_prepare_options_with_messages(mock_a... function test_azure_ai_chat_client_prepare_options_with_instructions_from_options (line 468) | async def test_azure_ai_chat_client_prepare_options_with_instructions_fr... function test_azure_ai_chat_client_prepare_options_merges_instructions_from_messages_and_options (line 490) | async def test_azure_ai_chat_client_prepare_options_merges_instructions_... function test_as_agent_uses_client_agent_name_as_default (line 518) | def test_as_agent_uses_client_agent_name_as_default(mock_agents_client: ... function test_as_agent_explicit_name_overrides_client_agent_name (line 529) | def test_as_agent_explicit_name_overrides_client_agent_name(mock_agents_... function test_as_agent_no_name_anywhere (line 540) | def test_as_agent_no_name_anywhere(mock_agents_client: MagicMock) -> None: function test_as_agent_empty_string_preserves_explicit_value (line 549) | def test_as_agent_empty_string_preserves_explicit_value(mock_agents_clie... function test_azure_ai_chat_client_inner_get_response (line 560) | async def test_azure_ai_chat_client_inner_get_response(mock_agents_clien... function test_azure_ai_chat_client_get_agent_id_or_create_with_run_options (line 580) | async def test_azure_ai_chat_client_get_agent_id_or_create_with_run_opti... function test_azure_ai_chat_client_prepare_thread_cancels_active_run (line 609) | async def test_azure_ai_chat_client_prepare_thread_cancels_active_run(mo... function test_azure_ai_chat_client_parse_function_calls_from_azure_ai_basic (line 625) | def test_azure_ai_chat_client_parse_function_calls_from_azure_ai_basic(m... function test_azure_ai_chat_client_parse_function_calls_from_azure_ai_no_submit_action (line 648) | def test_azure_ai_chat_client_parse_function_calls_from_azure_ai_no_subm... function test_azure_ai_chat_client_parse_function_calls_from_azure_ai_non_function_tool_call (line 662) | def test_azure_ai_chat_client_parse_function_calls_from_azure_ai_non_fun... function test_azure_ai_chat_client_prepare_options_with_none_tool_choice (line 681) | async def test_azure_ai_chat_client_prepare_options_with_none_tool_choice( function test_azure_ai_chat_client_prepare_options_with_auto_tool_choice (line 694) | async def test_azure_ai_chat_client_prepare_options_with_auto_tool_choice( function test_azure_ai_chat_client_prepare_options_tool_choice_required_specific_function (line 707) | async def test_azure_ai_chat_client_prepare_options_tool_choice_required... function test_azure_ai_chat_client_prepare_options_with_response_format (line 730) | async def test_azure_ai_chat_client_prepare_options_with_response_format( function test_azure_ai_chat_client_service_url_method (line 748) | def test_azure_ai_chat_client_service_url_method(mock_agents_client: Mag... function test_azure_ai_chat_client_prepare_options_mcp_never_require (line 757) | async def test_azure_ai_chat_client_prepare_options_mcp_never_require(mo... function test_azure_ai_chat_client_prepare_options_mcp_with_headers (line 781) | async def test_azure_ai_chat_client_prepare_options_mcp_with_headers(moc... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_web_search_bing_grounding (line 810) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_web_searc... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_web_search_bing_grounding_with_connection_id (line 836) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_web_searc... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_web_search_custom_bing (line 859) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_web_searc... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_file_search_with_vector_stores (line 888) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_file_sear... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_code_interpreter_with_file_ids (line 906) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_code_inte... function test_azure_ai_chat_client_get_code_interpreter_tool_basic (line 925) | async def test_azure_ai_chat_client_get_code_interpreter_tool_basic() ->... function test_azure_ai_chat_client_get_code_interpreter_tool_with_file_ids (line 934) | async def test_azure_ai_chat_client_get_code_interpreter_tool_with_file_... function test_azure_ai_chat_client_get_code_interpreter_tool_with_data_sources (line 944) | async def test_azure_ai_chat_client_get_code_interpreter_tool_with_data_... function test_azure_ai_chat_client_get_code_interpreter_tool_mutually_exclusive (line 954) | async def test_azure_ai_chat_client_get_code_interpreter_tool_mutually_e... function test_azure_ai_chat_client_get_code_interpreter_tool_with_content (line 963) | async def test_azure_ai_chat_client_get_code_interpreter_tool_with_conte... function test_azure_ai_chat_client_get_code_interpreter_tool_with_mixed_file_ids (line 974) | async def test_azure_ai_chat_client_get_code_interpreter_tool_with_mixed... function test_azure_ai_chat_client_get_code_interpreter_tool_content_unsupported_type (line 986) | async def test_azure_ai_chat_client_get_code_interpreter_tool_content_un... function test_azure_ai_chat_client_get_code_interpreter_tool_content_missing_file_id (line 995) | async def test_azure_ai_chat_client_get_code_interpreter_tool_content_mi... function test_azure_ai_chat_client_get_code_interpreter_tool_empty_string_file_id (line 1004) | async def test_azure_ai_chat_client_get_code_interpreter_tool_empty_stri... function test_azure_ai_chat_client_create_agent_stream_submit_tool_approvals (line 1010) | async def test_azure_ai_chat_client_create_agent_stream_submit_tool_appr... function test_azure_ai_chat_client_get_active_thread_run_with_active_run (line 1051) | async def test_azure_ai_chat_client_get_active_thread_run_with_active_ru... function test_azure_ai_chat_client_get_active_thread_run_no_active_run (line 1070) | async def test_azure_ai_chat_client_get_active_thread_run_no_active_run(... function test_azure_ai_chat_client_get_active_thread_run_no_thread (line 1089) | async def test_azure_ai_chat_client_get_active_thread_run_no_thread(mock... function test_azure_ai_chat_client_service_url (line 1100) | async def test_azure_ai_chat_client_service_url(mock_agents_client: Magi... function test_azure_ai_chat_client_prepare_tool_outputs_for_azure_tool_result (line 1114) | async def test_azure_ai_chat_client_prepare_tool_outputs_for_azure_tool_... function test_azure_ai_chat_client_convert_required_action_invalid_call_id (line 1133) | async def test_azure_ai_chat_client_convert_required_action_invalid_call... function test_azure_ai_chat_client_convert_required_action_invalid_structure (line 1145) | async def test_azure_ai_chat_client_convert_required_action_invalid_stru... function test_azure_ai_chat_client_convert_required_action_serde_model_results (line 1162) | async def test_azure_ai_chat_client_convert_required_action_serde_model_... function test_azure_ai_chat_client_convert_required_action_multiple_results (line 1190) | async def test_azure_ai_chat_client_convert_required_action_multiple_res... function test_azure_ai_chat_client_convert_required_action_approval_response (line 1221) | async def test_azure_ai_chat_client_convert_required_action_approval_res... function test_azure_ai_chat_client_parse_function_calls_from_azure_ai_approval_request (line 1246) | async def test_azure_ai_chat_client_parse_function_calls_from_azure_ai_a... function test_azure_ai_chat_client_get_agent_id_or_create_with_agent_name (line 1273) | async def test_azure_ai_chat_client_get_agent_id_or_create_with_agent_name( function test_azure_ai_chat_client_get_agent_id_or_create_with_response_format (line 1298) | async def test_azure_ai_chat_client_get_agent_id_or_create_with_response... function test_azure_ai_chat_client_get_agent_id_or_create_with_tool_resources (line 1321) | async def test_azure_ai_chat_client_get_agent_id_or_create_with_tool_res... function test_azure_ai_chat_client_create_agent_stream_submit_tool_outputs (line 1347) | async def test_azure_ai_chat_client_create_agent_stream_submit_tool_outp... function test_azure_ai_chat_client_extract_url_citations_with_citations (line 1376) | def test_azure_ai_chat_client_extract_url_citations_with_citations(mock_... function test_azure_ai_chat_client_extract_file_path_contents_with_file_path_annotation (line 1420) | def test_azure_ai_chat_client_extract_file_path_contents_with_file_path_... function test_azure_ai_chat_client_extract_file_path_contents_with_file_citation_annotation (line 1457) | def test_azure_ai_chat_client_extract_file_path_contents_with_file_citat... function test_azure_ai_chat_client_extract_file_path_contents_empty_annotations (line 1494) | def test_azure_ai_chat_client_extract_file_path_contents_empty_annotations( function get_weather (line 1523) | def get_weather( function test_azure_ai_chat_client_get_response (line 1533) | async def test_azure_ai_chat_client_get_response() -> None: function test_azure_ai_chat_client_get_response_tools (line 1559) | async def test_azure_ai_chat_client_get_response_tools() -> None: function test_azure_ai_chat_client_streaming (line 1581) | async def test_azure_ai_chat_client_streaming() -> None: function test_azure_ai_chat_client_streaming_tools (line 1613) | async def test_azure_ai_chat_client_streaming_tools() -> None: function test_azure_ai_chat_client_agent_basic_run (line 1641) | async def test_azure_ai_chat_client_agent_basic_run() -> None: function test_azure_ai_chat_client_agent_basic_run_streaming (line 1659) | async def test_azure_ai_chat_client_agent_basic_run_streaming() -> None: function test_azure_ai_chat_client_agent_thread_persistence (line 1680) | async def test_azure_ai_chat_client_agent_thread_persistence() -> None: function test_azure_ai_chat_client_agent_existing_thread_id (line 1707) | async def test_azure_ai_chat_client_agent_existing_thread_id() -> None: function test_azure_ai_chat_client_agent_code_interpreter (line 1746) | async def test_azure_ai_chat_client_agent_code_interpreter(): function test_azure_ai_chat_client_agent_file_search (line 1767) | async def test_azure_ai_chat_client_agent_file_search(): function test_azure_ai_chat_client_agent_hosted_mcp_tool (line 1815) | async def test_azure_ai_chat_client_agent_hosted_mcp_tool() -> None: function test_azure_ai_chat_client_agent_level_tool_persistence (line 1851) | async def test_azure_ai_chat_client_agent_level_tool_persistence(): function test_azure_ai_chat_client_agent_chat_options_run_level (line 1877) | async def test_azure_ai_chat_client_agent_chat_options_run_level() -> None: function test_azure_ai_chat_client_agent_chat_options_agent_level (line 1902) | async def test_azure_ai_chat_client_agent_chat_options_agent_level() -> ... function test_azure_ai_chat_client_cleanup_agent_when_enabled_and_created (line 1925) | async def test_azure_ai_chat_client_cleanup_agent_when_enabled_and_created( function test_azure_ai_chat_client_no_cleanup_when_disabled (line 1943) | async def test_azure_ai_chat_client_no_cleanup_when_disabled( function test_azure_ai_chat_client_no_cleanup_when_agent_not_created_by_client (line 1961) | async def test_azure_ai_chat_client_no_cleanup_when_agent_not_created_by... function test_azure_ai_chat_client_capture_azure_search_tool_calls (line 1979) | def test_azure_ai_chat_client_capture_azure_search_tool_calls(mock_agent... function test_azure_ai_chat_client_get_real_url_from_citation_reference_no_tool_calls (line 2005) | def test_azure_ai_chat_client_get_real_url_from_citation_reference_no_to... function test_azure_ai_chat_client_get_real_url_from_citation_reference_invalid_output (line 2016) | def test_azure_ai_chat_client_get_real_url_from_citation_reference_inval... function test_azure_ai_chat_client_context_manager (line 2031) | async def test_azure_ai_chat_client_context_manager(mock_agents_client: ... function test_azure_ai_chat_client_close_method (line 2045) | async def test_azure_ai_chat_client_close_method(mock_agents_client: Mag... function test_azure_ai_chat_client_extract_url_citations_with_azure_search_enhanced_url (line 2060) | def test_azure_ai_chat_client_extract_url_citations_with_azure_search_en... function test_azure_ai_chat_client_init_with_auto_created_agents_client (line 2109) | def test_azure_ai_chat_client_init_with_auto_created_agents_client( function test_azure_ai_chat_client_prepare_options_with_mapping_response_format (line 2142) | async def test_azure_ai_chat_client_prepare_options_with_mapping_respons... function test_azure_ai_chat_client_prepare_options_with_invalid_response_format (line 2166) | async def test_azure_ai_chat_client_prepare_options_with_invalid_respons... function test_azure_ai_chat_client_prepare_tool_definitions_with_agent_tool_resources (line 2179) | async def test_azure_ai_chat_client_prepare_tool_definitions_with_agent_... function test_azure_ai_chat_client_prepare_mcp_resources_with_dict_approval_mode (line 2200) | def test_azure_ai_chat_client_prepare_mcp_resources_with_dict_approval_m... function test_azure_ai_chat_client_prepare_mcp_resources_with_never_require_dict (line 2220) | def test_azure_ai_chat_client_prepare_mcp_resources_with_never_require_d... function test_azure_ai_chat_client_prepare_messages_with_function_result (line 2239) | def test_azure_ai_chat_client_prepare_messages_with_function_result( function test_azure_ai_chat_client_prepare_messages_with_raw_content_block (line 2257) | def test_azure_ai_chat_client_prepare_messages_with_raw_content_block( function test_azure_ai_chat_client_prepare_tools_for_azure_ai_mcp_tool (line 2276) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_mcp_tool( function test_azure_ai_chat_client_prepare_tools_for_azure_ai_tool_definition (line 2296) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_tool_defi... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_dict_passthrough (line 2311) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_dict_pass... function test_azure_ai_chat_client_prepare_tools_for_azure_ai_unsupported_type (line 2326) | async def test_azure_ai_chat_client_prepare_tools_for_azure_ai_unsupport... FILE: python/packages/azure-ai/tests/test_azure_ai_client.py function mock_project_client (line 57) | def mock_project_client() -> MagicMock: function temporary_chat_client (line 83) | async def temporary_chat_client(agent_name: str) -> AsyncIterator[AzureA... function create_test_azure_ai_client (line 104) | def create_test_azure_ai_client( function test_azure_ai_settings_init (line 146) | def test_azure_ai_settings_init(azure_ai_unit_test_env: dict[str, str]) ... function test_azure_ai_settings_init_with_explicit_values (line 154) | def test_azure_ai_settings_init_with_explicit_values() -> None: function test_init_with_project_client (line 167) | def test_init_with_project_client(mock_project_client: MagicMock) -> None: function test_init_auto_create_client (line 185) | def test_init_auto_create_client( function test_init_missing_project_endpoint (line 209) | def test_init_missing_project_endpoint() -> None: function test_init_missing_credential (line 218) | def test_init_missing_credential(azure_ai_unit_test_env: dict[str, str])... function test_get_agent_reference_or_create_existing_version (line 227) | async def test_get_agent_reference_or_create_existing_version( function test_get_agent_reference_or_create_missing_agent_name (line 238) | async def test_get_agent_reference_or_create_missing_agent_name( function test_get_agent_reference_or_create_new_agent (line 248) | async def test_get_agent_reference_or_create_new_agent( function test_get_agent_reference_missing_model (line 276) | async def test_get_agent_reference_missing_model( function test_prepare_messages_for_azure_ai_with_system_messages (line 286) | async def test_prepare_messages_for_azure_ai_with_system_messages( function test_prepare_messages_for_azure_ai_no_system_messages (line 306) | async def test_prepare_messages_for_azure_ai_no_system_messages( function test_transform_input_for_azure_ai (line 323) | def test_transform_input_for_azure_ai(mock_project_client: MagicMock) ->... function test_transform_input_preserves_existing_fields (line 368) | def test_transform_input_preserves_existing_fields(mock_project_client: ... function test_transform_input_handles_non_dict_content (line 390) | def test_transform_input_handles_non_dict_content(mock_project_client: M... function test_prepare_options_basic (line 410) | async def test_prepare_options_basic(mock_project_client: MagicMock) -> ... function test_prepare_options_with_application_endpoint (line 440) | async def test_prepare_options_with_application_endpoint( function test_prepare_options_with_application_project_client (line 480) | async def test_prepare_options_with_application_project_client( function test_initialize_client (line 515) | async def test_initialize_client(mock_project_client: MagicMock) -> None: function test_update_agent_name_and_description (line 528) | def test_update_agent_name_and_description(mock_project_client: MagicMoc... function test_as_agent_uses_client_agent_name_as_default (line 549) | def test_as_agent_uses_client_agent_name_as_default(mock_project_client:... function test_as_agent_explicit_name_overrides_client_agent_name (line 560) | def test_as_agent_explicit_name_overrides_client_agent_name(mock_project... function test_as_agent_no_name_anywhere (line 571) | def test_as_agent_no_name_anywhere(mock_project_client: MagicMock) -> None: function test_as_agent_empty_string_preserves_explicit_value (line 580) | def test_as_agent_empty_string_preserves_explicit_value(mock_project_cli... function test_async_context_manager (line 591) | async def test_async_context_manager(mock_project_client: MagicMock) -> ... function test_close_method (line 604) | async def test_close_method(mock_project_client: MagicMock) -> None: function test_close_client_when_should_close_false (line 615) | async def test_close_client_when_should_close_false(mock_project_client:... function test_configure_azure_monitor_success (line 627) | async def test_configure_azure_monitor_success(mock_project_client: Magi... function test_configure_azure_monitor_resource_not_found (line 664) | async def test_configure_azure_monitor_resource_not_found(mock_project_c... function test_configure_azure_monitor_import_error (line 680) | async def test_configure_azure_monitor_import_error(mock_project_client:... function test_configure_azure_monitor_with_custom_resource (line 698) | async def test_configure_azure_monitor_with_custom_resource(mock_project... function test_agent_creation_with_instructions (line 728) | async def test_agent_creation_with_instructions( function test_agent_creation_with_instructions_from_chat_options (line 751) | async def test_agent_creation_with_instructions_from_chat_options( function test_agent_creation_with_additional_args (line 771) | async def test_agent_creation_with_additional_args( function test_agent_creation_with_tools (line 795) | async def test_agent_creation_with_tools( function test_runtime_tools_override_logs_warning (line 817) | async def test_runtime_tools_override_logs_warning( function test_prepare_options_logs_warning_for_tools_with_existing_agent_version (line 847) | async def test_prepare_options_logs_warning_for_tools_with_existing_agen... function test_prepare_options_logs_warning_for_tools_on_application_endpoint (line 868) | async def test_prepare_options_logs_warning_for_tools_on_application_end... function test_use_latest_version_existing_agent (line 893) | async def test_use_latest_version_existing_agent( function test_use_latest_version_agent_not_found (line 917) | async def test_use_latest_version_agent_not_found( function test_use_latest_version_false (line 944) | async def test_use_latest_version_false( function test_use_latest_version_with_existing_agent_version (line 966) | async def test_use_latest_version_with_existing_agent_version( class ResponseFormatModel (line 983) | class ResponseFormatModel(BaseModel): class AlternateResponseFormatModel (line 992) | class AlternateResponseFormatModel(BaseModel): function test_agent_creation_with_response_format (line 999) | async def test_agent_creation_with_response_format( function test_agent_creation_with_mapping_response_format (line 1042) | async def test_agent_creation_with_mapping_response_format( function test_runtime_structured_output_override_logs_warning (line 1091) | async def test_runtime_structured_output_override_logs_warning( function test_prepare_options_excludes_response_format (line 1121) | async def test_prepare_options_excludes_response_format( function test_prepare_options_keeps_values_for_unsupported_option_keys (line 1158) | async def test_prepare_options_keeps_values_for_unsupported_option_keys( function test_get_conversation_id_with_store_true_and_conversation_id (line 1191) | def test_get_conversation_id_with_store_true_and_conversation_id() -> None: function test_get_conversation_id_with_store_true_and_no_conversation (line 1207) | def test_get_conversation_id_with_store_true_and_no_conversation() -> None: function test_get_conversation_id_with_store_true_and_empty_conversation_id (line 1221) | def test_get_conversation_id_with_store_true_and_empty_conversation_id()... function test_get_conversation_id_with_store_false (line 1237) | def test_get_conversation_id_with_store_false() -> None: function test_get_conversation_id_with_parsed_response_and_store_true (line 1253) | def test_get_conversation_id_with_parsed_response_and_store_true() -> None: function test_get_conversation_id_with_parsed_response_no_conversation (line 1269) | def test_get_conversation_id_with_parsed_response_no_conversation() -> N... function test_from_azure_ai_tools_mcp (line 1287) | def test_from_azure_ai_tools_mcp() -> None: function test_from_azure_ai_tools_code_interpreter (line 1297) | def test_from_azure_ai_tools_code_interpreter() -> None: function test_from_azure_ai_tools_file_search (line 1305) | def test_from_azure_ai_tools_file_search() -> None: function test_from_azure_ai_tools_web_search (line 1315) | def test_from_azure_ai_tools_web_search() -> None: function get_weather (line 1332) | def get_weather( class OutputStruct (line 1339) | class OutputStruct(BaseModel): function client (line 1347) | async def client() -> AsyncGenerator[AzureAIClient, None]: function test_integration_options (line 1401) | async def test_integration_options( function test_integration_agent_options (line 1518) | async def test_integration_agent_options( function test_integration_web_search (line 1585) | async def test_integration_web_search() -> None: function test_integration_agent_hosted_mcp_tool (line 1631) | async def test_integration_agent_hosted_mcp_tool() -> None: function test_integration_agent_hosted_code_interpreter_tool (line 1656) | async def test_integration_agent_hosted_code_interpreter_tool(): function test_integration_agent_existing_session (line 1675) | async def test_integration_agent_existing_session(): function test_get_code_interpreter_tool_basic (line 1717) | def test_get_code_interpreter_tool_basic() -> None: function test_get_code_interpreter_tool_with_file_ids (line 1723) | def test_get_code_interpreter_tool_with_file_ids() -> None: function test_get_code_interpreter_tool_with_content (line 1730) | def test_get_code_interpreter_tool_with_content() -> None: function test_get_code_interpreter_tool_with_mixed_file_ids (line 1740) | def test_get_code_interpreter_tool_with_mixed_file_ids() -> None: function test_get_code_interpreter_tool_content_unsupported_type (line 1750) | def test_get_code_interpreter_tool_content_unsupported_type() -> None: function test_get_file_search_tool_basic (line 1759) | def test_get_file_search_tool_basic() -> None: function test_get_file_search_tool_with_options (line 1766) | def test_get_file_search_tool_with_options() -> None: function test_get_file_search_tool_requires_vector_store_ids (line 1776) | def test_get_file_search_tool_requires_vector_store_ids() -> None: function test_get_web_search_tool_basic (line 1782) | def test_get_web_search_tool_basic() -> None: function test_get_web_search_tool_with_location (line 1788) | def test_get_web_search_tool_with_location() -> None: function test_get_web_search_tool_with_search_context_size (line 1799) | def test_get_web_search_tool_with_search_context_size() -> None: function test_get_mcp_tool_basic (line 1806) | def test_get_mcp_tool_basic() -> None: function test_get_mcp_tool_with_description (line 1814) | def test_get_mcp_tool_with_description() -> None: function test_get_mcp_tool_with_project_connection_id (line 1824) | def test_get_mcp_tool_with_project_connection_id() -> None: function test_get_image_generation_tool_basic (line 1833) | def test_get_image_generation_tool_basic() -> None: function test_get_image_generation_tool_with_options (line 1839) | def test_get_image_generation_tool_with_options() -> None: function test_extract_azure_search_urls_with_dict_items (line 1858) | def test_extract_azure_search_urls_with_dict_items(mock_project_client: ... function test_extract_azure_search_urls_with_object_items (line 1884) | def test_extract_azure_search_urls_with_object_items(mock_project_client... function test_extract_azure_search_urls_no_search_items (line 1897) | def test_extract_azure_search_urls_no_search_items(mock_project_client: ... function test_extract_azure_search_urls_with_json_string_output (line 1906) | def test_extract_azure_search_urls_with_json_string_output(mock_project_... function test_get_search_doc_url_valid (line 1924) | def test_get_search_doc_url_valid(mock_project_client: MagicMock) -> None: function test_get_search_doc_url_out_of_range (line 1934) | def test_get_search_doc_url_out_of_range(mock_project_client: MagicMock)... function test_get_search_doc_url_no_match (line 1941) | def test_get_search_doc_url_no_match(mock_project_client: MagicMock) -> ... function test_enrich_annotations_with_search_urls (line 1950) | def test_enrich_annotations_with_search_urls(mock_project_client: MagicM... function test_enrich_annotations_no_match (line 1978) | def test_enrich_annotations_no_match(mock_project_client: MagicMock) -> ... function test_enrich_annotations_empty_get_urls (line 1998) | def test_enrich_annotations_empty_get_urls(mock_project_client: MagicMoc... function test_inner_get_response_enriches_non_streaming (line 2009) | async def test_inner_get_response_enriches_non_streaming(mock_project_cl... function test_inner_get_response_no_search_output_non_streaming (line 2044) | async def test_inner_get_response_no_search_output_non_streaming(mock_pr... function _create_mock_stream (line 2064) | def _create_mock_stream() -> MagicMock: function test_inner_get_response_streaming_registers_hook (line 2072) | def test_inner_get_response_streaming_registers_hook(mock_project_client... function test_streaming_hook_captures_search_urls (line 2085) | def test_streaming_hook_captures_search_urls(mock_project_client: MagicM... function test_streaming_hook_enriches_url_citation (line 2113) | def test_streaming_hook_enriches_url_citation(mock_project_client: Magic... function test_build_url_citation_content (line 2165) | def test_build_url_citation_content(mock_project_client: MagicMock) -> N... function test_build_url_citation_content_with_dict (line 2193) | def test_build_url_citation_content_with_dict(mock_project_client: Magic... function test_parse_chunk_with_oauth_consent_request (line 2222) | def test_parse_chunk_with_oauth_consent_request(mock_project_client: Mag... function test_parse_response_with_oauth_consent_output_item (line 2250) | def test_parse_response_with_oauth_consent_output_item(mock_project_clie... function test_parse_chunk_oauth_consent_no_link (line 2276) | def test_parse_chunk_oauth_consent_no_link(mock_project_client: MagicMoc... function test_parse_response_oauth_consent_no_link (line 2294) | def test_parse_response_oauth_consent_no_link(mock_project_client: Magic... FILE: python/packages/azure-ai/tests/test_foundry_memory_provider.py function mock_project_client (line 17) | def mock_project_client() -> AsyncMock: function mock_credential (line 30) | def mock_credential() -> Mock: class TestInit (line 38) | class TestInit: method test_init_with_all_params (line 41) | def test_init_with_all_params(self, mock_project_client: AsyncMock) ->... method test_init_default_source_id (line 57) | def test_init_default_source_id(self, mock_project_client: AsyncMock) ... method test_init_default_context_prompt (line 65) | def test_init_default_context_prompt(self, mock_project_client: AsyncM... method test_init_default_update_delay (line 73) | def test_init_default_update_delay(self, mock_project_client: AsyncMoc... method test_init_with_project_endpoint_and_credential (line 81) | def test_init_with_project_endpoint_and_credential( method test_init_requires_project_endpoint_without_project_client (line 101) | def test_init_requires_project_endpoint_without_project_client(self) -... method test_init_requires_credential_without_project_client (line 113) | def test_init_requires_credential_without_project_client(self) -> None: method test_init_requires_memory_store_name (line 121) | def test_init_requires_memory_store_name(self, mock_project_client: As... method test_init_requires_scope (line 129) | def test_init_requires_scope(self, mock_project_client: AsyncMock) -> ... class TestBeforeRun (line 141) | class TestBeforeRun: method test_retrieves_static_memories_on_first_run (line 144) | async def test_retrieves_static_memories_on_first_run(self, mock_proje... method test_contextual_memories_added_to_context (line 172) | async def test_contextual_memories_added_to_context(self, mock_project... method test_empty_input_skips_contextual_search (line 210) | async def test_empty_input_skips_contextual_search(self, mock_project_... method test_empty_search_results_no_messages (line 232) | async def test_empty_search_results_no_messages(self, mock_project_cli... method test_static_memories_only_retrieved_once (line 252) | async def test_static_memories_only_retrieved_once(self, mock_project_... method test_handles_search_exception_gracefully (line 290) | async def test_handles_search_exception_gracefully(self, mock_project_... class TestAfterRun (line 314) | class TestAfterRun: method test_stores_input_and_response (line 317) | async def test_stores_input_and_response(self, mock_project_client: As... method test_only_stores_user_assistant_system (line 345) | async def test_only_stores_user_assistant_system(self, mock_project_cl... method test_skips_empty_messages (line 375) | async def test_skips_empty_messages(self, mock_project_client: AsyncMo... method test_uses_configured_update_delay (line 398) | async def test_uses_configured_update_delay(self, mock_project_client:... method test_uses_previous_update_id_for_incremental_updates (line 420) | async def test_uses_previous_update_id_for_incremental_updates(self, m... method test_handles_update_exception_gracefully (line 456) | async def test_handles_update_exception_gracefully(self, mock_project_... class TestContextManager (line 478) | class TestContextManager: method test_aenter_delegates_to_client (line 481) | async def test_aenter_delegates_to_client(self, mock_project_client: A... method test_aexit_delegates_to_client (line 491) | async def test_aexit_delegates_to_client(self, mock_project_client: As... method test_async_with_syntax (line 500) | async def test_async_with_syntax(self, mock_project_client: AsyncMock)... FILE: python/packages/azure-ai/tests/test_provider.py function mock_project_client (line 29) | def mock_project_client() -> MagicMock: function mock_azure_credential (line 55) | def mock_azure_credential() -> MagicMock: function azure_ai_unit_test_env (line 61) | def azure_ai_unit_test_env(monkeypatch: pytest.MonkeyPatch) -> dict[str,... function test_provider_init_with_project_client (line 72) | def test_provider_init_with_project_client(mock_project_client: MagicMoc... function test_provider_init_with_credential_and_endpoint (line 80) | def test_provider_init_with_credential_and_endpoint( function test_provider_init_missing_endpoint (line 101) | def test_provider_init_missing_endpoint() -> None: function test_provider_init_missing_credential (line 110) | def test_provider_init_missing_credential(azure_ai_unit_test_env: dict[s... function test_provider_create_agent (line 118) | async def test_provider_create_agent( function test_provider_create_agent_with_env_model (line 158) | async def test_provider_create_agent_with_env_model( function test_provider_create_agent_missing_model (line 195) | async def test_provider_create_agent_missing_model(mock_project_client: ... function test_provider_create_agent_with_rai_config (line 206) | async def test_provider_create_agent_with_rai_config( function test_provider_create_agent_with_reasoning (line 251) | async def test_provider_create_agent_with_reasoning( function test_provider_get_agent_with_name (line 297) | async def test_provider_get_agent_with_name(mock_project_client: MagicMo... function test_provider_get_agent_with_reference (line 327) | async def test_provider_get_agent_with_reference(mock_project_client: Ma... function test_provider_get_agent_missing_parameters (line 355) | async def test_provider_get_agent_missing_parameters(mock_project_client... function test_provider_get_agent_missing_function_tools (line 363) | async def test_provider_get_agent_missing_function_tools(mock_project_cl... function test_provider_as_agent (line 390) | def test_provider_as_agent(mock_project_client: MagicMock) -> None: function test_provider_merge_tools_skips_function_tool_dicts (line 424) | def test_provider_merge_tools_skips_function_tool_dicts(mock_project_cli... function test_provider_context_manager (line 458) | async def test_provider_context_manager(mock_project_client: MagicMock) ... function test_provider_context_manager_with_provided_client (line 478) | async def test_provider_context_manager_with_provided_client(mock_projec... function test_provider_close_method (line 489) | async def test_provider_close_method(mock_project_client: MagicMock) -> ... function test_create_text_format_config_sets_strict_for_pydantic_models (line 508) | def test_create_text_format_config_sets_strict_for_pydantic_models() -> ... class MockMCPTool (line 526) | class MockMCPTool(MCPTool): # pyright: ignore[reportGeneralTypeIssues] method __init__ (line 534) | def __init__(self, functions: list[FunctionTool] | None = None) -> None: method functions (line 542) | def functions(self) -> list[FunctionTool]: method connect (line 545) | async def connect(self, *, reset: bool = False) -> None: function mock_mcp_tool (line 551) | def mock_mcp_tool() -> MockMCPTool: function create_mock_ai_function (line 560) | def create_mock_ai_function(name: str, description: str = "A mock functi... function test_provider_create_agent_with_mcp_tool (line 569) | async def test_provider_create_agent_with_mcp_tool( function test_provider_create_agent_with_mcp_and_regular_tools (line 630) | async def test_provider_create_agent_with_mcp_and_regular_tools( function test_provider_create_and_get_agent_integration (line 697) | async def test_provider_create_and_get_agent_integration() -> None: FILE: python/packages/azure-ai/tests/test_shared.py function test_extract_project_connection_id_direct (line 30) | def test_extract_project_connection_id_direct() -> None: function test_extract_project_connection_id_from_connection_name (line 36) | def test_extract_project_connection_id_from_connection_name() -> None: function test_extract_project_connection_id_none (line 42) | def test_extract_project_connection_id_none() -> None: function test_to_azure_ai_agent_tools_empty (line 48) | def test_to_azure_ai_agent_tools_empty() -> None: function test_to_azure_ai_agent_tools_function_tool (line 54) | def test_to_azure_ai_agent_tools_function_tool() -> None: function test_to_azure_ai_agent_tools_code_interpreter (line 68) | def test_to_azure_ai_agent_tools_code_interpreter() -> None: function test_to_azure_ai_agent_tools_web_search_missing_connection (line 76) | def test_to_azure_ai_agent_tools_web_search_missing_connection() -> None: function test_to_azure_ai_agent_tools_dict_passthrough (line 99) | def test_to_azure_ai_agent_tools_dict_passthrough() -> None: function test_to_azure_ai_agent_tools_unsupported_type (line 106) | def test_to_azure_ai_agent_tools_unsupported_type() -> None: function test_from_azure_ai_agent_tools_empty (line 118) | def test_from_azure_ai_agent_tools_empty() -> None: function test_from_azure_ai_agent_tools_code_interpreter (line 124) | def test_from_azure_ai_agent_tools_code_interpreter() -> None: function test_convert_sdk_tool_code_interpreter (line 132) | def test_convert_sdk_tool_code_interpreter() -> None: function test_convert_sdk_tool_function_returns_none (line 140) | def test_convert_sdk_tool_function_returns_none() -> None: function test_convert_sdk_tool_mcp_returns_none (line 148) | def test_convert_sdk_tool_mcp_returns_none() -> None: function test_convert_sdk_tool_file_search (line 156) | def test_convert_sdk_tool_file_search() -> None: function test_convert_sdk_tool_bing_grounding (line 167) | def test_convert_sdk_tool_bing_grounding() -> None: function test_convert_sdk_tool_bing_custom_search (line 178) | def test_convert_sdk_tool_bing_custom_search() -> None: function test_to_azure_ai_tools_empty (line 191) | def test_to_azure_ai_tools_empty() -> None: function test_to_azure_ai_tools_code_interpreter_with_file_ids (line 197) | def test_to_azure_ai_tools_code_interpreter_with_file_ids() -> None: function test_to_azure_ai_tools_function_tool (line 208) | def test_to_azure_ai_tools_function_tool() -> None: function test_to_azure_ai_tools_file_search (line 222) | def test_to_azure_ai_tools_file_search() -> None: function test_to_azure_ai_tools_web_search_with_location (line 236) | def test_to_azure_ai_tools_web_search_with_location() -> None: function test_to_azure_ai_tools_image_generation (line 252) | def test_to_azure_ai_tools_image_generation() -> None: function test_prepare_mcp_tool_basic (line 266) | def test_prepare_mcp_tool_basic() -> None: function test_prepare_mcp_tool_with_description (line 274) | def test_prepare_mcp_tool_with_description() -> None: function test_prepare_mcp_tool_with_headers (line 286) | def test_prepare_mcp_tool_with_headers() -> None: function test_prepare_mcp_tool_project_connection_takes_precedence (line 298) | def test_prepare_mcp_tool_project_connection_takes_precedence() -> None: function test_prepare_mcp_tool_approval_mode_always (line 312) | def test_prepare_mcp_tool_approval_mode_always() -> None: function test_prepare_mcp_tool_approval_mode_never (line 324) | def test_prepare_mcp_tool_approval_mode_never() -> None: function test_prepare_mcp_tool_approval_mode_dict (line 336) | def test_prepare_mcp_tool_approval_mode_dict() -> None: function test_create_text_format_config_pydantic_model (line 349) | def test_create_text_format_config_pydantic_model() -> None: function test_create_text_format_config_json_schema_mapping (line 362) | def test_create_text_format_config_json_schema_mapping() -> None: function test_create_text_format_config_json_object (line 376) | def test_create_text_format_config_json_object() -> None: function test_create_text_format_config_text (line 382) | def test_create_text_format_config_text() -> None: function test_create_text_format_config_invalid_raises (line 388) | def test_create_text_format_config_invalid_raises() -> None: function test_convert_response_format_with_format_key (line 394) | def test_convert_response_format_with_format_key() -> None: function test_convert_response_format_json_schema_missing_schema_raises (line 401) | def test_convert_response_format_json_schema_missing_schema_raises() -> ... function test_from_azure_ai_tools_mcp_approval_mode_always (line 407) | def test_from_azure_ai_tools_mcp_approval_mode_always() -> None: function test_from_azure_ai_tools_mcp_approval_mode_never (line 423) | def test_from_azure_ai_tools_mcp_approval_mode_never() -> None: function test_from_azure_ai_tools_mcp_approval_mode_dict_always (line 439) | def test_from_azure_ai_tools_mcp_approval_mode_dict_always() -> None: function test_from_azure_ai_tools_mcp_approval_mode_dict_never (line 455) | def test_from_azure_ai_tools_mcp_approval_mode_dict_never() -> None: FILE: python/packages/azure-cosmos/agent_framework_azure_cosmos/_history_provider.py class AzureCosmosHistorySettings (line 23) | class AzureCosmosHistorySettings(TypedDict, total=False): class CosmosHistoryProvider (line 32) | class CosmosHistoryProvider(BaseHistoryProvider): method __init__ (line 38) | def __init__( method get_messages (line 127) | async def get_messages( method save_messages (line 166) | async def save_messages( method clear (line 199) | async def clear(self, session_id: str | None) -> None: method list_sessions (line 224) | async def list_sessions(self) -> list[str]: method close (line 238) | async def close(self) -> None: method __aenter__ (line 243) | async def __aenter__(self) -> CosmosHistoryProvider: method __aexit__ (line 247) | async def __aexit__( method _ensure_container_proxy (line 260) | async def _ensure_container_proxy(self) -> None: method _session_partition_key (line 273) | def _session_partition_key(session_id: str | None) -> str: FILE: python/packages/azure-cosmos/samples/cosmos_history_provider.py function main (line 35) | async def main() -> None: FILE: python/packages/azure-cosmos/tests/test_cosmos_history_provider.py function _to_async_iter (line 39) | def _to_async_iter(items: list[Any]) -> AsyncIterator[Any]: function mock_container (line 48) | def mock_container() -> MagicMock: function mock_cosmos_client (line 56) | def mock_cosmos_client(mock_container: MagicMock) -> MagicMock: class TestCosmosHistoryProviderInit (line 66) | class TestCosmosHistoryProviderInit: method test_uses_provided_container_client (line 67) | def test_uses_provided_container_client(self, mock_container: MagicMoc... method test_uses_provided_cosmos_client (line 76) | def test_uses_provided_cosmos_client(self, mock_cosmos_client: MagicMo... method test_missing_required_settings_raises (line 88) | def test_missing_required_settings_raises(self, monkeypatch: pytest.Mo... method test_constructs_client_with_string_credential (line 97) | def test_constructs_client_with_string_credential( class TestCosmosHistoryProviderContainerConfig (line 116) | class TestCosmosHistoryProviderContainerConfig: method test_provider_container_name_is_used (line 117) | async def test_provider_container_name_is_used(self, mock_cosmos_clien... class TestCosmosHistoryProviderGetMessages (line 133) | class TestCosmosHistoryProviderGetMessages: method test_returns_deserialized_messages (line 134) | async def test_returns_deserialized_messages(self, mock_container: Mag... method test_empty_returns_empty (line 162) | async def test_empty_returns_empty(self, mock_container: MagicMock) ->... method test_none_session_id_generates_guid_partition_key (line 170) | async def test_none_session_id_generates_guid_partition_key( method test_skips_non_dict_message_payload (line 191) | async def test_skips_non_dict_message_payload(self, mock_container: Ma... class TestCosmosHistoryProviderListSessions (line 200) | class TestCosmosHistoryProviderListSessions: method test_list_sessions_returns_unique_sorted_ids (line 201) | async def test_list_sessions_returns_unique_sorted_ids(self, mock_cont... class TestCosmosHistoryProviderSaveMessages (line 213) | class TestCosmosHistoryProviderSaveMessages: method test_saves_messages (line 214) | async def test_saves_messages(self, mock_container: MagicMock) -> None: method test_empty_messages_noop (line 230) | async def test_empty_messages_noop(self, mock_container: MagicMock) ->... method test_batches_when_message_count_exceeds_limit (line 237) | async def test_batches_when_message_count_exceeds_limit(self, mock_con... class TestCosmosHistoryProviderClear (line 252) | class TestCosmosHistoryProviderClear: method test_clear_deletes_all_session_items (line 253) | async def test_clear_deletes_all_session_items(self, mock_container: M... class TestCosmosHistoryProviderBeforeAfterRun (line 275) | class TestCosmosHistoryProviderBeforeAfterRun: method test_before_run_loads_history (line 276) | async def test_before_run_loads_history(self, mock_container: MagicMoc... method test_after_run_stores_input_and_response (line 291) | async def test_after_run_stores_input_and_response(self, mock_containe... class TestCosmosHistoryProviderClose (line 312) | class TestCosmosHistoryProviderClose: method test_close_closes_owned_client (line 313) | async def test_close_closes_owned_client( method test_close_does_not_close_external_client (line 330) | async def test_close_does_not_close_external_client(self, mock_cosmos_... method test_async_context_manager_closes_owned_client (line 342) | async def test_async_context_manager_closes_owned_client( method test_async_context_manager_preserves_original_exception (line 358) | async def test_async_context_manager_preserves_original_exception(self... function test_cosmos_history_provider_roundtrip_with_emulator (line 372) | async def test_cosmos_history_provider_roundtrip_with_emulator() -> None: FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_app.py function _create_state_snapshot (line 62) | def _create_state_snapshot(state: dict[str, Any]) -> dict[str, Any]: class AgentMetadata (line 68) | class AgentMetadata: class DFAppBase (line 84) | class DFAppBase: method __init__ (line 85) | def __init__(self, http_auth_level: func.AuthLevel = func.AuthLevel.FU... method function_name (line 87) | def function_name(self, name: str) -> Callable[[HandlerT], HandlerT]: ... method route (line 89) | def route(self, route: str, methods: list[str]) -> Callable[[HandlerT]... method durable_client_input (line 91) | def durable_client_input(self, client_name: str) -> Callable[[HandlerT... method entity_trigger (line 93) | def entity_trigger(self, context_name: str, entity_name: str) -> Calla... method orchestration_trigger (line 95) | def orchestration_trigger(self, context_name: str) -> Callable[[Handle... method activity_trigger (line 97) | def activity_trigger(self, input_name: str) -> Callable[[HandlerT], Ha... method mcp_tool_trigger (line 99) | def mcp_tool_trigger( class AgentFunctionApp (line 112) | class AgentFunctionApp(DFAppBase): method __init__ (line 181) | def __init__( method _setup_executor_activity (line 261) | def _setup_executor_activity(self, executor_id: str) -> None: method _setup_workflow_orchestration (line 405) | def _setup_workflow_orchestration(self) -> None: method _build_status_url (line 552) | def _build_status_url(self, request_url: str, instance_id: str) -> str: method _build_base_url (line 557) | def _build_base_url(self, request_url: str) -> str: method agents (line 565) | def agents(self) -> dict[str, SupportsAgentRun]: method add_agent (line 573) | def add_agent( method get_agent (line 638) | def get_agent( method _setup_agent_functions (line 663) | def _setup_agent_functions( method _setup_http_run_route (line 697) | def _setup_http_run_route(self, agent_name: str) -> None: method _setup_agent_entity (line 825) | def _setup_agent_entity( method _setup_mcp_tool_trigger (line 857) | def _setup_mcp_tool_trigger(self, agent_name: str, agent_description: ... method _handle_mcp_tool_invocation (line 916) | async def _handle_mcp_tool_invocation( method _setup_health_route (line 1015) | def _setup_health_route(self) -> None: method _build_function_name (line 1040) | def _build_function_name(agent_name: str, prefix: str) -> str: method _read_cached_state (line 1055) | async def _read_cached_state( method _get_response_from_entity (line 1072) | async def _get_response_from_entity( method _poll_entity_for_response (line 1115) | async def _poll_entity_for_response( method _build_response_payload (line 1146) | def _build_response_payload( method _build_timeout_result (line 1168) | async def _build_timeout_result(self, message: str, thread_id: str, co... method _build_success_result (line 1178) | def _build_success_result( method _build_request_data (line 1191) | def _build_request_data( method _build_accepted_response (line 1212) | def _build_accepted_response(self, message: str, thread_id: str, corre... method _create_http_response (line 1222) | def _create_http_response( method _build_plain_text_response (line 1235) | def _build_plain_text_response( method _build_json_response (line 1246) | def _build_json_response(self, payload: dict[str, Any] | str, status_c... method _build_error_response (line 1252) | def _build_error_response(message: str, status_code: int = 400) -> fun... method _convert_payload_to_text (line 1260) | def _convert_payload_to_text(self, payload: dict[str, Any]) -> str: method _generate_unique_id (line 1268) | def _generate_unique_id(self) -> str: method _create_session_id (line 1272) | def _create_session_id(self, agent_name: str, thread_id: str | None) -... method _resolve_thread_id (line 1278) | def _resolve_thread_id(self, req: func.HttpRequest, req_body: dict[str... method _parse_incoming_request (line 1295) | def _parse_incoming_request(self, req: func.HttpRequest) -> tuple[dict... method _extract_normalized_headers (line 1309) | def _extract_normalized_headers(self, req: func.HttpRequest) -> dict[s... method _extract_content_type (line 1319) | def _extract_content_type(headers: dict[str, str]) -> str: method _select_body_parser (line 1324) | def _select_body_parser( method _accepts_json_response (line 1334) | def _accepts_json_response(headers: dict[str, str]) -> bool: method _select_request_response_format (line 1347) | def _select_request_response_format(body_format: str, prefers_json: bo... method _parse_json_body (line 1354) | def _parse_json_body(req: func.HttpRequest) -> tuple[dict[str, Any], s... method _parse_text_body (line 1365) | def _parse_text_body(req: func.HttpRequest) -> tuple[dict[str, Any], s... method _should_wait_for_response (line 1372) | def _should_wait_for_response(self, req: func.HttpRequest, req_body: d... method _coerce_to_bool (line 1389) | def _coerce_to_bool(self, value: Any) -> bool: FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_context.py class CapturingRunnerContext (line 25) | class CapturingRunnerContext(RunnerContext): method __init__ (line 37) | def __init__(self) -> None: method send_message (line 47) | async def send_message(self, message: WorkflowMessage) -> None: method drain_messages (line 52) | async def drain_messages(self) -> dict[str, list[WorkflowMessage]]: method has_messages (line 58) | async def has_messages(self) -> bool: method add_event (line 66) | async def add_event(self, event: WorkflowEvent) -> None: method drain_events (line 70) | async def drain_events(self) -> list[WorkflowEvent]: method has_events (line 80) | async def has_events(self) -> bool: method next_event (line 84) | async def next_event(self) -> WorkflowEvent: method has_checkpointing (line 92) | def has_checkpointing(self) -> bool: method set_runtime_checkpoint_storage (line 96) | def set_runtime_checkpoint_storage(self, storage: CheckpointStorage) -... method clear_runtime_checkpoint_storage (line 100) | def clear_runtime_checkpoint_storage(self) -> None: method create_checkpoint (line 104) | async def create_checkpoint( method load_checkpoint (line 116) | async def load_checkpoint(self, checkpoint_id: str) -> WorkflowCheckpo... method apply_checkpoint (line 120) | async def apply_checkpoint(self, checkpoint: WorkflowCheckpoint) -> None: method set_workflow_id (line 128) | def set_workflow_id(self, workflow_id: str) -> None: method reset_for_new_run (line 132) | def reset_for_new_run(self) -> None: method set_streaming (line 139) | def set_streaming(self, streaming: bool) -> None: method is_streaming (line 143) | def is_streaming(self) -> bool: method add_request_info_event (line 151) | async def add_request_info_event(self, event: WorkflowEvent[Any]) -> N... method send_request_info_response (line 156) | async def send_request_info_response(self, request_id: str, response: ... method get_pending_request_info_events (line 167) | async def get_pending_request_info_events(self) -> dict[str, WorkflowE... FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_entities.py class AzureFunctionEntityStateProvider (line 28) | class AzureFunctionEntityStateProvider(AgentEntityStateProviderMixin): method __init__ (line 35) | def __init__(self, context: df.DurableEntityContext) -> None: method _get_state_dict (line 38) | def _get_state_dict(self) -> dict[str, Any]: method _set_state_dict (line 44) | def _set_state_dict(self, state: dict[str, Any]) -> None: method _get_thread_id_from_entity (line 47) | def _get_thread_id_from_entity(self) -> str: function create_agent_entity (line 51) | def create_agent_entity( FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_errors.py class IncomingRequestError (line 6) | class IncomingRequestError(ValueError): method __init__ (line 9) | def __init__(self, message: str, status_code: int = 400) -> None: FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_orchestration.py class _TypedCompoundTask (line 32) | class _TypedCompoundTask(CompoundTask): # type: ignore[misc] method __init__ (line 35) | def __init__( class PreCompletedTask (line 47) | class PreCompletedTask(TaskBase): # type: ignore[misc] method __init__ (line 54) | def __init__(self, result: Any): class AgentTask (line 66) | class AgentTask(_TypedCompoundTask): method __init__ (line 73) | def __init__( method try_set_value (line 100) | def try_set_value(self, child: TaskBase) -> None: class AzureFunctionsAgentExecutor (line 143) | class AzureFunctionsAgentExecutor(DurableAgentExecutor[AgentTask]): method __init__ (line 146) | def __init__(self, context: AgentOrchestrationContextType): method generate_unique_id (line 149) | def generate_unique_id(self) -> str: method get_run_request (line 152) | def get_run_request( method run_durable_agent (line 178) | def run_durable_agent( FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_serialization.py function resolve_type (line 38) | def resolve_type(type_key: str) -> type | None: function strip_pickle_markers (line 61) | def strip_pickle_markers(data: Any) -> Any: function serialize_value (line 96) | def serialize_value(value: Any) -> Any: function deserialize_value (line 111) | def deserialize_value(value: Any) -> Any: function reconstruct_to_type (line 131) | def reconstruct_to_type(value: Any, target_type: type) -> Any: FILE: python/packages/azurefunctions/agent_framework_azurefunctions/_workflow.py class TaskType (line 82) | class TaskType(Enum): class TaskMetadata (line 90) | class TaskMetadata: class ExecutorResult (line 101) | class ExecutorResult: class PendingHITLRequest (line 111) | class PendingHITLRequest: function _evaluate_edge_condition_sync (line 138) | def _evaluate_edge_condition_sync(edge: Edge, message: Any) -> bool: function route_message_through_edge_groups (line 172) | def route_message_through_edge_groups( function build_agent_executor_response (line 224) | def build_agent_executor_response( function _prepare_agent_task (line 274) | def _prepare_agent_task( function _prepare_activity_task (line 298) | def _prepare_activity_task( function _process_agent_response (line 335) | def _process_agent_response( function _process_activity_result (line 377) | def _process_activity_result( function _route_result_messages (line 425) | def _route_result_messages( function _check_fan_in_ready (line 483) | def _check_fan_in_ready( function _collect_hitl_requests (line 531) | def _collect_hitl_requests( function _route_hitl_response (line 559) | def _route_hitl_response( function run_workflow_orchestrator (line 604) | def run_workflow_orchestrator( function _prepare_all_tasks (line 779) | def _prepare_all_tasks( function _extract_message_content (line 860) | def _extract_message_content(message: Any) -> str: function execute_hitl_response_handler (line 885) | async def execute_hitl_response_handler( function _deserialize_hitl_response (line 948) | def _deserialize_hitl_response(response_data: Any, response_type_str: st... FILE: python/packages/azurefunctions/tests/integration_tests/conftest.py class FunctionAppStartupError (line 41) | class FunctionAppStartupError(RuntimeError): function _load_env_file_if_present (line 52) | def _load_env_file_if_present() -> None: function _check_func_cli_available (line 67) | def _check_func_cli_available() -> bool: function _check_port_listening (line 72) | def _check_port_listening(port: int, host: str = _DEFAULT_HOST) -> bool: function _check_azurite_available (line 79) | def _check_azurite_available() -> bool: function _check_dts_emulator_available (line 84) | def _check_dts_emulator_available() -> bool: function _should_skip_azure_functions_integration_tests (line 89) | def _should_skip_azure_functions_integration_tests() -> tuple[bool, str]: class SampleTestHelper (line 138) | class SampleTestHelper: method post_json (line 142) | def post_json(url: str, data: dict[str, Any], timeout: int = TIMEOUT) ... method post_text (line 147) | def post_text(url: str, text: str, timeout: int = TIMEOUT) -> requests... method get (line 152) | def get(url: str, timeout: int = TIMEOUT) -> requests.Response: method wait_for_orchestration (line 157) | def wait_for_orchestration( method wait_for_orchestration_with_output (line 188) | def wait_for_orchestration_with_output( function _resolve_repo_root (line 256) | def _resolve_repo_root() -> Path: function _get_sample_path_from_marker (line 270) | def _get_sample_path_from_marker(request: pytest.FixtureRequest) -> tupl... function _find_available_port (line 304) | def _find_available_port(host: str = _DEFAULT_HOST) -> int: function _build_base_url (line 311) | def _build_base_url(port: int, host: str = _DEFAULT_HOST) -> str: function _is_port_in_use (line 316) | def _is_port_in_use(port: int, host: str = _DEFAULT_HOST) -> bool: function _load_and_validate_env (line 325) | def _load_and_validate_env() -> None: function _start_function_app (line 353) | def _start_function_app(sample_path: Path, port: int) -> subprocess.Pope... function _wait_for_function_app_ready (line 378) | def _wait_for_function_app_ready(func_process: subprocess.Popen[Any], po... function _cleanup_function_app (line 407) | def _cleanup_function_app(func_process: subprocess.Popen[Any]) -> None: function pytest_configure (line 459) | def pytest_configure(config: pytest.Config) -> None: function pytest_collection_modifyitems (line 468) | def pytest_collection_modifyitems(config: pytest.Config, items: list[pyt... function function_app_running (line 485) | def function_app_running() -> bool: function skip_if_no_function_app (line 498) | def skip_if_no_function_app(function_app_running: bool) -> None: function function_app_for_test (line 505) | def function_app_for_test(request: pytest.FixtureRequest) -> Iterator[di... function base_url (line 565) | def base_url(function_app_for_test: Mapping[str, int | str]) -> str: function sample_helper (line 571) | def sample_helper() -> type[SampleTestHelper]: FILE: python/packages/azurefunctions/tests/integration_tests/test_01_single_agent.py class TestSampleSingleAgent (line 29) | class TestSampleSingleAgent: method _setup (line 33) | def _setup(self, base_url: str, sample_helper) -> None: method test_health_check (line 38) | def test_health_check(self, base_url: str, sample_helper) -> None: method test_simple_message_json (line 45) | def test_simple_message_json(self) -> None: method test_simple_message_plain_text (line 64) | def test_simple_message_plain_text(self) -> None: method test_thread_id_in_query (line 73) | def test_thread_id_in_query(self) -> None: method test_conversation_continuity (line 83) | def test_conversation_continuity(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_02_multi_agent.py class TestSampleMultiAgent (line 28) | class TestSampleMultiAgent: method _setup (line 32) | def _setup(self, base_url: str, sample_helper) -> None: method test_weather_agent (line 38) | def test_weather_agent(self) -> None: method test_math_agent (line 49) | def test_math_agent(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_03_reliable_streaming.py class TestSampleReliableStreaming (line 33) | class TestSampleReliableStreaming: method _setup (line 37) | def _setup(self, base_url: str, sample_helper) -> None: method test_agent_run_and_stream (line 44) | def test_agent_run_and_stream(self) -> None: method test_stream_with_sse_format (line 68) | def test_stream_with_sse_format(self) -> None: method test_stream_nonexistent_conversation (line 97) | def test_stream_nonexistent_conversation(self) -> None: method test_health_endpoint (line 113) | def test_health_endpoint(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_04_single_agent_orchestration_chaining.py class TestSampleOrchestrationChaining (line 33) | class TestSampleOrchestrationChaining: method _setup (line 37) | def _setup(self, sample_helper) -> None: method test_orchestration_chaining (line 41) | def test_orchestration_chaining(self, base_url: str) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_05_multi_agent_orchestration_concurrency.py class TestSampleMultiAgentConcurrency (line 33) | class TestSampleMultiAgentConcurrency: method _setup (line 37) | def _setup(self, sample_helper) -> None: method test_concurrent_agents (line 41) | def test_concurrent_agents(self, base_url: str) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_06_multi_agent_orchestration_conditionals.py class TestSampleMultiAgentConditionals (line 33) | class TestSampleMultiAgentConditionals: method _setup (line 37) | def _setup(self, sample_helper) -> None: method test_legitimate_email (line 41) | def test_legitimate_email(self, base_url: str) -> None: method test_spam_email (line 60) | def test_spam_email(self, base_url: str) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_07_single_agent_orchestration_hitl.py class TestSampleHITLOrchestration (line 35) | class TestSampleHITLOrchestration: method _setup (line 39) | def _setup(self, base_url: str, sample_helper) -> None: method test_hitl_orchestration_approval (line 44) | def test_hitl_orchestration_approval(self) -> None: method test_hitl_orchestration_rejection_with_feedback (line 81) | def test_hitl_orchestration_rejection_with_feedback(self) -> None: method test_hitl_orchestration_missing_topic (line 122) | def test_hitl_orchestration_missing_topic(self) -> None: method test_hitl_get_status (line 129) | def test_hitl_get_status(self) -> None: method test_hitl_approval_invalid_payload (line 152) | def test_hitl_approval_invalid_payload(self) -> None: method test_hitl_status_invalid_instance (line 176) | def test_hitl_status_invalid_instance(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_09_workflow_shared_state.py class TestWorkflowSharedState (line 34) | class TestWorkflowSharedState: method _setup (line 38) | def _setup(self, base_url: str, sample_helper) -> None: method test_workflow_with_spam_email (line 43) | def test_workflow_with_spam_email(self) -> None: method test_workflow_with_legitimate_email (line 59) | def test_workflow_with_legitimate_email(self) -> None: method test_workflow_with_phishing_email (line 78) | def test_workflow_with_phishing_email(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_10_workflow_no_shared_state.py class TestWorkflowNoSharedState (line 34) | class TestWorkflowNoSharedState: method _setup (line 38) | def _setup(self, base_url: str, sample_helper) -> None: method test_workflow_with_spam_email (line 43) | def test_workflow_with_spam_email(self) -> None: method test_workflow_with_legitimate_email (line 65) | def test_workflow_with_legitimate_email(self) -> None: method test_workflow_status_endpoint (line 87) | def test_workflow_status_endpoint(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_11_workflow_parallel.py class TestWorkflowParallel (line 36) | class TestWorkflowParallel: method _setup (line 40) | def _setup(self, base_url: str, sample_helper) -> None: method test_parallel_workflow_document_analysis (line 45) | def test_parallel_workflow_document_analysis(self) -> None: method test_parallel_workflow_short_document (line 73) | def test_parallel_workflow_short_document(self) -> None: method test_parallel_workflow_technical_document (line 92) | def test_parallel_workflow_technical_document(self) -> None: method test_workflow_status_endpoint (line 115) | def test_workflow_status_endpoint(self) -> None: FILE: python/packages/azurefunctions/tests/integration_tests/test_12_workflow_hitl.py class TestWorkflowHITL (line 36) | class TestWorkflowHITL: method _setup (line 40) | def _setup(self, base_url: str, sample_helper) -> None: method _wait_for_hitl_request (line 45) | def _wait_for_hitl_request(self, instance_id: str, timeout: int = 40) ... method test_hitl_workflow_approval (line 58) | def test_hitl_workflow_approval(self) -> None: method test_hitl_workflow_rejection (line 102) | def test_hitl_workflow_rejection(self) -> None: method test_hitl_workflow_status_endpoint (line 143) | def test_hitl_workflow_status_endpoint(self) -> None: method test_hitl_workflow_with_neutral_content (line 179) | def test_hitl_workflow_with_neutral_content(self) -> None: FILE: python/packages/azurefunctions/tests/test_app.py function _identity_decorator (line 34) | def _identity_decorator(func: FuncT) -> FuncT: class _InMemoryStateProvider (line 38) | class _InMemoryStateProvider(AgentEntityStateProviderMixin): method __init__ (line 39) | def __init__(self, *, thread_id: str = "test-thread", initial_state: d... method _get_state_dict (line 43) | def _get_state_dict(self) -> dict[str, Any]: method _set_state_dict (line 46) | def _set_state_dict(self, state: dict[str, Any]) -> None: method _get_thread_id_from_entity (line 49) | def _get_thread_id_from_entity(self) -> str: class TestAgentFunctionAppInit (line 53) | class TestAgentFunctionAppInit: method test_init_with_defaults (line 56) | def test_init_with_defaults(self) -> None: method test_init_with_custom_auth_level (line 67) | def test_init_with_custom_auth_level(self) -> None: method test_init_with_health_check_disabled (line 77) | def test_init_with_health_check_disabled(self) -> None: method test_init_with_http_endpoints_disabled (line 86) | def test_init_with_http_endpoints_disabled(self) -> None: method test_init_stores_agent_reference (line 95) | def test_init_stores_agent_reference(self) -> None: method test_add_agent_uses_specific_callback (line 104) | def test_add_agent_uses_specific_callback(self) -> None: method test_default_callback_applied_when_no_specific (line 120) | def test_default_callback_applied_when_no_specific(self) -> None: method test_init_with_agents_uses_default_callback (line 136) | def test_init_with_agents_uses_default_callback(self) -> None: class TestAgentFunctionAppSetup (line 152) | class TestAgentFunctionAppSetup: method test_app_is_dfapp_instance (line 155) | def test_app_is_dfapp_instance(self) -> None: method test_setup_creates_http_trigger (line 164) | def test_setup_creates_http_trigger(self) -> None: method test_http_function_name_uses_prefix_format (line 185) | def test_http_function_name_uses_prefix_format(self) -> None: method test_setup_skips_http_trigger_when_disabled (line 217) | def test_setup_skips_http_trigger_when_disabled(self) -> None: method test_agent_override_enables_http_route_when_app_disabled (line 253) | def test_agent_override_enables_http_route_when_app_disabled(self) -> ... method test_agent_override_disables_http_route_when_app_enabled (line 270) | def test_agent_override_disables_http_route_when_app_enabled(self) -> ... method test_multiple_apps_independent (line 287) | def test_multiple_apps_independent(self) -> None: class TestWaitForResponseAndCorrelationId (line 303) | class TestWaitForResponseAndCorrelationId: method _create_app (line 306) | def _create_app(self) -> AgentFunctionApp: method _make_request (line 312) | def _make_request( method test_wait_for_response_header_true (line 322) | def test_wait_for_response_header_true(self) -> None: method test_wait_for_response_body_snake_case (line 329) | def test_wait_for_response_body_snake_case(self) -> None: method test_wait_for_response_query_parameter (line 338) | def test_wait_for_response_query_parameter(self) -> None: method test_wait_for_response_query_precedence (line 345) | def test_wait_for_response_query_precedence(self) -> None: class TestAgentEntityOperations (line 353) | class TestAgentEntityOperations: method test_entity_run_agent_operation (line 356) | async def test_entity_run_agent_operation(self) -> None: method test_entity_stores_conversation_history (line 374) | async def test_entity_stores_conversation_history(self) -> None: method test_entity_increments_message_count (line 406) | async def test_entity_increments_message_count(self) -> None: method test_entity_reset (line 421) | def test_entity_reset(self) -> None: class TestAgentEntityFactory (line 435) | class TestAgentEntityFactory: method test_create_agent_entity_returns_function (line 438) | def test_create_agent_entity_returns_function(self) -> None: method test_entity_function_handles_run_operation (line 445) | def test_entity_function_handles_run_operation(self) -> None: method test_entity_function_handles_run_agent_operation (line 470) | def test_entity_function_handles_run_agent_operation(self) -> None: method test_entity_function_handles_reset_operation (line 495) | def test_entity_function_handles_reset_operation(self) -> None: method test_entity_function_handles_unknown_operation (line 535) | def test_entity_function_handles_unknown_operation(self) -> None: method test_entity_function_restores_state (line 554) | def test_entity_function_restores_state(self) -> None: class TestErrorHandling (line 614) | class TestErrorHandling: method test_entity_handles_agent_error (line 617) | async def test_entity_handles_agent_error(self) -> None: method test_entity_function_handles_exception (line 636) | def test_entity_function_handles_exception(self) -> None: class TestIncomingRequestParsing (line 658) | class TestIncomingRequestParsing: method _create_app (line 661) | def _create_app(self) -> AgentFunctionApp: method test_parse_plain_text_body (line 666) | def test_parse_plain_text_body(self) -> None: method test_parse_plain_text_trims_whitespace (line 683) | def test_parse_plain_text_trims_whitespace(self) -> None: method test_accept_header_prefers_json (line 699) | def test_accept_header_prefers_json(self) -> None: method test_extract_thread_id_from_query_params (line 714) | def test_extract_thread_id_from_query_params(self) -> None: class TestHttpRunRoute (line 727) | class TestHttpRunRoute: method _get_run_handler (line 731) | def _get_run_handler(agent: Mock) -> Callable[[func.HttpRequest, Any],... method test_http_run_accepts_plain_text (line 759) | async def test_http_run_accepts_plain_text(self) -> None: method test_http_run_accept_header_returns_json (line 789) | async def test_http_run_accept_header_returns_json(self) -> None: method test_http_run_rejects_empty_message (line 813) | async def test_http_run_rejects_empty_message(self) -> None: class TestMCPToolEndpoint (line 838) | class TestMCPToolEndpoint: method test_init_with_mcp_tool_endpoint_enabled (line 841) | def test_init_with_mcp_tool_endpoint_enabled(self) -> None: method test_init_with_mcp_tool_endpoint_disabled (line 850) | def test_init_with_mcp_tool_endpoint_disabled(self) -> None: method test_add_agent_with_mcp_tool_trigger_enabled (line 859) | def test_add_agent_with_mcp_tool_trigger_enabled(self) -> None: method test_add_agent_with_mcp_tool_trigger_disabled (line 873) | def test_add_agent_with_mcp_tool_trigger_disabled(self) -> None: method test_agent_override_enables_mcp_when_app_disabled (line 886) | def test_agent_override_enables_mcp_when_app_disabled(self) -> None: method test_agent_override_disables_mcp_when_app_enabled (line 897) | def test_agent_override_disables_mcp_when_app_enabled(self) -> None: method test_setup_mcp_tool_trigger_registers_decorators (line 908) | def test_setup_mcp_tool_trigger_registers_decorators(self) -> None: method test_setup_mcp_tool_trigger_uses_default_description (line 940) | def test_setup_mcp_tool_trigger_uses_default_description(self) -> None: method test_handle_mcp_tool_invocation_with_json_string (line 960) | async def test_handle_mcp_tool_invocation_with_json_string(self) -> None: method test_handle_mcp_tool_invocation_with_json_context (line 987) | async def test_handle_mcp_tool_invocation_with_json_context(self) -> N... method test_handle_mcp_tool_invocation_missing_query (line 1014) | async def test_handle_mcp_tool_invocation_missing_query(self) -> None: method test_handle_mcp_tool_invocation_invalid_json (line 1028) | async def test_handle_mcp_tool_invocation_invalid_json(self) -> None: method test_handle_mcp_tool_invocation_runtime_error (line 1042) | async def test_handle_mcp_tool_invocation_runtime_error(self) -> None: method test_handle_mcp_tool_invocation_ignores_agent_name_in_thread_id (line 1066) | async def test_handle_mcp_tool_invocation_ignores_agent_name_in_thread... method test_handle_mcp_tool_invocation_uses_plain_thread_id_as_key (line 1100) | async def test_handle_mcp_tool_invocation_uses_plain_thread_id_as_key(... method test_health_check_includes_mcp_tool_enabled (line 1130) | def test_health_check_includes_mcp_tool_enabled(self) -> None: class TestAgentFunctionAppErrorPaths (line 1168) | class TestAgentFunctionAppErrorPaths: method test_init_with_invalid_max_poll_retries (line 1171) | def test_init_with_invalid_max_poll_retries(self) -> None: method test_init_with_invalid_poll_interval_seconds (line 1184) | def test_init_with_invalid_poll_interval_seconds(self) -> None: method test_get_agent_raises_for_unregistered_agent (line 1197) | def test_get_agent_raises_for_unregistered_agent(self) -> None: method test_convert_payload_to_text_with_response_key (line 1211) | def test_convert_payload_to_text_with_response_key(self) -> None: method test_create_session_id_with_thread_id (line 1236) | def test_create_session_id_with_thread_id(self) -> None: method test_resolve_thread_id_from_body (line 1249) | def test_resolve_thread_id_from_body(self) -> None: method test_select_body_parser_json_content_type (line 1261) | def test_select_body_parser_json_content_type(self) -> None: method test_accepts_json_response_with_accept_header (line 1275) | def test_accepts_json_response_with_accept_header(self) -> None: method test_parse_json_body_invalid_type (line 1289) | def test_parse_json_body_invalid_type(self) -> None: method test_coerce_to_bool_with_none (line 1302) | def test_coerce_to_bool_with_none(self) -> None: class TestAgentFunctionAppWorkflow (line 1321) | class TestAgentFunctionAppWorkflow: method test_init_with_workflow_stores_workflow (line 1324) | def test_init_with_workflow_stores_workflow(self) -> None: method test_init_with_workflow_extracts_agents (line 1337) | def test_init_with_workflow_extracts_agents(self) -> None: method test_init_with_workflow_calls_setup_methods (line 1359) | def test_init_with_workflow_calls_setup_methods(self) -> None: method test_init_without_workflow_does_not_call_workflow_setup (line 1377) | def test_init_without_workflow_does_not_call_workflow_setup(self) -> N... method test_init_with_workflow_deduplicates_agents (line 1391) | def test_init_with_workflow_deduplicates_agents(self) -> None: method test_build_status_url (line 1414) | def test_build_status_url(self) -> None: method test_build_status_url_handles_trailing_slash (line 1429) | def test_build_status_url_handles_trailing_slash(self) -> None: function _compute_state_updates (line 1445) | def _compute_state_updates(original_snapshot: dict[str, Any], current_st... class TestStateSnapshotDiff (line 1459) | class TestStateSnapshotDiff: method test_nested_dict_mutation_detected_in_diff (line 1468) | def test_nested_dict_mutation_detected_in_diff(self) -> None: method test_new_key_in_nested_dict_detected_in_diff (line 1497) | def test_new_key_in_nested_dict_detected_in_diff(self) -> None: method test_nested_list_mutation_detected_in_diff (line 1523) | def test_nested_list_mutation_detected_in_diff(self) -> None: method test_new_top_level_key_detected_in_diff (line 1549) | def test_new_top_level_key_detected_in_diff(self) -> None: method test_unchanged_nested_state_produces_empty_diff (line 1574) | def test_unchanged_nested_state_produces_empty_diff(self) -> None: method test_shallow_copy_would_miss_nested_mutations (line 1598) | def test_shallow_copy_would_miss_nested_mutations(self) -> None: method test_create_state_snapshot_isolates_nested_objects (line 1629) | def test_create_state_snapshot_isolates_nested_objects(self) -> None: method test_executor_activity_detects_nested_state_mutations (line 1652) | def test_executor_activity_detects_nested_state_mutations(self) -> None: FILE: python/packages/azurefunctions/tests/test_entities.py function _agent_response (line 20) | def _agent_response(text: str | None) -> AgentResponse: class TestCreateAgentEntity (line 26) | class TestCreateAgentEntity: method test_create_agent_entity_returns_callable (line 29) | def test_create_agent_entity_returns_callable(self) -> None: method test_entity_function_handles_run_agent (line 37) | def test_entity_function_handles_run_agent(self) -> None: method test_entity_function_handles_reset (line 61) | def test_entity_function_handles_reset(self) -> None: method test_entity_function_handles_unknown_operation (line 102) | def test_entity_function_handles_unknown_operation(self) -> None: method test_entity_function_creates_new_entity_on_first_call (line 121) | def test_entity_function_creates_new_entity_on_first_call(self) -> None: method test_entity_function_restores_existing_state (line 142) | def test_entity_function_restores_existing_state(self) -> None: method test_entity_function_handles_string_input (line 201) | def test_entity_function_handles_string_input(self) -> None: method test_entity_function_handles_none_input (line 222) | def test_entity_function_handles_none_input(self) -> None: method test_entity_function_handles_event_loop_runtime_error (line 242) | def test_entity_function_handles_event_loop_runtime_error(self) -> None: method test_entity_function_handles_running_event_loop (line 275) | def test_entity_function_handles_running_event_loop(self) -> None: FILE: python/packages/azurefunctions/tests/test_errors.py class TestIncomingRequestError (line 10) | class TestIncomingRequestError: method test_incoming_request_error_default_status_code (line 13) | def test_incoming_request_error_default_status_code(self) -> None: method test_incoming_request_error_custom_status_code (line 20) | def test_incoming_request_error_custom_status_code(self) -> None: method test_incoming_request_error_is_value_error (line 27) | def test_incoming_request_error_is_value_error(self) -> None: method test_incoming_request_error_can_be_raised_and_caught (line 33) | def test_incoming_request_error_can_be_raised_and_caught(self) -> None: FILE: python/packages/azurefunctions/tests/test_func_utils.py class SampleData (line 30) | class SampleData: class SampleModel (line 37) | class SampleModel(BaseModel): class DataclassWithPydanticField (line 45) | class DataclassWithPydanticField: class TestCapturingRunnerContext (line 52) | class TestCapturingRunnerContext: method context (line 56) | def context(self) -> CapturingRunnerContext: method test_send_message_captures_message (line 61) | async def test_send_message_captures_message(self, context: CapturingR... method test_send_multiple_messages_groups_by_source (line 73) | async def test_send_multiple_messages_groups_by_source(self, context: ... method test_drain_messages_clears_messages (line 88) | async def test_drain_messages_clears_messages(self, context: Capturing... method test_has_messages_returns_correct_status (line 99) | async def test_has_messages_returns_correct_status(self, context: Capt... method test_add_event_queues_event (line 108) | async def test_add_event_queues_event(self, context: CapturingRunnerCo... method test_drain_events_clears_queue (line 121) | async def test_drain_events_clears_queue(self, context: CapturingRunne... method test_has_events_returns_correct_status (line 131) | async def test_has_events_returns_correct_status(self, context: Captur... method test_next_event_waits_for_event (line 140) | async def test_next_event_waits_for_event(self, context: CapturingRunn... method test_has_checkpointing_returns_false (line 149) | def test_has_checkpointing_returns_false(self, context: CapturingRunne... method test_is_streaming_returns_false_by_default (line 153) | def test_is_streaming_returns_false_by_default(self, context: Capturin... method test_set_streaming (line 157) | def test_set_streaming(self, context: CapturingRunnerContext) -> None: method test_set_workflow_id (line 165) | def test_set_workflow_id(self, context: CapturingRunnerContext) -> None: method test_reset_for_new_run_clears_state (line 171) | async def test_reset_for_new_run_clears_state(self, context: Capturing... method test_create_checkpoint_raises_not_implemented (line 184) | async def test_create_checkpoint_raises_not_implemented(self, context:... method test_load_checkpoint_raises_not_implemented (line 192) | async def test_load_checkpoint_raises_not_implemented(self, context: C... method test_apply_checkpoint_raises_not_implemented (line 198) | async def test_apply_checkpoint_raises_not_implemented(self, context: ... class TestSerializationRoundtrip (line 204) | class TestSerializationRoundtrip: method test_roundtrip_chat_message (line 207) | def test_roundtrip_chat_message(self) -> None: method test_roundtrip_agent_executor_request (line 216) | def test_roundtrip_agent_executor_request(self) -> None: method test_roundtrip_agent_executor_response (line 230) | def test_roundtrip_agent_executor_response(self) -> None: method test_roundtrip_dataclass (line 244) | def test_roundtrip_dataclass(self) -> None: method test_roundtrip_pydantic_model (line 254) | def test_roundtrip_pydantic_model(self) -> None: method test_roundtrip_primitives (line 264) | def test_roundtrip_primitives(self) -> None: method test_roundtrip_list_of_objects (line 272) | def test_roundtrip_list_of_objects(self) -> None: method test_roundtrip_dict_of_objects (line 285) | def test_roundtrip_dict_of_objects(self) -> None: method test_roundtrip_dataclass_with_nested_pydantic (line 294) | def test_roundtrip_dataclass_with_nested_pydantic(self) -> None: class TestReconstructToType (line 311) | class TestReconstructToType: method test_none_returns_none (line 314) | def test_none_returns_none(self) -> None: method test_already_correct_type (line 318) | def test_already_correct_type(self) -> None: method test_non_dict_returns_original (line 323) | def test_non_dict_returns_original(self) -> None: method test_reconstruct_pydantic_model (line 328) | def test_reconstruct_pydantic_model(self) -> None: method test_reconstruct_dataclass (line 342) | def test_reconstruct_dataclass(self) -> None: method test_reconstruct_from_checkpoint_markers (line 357) | def test_reconstruct_from_checkpoint_markers(self) -> None: method test_unrecognized_dict_returns_original (line 370) | def test_unrecognized_dict_returns_original(self) -> None: method test_reconstruct_strips_injected_pickle_markers (line 382) | def test_reconstruct_strips_injected_pickle_markers(self) -> None: class TestStripPickleMarkers (line 393) | class TestStripPickleMarkers: method test_strips_top_level_pickle_marker (line 397) | def test_strips_top_level_pickle_marker(self) -> None: method test_strips_top_level_type_marker_only (line 402) | def test_strips_top_level_type_marker_only(self) -> None: method test_strips_nested_pickle_marker (line 407) | def test_strips_nested_pickle_marker(self) -> None: method test_strips_pickle_marker_in_list (line 413) | def test_strips_pickle_marker_in_list(self) -> None: method test_strips_deeply_nested_marker (line 419) | def test_strips_deeply_nested_marker(self) -> None: method test_preserves_safe_dict (line 425) | def test_preserves_safe_dict(self) -> None: method test_preserves_primitives (line 430) | def test_preserves_primitives(self) -> None: method test_preserves_safe_list (line 437) | def test_preserves_safe_list(self) -> None: method test_mixed_safe_and_malicious (line 442) | def test_mixed_safe_and_malicious(self) -> None: FILE: python/packages/azurefunctions/tests/test_multi_agent.py class TestMultiAgentInit (line 12) | class TestMultiAgentInit: method test_init_with_agents_list (line 15) | def test_init_with_agents_list(self) -> None: method test_init_with_empty_agents_list (line 30) | def test_init_with_empty_agents_list(self) -> None: method test_init_with_no_agents (line 36) | def test_init_with_no_agents(self) -> None: method test_init_with_duplicate_agent_names (line 42) | def test_init_with_duplicate_agent_names(self) -> None: method test_init_with_agent_without_name (line 55) | def test_init_with_agent_without_name(self) -> None: class TestAddAgentMethod (line 65) | class TestAddAgentMethod: method test_add_agent_to_empty_app (line 68) | def test_add_agent_to_empty_app(self) -> None: method test_add_multiple_agents (line 81) | def test_add_multiple_agents(self) -> None: method test_add_agent_with_duplicate_name_skips (line 97) | def test_add_agent_with_duplicate_name_skips(self) -> None: method test_add_agent_to_app_with_existing_agents (line 112) | def test_add_agent_to_app_with_existing_agents(self) -> None: method test_add_agent_without_name_raises_error (line 126) | def test_add_agent_without_name_raises_error(self) -> None: class TestHealthCheckWithMultipleAgents (line 136) | class TestHealthCheckWithMultipleAgents: method test_health_check_returns_all_agents (line 139) | def test_health_check_returns_all_agents(self) -> None: FILE: python/packages/azurefunctions/tests/test_orchestration.py function _app_with_registered_agents (line 17) | def _app_with_registered_agents(*agent_names: str) -> AgentFunctionApp: class _FakeTask (line 26) | class _FakeTask(TaskBase): method __init__ (line 29) | def __init__(self, task_id: int = 1): function _create_entity_task (line 36) | def _create_entity_task(task_id: int = 1) -> TaskBase: function mock_context (line 42) | def mock_context(): function mock_context_with_uuid (line 51) | def mock_context_with_uuid() -> tuple[Mock, str]: function mock_context_with_multiple_uuids (line 64) | def mock_context_with_multiple_uuids() -> tuple[Mock, list[str]]: function executor_with_uuid (line 83) | def executor_with_uuid() -> tuple[Any, Mock, str]: function executor_with_multiple_uuids (line 99) | def executor_with_multiple_uuids() -> tuple[Any, Mock, list[str]]: function executor_with_context (line 121) | def executor_with_context(mock_context_with_uuid: tuple[Mock, str]) -> t... class TestAgentResponseHelpers (line 129) | class TestAgentResponseHelpers: method test_try_set_value_exception_handling (line 132) | def test_try_set_value_exception_handling(self) -> None: method test_try_set_value_success (line 151) | def test_try_set_value_success(self) -> None: method test_try_set_value_failure (line 171) | def test_try_set_value_failure(self) -> None: method test_try_set_value_with_response_format (line 188) | def test_try_set_value_with_response_format(self) -> None: class TestAgentFunctionAppGetAgent (line 215) | class TestAgentFunctionAppGetAgent: method test_get_agent_raises_for_unregistered_agent (line 218) | def test_get_agent_raises_for_unregistered_agent(self) -> None: class TestAzureFunctionsFireAndForget (line 226) | class TestAzureFunctionsFireAndForget: method test_fire_and_forget_calls_signal_entity (line 229) | def test_fire_and_forget_calls_signal_entity(self, executor_with_uuid:... method test_fire_and_forget_returns_completed_task (line 248) | def test_fire_and_forget_returns_completed_task(self, executor_with_uu... method test_fire_and_forget_returns_acceptance_response (line 262) | def test_fire_and_forget_returns_acceptance_response(self, executor_wi... method test_blocking_mode_still_works (line 282) | def test_blocking_mode_still_works(self, executor_with_uuid: tuple[Any... class TestAzureFunctionsAgentExecutor (line 301) | class TestAzureFunctionsAgentExecutor: method test_generate_unique_id (line 304) | def test_generate_unique_id(self, mock_context_with_uuid: tuple[Mock, ... class TestOrchestrationIntegration (line 322) | class TestOrchestrationIntegration: method test_sequential_agent_calls_simulation (line 325) | def test_sequential_agent_calls_simulation(self, executor_with_multipl... method test_multiple_agents_in_orchestration (line 361) | def test_multiple_agents_in_orchestration(self, executor_with_multiple... FILE: python/packages/azurefunctions/tests/test_workflow.py class TestRouteMessageThroughEdgeGroups (line 31) | class TestRouteMessageThroughEdgeGroups: method test_single_edge_group_routes_when_condition_matches (line 34) | def test_single_edge_group_routes_when_condition_matches(self) -> None: method test_single_edge_group_does_not_route_when_condition_fails (line 42) | def test_single_edge_group_does_not_route_when_condition_fails(self) -... method test_single_edge_group_ignores_different_source (line 50) | def test_single_edge_group_ignores_different_source(self) -> None: method test_switch_case_with_selection_func (line 58) | def test_switch_case_with_selection_func(self) -> None: method test_switch_case_without_selection_func_broadcasts (line 78) | def test_switch_case_without_selection_func_broadcasts(self) -> None: method test_fan_out_with_selection_func (line 93) | def test_fan_out_with_selection_func(self) -> None: method test_fan_in_is_not_routed_directly (line 109) | def test_fan_in_is_not_routed_directly(self) -> None: method test_multiple_edge_groups_aggregated (line 121) | def test_multiple_edge_groups_aggregated(self) -> None: class TestBuildAgentExecutorResponse (line 131) | class TestBuildAgentExecutorResponse: method test_builds_response_with_text (line 134) | def test_builds_response_with_text(self) -> None: method test_builds_response_with_structured_response (line 147) | def test_builds_response_with_structured_response(self) -> None: method test_conversation_includes_previous_string_message (line 161) | def test_conversation_includes_previous_string_message(self) -> None: method test_conversation_extends_previous_agent_executor_response (line 175) | def test_conversation_extends_previous_agent_executor_response(self) -... class TestExtractMessageContent (line 201) | class TestExtractMessageContent: method test_extract_from_string (line 204) | def test_extract_from_string(self) -> None: method test_extract_from_agent_executor_response_with_text (line 210) | def test_extract_from_agent_executor_response_with_text(self) -> None: method test_extract_from_agent_executor_response_with_messages (line 222) | def test_extract_from_agent_executor_response_with_messages(self) -> N... method test_extract_from_agent_executor_request (line 243) | def test_extract_from_agent_executor_request(self) -> None: method test_extract_from_dict_returns_empty (line 256) | def test_extract_from_dict_returns_empty(self) -> None: method test_extract_returns_empty_for_unknown_type (line 264) | def test_extract_returns_empty_for_unknown_type(self) -> None: class TestEdgeGroupIntegration (line 271) | class TestEdgeGroupIntegration: method test_conditional_routing_by_message_type (line 274) | def test_conditional_routing_by_message_type(self) -> None: method test_fan_out_to_multiple_workers (line 313) | def test_fan_out_to_multiple_workers(self) -> None: FILE: python/packages/bedrock/agent_framework_bedrock/_chat_client.py class BedrockGuardrailConfig (line 74) | class BedrockGuardrailConfig(TypedDict, total=False): class BedrockChatOptions (line 93) | class BedrockChatOptions(ChatOptions[ResponseModelT], Generic[ResponseMo... class BedrockSettings (line 208) | class BedrockSettings(TypedDict, total=False): class BedrockChatClient (line 218) | class BedrockChatClient( method __init__ (line 229) | def __init__( method _create_session (line 314) | def _create_session(settings: BedrockSettings) -> Boto3Session: method _invoke_converse (line 326) | def _invoke_converse(self, request: Mapping[str, Any]) -> dict[str, Any]: method _inner_get_response (line 333) | def _inner_get_response( method _prepare_options (line 372) | def _prepare_options( method _prepare_bedrock_messages (line 429) | def _prepare_bedrock_messages( method _align_tool_results_with_pending (line 465) | def _align_tool_results_with_pending( method _convert_message_to_content_blocks (line 502) | def _convert_message_to_content_blocks(self, message: Message) -> list... method _convert_content_to_bedrock_block (line 512) | def _convert_content_to_bedrock_block(self, content: Content) -> dict[... method _convert_tool_result_to_blocks (line 561) | def _convert_tool_result_to_blocks(self, result: Any) -> list[dict[str... method _convert_prepared_tool_result_to_blocks (line 575) | def _convert_prepared_tool_result_to_blocks(self, value: object) -> li... method _normalize_tool_result_value (line 583) | def _normalize_tool_result_value(self, value: object) -> dict[str, Any]: method _prepare_tools (line 601) | def _prepare_tools(self, tools: list[FunctionTool | MutableMapping[str... method _generate_tool_call_id (line 622) | def _generate_tool_call_id() -> str: method _process_converse_response (line 625) | def _process_converse_response(self, response: dict[str, Any]) -> Chat... method _parse_usage (line 646) | def _parse_usage(self, usage: dict[str, Any] | None) -> UsageDetails |... method _parse_message_contents (line 658) | def _parse_message_contents(self, content_blocks: Sequence[dict[str, A... method _map_finish_reason (line 720) | def _map_finish_reason(self, reason: str | None) -> FinishReasonLitera... method service_url (line 725) | def service_url(self) -> str: method _convert_bedrock_tool_result_to_value (line 733) | def _convert_bedrock_tool_result_to_value(self, content: object) -> ob... FILE: python/packages/bedrock/agent_framework_bedrock/_embedding_client.py class BedrockEmbeddingSettings (line 38) | class BedrockEmbeddingSettings(TypedDict, total=False): class BedrockEmbeddingOptions (line 48) | class BedrockEmbeddingOptions(EmbeddingGenerationOptions, total=False): class RawBedrockEmbeddingClient (line 76) | class RawBedrockEmbeddingClient( method __init__ (line 97) | def __init__( method service_url (line 150) | def service_url(self) -> str: method get_embeddings (line 154) | async def get_embeddings( method _generate_embedding_for_text (line 198) | async def _generate_embedding_for_text( class BedrockEmbeddingClient (line 227) | class BedrockEmbeddingClient( method __init__ (line 266) | def __init__( FILE: python/packages/bedrock/tests/bedrock/test_bedrock_embedding_client.py class _StubBedrockEmbeddingRuntime (line 16) | class _StubBedrockEmbeddingRuntime: method __init__ (line 19) | def __init__(self) -> None: method invoke_model (line 23) | def invoke_model(self, **kwargs: Any) -> dict[str, Any]: function test_bedrock_embedding_construction (line 38) | async def test_bedrock_embedding_construction() -> None: function test_bedrock_embedding_construction_missing_model_raises (line 50) | async def test_bedrock_embedding_construction_missing_model_raises(monke... function test_bedrock_embedding_get_embeddings (line 59) | async def test_bedrock_embedding_get_embeddings() -> None: function test_bedrock_embedding_get_embeddings_empty_input (line 83) | async def test_bedrock_embedding_get_embeddings_empty_input() -> None: function test_bedrock_embedding_get_embeddings_with_options (line 99) | async def test_bedrock_embedding_get_embeddings_with_options() -> None: function test_bedrock_embedding_get_embeddings_no_model_raises (line 122) | async def test_bedrock_embedding_get_embeddings_no_model_raises() -> None: function test_bedrock_embedding_default_region (line 136) | async def test_bedrock_embedding_default_region() -> None: function test_bedrock_embedding_integration (line 158) | async def test_bedrock_embedding_integration() -> None: FILE: python/packages/bedrock/tests/test_bedrock_client.py class _StubBedrockRuntime (line 13) | class _StubBedrockRuntime: method __init__ (line 14) | def __init__(self) -> None: method converse (line 17) | def converse(self, **kwargs: Any) -> dict[str, Any]: function _make_client (line 34) | def _make_client() -> BedrockChatClient: function test_get_response_invokes_bedrock_runtime (line 43) | async def test_get_response_invokes_bedrock_runtime() -> None: function test_build_request_requires_non_system_messages (line 66) | def test_build_request_requires_non_system_messages() -> None: function test_prepare_options_tool_choice_none_omits_tool_config (line 79) | def test_prepare_options_tool_choice_none_omits_tool_config() -> None: function test_prepare_options_tool_choice_auto_includes_tool_config (line 106) | def test_prepare_options_tool_choice_auto_includes_tool_config() -> None: function test_prepare_options_tool_choice_required_includes_any (line 124) | def test_prepare_options_tool_choice_required_includes_any() -> None: FILE: python/packages/bedrock/tests/test_bedrock_settings.py class _WeatherArgs (line 20) | class _WeatherArgs(BaseModel): function _build_client (line 24) | def _build_client() -> BedrockChatClient: function _dummy_weather (line 30) | def _dummy_weather(location: str) -> str: # pragma: no cover - helper function test_settings_load_from_environment (line 34) | def test_settings_load_from_environment(monkeypatch: pytest.MonkeyPatch)... function test_build_request_includes_tool_config (line 42) | def test_build_request_includes_tool_config() -> None: function test_build_request_serializes_tool_history (line 58) | def test_build_request_serializes_tool_history() -> None: function test_process_response_parses_tool_use_and_result (line 85) | def test_process_response_parses_tool_use_and_result() -> None: function test_process_response_parses_tool_result (line 110) | def test_process_response_parses_tool_result() -> None: FILE: python/packages/chatkit/agent_framework_chatkit/_converter.py class ThreadItemConverter (line 41) | class ThreadItemConverter: method __init__ (line 54) | def __init__( method user_message_to_input (line 65) | async def user_message_to_input( method attachment_to_message_content (line 126) | async def attachment_to_message_content(self, attachment: Attachment) ... method hidden_context_to_input (line 182) | def hidden_context_to_input(self, item: HiddenContextItem | SDKHiddenC... method tag_to_message_content (line 218) | def tag_to_message_content(self, tag: UserMessageTagContent) -> Content: method task_to_input (line 251) | def task_to_input(self, item: TaskItem) -> Message | list[Message] | N... method workflow_to_input (line 297) | def workflow_to_input(self, item: WorkflowItem) -> Message | list[Mess... method widget_to_input (line 354) | def widget_to_input(self, item: WidgetItem) -> Message | list[Message]... method assistant_message_to_input (line 397) | async def assistant_message_to_input(self, item: AssistantMessageItem)... method client_tool_call_to_input (line 420) | async def client_tool_call_to_input(self, item: ClientToolCallItem) ->... method end_of_turn_to_input (line 467) | async def end_of_turn_to_input(self, item: EndOfTurnItem) -> Message |... method _thread_item_to_input_item (line 485) | async def _thread_item_to_input_item( method to_agent_input (line 533) | async def to_agent_input( function simple_to_agent_input (line 585) | async def simple_to_agent_input(thread_items: Sequence[ThreadItem] | Thr... FILE: python/packages/chatkit/agent_framework_chatkit/_streaming.py function stream_agent_response (line 21) | async def stream_agent_response( FILE: python/packages/chatkit/tests/test_converter.py class TestThreadItemConverter (line 14) | class TestThreadItemConverter: method converter (line 18) | def converter(self): method test_to_agent_input_none (line 22) | async def test_to_agent_input_none(self, converter): method test_to_agent_input_with_text (line 27) | async def test_to_agent_input_with_text(self, converter): method test_to_agent_input_empty_text (line 50) | async def test_to_agent_input_empty_text(self, converter): method test_to_agent_input_no_content (line 69) | async def test_to_agent_input_no_content(self, converter): method test_to_agent_input_multiple_content_parts (line 88) | async def test_to_agent_input_multiple_content_parts(self, converter): method test_hidden_context_to_input (line 112) | def test_hidden_context_to_input(self, converter): method test_tag_to_message_content (line 123) | def test_tag_to_message_content(self, converter): method test_tag_to_message_content_no_name (line 140) | def test_tag_to_message_content_no_name(self, converter): method test_attachment_to_message_content_file_without_fetcher (line 156) | async def test_attachment_to_message_content_file_without_fetcher(self... method test_attachment_to_message_content_image_with_preview_url (line 170) | async def test_attachment_to_message_content_image_with_preview_url(se... method test_attachment_to_message_content_with_data_fetcher (line 187) | async def test_attachment_to_message_content_with_data_fetcher(self): method test_to_agent_input_with_image_attachment (line 208) | async def test_to_agent_input_with_image_attachment(self): method test_to_agent_input_with_file_attachment_and_fetcher (line 249) | async def test_to_agent_input_with_file_attachment_and_fetcher(self): method test_task_to_input (line 290) | def test_task_to_input(self, converter): method test_task_to_input_no_custom_task (line 310) | def test_task_to_input_no_custom_task(self, converter): method test_workflow_to_input (line 327) | def test_workflow_to_input(self, converter): method test_workflow_to_input_empty (line 354) | def test_workflow_to_input_empty(self, converter): method test_widget_to_input (line 371) | def test_widget_to_input(self, converter): class TestSimpleToAgentInput (line 393) | class TestSimpleToAgentInput: method test_simple_to_agent_input_empty_list (line 396) | async def test_simple_to_agent_input_empty_list(self): method test_simple_to_agent_input_with_text (line 401) | async def test_simple_to_agent_input_with_text(self): FILE: python/packages/chatkit/tests/test_streaming.py class TestStreamAgentResponse (line 17) | class TestStreamAgentResponse: method test_stream_empty_response (line 20) | async def test_stream_empty_response(self): method test_stream_single_text_update (line 33) | async def test_stream_single_text_update(self): method test_stream_multiple_text_updates (line 58) | async def test_stream_multiple_text_updates(self): method test_stream_with_custom_id_generator (line 87) | async def test_stream_with_custom_id_generator(self): method test_stream_empty_content_updates (line 106) | async def test_stream_empty_content_updates(self): method test_stream_non_text_content (line 125) | async def test_stream_non_text_content(self): FILE: python/packages/claude/agent_framework_claude/_agent.py class ClaudeAgentSettings (line 76) | class ClaudeAgentSettings(TypedDict, total=False): class ClaudeAgentOptions (line 100) | class ClaudeAgentOptions(TypedDict, total=False): class RawClaudeAgent (line 187) | class RawClaudeAgent(BaseAgent, Generic[OptionsT]): method __init__ (line 218) | def __init__( method _normalize_tools (line 302) | def _normalize_tools( method __aenter__ (line 326) | async def __aenter__(self) -> RawClaudeAgent[OptionsT]: method __aexit__ (line 331) | async def __aexit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) ->... method start (line 335) | async def start(self) -> None: method stop (line 347) | async def stop(self) -> None: method _ensure_session (line 360) | async def _ensure_session(self, session_id: str | None = None) -> None: method _prepare_client_options (line 392) | def _prepare_client_options(self, resume_session_id: str | None = None... method _prepare_tools (line 452) | def _prepare_tools( method _function_tool_to_sdk_mcp_tool (line 481) | def _function_tool_to_sdk_mcp_tool(self, func_tool: FunctionTool) -> S... method _apply_runtime_options (line 530) | async def _apply_runtime_options(self, options: dict[str, Any] | None)... method _format_prompt (line 547) | def _format_prompt(self, messages: list[Message] | None) -> str: method default_options (line 561) | def default_options(self) -> dict[str, Any]: method _finalize_response (line 574) | def _finalize_response(self, updates: Sequence[AgentResponseUpdate]) -... method run (line 587) | def run( method run (line 598) | def run( method run (line 608) | def run( method _get_stream (line 644) | async def _get_stream( class ClaudeAgent (line 730) | class ClaudeAgent(AgentTelemetryLayer, RawClaudeAgent[OptionsT], Generic... FILE: python/packages/claude/tests/test_claude_agent.py class TestClaudeAgentSettings (line 16) | class TestClaudeAgentSettings: method test_default_values (line 19) | def test_default_values(self) -> None: method test_explicit_values (line 29) | def test_explicit_values(self) -> None: method test_env_variable_loading (line 48) | def test_env_variable_loading(self, monkeypatch: pytest.MonkeyPatch) -... class TestClaudeAgentInit (line 60) | class TestClaudeAgentInit: method test_default_initialization (line 63) | def test_default_initialization(self) -> None: method test_with_name_and_description (line 70) | def test_with_name_and_description(self) -> None: method test_with_instructions_parameter (line 76) | def test_with_instructions_parameter(self) -> None: method test_with_system_prompt_in_options (line 81) | def test_with_system_prompt_in_options(self) -> None: method test_with_default_options (line 89) | def test_with_default_options(self) -> None: method test_with_function_tool (line 101) | def test_with_function_tool(self) -> None: method test_with_single_tool (line 112) | def test_with_single_tool(self) -> None: method test_with_builtin_tools (line 123) | def test_with_builtin_tools(self) -> None: method test_with_mixed_tools (line 129) | def test_with_mixed_tools(self) -> None: class TestClaudeAgentLifecycle (line 145) | class TestClaudeAgentLifecycle: method test_custom_tools_stored_from_constructor (line 148) | def test_custom_tools_stored_from_constructor(self) -> None: method test_multiple_custom_tools (line 159) | def test_multiple_custom_tools(self) -> None: method test_no_tools (line 175) | def test_no_tools(self) -> None: class TestClaudeAgentRun (line 185) | class TestClaudeAgentRun: method _create_async_generator (line 189) | async def _create_async_generator(items: list[Any]) -> Any: method _create_mock_client (line 194) | def _create_mock_client(self, messages: list[Any]) -> MagicMock: method test_run_with_string_message (line 205) | async def test_run_with_string_message(self) -> None: method test_run_captures_session_id (line 239) | async def test_run_captures_session_id(self) -> None: method test_run_with_session (line 274) | async def test_run_with_session(self) -> None: class TestClaudeAgentRunStream (line 313) | class TestClaudeAgentRunStream: method _create_async_generator (line 317) | async def _create_async_generator(items: list[Any]) -> Any: method _create_mock_client (line 322) | def _create_mock_client(self, messages: list[Any]) -> MagicMock: method test_run_stream_yields_updates (line 333) | async def test_run_stream_yields_updates(self) -> None: method test_run_stream_raises_on_assistant_message_error (line 381) | async def test_run_stream_raises_on_assistant_message_error(self) -> N... method test_run_stream_raises_on_result_message_error (line 411) | async def test_run_stream_raises_on_result_message_error(self) -> None: class TestClaudeAgentSessionManagement (line 440) | class TestClaudeAgentSessionManagement: method test_create_session (line 443) | def test_create_session(self) -> None: method test_create_session_with_service_session_id (line 450) | def test_create_session_with_service_session_id(self) -> None: method test_ensure_session_creates_client (line 456) | async def test_ensure_session_creates_client(self) -> None: method test_ensure_session_recreates_for_different_session (line 469) | async def test_ensure_session_recreates_for_different_session(self) ->... method test_ensure_session_reuses_for_same_session (line 492) | async def test_ensure_session_reuses_for_same_session(self) -> None: class TestClaudeAgentToolConversion (line 514) | class TestClaudeAgentToolConversion: method test_prepare_tools_creates_mcp_server (line 517) | def test_prepare_tools_creates_mcp_server(self) -> None: method test_function_tool_to_sdk_mcp_tool (line 532) | def test_function_tool_to_sdk_mcp_tool(self) -> None: method test_function_tool_to_sdk_mcp_tool_preserves_defs_for_nested_types (line 548) | def test_function_tool_to_sdk_mcp_tool_preserves_defs_for_nested_types... method test_tool_handler_success (line 575) | async def test_tool_handler_success(self) -> None: method test_tool_handler_error (line 589) | async def test_tool_handler_error(self) -> None: class TestClaudeAgentPermissions (line 608) | class TestClaudeAgentPermissions: method test_default_permission_mode (line 611) | def test_default_permission_mode(self) -> None: method test_permission_mode_from_settings (line 616) | def test_permission_mode_from_settings(self, monkeypatch: pytest.Monke... method test_permission_mode_in_options (line 622) | def test_permission_mode_in_options(self) -> None: class TestClaudeAgentErrorHandling (line 634) | class TestClaudeAgentErrorHandling: method _empty_gen (line 638) | async def _empty_gen() -> Any: method test_handles_empty_response (line 643) | async def test_handles_empty_response(self) -> None: class TestFormatPrompt (line 662) | class TestFormatPrompt: method test_format_empty_messages (line 665) | def test_format_empty_messages(self) -> None: method test_format_none_messages (line 671) | def test_format_none_messages(self) -> None: method test_format_user_message (line 677) | def test_format_user_message(self) -> None: method test_format_multiple_messages (line 687) | def test_format_multiple_messages(self) -> None: class TestPrepareClientOptions (line 704) | class TestPrepareClientOptions: method test_prepare_client_options_with_settings (line 707) | def test_prepare_client_options_with_settings(self, monkeypatch: pytes... method test_prepare_client_options_with_instructions (line 721) | def test_prepare_client_options_with_instructions(self) -> None: method test_prepare_client_options_includes_custom_tools (line 731) | def test_prepare_client_options_includes_custom_tools(self) -> None: class TestApplyRuntimeOptions (line 749) | class TestApplyRuntimeOptions: method test_apply_runtime_model (line 752) | async def test_apply_runtime_model(self) -> None: method test_apply_runtime_permission_mode (line 764) | async def test_apply_runtime_permission_mode(self) -> None: method test_apply_runtime_options_none (line 776) | async def test_apply_runtime_options_none(self) -> None: class TestClaudeAgentStructuredOutput (line 793) | class TestClaudeAgentStructuredOutput: method _create_async_generator (line 797) | async def _create_async_generator(items: list[Any]) -> Any: method _create_mock_client (line 802) | def _create_mock_client(self, messages: list[Any]) -> MagicMock: method test_structured_output_propagated_to_response (line 813) | async def test_structured_output_propagated_to_response(self) -> None: method test_structured_output_none_when_not_present (line 849) | async def test_structured_output_none_when_not_present(self) -> None: method test_structured_output_with_streaming (line 883) | async def test_structured_output_with_streaming(self) -> None: method test_structured_output_with_error_does_not_propagate (line 924) | async def test_structured_output_with_error_does_not_propagate(self) -... class TestClaudeAgentTelemetry (line 953) | class TestClaudeAgentTelemetry: method _create_async_generator (line 957) | async def _create_async_generator(items: list[Any]) -> Any: method _create_mock_client (line 962) | def _create_mock_client(self, messages: list[Any]) -> MagicMock: method _create_standard_messages (line 973) | def _create_standard_messages(self) -> list[Any]: method test_run_emits_span_when_instrumentation_enabled (line 1001) | async def test_run_emits_span_when_instrumentation_enabled(self, monke... method test_run_skips_telemetry_when_instrumentation_disabled (line 1027) | async def test_run_skips_telemetry_when_instrumentation_disabled(self,... method test_run_stream_emits_span_when_instrumentation_enabled (line 1046) | async def test_run_stream_emits_span_when_instrumentation_enabled(self... method test_run_captures_exception_in_span (line 1075) | async def test_run_captures_exception_in_span(self, monkeypatch: pytes... method test_telemetry_uses_correct_provider_name (line 1114) | async def test_telemetry_uses_correct_provider_name(self, monkeypatch:... FILE: python/packages/copilotstudio/agent_framework_copilotstudio/_acquire_token.py function acquire_token (line 18) | def acquire_token( FILE: python/packages/copilotstudio/agent_framework_copilotstudio/_agent.py class CopilotStudioSettings (line 28) | class CopilotStudioSettings(TypedDict, total=False): class CopilotStudioAgent (line 52) | class CopilotStudioAgent(BaseAgent): method __init__ (line 55) | def __init__( method run (line 193) | def run( method run (line 202) | def run( method run (line 210) | def run( method _run_impl (line 238) | async def _run_impl( method _run_stream_impl (line 262) | def _run_stream_impl( method _start_new_conversation (line 297) | async def _start_new_conversation(self) -> str: method _process_activities (line 317) | async def _process_activities(self, activities: AsyncIterable[Any], st... FILE: python/packages/copilotstudio/tests/conftest.py function exclude_list (line 11) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 17) | def override_env_param_dict(request: Any) -> dict[str, str]: function copilot_studio_unit_test_env (line 23) | def copilot_studio_unit_test_env(monkeypatch, exclude_list, override_env... function mock_copilot_client (line 51) | def mock_copilot_client() -> MagicMock: function mock_pca (line 57) | def mock_pca() -> MagicMock: function mock_activity (line 76) | def mock_activity() -> MagicMock: function mock_conversation (line 87) | def mock_conversation() -> MagicMock: FILE: python/packages/copilotstudio/tests/test_acquire_token.py class TestAcquireToken (line 11) | class TestAcquireToken: method test_acquire_token_missing_client_id (line 14) | def test_acquire_token_missing_client_id(self) -> None: method test_acquire_token_missing_tenant_id (line 19) | def test_acquire_token_missing_tenant_id(self) -> None: method test_acquire_token_none_client_id (line 24) | def test_acquire_token_none_client_id(self) -> None: method test_acquire_token_none_tenant_id (line 29) | def test_acquire_token_none_tenant_id(self) -> None: method test_acquire_token_silent_success (line 35) | def test_acquire_token_silent_success(self, mock_pca_class: MagicMock)... method test_acquire_token_silent_success_with_username (line 61) | def test_acquire_token_silent_success_with_username(self, mock_pca_cla... method test_acquire_token_silent_success_with_custom_scopes (line 83) | def test_acquire_token_silent_success_with_custom_scopes(self, mock_pc... method test_acquire_token_interactive_success_no_accounts (line 107) | def test_acquire_token_interactive_success_no_accounts(self, mock_pca_... method test_acquire_token_fallback_to_interactive_after_silent_fails (line 127) | def test_acquire_token_fallback_to_interactive_after_silent_fails(self... method test_acquire_token_fallback_to_interactive_after_silent_exception (line 153) | def test_acquire_token_fallback_to_interactive_after_silent_exception(... method test_acquire_token_interactive_error_response (line 178) | def test_acquire_token_interactive_error_response(self, mock_pca_class... method test_acquire_token_interactive_exception (line 196) | def test_acquire_token_interactive_exception(self, mock_pca_class: Mag... method test_acquire_token_with_token_cache (line 213) | def test_acquire_token_with_token_cache(self, mock_pca_class: MagicMoc... method test_default_scopes_constant (line 239) | def test_default_scopes_constant(self) -> None: FILE: python/packages/copilotstudio/tests/test_copilot_agent.py function create_async_generator (line 14) | def create_async_generator(items: list[Any]) -> Any: class TestCopilotStudioAgent (line 24) | class TestCopilotStudioAgent: method mock_activity (line 28) | def mock_activity(self) -> MagicMock: method mock_copilot_client (line 37) | def mock_copilot_client(self) -> MagicMock: method test_init_missing_environment_id (line 42) | def test_init_missing_environment_id(self, mock_load_settings: MagicMo... method test_init_missing_bot_id (line 56) | def test_init_missing_bot_id(self, mock_load_settings: MagicMock, mock... method test_init_missing_tenant_id (line 70) | def test_init_missing_tenant_id(self, mock_load_settings: MagicMock, m... method test_init_missing_client_id (line 84) | def test_init_missing_client_id(self, mock_load_settings: MagicMock, m... method test_init_with_client (line 96) | def test_init_with_client(self, mock_copilot_client: MagicMock) -> None: method test_init_empty_environment_id (line 102) | def test_init_empty_environment_id(self, mock_acquire_token: MagicMock... method test_init_empty_schema_name (line 116) | def test_init_empty_schema_name(self, mock_acquire_token: MagicMock) -... method test_run_with_string_message (line 129) | async def test_run_with_string_message(self, mock_copilot_client: Magi... method test_run_with_chat_message (line 148) | async def test_run_with_chat_message(self, mock_copilot_client: MagicM... method test_run_with_session (line 168) | async def test_run_with_session(self, mock_copilot_client: MagicMock, ... method test_run_start_conversation_failure (line 185) | async def test_run_start_conversation_failure(self, mock_copilot_clien... method test_run_streaming_with_string_message (line 194) | async def test_run_streaming_with_string_message(self, mock_copilot_cl... method test_run_streaming_with_session (line 220) | async def test_run_streaming_with_session(self, mock_copilot_client: M... method test_run_streaming_no_typing_activity (line 248) | async def test_run_streaming_no_typing_activity(self, mock_copilot_cli... method test_run_multiple_activities (line 269) | async def test_run_multiple_activities(self, mock_copilot_client: Magi... method test_run_list_of_messages (line 296) | async def test_run_list_of_messages(self, mock_copilot_client: MagicMo... method test_run_streaming_start_conversation_failure (line 312) | async def test_run_streaming_start_conversation_failure(self, mock_cop... FILE: python/packages/core/agent_framework/_agents.py function _merge_options (line 91) | def _merge_options(base: dict[str, Any], override: dict[str, Any]) -> di... function _sanitize_agent_name (line 127) | def _sanitize_agent_name(agent_name: str | None) -> str | None: class _RunContext (line 164) | class _RunContext(TypedDict): class SupportsAgentRun (line 181) | class SupportsAgentRun(Protocol): method run (line 243) | def run( method run (line 257) | def run( method run (line 270) | def run( method create_session (line 303) | def create_session(self, *, session_id: str | None = None) -> AgentSes... method get_session (line 307) | def get_session(self, service_session_id: str, *, session_id: str | No... class BaseAgent (line 315) | class BaseAgent(SerializationMixin): method __init__ (line 367) | def __init__( method create_session (line 411) | def create_session(self, *, session_id: str | None = None) -> AgentSes... method get_session (line 434) | def get_session(self, service_session_id: str, *, session_id: str | No... method _run_after_providers (line 451) | async def _run_after_providers( method as_tool (line 477) | def as_tool( class RawAgent (line 577) | class RawAgent(BaseAgent, Generic[OptionsCoT]): # type: ignore[misc] method __init__ (line 658) | def __init__( method __aenter__ (line 757) | async def __aenter__(self) -> Self: method __aexit__ (line 774) | async def __aexit__( method _update_agent_name_and_description (line 791) | def _update_agent_name_and_description(self) -> None: method run (line 803) | def run( method run (line 819) | def run( method run (line 835) | def run( method run (line 850) | def run( method _finalize_response_updates (line 1060) | def _finalize_response_updates( method _extract_conversation_id_from_streaming_response (line 1074) | def _extract_conversation_id_from_streaming_response( method _prepare_run_context (line 1097) | async def _prepare_run_context( method _finalize_response (line 1239) | async def _finalize_response( method _prepare_session_and_messages (line 1274) | async def _prepare_session_and_messages( method as_mcp_server (line 1348) | def as_mcp_server( method _get_agent_name (line 1462) | def _get_agent_name(self) -> str: class Agent (line 1471) | class Agent( method run (line 1487) | def run( method run (line 1499) | def run( method run (line 1510) | def run( method __init__ (line 1538) | def __init__( function _apply_agent_docstrings (line 1571) | def _apply_agent_docstrings() -> None: FILE: python/packages/core/agent_framework/_clients.py class SupportsChatGetResponse (line 86) | class SupportsChatGetResponse(Protocol[OptionsContraT]): method get_response (line 134) | def get_response( method get_response (line 146) | def get_response( method get_response (line 160) | def get_response( method get_response (line 173) | def get_response( class BaseChatClient (line 221) | class BaseChatClient(SerializationMixin, ABC, Generic[OptionsCoT]): method __init__ (line 293) | def __init__( method to_dict (line 322) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... method _validate_options (line 343) | async def _validate_options(self, options: Mapping[str, Any]) -> dict[... method _finalize_response_updates (line 356) | def _finalize_response_updates( method _build_response_stream (line 369) | def _build_response_stream( method _prepare_messages_for_model_call (line 381) | async def _prepare_messages_for_model_call( method _resolve_compaction_overrides (line 404) | def _resolve_compaction_overrides( method _inner_get_response (line 424) | def _inner_get_response( method get_response (line 452) | def get_response( method get_response (line 464) | def get_response( method get_response (line 476) | def get_response( method get_response (line 487) | def get_response( method service_url (line 575) | def service_url(self) -> str: method as_agent (line 586) | def as_agent( class SupportsCodeInterpreterTool (line 678) | class SupportsCodeInterpreterTool(Protocol): method get_code_interpreter_tool (line 695) | def get_code_interpreter_tool(**kwargs: Any) -> Any: class SupportsWebSearchTool (line 708) | class SupportsWebSearchTool(Protocol): method get_web_search_tool (line 725) | def get_web_search_tool(**kwargs: Any) -> Any: class SupportsImageGenerationTool (line 738) | class SupportsImageGenerationTool(Protocol): method get_image_generation_tool (line 755) | def get_image_generation_tool(**kwargs: Any) -> Any: class SupportsMCPTool (line 768) | class SupportsMCPTool(Protocol): method get_mcp_tool (line 785) | def get_mcp_tool(**kwargs: Any) -> Any: class SupportsFileSearchTool (line 799) | class SupportsFileSearchTool(Protocol): method get_file_search_tool (line 816) | def get_file_search_tool(**kwargs: Any) -> Any: class SupportsGetEmbeddings (line 848) | class SupportsGetEmbeddings(Protocol[EmbeddingInputContraT, EmbeddingT, ... method get_embeddings (line 871) | def get_embeddings( class BaseEmbeddingClient (line 903) | class BaseEmbeddingClient(SerializationMixin, ABC, Generic[EmbeddingInpu... method __init__ (line 927) | def __init__( method get_embeddings (line 941) | async def get_embeddings( function _apply_get_response_docstrings (line 962) | def _apply_get_response_docstrings() -> None: FILE: python/packages/core/agent_framework/_compaction.py class TokenizerProtocol (line 42) | class TokenizerProtocol(Protocol): method count_tokens (line 45) | def count_tokens(self, text: str) -> int: class CompactionStrategy (line 51) | class CompactionStrategy(Protocol): method __call__ (line 54) | async def __call__(self, messages: list[Message]) -> bool: class CharacterEstimatorTokenizer (line 66) | class CharacterEstimatorTokenizer: method count_tokens (line 69) | def count_tokens(self, text: str) -> int: function _has_content_type (line 73) | def _has_content_type(message: Message, content_type: str) -> bool: function _has_function_call (line 77) | def _has_function_call(message: Message) -> bool: function _has_reasoning (line 81) | def _has_reasoning(message: Message) -> bool: function _is_tool_call_assistant (line 85) | def _is_tool_call_assistant(message: Message) -> bool: function _is_reasoning_only_assistant (line 89) | def _is_reasoning_only_assistant(message: Message) -> bool: function _ensure_message_ids (line 95) | def _ensure_message_ids(messages: list[Message]) -> None: function _group_id_for (line 101) | def _group_id_for(message: Message, group_index: int) -> str: function group_messages (line 107) | def group_messages(messages: list[Message]) -> list[dict[str, Any]]: function _coerce_group_kind (line 220) | def _coerce_group_kind(value: object) -> GroupKind | None: function _read_group_annotation (line 232) | def _read_group_annotation(message: Message) -> dict[str, Any] | None: function _read_group_annotation_raw (line 255) | def _read_group_annotation_raw(message: Message) -> dict[str, Any] | None: function _set_group_summarized_by_summary_id (line 262) | def _set_group_summarized_by_summary_id(message: Message, summary_id: st... function _write_group_annotation (line 270) | def _write_group_annotation( function _group_id (line 309) | def _group_id(message: Message) -> str | None: function _group_kind (line 317) | def _group_kind(message: Message) -> GroupKind | None: function _group_index (line 324) | def _group_index(message: Message) -> int | None: function _token_count (line 332) | def _token_count(message: Message) -> int | None: function _write_token_count (line 340) | def _write_token_count(message: Message, token_count: int) -> None: function _ordered_group_ids_from_annotations (line 348) | def _ordered_group_ids_from_annotations(messages: Sequence[Message]) -> ... function _first_untokenized_index (line 359) | def _first_untokenized_index(messages: Sequence[Message]) -> int | None: function _first_annotation_gaps (line 366) | def _first_annotation_gaps( function _reannotation_start (line 387) | def _reannotation_start(messages: Sequence[Message], index: int) -> int: function annotate_message_groups (line 402) | def annotate_message_groups( function _serialize_content (line 466) | def _serialize_content(content: Content) -> dict[str, Any]: function _serialize_message (line 475) | def _serialize_message(message: Message) -> str: function annotate_token_counts (line 485) | def annotate_token_counts( function extend_compaction_messages (line 513) | def extend_compaction_messages( function append_compaction_message (line 532) | def append_compaction_message( function included_messages (line 542) | def included_messages(messages: list[Message]) -> list[Message]: function included_token_count (line 546) | def included_token_count(messages: list[Message]) -> int: function set_excluded (line 555) | def set_excluded(message: Message, *, excluded: bool, reason: str | None... function exclude_group_ids (line 564) | def exclude_group_ids(messages: list[Message], group_ids: set[str], *, r... function project_included_messages (line 573) | def project_included_messages(messages: list[Message]) -> list[Message]: function _group_messages_by_id (line 577) | def _group_messages_by_id(messages: list[Message]) -> dict[str, list[Mes... function _group_kind_map (line 587) | def _group_kind_map(messages: list[Message]) -> dict[str, GroupKind]: function _group_start_indices (line 597) | def _group_start_indices(messages: list[Message]) -> dict[str, int]: function _included_group_ids (line 606) | def _included_group_ids(messages: list[Message], ordered_group_ids: list... function _count_included_messages (line 615) | def _count_included_messages(messages: list[Message]) -> int: function _count_included_tokens (line 619) | def _count_included_tokens(messages: list[Message]) -> int: class TruncationStrategy (line 623) | class TruncationStrategy: method __init__ (line 634) | def __init__( method __call__ (line 664) | async def __call__(self, messages: list[Message]) -> bool: class SlidingWindowStrategy (line 694) | class SlidingWindowStrategy: method __init__ (line 707) | def __init__(self, *, keep_last_groups: int, preserve_system: bool = T... method __call__ (line 719) | async def __call__(self, messages: list[Message]) -> bool: class SelectiveToolCallCompactionStrategy (line 740) | class SelectiveToolCallCompactionStrategy: method __init__ (line 751) | def __init__(self, *, keep_last_tool_call_groups: int = 1) -> None: method __call__ (line 766) | async def __call__(self, messages: list[Message]) -> bool: class ToolResultCompactionStrategy (line 793) | class ToolResultCompactionStrategy: method __init__ (line 807) | def __init__(self, *, keep_last_tool_call_groups: int = 1) -> None: method __call__ (line 822) | async def __call__(self, messages: list[Message]) -> bool: function _format_messages_for_summary (line 894) | def _format_messages_for_summary(messages: list[Message]) -> str: class SummarizationStrategy (line 922) | class SummarizationStrategy: method __init__ (line 933) | def __init__( method __call__ (line 968) | async def __call__(self, messages: list[Message]) -> bool: class TokenBudgetComposedStrategy (line 1064) | class TokenBudgetComposedStrategy: method __init__ (line 1073) | def __init__( method __call__ (line 1095) | async def __call__(self, messages: list[Message]) -> bool: function apply_compaction (line 1136) | async def apply_compaction( class CompactionProvider (line 1155) | class CompactionProvider(BaseContextProvider): method __init__ (line 1193) | def __init__( method before_run (line 1222) | async def before_run( method after_run (line 1248) | async def after_run( FILE: python/packages/core/agent_framework/_docstrings.py function _find_section_index (line 22) | def _find_section_index(lines: list[str], header: str) -> int | None: function _find_next_section_index (line 29) | def _find_next_section_index(lines: list[str], start: int) -> int: function _format_keyword_arg_lines (line 36) | def _format_keyword_arg_lines(extra_keyword_args: Mapping[str, str]) -> ... function build_layered_docstring (line 48) | def build_layered_docstring( function apply_layered_docstring (line 78) | def apply_layered_docstring( FILE: python/packages/core/agent_framework/_mcp.py class MCPSpecificApproval (line 46) | class MCPSpecificApproval(TypedDict, total=False): function _parse_prompt_result_from_mcp (line 78) | def _parse_prompt_result_from_mcp( function _parse_message_from_mcp (line 131) | def _parse_message_from_mcp( function _parse_tool_result_from_mcp (line 142) | def _parse_tool_result_from_mcp( function _parse_content_from_mcp (line 200) | def _parse_content_from_mcp( function _prepare_content_for_mcp (line 289) | def _prepare_content_for_mcp( function _prepare_message_for_mcp (line 327) | def _prepare_message_for_mcp( function _get_input_model_from_mcp_prompt (line 341) | def _get_input_model_from_mcp_prompt(prompt: types.Prompt) -> dict[str, ... function _normalize_mcp_name (line 369) | def _normalize_mcp_name(name: str) -> str: function _build_prefixed_mcp_name (line 374) | def _build_prefixed_mcp_name( function _inject_otel_into_mcp_meta (line 388) | def _inject_otel_into_mcp_meta(meta: dict[str, Any] | None = None) -> di... class MCPTool (line 407) | class MCPTool: method __init__ (line 425) | def __init__( method __str__ (line 495) | def __str__(self) -> str: method functions (line 499) | def functions(self) -> list[FunctionTool]: method _ensure_lifecycle_owner (line 517) | async def _ensure_lifecycle_owner(self) -> None: method _run_lifecycle_owner (line 528) | async def _run_lifecycle_owner(self) -> None: method _is_lifecycle_owner_task (line 574) | def _is_lifecycle_owner_task(self) -> bool: method _run_on_lifecycle_owner (line 578) | async def _run_on_lifecycle_owner(self, action: str, *, reset: bool = ... method _safe_close_exit_stack (line 598) | async def _safe_close_exit_stack(self) -> None: method connect (line 615) | async def connect(self, *, reset: bool = False) -> None: method _connect_on_owner (line 623) | async def _connect_on_owner(self, *, reset: bool = False) -> None: method sampling_callback (line 704) | async def sampling_callback( method logging_callback (line 769) | async def logging_callback(self, params: types.LoggingMessageNotificat... method message_handler (line 783) | async def message_handler( method _determine_approval_mode (line 813) | def _determine_approval_mode( method load_prompts (line 829) | async def load_prompts(self) -> None: method load_tools (line 877) | async def load_tools(self) -> None: method _close_on_owner (line 933) | async def _close_on_owner(self) -> None: method close (line 939) | async def close(self) -> None: method get_mcp_client (line 952) | def get_mcp_client(self) -> _AsyncGeneratorContextManager[Any, None]: method _ensure_connected (line 960) | async def _ensure_connected(self) -> None: method call_tool (line 981) | async def call_tool(self, tool_name: str, **kwargs: Any) -> str | list... method get_prompt (line 1070) | async def get_prompt(self, prompt_name: str, **kwargs: Any) -> str: method __aenter__ (line 1123) | async def __aenter__(self) -> Self: method __aexit__ (line 1144) | async def __aexit__( class MCPStdioTool (line 1165) | class MCPStdioTool(MCPTool): method __init__ (line 1190) | def __init__( method get_mcp_client (line 1277) | def get_mcp_client(self) -> _AsyncGeneratorContextManager[Any, None]: class MCPStreamableHTTPTool (line 1295) | class MCPStreamableHTTPTool(MCPTool): method __init__ (line 1318) | def __init__( method get_mcp_client (line 1405) | def get_mcp_client(self) -> _AsyncGeneratorContextManager[Any, None]: class MCPWebsocketTool (line 1419) | class MCPWebsocketTool(MCPTool): method __init__ (line 1440) | def __init__( method get_mcp_client (line 1519) | def get_mcp_client(self) -> _AsyncGeneratorContextManager[Any, None]: FILE: python/packages/core/agent_framework/_middleware.py class _EmptyAsyncIterator (line 53) | class _EmptyAsyncIterator(Generic[UpdateT]): method __aiter__ (line 60) | def __aiter__(self) -> _EmptyAsyncIterator[UpdateT]: method __anext__ (line 63) | async def __anext__(self) -> UpdateT: function _empty_async_iterable (line 67) | def _empty_async_iterable() -> AsyncIterable[Any]: class MiddlewareTermination (line 72) | class MiddlewareTermination(MiddlewareException): method __init__ (line 77) | def __init__(self, message: str = "Middleware terminated execution.", ... class MiddlewareType (line 82) | class MiddlewareType(str, Enum): class AgentContext (line 93) | class AgentContext: method __init__ (line 139) | def __init__( class FunctionInvocationContext (line 200) | class FunctionInvocationContext: method __init__ (line 234) | def __init__( class ChatContext (line 261) | class ChatContext: method __init__ (line 306) | def __init__( class AgentMiddleware (line 353) | class AgentMiddleware(ABC): method process (line 387) | async def process( class FunctionMiddleware (line 412) | class FunctionMiddleware(ABC): method process (line 454) | async def process( class ChatMiddleware (line 476) | class ChatMiddleware(ABC): method process (line 516) | async def process( function agent_middleware (line 566) | def agent_middleware(func: AgentMiddlewareCallable) -> AgentMiddlewareCa... function function_middleware (line 599) | def function_middleware(func: FunctionMiddlewareCallable) -> FunctionMid... function chat_middleware (line 632) | def chat_middleware(func: ChatMiddlewareCallable) -> ChatMiddlewareCalla... class MiddlewareWrapper (line 665) | class MiddlewareWrapper(Generic[ContextT]): method __init__ (line 675) | def __init__(self, func: Callable[[ContextT, Callable[[], Awaitable[No... method process (line 678) | async def process(self, context: ContextT, call_next: Callable[[], Awa... class BaseMiddlewarePipeline (line 682) | class BaseMiddlewarePipeline(ABC): method __init__ (line 688) | def __init__(self) -> None: method _register_middleware (line 693) | def _register_middleware(self, middleware: Any) -> None: method has_middlewares (line 704) | def has_middlewares(self) -> bool: method _register_middleware_with_wrapper (line 712) | def _register_middleware_with_wrapper( class AgentMiddlewarePipeline (line 731) | class AgentMiddlewarePipeline(BaseMiddlewarePipeline): method __init__ (line 738) | def __init__(self, *middleware: AgentMiddlewareTypes): method matches (line 752) | def matches(self, middleware: Sequence[AgentMiddlewareTypes]) -> bool: method _register_middleware (line 756) | def _register_middleware(self, middleware: AgentMiddlewareTypes) -> None: method execute (line 764) | async def execute( class FunctionMiddlewarePipeline (line 818) | class FunctionMiddlewarePipeline(BaseMiddlewarePipeline): method __init__ (line 825) | def __init__(self, *middleware: FunctionMiddlewareTypes): method matches (line 839) | def matches(self, middleware: Sequence[FunctionMiddlewareTypes]) -> bool: method _register_middleware (line 843) | def _register_middleware(self, middleware: FunctionMiddlewareTypes) ->... method execute (line 851) | async def execute( class ChatMiddlewarePipeline (line 891) | class ChatMiddlewarePipeline(BaseMiddlewarePipeline): method __init__ (line 898) | def __init__(self, *middleware: ChatMiddlewareTypes): method matches (line 912) | def matches(self, middleware: Sequence[ChatMiddlewareTypes]) -> bool: method _register_middleware (line 916) | def _register_middleware(self, middleware: ChatMiddlewareTypes) -> None: method execute (line 924) | async def execute( class ChatMiddlewareLayer (line 992) | class ChatMiddlewareLayer(Generic[OptionsCoT]): method __init__ (line 995) | def __init__( method _get_chat_middleware_pipeline (line 1005) | def _get_chat_middleware_pipeline( method get_response (line 1019) | def get_response( method get_response (line 1032) | def get_response( method get_response (line 1046) | def get_response( method get_response (line 1059) | def get_response( method _middleware_handler (line 1127) | def _middleware_handler( class AgentMiddlewareLayer (line 1145) | class AgentMiddlewareLayer: method __init__ (line 1148) | def __init__( method _get_agent_middleware_pipeline (line 1163) | def _get_agent_middleware_pipeline( method run (line 1176) | def run( method run (line 1192) | def run( method run (line 1208) | def run( method run (line 1223) | def run( method _middleware_handler (line 1313) | def _middleware_handler( function _determine_middleware_type (line 1335) | def _determine_middleware_type(middleware: Any) -> MiddlewareType: class MiddlewareDict (line 1404) | class MiddlewareDict(TypedDict): function categorize_middleware (line 1410) | def categorize_middleware( FILE: python/packages/core/agent_framework/_serialization.py class SerializationProtocol (line 22) | class SerializationProtocol(Protocol): method to_dict (line 86) | def to_dict(self, **kwargs: Any) -> dict[str, Any]: method from_dict (line 98) | def from_dict(cls: type[ProtocolT], value: MutableMapping[str, Any], /... function is_serializable (line 113) | def is_serializable(value: Any) -> bool: class SerializationMixin (line 135) | class SerializationMixin: method __deepcopy__ (line 269) | def __deepcopy__(self, memo: dict[int, Any]) -> SerializationMixin: method to_dict (line 287) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... method to_json (line 370) | def to_json(self, *, exclude: set[str] | None = None, exclude_none: bo... method from_dict (line 391) | def from_dict( method from_json (line 561) | def from_json(cls: type[ClassT], value: str, /, *, dependencies: Mutab... method _get_type_identifier (line 588) | def _get_type_identifier(cls, value: Mapping[str, Any] | None = None) ... FILE: python/packages/core/agent_framework/_sessions.py function register_state_type (line 31) | def register_state_type(cls: type) -> None: function _serialize_value (line 58) | def _serialize_value(value: Any) -> Any: function _deserialize_value (line 82) | def _deserialize_value(value: Any) -> Any: function _serialize_state (line 106) | def _serialize_state(state: dict[str, Any]) -> dict[str, Any]: function _deserialize_state (line 111) | def _deserialize_state(state: dict[str, Any]) -> dict[str, Any]: class SessionContext (line 120) | class SessionContext: method __init__ (line 139) | def __init__( method response (line 174) | def response(self) -> AgentResponse | None: method extend_messages (line 178) | def extend_messages(self, source: str | object, messages: Sequence[Mes... method extend_instructions (line 211) | def extend_instructions(self, source_id: str, instructions: str | Sequ... method extend_tools (line 222) | def extend_tools(self, source_id: str, tools: Sequence[Any]) -> None: method get_messages (line 239) | def get_messages( class BaseContextProvider (line 275) | class BaseContextProvider: method __init__ (line 291) | def __init__(self, source_id: str): method before_run (line 299) | async def before_run( method after_run (line 320) | async def after_run( class BaseHistoryProvider (line 342) | class BaseHistoryProvider(BaseContextProvider): method __init__ (line 367) | def __init__( method get_messages (line 395) | async def get_messages( method save_messages (line 412) | async def save_messages( method _get_context_messages_to_store (line 431) | def _get_context_messages_to_store(self, context: SessionContext) -> l... method before_run (line 439) | async def before_run( method after_run (line 451) | async def after_run( class AgentSession (line 470) | class AgentSession: method __init__ (line 482) | def __init__( method session_id (line 499) | def session_id(self) -> str: method to_dict (line 503) | def to_dict(self) -> dict[str, Any]: method from_dict (line 518) | def from_dict(cls, data: dict[str, Any]) -> AgentSession: class InMemoryHistoryProvider (line 538) | class InMemoryHistoryProvider(BaseHistoryProvider): method __init__ (line 554) | def __init__( method get_messages (line 591) | async def get_messages( method save_messages (line 602) | async def save_messages( FILE: python/packages/core/agent_framework/_settings.py class SecretString (line 52) | class SecretString(str): method __repr__ (line 72) | def __repr__(self) -> str: method get_secret_value (line 76) | def get_secret_value(self) -> str: function _coerce_value (line 85) | def _coerce_value(value: str, target_type: type) -> Any: function _check_override_type (line 118) | def _check_override_type(value: Any, field_type: type, field_name: str) ... function load_settings (line 164) | def load_settings( FILE: python/packages/core/agent_framework/_skills.py class SkillResource (line 50) | class SkillResource: method __init__ (line 82) | def __init__( class SkillScript (line 120) | class SkillScript: method __init__ (line 159) | def __init__( method parameters_schema (line 202) | def parameters_schema(self) -> dict[str, Any] | None: class Skill (line 222) | class Skill: method __init__ (line 272) | def __init__( method resource (line 305) | def resource( method script (line 366) | def script( class SkillScriptRunner (line 435) | class SkillScriptRunner(Protocol): method __call__ (line 455) | def __call__(self, skill: Skill, script: SkillScript, args: dict[str, ... class SkillsProvider (line 541) | class SkillsProvider(BaseContextProvider): method __init__ (line 598) | def __init__( method before_run (line 684) | async def before_run( method _create_tools (line 715) | def _create_tools( method _load_skill (line 805) | def _load_skill(self, skill_name: str) -> str: method _run_skill_script (line 852) | async def _run_skill_script( method _read_skill_resource (line 918) | async def _read_skill_resource(self, skill_name: str, resource_name: s... function _normalize_resource_path (line 978) | def _normalize_resource_path(path: str) -> str: function _is_path_within_directory (line 994) | def _is_path_within_directory(path: str, directory: str) -> bool: function _has_symlink_in_path (line 1013) | def _has_symlink_in_path(path: str, directory: str) -> bool: function _discover_resource_files (line 1046) | def _discover_resource_files( function _discover_script_files (line 1104) | def _discover_script_files( function _validate_skill_metadata (line 1158) | def _validate_skill_metadata( function _extract_frontmatter (line 1198) | def _extract_frontmatter( function _read_and_parse_skill_file (line 1242) | def _read_and_parse_skill_file( function _discover_skill_directories (line 1271) | def _discover_skill_directories(skill_paths: Sequence[str]) -> list[str]: function _read_file_skill_resource (line 1309) | def _read_file_skill_resource(skill: Skill, resource_name: str) -> str: function _discover_file_skills (line 1350) | def _discover_file_skills( function _load_skills (line 1419) | def _load_skills( function _create_resource_element (line 1460) | def _create_resource_element(resource: SkillResource) -> str: function _create_script_element (line 1476) | def _create_script_element(script: SkillScript) -> str: function _create_instructions (line 1500) | def _create_instructions( FILE: python/packages/core/agent_framework/_telemetry.py function prepend_agent_framework_to_user_agent (line 30) | def prepend_agent_framework_to_user_agent(headers: dict[str, Any] | None... FILE: python/packages/core/agent_framework/_tools.py function _get_tool_name (line 99) | def _get_tool_name(tool: Any) -> str | None: function _parse_inputs (line 111) | def _parse_inputs( # pyright: ignore[reportUnusedFunction] function _default_histogram (line 169) | def _default_histogram() -> Histogram: function _annotation_includes_function_invocation_context (line 199) | def _annotation_includes_function_invocation_context(annotation: Any) ->... class FunctionTool (line 212) | class FunctionTool(SerializationMixin): method __init__ (line 269) | def __init__( method _discover_injected_parameters (line 378) | def _discover_injected_parameters(self) -> None: method _is_context_parameter (line 403) | def _is_context_parameter(self, name: str, annotation: Any) -> bool: method __str__ (line 409) | def __str__(self) -> str: method declaration_only (line 416) | def declaration_only(self) -> bool: method __get__ (line 424) | def __get__(self, obj: Any, objtype: type | None = None) -> FunctionTool: method _resolve_input_model (line 455) | def _resolve_input_model(self, input_model: type[BaseModel] | None) ->... method __call__ (line 481) | def __call__(self, *args: Any, **kwargs: Any) -> Any: method invoke (line 510) | async def invoke( method _input_schema (line 705) | def _input_schema(self) -> dict[str, Any]: method parameters (line 717) | def parameters(self) -> dict[str, Any]: method _make_dumpable (line 729) | def _make_dumpable(value: Any) -> Any: method parse_result (line 750) | def parse_result(result: Any) -> list[Content]: method to_json_schema_spec (line 791) | def to_json_schema_spec(self) -> dict[str, Any]: method to_dict (line 807) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... function _raise_duplicate_tool_name (line 818) | def _raise_duplicate_tool_name(tool_name: str, duplicate_error_message: ... function _append_unique_tools (line 823) | def _append_unique_tools( function _ensure_unique_tool_names (line 854) | def _ensure_unique_tool_names( function normalize_tools (line 863) | def normalize_tools( function _tools_to_dict (line 902) | def _tools_to_dict( # pyright: ignore[reportUnusedFunction] function _parse_annotation (line 935) | def _parse_annotation(annotation: Any) -> Any: function _matches_json_schema_type (line 968) | def _matches_json_schema_type(value: Any, schema_type: str) -> bool: function _validate_arguments_against_schema (line 989) | def _validate_arguments_against_schema( function tool (line 1040) | def tool( function tool (line 1056) | def tool( function tool (line 1071) | def tool( class FunctionInvocationConfiguration (line 1236) | class FunctionInvocationConfiguration(TypedDict, total=False): function normalize_function_invocation_configuration (line 1293) | def normalize_function_invocation_configuration( function _auto_invoke_function (line 1316) | async def _auto_invoke_function( function _get_tool_map (line 1495) | def _get_tool_map( function _try_execute_function_calls (line 1505) | async def _try_execute_function_calls( function _execute_function_calls (line 1654) | async def _execute_function_calls( function _update_conversation_id (line 1680) | def _update_conversation_id( function _extract_tools (line 1704) | def _extract_tools( function _is_hosted_tool_approval (line 1720) | def _is_hosted_tool_approval(content: Any) -> bool: function _collect_approval_responses (line 1733) | def _collect_approval_responses( function _replace_approval_contents_with_results (line 1752) | def _replace_approval_contents_with_results( function _get_result_hooks_from_stream (line 1810) | def _get_result_hooks_from_stream(stream: Any) -> list[Callable[[Any], A... function _extract_function_calls (line 1821) | def _extract_function_calls(response: ChatResponse) -> list[Content]: function _prepend_fcc_messages (line 1844) | def _prepend_fcc_messages(response: ChatResponse, fcc_messages: list[Mes... class FunctionRequestResult (line 1851) | class FunctionRequestResult(TypedDict, total=False): function _handle_function_call_results (line 1871) | def _handle_function_call_results( function _process_function_requests (line 1927) | async def _process_function_requests( class FunctionInvocationLayer (line 2026) | class FunctionInvocationLayer(Generic[OptionsCoT]): method __init__ (line 2029) | def __init__( method _get_function_middleware_pipeline (line 2048) | def _get_function_middleware_pipeline( method get_response (line 2064) | def get_response( method get_response (line 2079) | def get_response( method get_response (line 2094) | def get_response( method get_response (line 2108) | def get_response( FILE: python/packages/core/agent_framework/_types.py function _parse_content_list (line 46) | def _parse_content_list(contents_data: Sequence[Any]) -> list[Content]: function detect_media_type_from_base64 (line 76) | def detect_media_type_from_base64( function _get_data_bytes_as_str (line 167) | def _get_data_bytes_as_str(content: Content) -> str | None: function _get_data_bytes (line 196) | def _get_data_bytes(content: Content) -> bytes | None: # pyright: ignor... function _validate_uri (line 221) | def _validate_uri(uri: str, media_type: str | None) -> dict[str, Any]: function _serialize_value (line 265) | def _serialize_value(value: Any, exclude_none: bool) -> Any: function _restore_compaction_annotation_in_additional_properties (line 280) | def _restore_compaction_annotation_in_additional_properties( class TextSpanRegion (line 362) | class TextSpanRegion(TypedDict, total=False): class Annotation (line 370) | class Annotation(TypedDict, total=False): class UsageDetails (line 389) | class UsageDetails(TypedDict, total=False, extra_items=int): # type: ig... function add_usage_details (line 407) | def add_usage_details(usage1: UsageDetails | None, usage2: UsageDetails ... class Content (line 451) | class Content: method __init__ (line 461) | def __init__( method __deepcopy__ (line 566) | def __deepcopy__(self, memo: dict[int, Any]) -> Content: method from_text (line 584) | def from_text( method from_text_reasoning (line 602) | def from_text_reasoning( method from_data (line 624) | def from_data( method from_uri (line 700) | def from_uri( method from_error (line 762) | def from_error( method from_function_call (line 784) | def from_function_call( method from_function_result (line 808) | def from_function_result( method from_usage (line 867) | def from_usage( method from_hosted_file (line 885) | def from_hosted_file( method from_hosted_vector_store (line 907) | def from_hosted_vector_store( method from_code_interpreter_tool_call (line 925) | def from_code_interpreter_tool_call( method from_code_interpreter_tool_result (line 945) | def from_code_interpreter_tool_result( method from_image_generation_tool_call (line 965) | def from_image_generation_tool_call( method from_image_generation_tool_result (line 983) | def from_image_generation_tool_result( method from_shell_tool_call (line 1003) | def from_shell_tool_call( method from_shell_tool_result (line 1043) | def from_shell_tool_result( method from_shell_command_output (line 1078) | def from_shell_command_output( method from_mcp_server_tool_call (line 1109) | def from_mcp_server_tool_call( method from_mcp_server_tool_result (line 1133) | def from_mcp_server_tool_result( method from_function_approval_request (line 1153) | def from_function_approval_request( method from_function_approval_response (line 1174) | def from_function_approval_response( method from_oauth_consent_request (line 1196) | def from_oauth_consent_request( method to_function_approval_response (line 1226) | def to_function_approval_response( method to_dict (line 1244) | def to_dict(self, *, exclude_none: bool = True, exclude: set[str] | No... method __eq__ (line 1301) | def __eq__(self, other: object) -> bool: method __str__ (line 1307) | def __str__(self) -> str: method from_dict (line 1318) | def from_dict(cls: type[ContentT], data: Mapping[str, Any]) -> ContentT: method __add__ (line 1353) | def __add__(self, other: Content) -> Content: method _add_text_content (line 1371) | def _add_text_content(self, other: Content) -> Content: method _add_text_reasoning_content (line 1381) | def _add_text_reasoning_content(self, other: Content) -> Content: method _add_function_call_content (line 1400) | def _add_function_call_content(self, other: Content) -> Content: method _add_usage_content (line 1431) | def _add_usage_content(self, other: Content) -> Content: method has_top_level_media_type (line 1440) | def has_top_level_media_type(self, top_level_media_type: Literal["appl... method parse_arguments (line 1471) | def parse_arguments(self) -> dict[str, Any | None] | None: function _combine_additional_props (line 1514) | def _combine_additional_props( function _combine_raw_representations (line 1524) | def _combine_raw_representations( function _combine_annotations (line 1538) | def _combine_annotations( class Message (line 1610) | class Message(SerializationMixin): method __init__ (line 1658) | def __init__( method text (line 1702) | def text(self) -> str: function normalize_messages (line 1714) | def normalize_messages( function prepend_instructions_to_messages (line 1751) | def prepend_instructions_to_messages( function _process_update (line 1797) | def _process_update(response: ChatResponse | AgentResponse, update: Chat... function _coalesce_text_content (line 1872) | def _coalesce_text_content(contents: list[Content], type_str: Literal["t... function _finalize_response (line 1899) | def _finalize_response(response: ChatResponse | AgentResponse) -> None: class ContinuationToken (line 1909) | class ContinuationToken(TypedDict): class ChatResponse (line 1939) | class ChatResponse(SerializationMixin, Generic[ResponseModelT]): method __init__ (line 1992) | def __init__( method from_updates (line 2057) | def from_updates( method from_updates (line 2066) | def from_updates( method from_updates (line 2074) | def from_updates( method from_update_generator (line 2112) | async def from_update_generator( method from_update_generator (line 2121) | async def from_update_generator( method from_update_generator (line 2129) | async def from_update_generator( method text (line 2162) | def text(self) -> str: method value (line 2167) | def value(self) -> ResponseModelT | None: method __str__ (line 2187) | def __str__(self) -> str: class ChatResponseUpdate (line 2194) | class ChatResponseUpdate(SerializationMixin): method __init__ (line 2243) | def __init__( method text (line 2308) | def text(self) -> str: method __str__ (line 2312) | def __str__(self) -> str: class AgentResponse (line 2319) | class AgentResponse(SerializationMixin, Generic[ResponseModelT]): method __init__ (line 2365) | def __init__( method text (line 2424) | def text(self) -> str: method value (line 2429) | def value(self) -> ResponseModelT | None: method user_input_requests (line 2450) | def user_input_requests(self) -> list[Content]: method from_updates (line 2461) | def from_updates( method from_updates (line 2471) | def from_updates( method from_updates (line 2480) | def from_updates( method from_update_generator (line 2504) | async def from_update_generator( method from_update_generator (line 2513) | async def from_update_generator( method from_update_generator (line 2521) | async def from_update_generator( method __str__ (line 2541) | def __str__(self) -> str: class AgentResponseUpdate (line 2548) | class AgentResponseUpdate(SerializationMixin): method __init__ (line 2597) | def __init__( method text (line 2656) | def text(self) -> str: method user_input_requests (line 2661) | def user_input_requests(self) -> list[Content]: method __str__ (line 2665) | def __str__(self) -> str: function map_chat_to_agent_update (line 2672) | def map_chat_to_agent_update(update: ChatResponseUpdate, agent_name: str... class ResponseStream (line 2693) | class ResponseStream(AsyncIterable[UpdateT], Generic[UpdateT, FinalT]): method __init__ (line 2696) | def __init__( method map (line 2740) | def map( method with_finalizer (line 2784) | def with_finalizer( method from_awaitable (line 2812) | def from_awaitable( method _get_stream (line 2839) | async def _get_stream(self) -> AsyncIterable[UpdateT]: method __aiter__ (line 2853) | def __aiter__(self) -> ResponseStream[UpdateT, FinalT]: method __anext__ (line 2856) | async def __anext__(self) -> UpdateT: method __await__ (line 2883) | def __await__(self) -> Any: method get_final_response (line 2890) | async def get_final_response(self) -> FinalT: method with_transform_hook (line 2996) | def with_transform_hook( method with_result_hook (line 3004) | def with_result_hook( method with_cleanup_hook (line 3014) | def with_cleanup_hook( method _run_cleanup_hooks (line 3022) | async def _run_cleanup_hooks(self) -> None: method updates (line 3032) | def updates(self) -> Sequence[UpdateT]: class ToolMode (line 3039) | class ToolMode(TypedDict, total=False): class _ChatOptionsBase (line 3054) | class _ChatOptionsBase(TypedDict, total=False): class ChatOptions (line 3121) | class ChatOptions(_ChatOptionsBase, Generic[ResponseModelT], total=False): function validate_chat_options (line 3131) | async def validate_chat_options(options: dict[str, Any]) -> dict[str, Any]: function normalize_tools (line 3188) | def normalize_tools( function validate_tools (line 3221) | async def validate_tools( function validate_tool_mode (line 3272) | def validate_tool_mode( function merge_chat_options (line 3302) | def merge_chat_options( class EmbeddingGenerationOptions (line 3392) | class EmbeddingGenerationOptions(TypedDict, total=False): class Embedding (line 3413) | class Embedding(Generic[EmbeddingT]): method __init__ (line 3438) | def __init__( method dimensions (line 3456) | def dimensions(self) -> int | None: class GeneratedEmbeddings (line 3475) | class GeneratedEmbeddings(list[Embedding[EmbeddingT]], Generic[Embedding... method __init__ (line 3500) | def __init__( FILE: python/packages/core/agent_framework/_workflows/_agent.py class WorkflowAgent (line 51) | class WorkflowAgent(BaseAgent): class RequestInfoFunctionArgs (line 58) | class RequestInfoFunctionArgs: method to_dict (line 62) | def to_dict(self) -> dict[str, Any]: method to_json (line 65) | def to_json(self) -> str: method from_dict (line 69) | def from_dict(cls, payload: dict[str, Any]) -> WorkflowAgent.Request... method from_json (line 73) | def from_json(cls, raw: str) -> WorkflowAgent.RequestInfoFunctionArgs: method __init__ (line 82) | def __init__( method workflow (line 137) | def workflow(self) -> Workflow: method pending_requests (line 141) | def pending_requests(self) -> dict[str, WorkflowEvent[Any]]: method run (line 147) | def run( method run (line 159) | async def run( method run (line 170) | def run( method _run_impl (line 216) | async def _run_impl( method _run_stream_impl (line 281) | async def _run_stream_impl( method _run_core (line 346) | async def _run_core( method _process_pending_requests (line 416) | def _process_pending_requests(self, input_messages: Sequence[Message])... method _convert_workflow_events_to_agent_response (line 442) | def _convert_workflow_events_to_agent_response( method _process_request_info_event (line 519) | def _process_request_info_event( method _convert_workflow_event_to_agent_response_updates (line 551) | def _convert_workflow_event_to_agent_response_updates( method _extract_function_responses (line 673) | def _extract_function_responses(self, input_messages: Sequence[Message... method _extract_contents (line 721) | def _extract_contents(self, data: Any) -> list[Content]: class _ResponseState (line 731) | class _ResponseState(TypedDict): method merge_updates (line 738) | def merge_updates(updates: list[AgentResponseUpdate], response_id: str... FILE: python/packages/core/agent_framework/_workflows/_agent_executor.py class AgentExecutorRequest (line 33) | class AgentExecutorRequest: class AgentExecutorResponse (line 47) | class AgentExecutorResponse: class AgentExecutor (line 63) | class AgentExecutor(Executor): method __init__ (line 80) | def __init__( method agent (line 131) | def agent(self) -> SupportsAgentRun: method description (line 136) | def description(self) -> str | None: method run (line 141) | async def run( method from_response (line 157) | async def from_response( method from_str (line 180) | async def from_str( method from_message (line 191) | async def from_message( method from_messages (line 204) | async def from_messages( method handle_user_input_response (line 217) | async def handle_user_input_response( method on_checkpoint_save (line 245) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 280) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: method reset (line 308) | def reset(self) -> None: method _run_agent_and_emit (line 313) | async def _run_agent_and_emit( method _run_agent (line 344) | async def _run_agent(self, ctx: WorkflowContext[Never, AgentResponse])... method _run_agent_streaming (line 373) | async def _run_agent_streaming(self, ctx: WorkflowContext[Never, Agent... method _prepare_agent_run_args (line 442) | def _prepare_agent_run_args(raw_run_kwargs: dict[str, Any]) -> tuple[d... FILE: python/packages/core/agent_framework/_workflows/_agent_utils.py function resolve_agent_id (line 6) | def resolve_agent_id(agent: SupportsAgentRun) -> str: FILE: python/packages/core/agent_framework/_workflows/_checkpoint.py class WorkflowCheckpoint (line 31) | class WorkflowCheckpoint: method to_dict (line 90) | def to_dict(self) -> dict[str, Any]: method from_dict (line 101) | def from_dict(cls, data: Mapping[str, Any]) -> WorkflowCheckpoint: class CheckpointStorage (line 119) | class CheckpointStorage(Protocol): method save (line 122) | async def save(self, checkpoint: WorkflowCheckpoint) -> CheckpointID: method load (line 133) | async def load(self, checkpoint_id: CheckpointID) -> WorkflowCheckpoint: method list_checkpoints (line 147) | async def list_checkpoints(self, *, workflow_name: str) -> list[Workfl... method delete (line 158) | async def delete(self, checkpoint_id: CheckpointID) -> bool: method get_latest (line 169) | async def get_latest(self, *, workflow_name: str) -> WorkflowCheckpoin... method list_checkpoint_ids (line 180) | async def list_checkpoint_ids(self, *, workflow_name: str) -> list[Che... class InMemoryCheckpointStorage (line 192) | class InMemoryCheckpointStorage: method __init__ (line 195) | def __init__(self) -> None: method save (line 199) | async def save(self, checkpoint: WorkflowCheckpoint) -> CheckpointID: method load (line 205) | async def load(self, checkpoint_id: CheckpointID) -> WorkflowCheckpoint: method list_checkpoints (line 213) | async def list_checkpoints(self, *, workflow_name: str) -> list[Workfl... method delete (line 217) | async def delete(self, checkpoint_id: CheckpointID) -> bool: method get_latest (line 225) | async def get_latest(self, *, workflow_name: str) -> WorkflowCheckpoin... method list_checkpoint_ids (line 234) | async def list_checkpoint_ids(self, *, workflow_name: str) -> list[Che... class FileCheckpointStorage (line 239) | class FileCheckpointStorage: method __init__ (line 251) | def __init__(self, storage_path: str | Path): method _validate_file_path (line 257) | def _validate_file_path(self, checkpoint_id: CheckpointID) -> Path: method save (line 277) | async def save(self, checkpoint: WorkflowCheckpoint) -> CheckpointID: method load (line 303) | async def load(self, checkpoint_id: CheckpointID) -> WorkflowCheckpoint: method list_checkpoints (line 337) | async def list_checkpoints(self, *, workflow_name: str) -> list[Workfl... method delete (line 365) | async def delete(self, checkpoint_id: CheckpointID) -> bool: method get_latest (line 385) | async def get_latest(self, *, workflow_name: str) -> WorkflowCheckpoin... method list_checkpoint_ids (line 401) | async def list_checkpoint_ids(self, *, workflow_name: str) -> list[Che... FILE: python/packages/core/agent_framework/_workflows/_checkpoint_encoding.py function encode_checkpoint_value (line 34) | def encode_checkpoint_value(value: Any) -> Any: function decode_checkpoint_value (line 51) | def decode_checkpoint_value(value: Any) -> Any: function _encode (line 76) | def _encode(value: Any) -> Any: function _decode (line 97) | def _decode(value: Any) -> Any: function _verify_type (line 121) | def _verify_type(obj: Any, expected_type_key: str) -> None: function _pickle_to_base64 (line 145) | def _pickle_to_base64(value: Any) -> str: function _base64_to_unpickle (line 151) | def _base64_to_unpickle(encoded: str) -> Any: function _type_to_key (line 165) | def _type_to_key(t: type) -> str: FILE: python/packages/core/agent_framework/_workflows/_const.py function INTERNAL_SOURCE_ID (line 18) | def INTERNAL_SOURCE_ID(executor_id: str) -> str: FILE: python/packages/core/agent_framework/_workflows/_conversation_history.py function latest_user_message (line 14) | def latest_user_message(conversation: Sequence[Message]) -> Message: function ensure_author (line 23) | def ensure_author(message: Message, fallback: str) -> Message: FILE: python/packages/core/agent_framework/_workflows/_edge.py function _extract_function_name (line 27) | def _extract_function_name(func: Callable[..., Any]) -> str: function _missing_callable (line 50) | def _missing_callable(name: str) -> Callable[..., Any]: class Edge (line 76) | class Edge(DictConvertible): method __init__ (line 101) | def __init__( method id (line 145) | def id(self) -> str: method has_condition (line 162) | def has_condition(self) -> bool: method should_route (line 169) | async def should_route(self, data: Any) -> bool: method to_dict (line 200) | def to_dict(self) -> dict[str, Any]: method from_dict (line 220) | def from_dict(cls, data: dict[str, Any]) -> Edge: class Case (line 245) | class Case: class Default (line 272) | class Default: class EdgeGroup (line 295) | class EdgeGroup(DictConvertible): method __init__ (line 319) | def __init__( method source_executor_ids (line 352) | def source_executor_ids(self) -> list[str]: method target_executor_ids (line 367) | def target_executor_ids(self) -> list[str]: method to_dict (line 378) | def to_dict(self) -> dict[str, Any]: method register (line 399) | def register(cls, subclass: builtin_type[EdgeGroupT]) -> builtin_type[... method from_dict (line 421) | def from_dict(cls, data: dict[str, Any]) -> EdgeGroup: class SingleEdgeGroup (line 472) | class SingleEdgeGroup(EdgeGroup): method __init__ (line 475) | def __init__( class FanOutEdgeGroup (line 503) | class FanOutEdgeGroup(EdgeGroup): method __init__ (line 516) | def __init__( method target_ids (line 569) | def target_ids(self) -> list[str]: method selection_func (line 584) | def selection_func(self) -> Callable[[Any, list[str]], list[str]] | None: method to_dict (line 598) | def to_dict(self) -> dict[str, Any]: class FanInEdgeGroup (line 618) | class FanInEdgeGroup(EdgeGroup): method __init__ (line 625) | def __init__(self, source_ids: Sequence[str], target_id: str, *, id: s... class SwitchCaseEdgeGroupCase (line 652) | class SwitchCaseEdgeGroupCase(DictConvertible): method __init__ (line 667) | def __init__( method condition (line 707) | def condition(self) -> Callable[[Any], bool]: method to_dict (line 726) | def to_dict(self) -> dict[str, Any]: method from_dict (line 741) | def from_dict(cls, data: dict[str, Any]) -> SwitchCaseEdgeGroupCase: class SwitchCaseEdgeGroupDefault (line 759) | class SwitchCaseEdgeGroupDefault(DictConvertible): method __init__ (line 769) | def __init__(self, target_id: str) -> None: method to_dict (line 783) | def to_dict(self) -> dict[str, Any]: method from_dict (line 795) | def from_dict(cls, data: dict[str, Any]) -> SwitchCaseEdgeGroupDefault: class SwitchCaseEdgeGroup (line 810) | class SwitchCaseEdgeGroup(FanOutEdgeGroup): method __init__ (line 820) | def __init__( method to_dict (line 886) | def to_dict(self) -> dict[str, Any]: class InternalEdgeGroup (line 912) | class InternalEdgeGroup(EdgeGroup): method __init__ (line 931) | def __init__(self, executor_id: str) -> None: FILE: python/packages/core/agent_framework/_workflows/_edge_runner.py class EdgeRunner (line 27) | class EdgeRunner(ABC): method __init__ (line 30) | def __init__(self, edge_group: EdgeGroup, executors: dict[str, Executo... method send_message (line 41) | async def send_message(self, message: WorkflowMessage, state: State, c... method _can_handle (line 55) | def _can_handle(self, executor_id: str, message: WorkflowMessage) -> b... method _execute_on_target (line 61) | async def _execute_on_target( class SingleEdgeRunner (line 86) | class SingleEdgeRunner(EdgeRunner): method __init__ (line 89) | def __init__(self, edge_group: SingleEdgeGroup | InternalEdgeGroup, ex... method send_message (line 93) | async def send_message(self, message: WorkflowMessage, state: State, c... class FanOutEdgeRunner (line 153) | class FanOutEdgeRunner(EdgeRunner): method __init__ (line 156) | def __init__(self, edge_group: FanOutEdgeGroup, executors: dict[str, E... method send_message (line 165) | async def send_message(self, message: WorkflowMessage, state: State, c... method _validate_selection_result (line 273) | def _validate_selection_result(self, selection_results: list[str]) -> ... class FanInEdgeRunner (line 278) | class FanInEdgeRunner(EdgeRunner): method __init__ (line 281) | def __init__(self, edge_group: FanInEdgeGroup, executors: dict[str, Ex... method send_message (line 288) | async def send_message(self, message: WorkflowMessage, state: State, c... method _is_ready_to_send (line 371) | def _is_ready_to_send(self) -> bool: class SwitchCaseEdgeRunner (line 376) | class SwitchCaseEdgeRunner(FanOutEdgeRunner): method __init__ (line 379) | def __init__(self, edge_group: SwitchCaseEdgeGroup, executors: dict[st... function create_edge_runner (line 383) | def create_edge_runner(edge_group: EdgeGroup, executors: dict[str, Execu... FILE: python/packages/core/agent_framework/_workflows/_events.py class WorkflowEventSource (line 25) | class WorkflowEventSource(str, Enum): function _current_event_origin (line 42) | def _current_event_origin() -> WorkflowEventSource: function _framework_event_origin (line 48) | def _framework_event_origin() -> Iterator[None]: # pyright: ignore[repo... class WorkflowRunState (line 57) | class WorkflowRunState(str, Enum): class WorkflowErrorDetails (line 70) | class WorkflowErrorDetails: method from_exception (line 80) | def from_exception( class WorkflowEvent (line 130) | class WorkflowEvent(Generic[DataT]): method __init__ (line 181) | def __init__( method __repr__ (line 220) | def __repr__(self) -> str: method started (line 240) | def started(cls, data: DataT | None = None) -> WorkflowEvent[DataT]: method status (line 245) | def status(cls, state: WorkflowRunState, data: DataT | None = None) ->... method failed (line 250) | def failed(cls, details: WorkflowErrorDetails, data: DataT | None = No... method warning (line 255) | def warning(cls, message: str) -> WorkflowEvent[str]: method error (line 260) | def error(cls, exception: Exception) -> WorkflowEvent[Exception]: method output (line 265) | def output(cls, executor_id: str, data: DataT) -> WorkflowEvent[DataT]: method emit (line 270) | def emit(cls, executor_id: str, data: DataT) -> WorkflowEvent[DataT]: method request_info (line 279) | def request_info( method superstep_started (line 297) | def superstep_started(cls, iteration: int, data: DataT | None = None) ... method superstep_completed (line 302) | def superstep_completed(cls, iteration: int, data: DataT | None = None... method executor_invoked (line 307) | def executor_invoked(cls, executor_id: str, data: DataT | None = None)... method executor_completed (line 312) | def executor_completed(cls, executor_id: str, data: DataT | None = Non... method executor_failed (line 317) | def executor_failed(cls, executor_id: str, details: WorkflowErrorDetai... method request_id (line 326) | def request_id(self) -> str: method source_executor_id (line 341) | def source_executor_id(self) -> str: method request_type (line 356) | def request_type(self) -> builtins.type[Any]: method response_type (line 371) | def response_type(self) -> builtins.type[Any]: method to_dict (line 389) | def to_dict(self) -> dict[str, Any]: method from_dict (line 406) | def from_dict(cls, data: dict[str, Any]) -> WorkflowEvent[Any]: FILE: python/packages/core/agent_framework/_workflows/_executor.py class Executor (line 30) | class Executor(RequestInfoMixin, DictConvertible): method __init__ (line 173) | def __init__( method execute (line 219) | async def execute( method _create_context_for_handler (line 296) | def _create_context_for_handler( method _discover_handlers (line 329) | def _discover_handlers(self) -> None: method can_handle (line 355) | def can_handle(self, message: WorkflowMessage) -> bool: method _register_instance_handler (line 379) | def _register_instance_handler( method input_types (line 411) | def input_types(self) -> list[type[Any] | types.UnionType]: method output_types (line 420) | def output_types(self) -> list[type[Any] | types.UnionType]: method workflow_output_types (line 436) | def workflow_output_types(self) -> list[type[Any] | types.UnionType]: method to_dict (line 451) | def to_dict(self) -> dict[str, Any]: method _find_handler (line 455) | def _find_handler(self, message: Any) -> Callable[[Any, WorkflowContex... method on_checkpoint_save (line 493) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 508) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: function handler (line 530) | def handler( function handler (line 536) | def handler( function handler (line 547) | def handler( function _validate_handler_signature (line 694) | def _validate_handler_signature( FILE: python/packages/core/agent_framework/_workflows/_function_executor.py class FunctionExecutor (line 36) | class FunctionExecutor(Executor): method __init__ (line 46) | def __init__( function executor (line 177) | def executor(func: Callable[..., Any]) -> FunctionExecutor: ... function executor (line 181) | def executor( function executor (line 190) | def executor( function _validate_function_signature (line 294) | def _validate_function_signature( FILE: python/packages/core/agent_framework/_workflows/_message_utils.py function normalize_messages_input (line 9) | def normalize_messages_input( FILE: python/packages/core/agent_framework/_workflows/_model_utils.py class DictConvertible (line 15) | class DictConvertible: method to_dict (line 18) | def to_dict(self) -> dict[str, Any]: method from_dict (line 22) | def from_dict(cls: type[ModelT], data: dict[str, Any]) -> ModelT: method clone (line 25) | def clone(self, *, deep: bool = True) -> Self: method to_json (line 28) | def to_json(self) -> str: method from_json (line 34) | def from_json(cls: type[ModelT], raw: str) -> ModelT: function encode_value (line 43) | def encode_value(value: Any) -> Any: FILE: python/packages/core/agent_framework/_workflows/_request_info_mixin.py class RequestInfoMixin (line 29) | class RequestInfoMixin: method is_request_supported (line 32) | def is_request_supported(self, request_type: builtin_type[Any], respon... method _find_response_handler (line 52) | def _find_response_handler(self, request: Any, response: Any) -> Calla... method _discover_response_handlers (line 70) | def _discover_response_handlers(self) -> None: function response_handler (line 114) | def response_handler( function response_handler (line 120) | def response_handler( function response_handler (line 133) | def response_handler( function _validate_response_handler_signature (line 306) | def _validate_response_handler_signature( FILE: python/packages/core/agent_framework/_workflows/_runner.py class Runner (line 30) | class Runner: method __init__ (line 33) | def __init__( method context (line 70) | def context(self) -> RunnerContext: method reset_iteration_count (line 74) | def reset_iteration_count(self) -> None: method run_until_convergence (line 78) | async def run_until_convergence(self) -> AsyncGenerator[WorkflowEvent,... method _run_iteration (line 160) | async def _run_iteration(self) -> None: method _create_checkpoint_if_enabled (line 212) | async def _create_checkpoint_if_enabled(self, previous_checkpoint_id: ... method restore_from_checkpoint (line 240) | async def restore_from_checkpoint( method _save_executor_states (line 297) | async def _save_executor_states(self) -> None: method _restore_executor_states (line 309) | async def _restore_executor_states(self) -> None: method _parse_edge_runners (line 337) | def _parse_edge_runners(self, edge_runners: list[EdgeRunner]) -> dict[... method _mark_resumed (line 354) | def _mark_resumed(self, iteration: int) -> None: method _set_executor_state (line 362) | async def _set_executor_state(self, executor_id: str, state: dict[str,... FILE: python/packages/core/agent_framework/_workflows/_runner_context.py class MessageType (line 23) | class MessageType(Enum): class WorkflowMessage (line 34) | class WorkflowMessage: method trace_context (line 52) | def trace_context(self) -> dict[str, str] | None: method source_span_id (line 57) | def source_span_id(self) -> str | None: method to_dict (line 61) | def to_dict(self) -> dict[str, Any]: method from_dict (line 74) | def from_dict(data: dict[str, Any]) -> WorkflowMessage: class RunnerContext (line 95) | class RunnerContext(Protocol): method send_message (line 102) | async def send_message(self, message: WorkflowMessage) -> None: method drain_messages (line 110) | async def drain_messages(self) -> dict[str, list[WorkflowMessage]]: method has_messages (line 118) | async def has_messages(self) -> bool: method add_event (line 126) | async def add_event(self, event: WorkflowEvent) -> None: method drain_events (line 134) | async def drain_events(self) -> list[WorkflowEvent]: method has_events (line 142) | async def has_events(self) -> bool: method next_event (line 150) | async def next_event(self) -> WorkflowEvent: # pragma: no cover - int... method has_checkpointing (line 155) | def has_checkpointing(self) -> bool: method set_runtime_checkpoint_storage (line 163) | def set_runtime_checkpoint_storage(self, storage: CheckpointStorage) -... method clear_runtime_checkpoint_storage (line 171) | def clear_runtime_checkpoint_storage(self) -> None: method reset_for_new_run (line 175) | def reset_for_new_run(self) -> None: method set_streaming (line 179) | def set_streaming(self, streaming: bool) -> None: method is_streaming (line 187) | def is_streaming(self) -> bool: method create_checkpoint (line 195) | async def create_checkpoint( method load_checkpoint (line 222) | async def load_checkpoint(self, checkpoint_id: CheckpointID) -> Workfl... method apply_checkpoint (line 233) | async def apply_checkpoint(self, checkpoint: WorkflowCheckpoint) -> None: method add_request_info_event (line 241) | async def add_request_info_event(self, event: WorkflowEvent[Any]) -> N... method send_request_info_response (line 249) | async def send_request_info_response(self, request_id: str, response: ... method get_pending_request_info_events (line 258) | async def get_pending_request_info_events(self) -> dict[str, WorkflowE... class InProcRunnerContext (line 267) | class InProcRunnerContext: method __init__ (line 270) | def __init__(self, checkpoint_storage: CheckpointStorage | None = None): method send_message (line 291) | async def send_message(self, message: WorkflowMessage) -> None: method drain_messages (line 295) | async def drain_messages(self) -> dict[str, list[WorkflowMessage]]: method has_messages (line 300) | async def has_messages(self) -> bool: method add_event (line 303) | async def add_event(self, event: WorkflowEvent) -> None: method drain_events (line 311) | async def drain_events(self) -> list[WorkflowEvent]: method has_events (line 321) | async def has_events(self) -> bool: method next_event (line 324) | async def next_event(self) -> WorkflowEvent: method _get_effective_checkpoint_storage (line 335) | def _get_effective_checkpoint_storage(self) -> CheckpointStorage | None: method set_runtime_checkpoint_storage (line 339) | def set_runtime_checkpoint_storage(self, storage: CheckpointStorage) -... method clear_runtime_checkpoint_storage (line 347) | def clear_runtime_checkpoint_storage(self) -> None: method has_checkpointing (line 355) | def has_checkpointing(self) -> bool: method create_checkpoint (line 358) | async def create_checkpoint( method load_checkpoint (line 385) | async def load_checkpoint(self, checkpoint_id: CheckpointID) -> Workfl... method reset_for_new_run (line 391) | def reset_for_new_run(self) -> None: method apply_checkpoint (line 402) | async def apply_checkpoint(self, checkpoint: WorkflowCheckpoint) -> None: method set_streaming (line 418) | def set_streaming(self, streaming: bool) -> None: method is_streaming (line 426) | def is_streaming(self) -> bool: method add_request_info_event (line 434) | async def add_request_info_event(self, event: WorkflowEvent[Any]) -> N... method send_request_info_response (line 445) | async def send_request_info_response(self, request_id: str, response: ... method get_pending_request_info_events (line 476) | async def get_pending_request_info_events(self) -> dict[str, WorkflowE... FILE: python/packages/core/agent_framework/_workflows/_state.py class State (line 6) | class State: method __init__ (line 25) | def __init__(self) -> None: method set (line 30) | def set(self, key: str, value: Any) -> None: method get (line 45) | def get(self, key: str, default: Any = None) -> Any: method has (line 62) | def has(self, key: str) -> bool: method delete (line 68) | def delete(self, key: str) -> None: method clear (line 85) | def clear(self) -> None: method commit (line 90) | def commit(self) -> None: method discard (line 102) | def discard(self) -> None: method export_state (line 106) | def export_state(self) -> dict[str, Any]: method import_state (line 113) | def import_state(self, state: dict[str, Any]) -> None: class _DeleteSentinelType (line 121) | class _DeleteSentinelType: FILE: python/packages/core/agent_framework/_workflows/_typing_utils.py function is_chat_agent (line 9) | def is_chat_agent(agent: Any) -> TypeGuard[Agent]: function resolve_type_annotation (line 21) | def resolve_type_annotation( function normalize_type_to_list (line 79) | def normalize_type_to_list(type_annotation: type[Any] | UnionType | None... function is_instance_of (line 109) | def is_instance_of(data: Any, target_type: type | UnionType | Any) -> bool: function try_coerce_to_type (line 180) | def try_coerce_to_type(data: Any, target_type: type | UnionType | Any) -... function serialize_type (line 232) | def serialize_type(t: type) -> str: function deserialize_type (line 242) | def deserialize_type(serialized_type_string: str) -> type: function is_type_compatible (line 257) | def is_type_compatible(source_type: type | UnionType | Any, target_type:... FILE: python/packages/core/agent_framework/_workflows/_validation.py class ValidationTypeEnum (line 19) | class ValidationTypeEnum(Enum): class WorkflowValidationError (line 30) | class WorkflowValidationError(WorkflowException): method __init__ (line 33) | def __init__(self, message: str, validation_type: ValidationTypeEnum): method __str__ (line 38) | def __str__(self) -> str: class EdgeDuplicationError (line 42) | class EdgeDuplicationError(WorkflowValidationError): method __init__ (line 45) | def __init__(self, edge_id: str): class TypeCompatibilityError (line 53) | class TypeCompatibilityError(WorkflowValidationError): method __init__ (line 56) | def __init__( class GraphConnectivityError (line 76) | class GraphConnectivityError(WorkflowValidationError): method __init__ (line 79) | def __init__(self, message: str): class WorkflowGraphValidator (line 87) | class WorkflowGraphValidator: method __init__ (line 96) | def __init__(self) -> None: method validate_workflow (line 101) | def validate_workflow( method _validate_handler_output_annotations (line 163) | def _validate_handler_output_annotations(self) -> None: method _validate_edge_duplication (line 182) | def _validate_edge_duplication(self) -> None: method _validate_type_compatibility (line 196) | def _validate_type_compatibility(self) -> None: method _validate_edge_type_compatibility (line 209) | def _validate_edge_type_compatibility(self, edge: Edge, edge_group: Ed... method _validate_graph_connectivity (line 287) | def _validate_graph_connectivity(self, start_executor_id: str) -> None: method _find_reachable_nodes (line 334) | def _find_reachable_nodes(self, graph: dict[str, list[str]], start: st... method _output_validation (line 359) | def _output_validation(self, output_executors: list[str]) -> None: method _validate_self_loops (line 378) | def _validate_self_loops(self) -> None: method _validate_dead_ends (line 392) | def _validate_dead_ends(self) -> None: function validate_workflow_graph (line 413) | def validate_workflow_graph( FILE: python/packages/core/agent_framework/_workflows/_viz.py class WorkflowViz (line 18) | class WorkflowViz: method __init__ (line 21) | def __init__(self, workflow: Workflow): method to_digraph (line 29) | def to_digraph(self, include_internal_executors: bool = False) -> str: method export (line 64) | def export( method save_svg (line 142) | def save_svg(self, filename: str, include_internal_executors: bool = F... method save_png (line 155) | def save_png(self, filename: str, include_internal_executors: bool = F... method save_pdf (line 168) | def save_pdf(self, filename: str, include_internal_executors: bool = F... method to_mermaid (line 181) | def to_mermaid(self, include_internal_executors: bool = False) -> str: method _fan_in_digest (line 213) | def _fan_in_digest(self, target: str, sources: list[str]) -> str: method _compute_fan_in_descriptors (line 217) | def _compute_fan_in_descriptors(self, workflow: Workflow | None = None... method _compute_normal_edges (line 233) | def _compute_normal_edges( method _emit_workflow_digraph (line 255) | def _emit_workflow_digraph( method _emit_sub_workflows_digraph (line 301) | def _emit_sub_workflows_digraph( method _emit_workflow_mermaid (line 346) | def _emit_workflow_mermaid( method _emit_sub_workflows_mermaid (line 403) | def _emit_sub_workflows_mermaid( FILE: python/packages/core/agent_framework/_workflows/_workflow.py class WorkflowRunResult (line 41) | class WorkflowRunResult(list[WorkflowEvent]): method __init__ (line 61) | def __init__(self, events: list[WorkflowEvent[Any]], status_events: li... method get_outputs (line 65) | def get_outputs(self) -> list[Any]: method get_request_info_events (line 73) | def get_request_info_events(self) -> list[WorkflowEvent[Any]]: method get_final_state (line 81) | def get_final_state(self) -> WorkflowRunState: method status_timeline (line 94) | def status_timeline(self) -> list[WorkflowEvent[Any]]: class Workflow (line 102) | class Workflow(DictConvertible): method __init__ (line 173) | def __init__( method _ensure_not_running (line 237) | def _ensure_not_running(self) -> None: method _reset_running_flag (line 243) | def _reset_running_flag(self) -> None: method to_dict (line 247) | def to_dict(self) -> dict[str, Any]: method to_json (line 278) | def to_json(self) -> str: method get_start_executor (line 282) | def get_start_executor(self) -> Executor: method get_output_executors (line 290) | def get_output_executors(self) -> list[Executor]: method get_executors_list (line 294) | def get_executors_list(self) -> list[Executor]: method _run_workflow_with_tracing (line 298) | async def _run_workflow_with_tracing( method _execute_with_message_or_checkpoint (line 412) | async def _execute_with_message_or_checkpoint( method run (line 457) | def run( method run (line 469) | def run( method run (line 481) | def run( method _run_core (line 545) | async def _run_core( method _run_cleanup (line 591) | async def _run_cleanup(self, checkpoint_storage: CheckpointStorage | N... method _finalize_events (line 598) | def _finalize_events( method _validate_run_params (line 625) | def _validate_run_params( method _resolve_execution_mode (line 650) | def _resolve_execution_mode( method _restore_and_send_responses (line 679) | async def _restore_and_send_responses( method _send_responses_internal (line 703) | async def _send_responses_internal(self, responses: dict[str, Any]) ->... method _get_executor_by_id (line 729) | def _get_executor_by_id(self, executor_id: str) -> Executor: method _should_yield_output_event (line 742) | def _should_yield_output_event(self, event: WorkflowEvent[Any]) -> bool: method _compute_graph_signature (line 760) | def _compute_graph_signature(self) -> dict[str, Any]: method _hash_graph_signature (line 823) | def _hash_graph_signature(signature: dict[str, Any]) -> str: method input_types (line 828) | def input_types(self) -> list[type[Any] | types.UnionType]: method output_types (line 840) | def output_types(self) -> list[type[Any] | types.UnionType]: method as_agent (line 857) | def as_agent(self, name: str | None = None) -> WorkflowAgent: FILE: python/packages/core/agent_framework/_workflows/_workflow_builder.py class WorkflowBuilder (line 42) | class WorkflowBuilder: method __init__ (line 78) | def __init__( method _add_executor (line 124) | def _add_executor(self, executor: Executor) -> str: method _maybe_wrap_agent (line 141) | def _maybe_wrap_agent(self, candidate: Executor | SupportsAgentRun) ->... method add_edge (line 180) | def add_edge( method add_fan_out_edges (line 232) | def add_fan_out_edges( method add_switch_case_edge_group (line 288) | def add_switch_case_edge_group( method add_multi_selection_edge_group (line 375) | def add_multi_selection_edge_group( method add_fan_in_edges (line 461) | def add_fan_in_edges( method add_chain (line 516) | def add_chain(self, executors: Sequence[Executor | SupportsAgentRun]) ... method _set_start_executor (line 570) | def _set_start_executor(self, executor: Executor | SupportsAgentRun) -... method build (line 587) | def build(self) -> Workflow: FILE: python/packages/core/agent_framework/_workflows/_workflow_context.py function infer_output_types_from_ctx_annotation (line 35) | def infer_output_types_from_ctx_annotation( function _is_workflow_context_type (line 115) | def _is_workflow_context_type(annotation: Any) -> bool: function validate_workflow_context_annotation (line 124) | def validate_workflow_context_annotation( class WorkflowContext (line 206) | class WorkflowContext(Generic[OutT, W_OutT]): method __init__ (line 253) | def __init__( method request_id (line 299) | def request_id(self) -> str | None: method send_message (line 307) | async def send_message(self, message: OutT, target_id: str | None = No... method yield_output (line 339) | async def yield_output(self, output: W_OutT) -> None: method add_event (line 354) | async def add_event(self, event: WorkflowEvent[Any]) -> None: method request_info (line 367) | async def request_info(self, request_data: object, response_type: type... method get_state (line 400) | def get_state(self, key: str, default: Any = None) -> Any: method set_state (line 404) | def set_state(self, key: str, value: Any) -> None: method get_source_executor_id (line 408) | def get_source_executor_id(self) -> str: method source_executor_ids (line 422) | def source_executor_ids(self) -> list[str]: method state (line 427) | def state(self) -> State: method get_sent_messages (line 431) | def get_sent_messages(self) -> list[Any]: method get_yielded_outputs (line 439) | def get_yielded_outputs(self) -> list[Any]: method is_streaming (line 447) | def is_streaming(self) -> bool: FILE: python/packages/core/agent_framework/_workflows/_workflow_executor.py class ExecutionContext (line 37) | class ExecutionContext: class SubWorkflowResponseMessage (line 57) | class SubWorkflowResponseMessage: class SubWorkflowRequestMessage (line 72) | class SubWorkflowRequestMessage: method create_response (line 87) | def create_response(self, data: Any) -> SubWorkflowResponseMessage: class WorkflowExecutor (line 102) | class WorkflowExecutor(Executor): method __init__ (line 265) | def __init__( method input_types (line 304) | def input_types(self) -> list[type[Any] | types.UnionType]: method output_types (line 319) | def output_types(self) -> list[type[Any] | types.UnionType]: method to_dict (line 338) | def to_dict(self) -> dict[str, Any]: method can_handle (line 343) | def can_handle(self, message: WorkflowMessage) -> bool: method process_workflow (line 364) | async def process_workflow(self, input_data: object, ctx: WorkflowCont... method handle_message_wrapped_request_response (line 408) | async def handle_message_wrapped_request_response( method handle_propagated_request_response (line 430) | async def handle_propagated_request_response( method on_checkpoint_save (line 453) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 463) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: method _process_workflow_result (line 516) | async def _process_workflow_result( method _handle_response (line 611) | async def _handle_response( FILE: python/packages/core/agent_framework/a2a/__init__.py function __getattr__ (line 20) | def __getattr__(name: str) -> Any: function __dir__ (line 31) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/ag_ui/__init__.py function __getattr__ (line 29) | def __getattr__(name: str) -> Any: function __dir__ (line 40) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/amazon/__init__.py function __getattr__ (line 34) | def __getattr__(name: str) -> Any: function __dir__ (line 45) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/anthropic/__init__.py function __getattr__ (line 29) | def __getattr__(name: str) -> Any: function __dir__ (line 41) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/azure/__init__.py function __getattr__ (line 52) | def __getattr__(name: str) -> Any: function __dir__ (line 65) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/azure/_assistants_client.py class AzureOpenAIAssistantsClient (line 41) | class AzureOpenAIAssistantsClient( method __init__ (line 48) | def __init__( FILE: python/packages/core/agent_framework/azure/_chat_client.py class AzureUserSecurityContext (line 62) | class AzureUserSecurityContext(TypedDict, total=False): class AzureOpenAIChatOptions (line 84) | class AzureOpenAIChatOptions(OpenAIChatOptions[ResponseModelT], Generic[... class AzureOpenAIChatClient (line 153) | class AzureOpenAIChatClient( # type: ignore[misc] method __init__ (line 163) | def __init__( method _parse_text_from_openai (line 293) | def _parse_text_from_openai(self, choice: Choice | ChunkChoice) -> Con... FILE: python/packages/core/agent_framework/azure/_embedding_client.py class AzureOpenAIEmbeddingClient (line 41) | class AzureOpenAIEmbeddingClient( method __init__ (line 90) | def __init__( FILE: python/packages/core/agent_framework/azure/_entra_id_authentication.py function resolve_credential_to_token_provider (line 28) | def resolve_credential_to_token_provider( FILE: python/packages/core/agent_framework/azure/_responses_client.py class AzureOpenAIResponsesClient (line 52) | class AzureOpenAIResponsesClient( # type: ignore[misc] method __init__ (line 62) | def __init__( method _create_client_from_project (line 247) | def _create_client_from_project( method _check_model_presence (line 273) | def _check_model_presence(self, options: dict[str, Any]) -> None: FILE: python/packages/core/agent_framework/azure/_shared.py class AzureOpenAISettings (line 31) | class AzureOpenAISettings(TypedDict, total=False): function _apply_azure_defaults (line 108) | def _apply_azure_defaults( class AzureOpenAIConfigMixin (line 129) | class AzureOpenAIConfigMixin(OpenAIBase): method __init__ (line 135) | def __init__( FILE: python/packages/core/agent_framework/chatkit/__init__.py function __getattr__ (line 22) | def __getattr__(name: str) -> Any: function __dir__ (line 33) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/declarative/__init__.py function __getattr__ (line 35) | def __getattr__(name: str) -> Any: function __dir__ (line 46) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/devui/__init__.py function __getattr__ (line 36) | def __getattr__(name: str) -> Any: function __dir__ (line 47) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/exceptions.py class AgentFrameworkException (line 15) | class AgentFrameworkException(Exception): method __init__ (line 21) | def __init__( class AgentException (line 43) | class AgentException(AgentFrameworkException): class AgentInvalidAuthException (line 49) | class AgentInvalidAuthException(AgentException): class AgentInvalidRequestException (line 55) | class AgentInvalidRequestException(AgentException): class AgentInvalidResponseException (line 61) | class AgentInvalidResponseException(AgentException): class AgentContentFilterException (line 67) | class AgentContentFilterException(AgentException): class ChatClientException (line 78) | class ChatClientException(AgentFrameworkException): class ChatClientInvalidAuthException (line 84) | class ChatClientInvalidAuthException(ChatClientException): class ChatClientInvalidRequestException (line 90) | class ChatClientInvalidRequestException(ChatClientException): class ChatClientInvalidResponseException (line 96) | class ChatClientInvalidResponseException(ChatClientException): class ChatClientContentFilterException (line 102) | class ChatClientContentFilterException(ChatClientException): class IntegrationException (line 113) | class IntegrationException(AgentFrameworkException): class IntegrationInitializationError (line 119) | class IntegrationInitializationError(IntegrationException): class IntegrationInvalidAuthException (line 125) | class IntegrationInvalidAuthException(IntegrationException): class IntegrationInvalidRequestException (line 131) | class IntegrationInvalidRequestException(IntegrationException): class IntegrationInvalidResponseException (line 137) | class IntegrationInvalidResponseException(IntegrationException): class IntegrationContentFilterException (line 143) | class IntegrationContentFilterException(IntegrationException): class ContentError (line 154) | class ContentError(AgentFrameworkException): class AdditionItemMismatch (line 160) | class AdditionItemMismatch(ContentError): class ToolException (line 171) | class ToolException(AgentFrameworkException): class ToolExecutionException (line 177) | class ToolExecutionException(ToolException): class UserInputRequiredException (line 183) | class UserInputRequiredException(ToolException): method __init__ (line 196) | def __init__( class MiddlewareException (line 216) | class MiddlewareException(AgentFrameworkException): class SettingNotFoundError (line 227) | class SettingNotFoundError(AgentFrameworkException): class WorkflowException (line 238) | class WorkflowException(AgentFrameworkException): class WorkflowRunnerException (line 244) | class WorkflowRunnerException(WorkflowException): class WorkflowConvergenceException (line 250) | class WorkflowConvergenceException(WorkflowRunnerException): class WorkflowCheckpointException (line 256) | class WorkflowCheckpointException(WorkflowRunnerException): FILE: python/packages/core/agent_framework/github/__init__.py function __getattr__ (line 24) | def __getattr__(name: str) -> Any: function __dir__ (line 37) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/mem0/__init__.py function __getattr__ (line 20) | def __getattr__(name: str) -> Any: function __dir__ (line 31) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/microsoft/__init__.py function __getattr__ (line 52) | def __getattr__(name: str) -> Any: function __dir__ (line 65) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/observability.py class MessageListTimestampFilter (line 155) | class MessageListTimestampFilter(logging.Filter): method filter (line 160) | def filter(self, record: logging.LogRecord) -> bool: class OtelAttr (line 171) | class OtelAttr(str, Enum): method __repr__ (line 294) | def __repr__(self) -> str: method __str__ (line 298) | def __str__(self) -> str: function _parse_headers (line 321) | def _parse_headers(header_str: str) -> dict[str, str]: function _create_otlp_exporters (line 333) | def _create_otlp_exporters( function _get_exporters_from_env (line 455) | def _get_exporters_from_env( function create_resource (line 528) | def create_resource( function create_metric_views (line 603) | def create_metric_views() -> list[View]: class _ObservabilitySettingsData (line 615) | class _ObservabilitySettingsData(TypedDict, total=False): class ObservabilitySettings (line 624) | class ObservabilitySettings: method __init__ (line 661) | def __init__(self, **kwargs: Any) -> None: method ENABLED (line 684) | def ENABLED(self) -> bool: method SENSITIVE_DATA_ENABLED (line 692) | def SENSITIVE_DATA_ENABLED(self) -> bool: method is_setup (line 700) | def is_setup(self) -> bool: method _configure (line 704) | def _configure( method _configure_providers (line 754) | def _configure_providers( function get_tracer (line 814) | def get_tracer( function get_meter (line 865) | def get_meter( function _read_bool_env (line 920) | def _read_bool_env(name: str, *, default: bool = False) -> bool: function _read_int_env (line 928) | def _read_int_env(name: str, *, default: int | None = None) -> int | None: function enable_instrumentation (line 939) | def enable_instrumentation( function configure_otel_providers (line 965) | def configure_otel_providers( function _get_duration_histogram (line 1138) | def _get_duration_histogram() -> metrics.Histogram: function _get_token_usage_histogram (line 1147) | def _get_token_usage_histogram() -> metrics.Histogram: class ChatTelemetryLayer (line 1164) | class ChatTelemetryLayer(Generic[OptionsCoT]): method __init__ (line 1167) | def __init__(self, *args: Any, otel_provider_name: str | None = None, ... method get_response (line 1175) | def get_response( method get_response (line 1187) | def get_response( method get_response (line 1199) | def get_response( method get_response (line 1210) | def get_response( class EmbeddingTelemetryLayer (line 1417) | class EmbeddingTelemetryLayer(Generic[EmbeddingInputT, EmbeddingT, Embed... method __init__ (line 1420) | def __init__(self, *args: Any, otel_provider_name: str | None = None, ... method get_embeddings (line 1427) | async def get_embeddings( class AgentTelemetryLayer (line 1479) | class AgentTelemetryLayer: method __init__ (line 1482) | def __init__( method run (line 1498) | def run( method run (line 1512) | def run( method run (line 1525) | def run( function get_function_span_attributes (line 1727) | def get_function_span_attributes(function: FunctionTool, tool_call_id: s... function get_function_span (line 1748) | def get_function_span( function _get_span (line 1769) | def _get_span( function _get_instructions_from_options (line 1790) | def _get_instructions_from_options(options: Any) -> str | list[str] | None: function _get_span_attributes (line 1855) | def _get_span_attributes(**kwargs: Any) -> dict[str, Any]: function capture_exception (line 1887) | def capture_exception(span: trace.Span, exception: Exception, timestamp:... function _capture_messages (line 1894) | def _capture_messages( function _to_otel_message (line 1932) | def _to_otel_message(message: Message) -> dict[str, Any]: function _to_otel_part (line 1937) | def _to_otel_part(content: Content) -> dict[str, Any] | None: function _mark_inner_response_telemetry_captured (line 1975) | def _mark_inner_response_telemetry_captured(response: ChatResponse | Age... function _apply_accumulated_usage (line 1991) | def _apply_accumulated_usage(attributes: dict[str, Any], captured_fields... function _get_response_attributes (line 2006) | def _get_response_attributes( function _capture_response (line 2045) | def _capture_response( class EdgeGroupDeliveryStatus (line 2065) | class EdgeGroupDeliveryStatus(Enum): method __str__ (line 2075) | def __str__(self) -> str: method __repr__ (line 2079) | def __repr__(self) -> str: function workflow_tracer (line 2084) | def workflow_tracer() -> Tracer: function create_workflow_span (line 2090) | def create_workflow_span( function create_processing_span (line 2099) | def create_processing_span( function create_edge_group_processing_span (line 2159) | def create_edge_group_processing_span( FILE: python/packages/core/agent_framework/ollama/__init__.py function __getattr__ (line 32) | def __getattr__(name: str) -> Any: function __dir__ (line 43) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/openai/_assistant_provider.py class OpenAIAssistantProvider (line 45) | class OpenAIAssistantProvider(Generic[OptionsCoT]): method __init__ (line 98) | def __init__( method __aenter__ (line 174) | async def __aenter__(self) -> Self: method __aexit__ (line 178) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... method close (line 182) | async def close(self) -> None: method create_agent (line 191) | async def create_agent( method get_agent (line 305) | async def get_agent( method as_agent (line 371) | def as_agent( method _validate_function_tools (line 437) | def _validate_function_tools( method _merge_tools (line 490) | def _merge_tools( method _create_chat_agent_from_assistant (line 517) | def _create_chat_agent_from_assistant( FILE: python/packages/core/agent_framework/openai/_assistants_client.py class VectorStoreToolResource (line 89) | class VectorStoreToolResource(TypedDict, total=False): class CodeInterpreterToolResource (line 96) | class CodeInterpreterToolResource(TypedDict, total=False): class AssistantToolResources (line 103) | class AssistantToolResources(TypedDict, total=False): class OpenAIAssistantsOptions (line 116) | class OpenAIAssistantsOptions(ChatOptions[ResponseModelT], Generic[Respo... class OpenAIAssistantsClient (line 211) | class OpenAIAssistantsClient( # type: ignore[misc] method get_code_interpreter_tool (line 224) | def get_code_interpreter_tool() -> dict[str, Any]: method get_file_search_tool (line 243) | def get_file_search_tool( method __init__ (line 277) | def __init__( method __aenter__ (line 392) | async def __aenter__(self) -> Self: method __aexit__ (line 396) | async def __aexit__( method close (line 405) | async def close(self) -> None: method _inner_get_response (line 414) | def _inner_get_response( method _get_assistant_id_or_create (line 460) | async def _get_assistant_id_or_create(self) -> str: method _create_assistant_stream (line 482) | async def _create_assistant_stream( method _get_active_thread_run (line 519) | async def _get_active_thread_run(self, thread_id: str | None) -> Run |... method _prepare_thread (line 530) | async def _prepare_thread(self, thread_id: str | None, thread_run: Run... method _process_stream_events (line 550) | async def _process_stream_events(self, stream: Any, thread_id: str) ->... method _parse_function_calls_from_assistants (line 732) | def _parse_function_calls_from_assistants(self, event_data: Run, respo... method _prepare_options (line 778) | def _prepare_options( method _prepare_tool_outputs_for_assistants (line 902) | def _prepare_tool_outputs_for_assistants( method _update_agent_name_and_description (line 940) | def _update_agent_name_and_description(self, agent_name: str | None, d... FILE: python/packages/core/agent_framework/openai/_chat_client.py class PredictionTextContent (line 83) | class PredictionTextContent(TypedDict, total=False): class Prediction (line 90) | class Prediction(TypedDict, total=False): class OpenAIChatOptions (line 97) | class OpenAIChatOptions(ChatOptions[ResponseModelT], Generic[ResponseMod... class RawOpenAIChatClient (line 146) | class RawOpenAIChatClient( # type: ignore[misc] method get_web_search_tool (line 169) | def get_web_search_tool( method get_response (line 219) | def get_response( method get_response (line 229) | def get_response( method get_response (line 239) | def get_response( method get_response (line 249) | def get_response( method _inner_get_response (line 270) | def _inner_get_response( method _prepare_tools_for_openai (line 337) | def _prepare_tools_for_openai( method _prepare_options (line 375) | def _prepare_options(self, messages: Sequence[Message], options: Mappi... method _parse_response_from_openai (line 433) | def _parse_response_from_openai(self, response: ChatCompletion, option... method _parse_response_update_from_openai (line 461) | def _parse_response_update_from_openai( method _parse_usage_from_openai (line 499) | def _parse_usage_from_openai(self, usage: CompletionUsage) -> UsageDet... method _parse_text_from_openai (line 521) | def _parse_text_from_openai(self, choice: Choice | ChunkChoice) -> Con... method _get_metadata_from_chat_response (line 530) | def _get_metadata_from_chat_response(self, response: ChatCompletion) -... method _get_metadata_from_streaming_chat_response (line 536) | def _get_metadata_from_streaming_chat_response(self, response: ChatCom... method _get_metadata_from_chat_choice (line 542) | def _get_metadata_from_chat_choice(self, choice: Choice | ChunkChoice)... method _parse_tool_calls_from_openai (line 548) | def _parse_tool_calls_from_openai(self, choice: Choice | ChunkChoice) ... method _prepare_messages_for_openai (line 567) | def _prepare_messages_for_openai( method _prepare_message_for_openai (line 597) | def _prepare_message_for_openai(self, message: Message) -> list[dict[s... method _prepare_content_for_openai (line 700) | def _prepare_content_for_openai(self, content: Content) -> dict[str, A... method service_url (line 765) | def service_url(self) -> str: class OpenAIChatClient (line 777) | class OpenAIChatClient( # type: ignore[misc] method get_response (line 788) | def get_response( method get_response (line 801) | def get_response( method get_response (line 814) | def get_response( method get_response (line 827) | def get_response( method __init__ (line 855) | def __init__( function _apply_openai_chat_client_docstrings (line 960) | def _apply_openai_chat_client_docstrings() -> None: FILE: python/packages/core/agent_framework/openai/_embedding_client.py class OpenAIEmbeddingOptions (line 25) | class OpenAIEmbeddingOptions(EmbeddingGenerationOptions, total=False): class RawOpenAIEmbeddingClient (line 54) | class RawOpenAIEmbeddingClient( method service_url (line 61) | def service_url(self) -> str: method get_embeddings (line 65) | async def get_embeddings( class OpenAIEmbeddingClient (line 129) | class OpenAIEmbeddingClient( method __init__ (line 171) | def __init__( FILE: python/packages/core/agent_framework/openai/_exceptions.py class ContentFilterResultSeverity (line 14) | class ContentFilterResultSeverity(Enum): class ContentFilterResult (line 24) | class ContentFilterResult: method from_inner_error_result (line 32) | def from_inner_error_result(cls, inner_error_results: dict[str, Any]) ... class ContentFilterCodes (line 50) | class ContentFilterCodes(Enum): class OpenAIContentFilterException (line 57) | class OpenAIContentFilterException(ChatClientContentFilterException): method __init__ (line 69) | def __init__( FILE: python/packages/core/agent_framework/openai/_responses_client.py class OpenAIContinuationToken (line 117) | class OpenAIContinuationToken(ContinuationToken): class ReasoningOptions (line 127) | class ReasoningOptions(TypedDict, total=False): class StreamOptions (line 140) | class StreamOptions(TypedDict, total=False): class OpenAIResponsesOptions (line 150) | class OpenAIResponsesOptions(ChatOptions[ResponseFormatT], Generic[Respo... class RawOpenAIResponsesClient (line 239) | class RawOpenAIResponsesClient( # type: ignore[misc] method _prepare_request (line 265) | async def _prepare_request( method _handle_request_error (line 281) | def _handle_request_error(self, ex: Exception) -> NoReturn: method _inner_get_response (line 294) | def _inner_get_response( method _prepare_response_and_text_format (line 378) | def _prepare_response_and_text_format( method _convert_response_format (line 408) | def _convert_response_format(self, response_format: Mapping[str, Any])... method _get_conversation_id (line 444) | def _get_conversation_id( method _prepare_tools_for_openai (line 460) | def _prepare_tools_for_openai( method _get_local_shell_tool_name (line 507) | def _get_local_shell_tool_name( method get_code_interpreter_tool (line 525) | def get_code_interpreter_tool( method get_web_search_tool (line 564) | def get_web_search_tool( method get_image_generation_tool (line 618) | def get_image_generation_tool( method get_shell_tool (line 683) | def get_shell_tool( method get_mcp_tool (line 769) | def get_mcp_tool( method get_file_search_tool (line 860) | def get_file_search_tool( method _prepare_options (line 904) | async def _prepare_options( method _check_model_presence (line 1000) | def _check_model_presence(self, options: dict[str, Any]) -> None: method _get_current_conversation_id (line 1010) | def _get_current_conversation_id(self, options: Mapping[str, Any], **k... method _prepare_messages_for_openai (line 1018) | def _prepare_messages_for_openai(self, chat_messages: Sequence[Message... method _message_replays_provider_context (line 1040) | def _message_replays_provider_context(message: Message) -> bool: method _prepare_message_for_openai (line 1053) | def _prepare_message_for_openai( method _prepare_content_for_openai (line 1099) | def _prepare_content_for_openai( method _to_local_shell_output_payload (line 1272) | def _to_local_shell_output_payload(content: Content) -> str: method _to_shell_call_output_payload (line 1288) | def _to_shell_call_output_payload(content: Content) -> list[dict[str, ... method _join_shell_commands (line 1326) | def _join_shell_commands(commands: Sequence[str]) -> str: method _parse_response_from_openai (line 1331) | def _parse_response_from_openai( method _parse_chunk_from_openai (line 1707) | def _parse_chunk_from_openai( method _parse_usage_from_openai (line 2239) | def _parse_usage_from_openai(self, usage: ResponseUsage) -> UsageDetai... method _get_metadata_from_response (line 2251) | def _get_metadata_from_response(self, output: Any) -> dict[str, Any]: class OpenAIResponsesClient (line 2260) | class OpenAIResponsesClient( # type: ignore[misc] method __init__ (line 2270) | def __init__( FILE: python/packages/core/agent_framework/openai/_shared.py function _check_openai_version_for_callable_api_key (line 54) | def _check_openai_version_for_callable_api_key() -> None: class OpenAISettings (line 77) | class OpenAISettings(TypedDict, total=False): class OpenAIBase (line 123) | class OpenAIBase(SerializationMixin): method __init__ (line 128) | def __init__(self, *, model_id: str | None = None, client: AsyncOpenAI... method _initialize_client (line 166) | async def _initialize_client(self) -> None: method _ensure_client (line 173) | async def _ensure_client(self) -> AsyncOpenAI: method _get_api_key (line 181) | def _get_api_key( class OpenAIConfigMixin (line 203) | class OpenAIConfigMixin(OpenAIBase): method __init__ (line 208) | def __init__( function to_assistant_tools (line 283) | def to_assistant_tools( function from_assistant_tools (line 311) | def from_assistant_tools( FILE: python/packages/core/agent_framework/orchestrations/__init__.py function __getattr__ (line 72) | def __getattr__(name: str) -> Any: function __dir__ (line 83) | def __dir__() -> list[str]: FILE: python/packages/core/agent_framework/redis/__init__.py function __getattr__ (line 21) | def __getattr__(name: str) -> Any: function __dir__ (line 32) | def __dir__() -> list[str]: FILE: python/packages/core/tests/azure/conftest.py function exclude_list (line 11) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 17) | def override_env_param_dict(request: Any) -> dict[str, str]: function azure_openai_unit_test_env (line 24) | def azure_openai_unit_test_env(monkeypatch, exclude_list, override_env_p... function chat_history (line 61) | def chat_history() -> list[Message]: FILE: python/packages/core/tests/azure/test_azure_assistants_client.py function create_test_azure_assistants_client (line 31) | def create_test_azure_assistants_client( function mock_async_azure_openai (line 56) | def mock_async_azure_openai() -> MagicMock: function test_azure_assistants_client_init_with_client (line 80) | def test_azure_assistants_client_init_with_client(mock_async_azure_opena... function test_azure_assistants_client_init_auto_create_client (line 97) | def test_azure_assistants_client_init_auto_create_client( function test_azure_assistants_client_init_validation_fail (line 117) | def test_azure_assistants_client_init_validation_fail() -> None: function test_azure_assistants_client_init_missing_deployment_name (line 125) | def test_azure_assistants_client_init_missing_deployment_name(azure_open... function test_azure_assistants_client_init_with_default_headers (line 131) | def test_azure_assistants_client_init_with_default_headers(azure_openai_... function test_azure_assistants_client_get_assistant_id_or_create_existing_assistant (line 151) | async def test_azure_assistants_client_get_assistant_id_or_create_existi... function test_azure_assistants_client_get_assistant_id_or_create_create_new (line 164) | async def test_azure_assistants_client_get_assistant_id_or_create_create... function test_azure_assistants_client_aclose_should_not_delete (line 179) | async def test_azure_assistants_client_aclose_should_not_delete( function test_azure_assistants_client_aclose_should_delete (line 194) | async def test_azure_assistants_client_aclose_should_delete(mock_async_a... function test_azure_assistants_client_async_context_manager (line 207) | async def test_azure_assistants_client_async_context_manager(mock_async_... function test_azure_assistants_client_serialize (line 221) | def test_azure_assistants_client_serialize(azure_openai_unit_test_env: d... function get_weather (line 252) | def get_weather( function test_azure_assistants_client_get_response (line 262) | async def test_azure_assistants_client_get_response() -> None: function test_azure_assistants_client_get_response_tools (line 288) | async def test_azure_assistants_client_get_response_tools() -> None: function test_azure_assistants_client_streaming (line 310) | async def test_azure_assistants_client_streaming() -> None: function test_azure_assistants_client_streaming_tools (line 342) | async def test_azure_assistants_client_streaming_tools() -> None: function test_azure_assistants_client_with_existing_assistant (line 370) | async def test_azure_assistants_client_with_existing_assistant() -> None: function test_azure_assistants_agent_basic_run (line 399) | async def test_azure_assistants_agent_basic_run(): function test_azure_assistants_agent_basic_run_streaming (line 417) | async def test_azure_assistants_agent_basic_run_streaming(): function test_azure_assistants_agent_session_persistence (line 438) | async def test_azure_assistants_agent_session_persistence(): function test_azure_assistants_agent_existing_session_id (line 468) | async def test_azure_assistants_agent_existing_session_id(): function test_azure_assistants_agent_code_interpreter (line 514) | async def test_azure_assistants_agent_code_interpreter(): function test_azure_assistants_client_agent_level_tool_persistence (line 535) | async def test_azure_assistants_client_agent_level_tool_persistence(): function test_azure_assistants_client_entra_id_authentication (line 560) | def test_azure_assistants_client_entra_id_authentication() -> None: function test_azure_assistants_client_no_authentication_error (line 603) | def test_azure_assistants_client_no_authentication_error() -> None: function test_azure_assistants_client_callable_credential (line 625) | def test_azure_assistants_client_callable_credential() -> None: function test_azure_assistants_client_base_url_configuration (line 664) | def test_azure_assistants_client_base_url_configuration() -> None: function test_azure_assistants_client_azure_endpoint_configuration (line 695) | def test_azure_assistants_client_azure_endpoint_configuration() -> None: FILE: python/packages/core/tests/azure/test_azure_chat_client.py function test_init (line 45) | def test_init(azure_openai_unit_test_env: dict[str, str]) -> None: function test_init_client (line 55) | def test_init_client(azure_openai_unit_test_env: dict[str, str]) -> None: function test_init_base_url (line 64) | def test_init_base_url(azure_openai_unit_test_env: dict[str, str]) -> None: function test_init_endpoint (line 82) | def test_init_endpoint(azure_openai_unit_test_env: dict[str, str]) -> None: function test_init_with_empty_deployment_name (line 92) | def test_init_with_empty_deployment_name( function test_init_with_empty_endpoint_and_base_url (line 100) | def test_init_with_empty_endpoint_and_base_url( function test_init_with_invalid_endpoint (line 112) | def test_init_with_invalid_endpoint(azure_openai_unit_test_env: dict[str... function test_serialize (line 121) | def test_serialize(azure_openai_unit_test_env: dict[str, str]) -> None: function mock_chat_completion_response (line 154) | def mock_chat_completion_response() -> ChatCompletion: function mock_streaming_chat_completion_response (line 171) | def mock_streaming_chat_completion_response() -> AsyncStream[ChatComplet... function test_cmc (line 191) | async def test_cmc( function test_cmc_with_logit_bias (line 212) | async def test_cmc_with_logit_bias( function test_cmc_with_stop (line 237) | async def test_cmc_with_stop( function test_azure_on_your_data (line 262) | async def test_azure_on_your_data( function test_azure_on_your_data_string (line 332) | async def test_azure_on_your_data_string( function test_azure_on_your_data_fail (line 402) | async def test_azure_on_your_data_fail( function test_content_filtering_raises_correct_exception (line 472) | async def test_content_filtering_raises_correct_exception( function test_content_filtering_without_response_code_raises_with_default_code (line 517) | async def test_content_filtering_without_response_code_raises_with_defau... function test_bad_request_non_content_filter (line 556) | async def test_bad_request_non_content_filter( function test_get_streaming (line 581) | async def test_get_streaming( function test_streaming_with_none_delta (line 610) | async def test_streaming_with_none_delta( function test_parse_text_from_openai_with_choice_message (line 658) | def test_parse_text_from_openai_with_choice_message(azure_openai_unit_te... function test_parse_text_from_openai_with_chunk_choice_delta (line 672) | def test_parse_text_from_openai_with_chunk_choice_delta(azure_openai_uni... function test_parse_text_from_openai_refusal_choice (line 686) | def test_parse_text_from_openai_refusal_choice(azure_openai_unit_test_en... function test_parse_text_from_openai_refusal_chunk_choice (line 700) | def test_parse_text_from_openai_refusal_chunk_choice(azure_openai_unit_t... function test_parse_text_from_openai_no_content_no_refusal (line 714) | def test_parse_text_from_openai_no_content_no_refusal(azure_openai_unit_... function test_parse_text_from_openai_none_delta (line 726) | def test_parse_text_from_openai_none_delta(azure_openai_unit_test_env: d... function test_cmc_with_conversation_id (line 738) | async def test_cmc_with_conversation_id( function test_cmc_streaming_with_conversation_id (line 759) | async def test_cmc_streaming_with_conversation_id( function test_cmc_agent_with_service_session_id (line 782) | async def test_cmc_agent_with_service_session_id( function get_story_text (line 805) | def get_story_text() -> str: function get_weather (line 816) | def get_weather(location: str) -> str: function test_azure_openai_chat_client_response (line 824) | async def test_azure_openai_chat_client_response() -> None: function test_azure_openai_chat_client_response_tools (line 855) | async def test_azure_openai_chat_client_response_tools() -> None: function test_azure_openai_chat_client_streaming (line 877) | async def test_azure_openai_chat_client_streaming() -> None: function test_azure_openai_chat_client_streaming_tools (line 913) | async def test_azure_openai_chat_client_streaming_tools() -> None: function test_azure_openai_chat_client_agent_basic_run (line 941) | async def test_azure_openai_chat_client_agent_basic_run(): function test_azure_openai_chat_client_agent_basic_run_streaming (line 958) | async def test_azure_openai_chat_client_agent_basic_run_streaming(): function test_azure_openai_chat_client_agent_session_persistence (line 980) | async def test_azure_openai_chat_client_agent_session_persistence(): function test_azure_openai_chat_client_agent_existing_session (line 1006) | async def test_azure_openai_chat_client_agent_existing_session(): function test_azure_chat_client_agent_level_tool_persistence (line 1042) | async def test_azure_chat_client_agent_level_tool_persistence(): FILE: python/packages/core/tests/azure/test_azure_embedding_client.py function _make_openai_response (line 17) | def _make_openai_response( function azure_embedding_unit_test_env (line 34) | def azure_embedding_unit_test_env(monkeypatch: pytest.MonkeyPatch) -> None: function test_azure_construction_with_deployment_name (line 46) | def test_azure_construction_with_deployment_name(azure_embedding_unit_te... function test_azure_construction_with_existing_client (line 55) | def test_azure_construction_with_existing_client(azure_embedding_unit_te... function test_azure_construction_missing_deployment_name_raises (line 65) | def test_azure_construction_missing_deployment_name_raises(azure_embeddi... function test_azure_construction_missing_credentials_raises (line 73) | def test_azure_construction_missing_credentials_raises(azure_embedding_u... function test_azure_get_embeddings (line 81) | async def test_azure_get_embeddings(azure_embedding_unit_test_env: None)... function test_azure_otel_provider_name (line 100) | def test_azure_otel_provider_name(azure_embedding_unit_test_env: None) -... function test_integration_azure_openai_get_embeddings (line 119) | async def test_integration_azure_openai_get_embeddings() -> None: function test_integration_azure_openai_get_embeddings_multiple (line 137) | async def test_integration_azure_openai_get_embeddings_multiple() -> None: function test_integration_azure_openai_get_embeddings_with_dimensions (line 151) | async def test_integration_azure_openai_get_embeddings_with_dimensions()... FILE: python/packages/core/tests/azure/test_azure_responses_client.py class OutputStruct (line 34) | class OutputStruct(BaseModel): function get_weather (line 42) | async def get_weather(location: Annotated[str, "The location as a city n... function create_vector_store (line 48) | async def create_vector_store( function delete_vector_store (line 67) | async def delete_vector_store(client: AzureOpenAIResponsesClient, file_i... function test_init (line 74) | def test_init(azure_openai_unit_test_env: dict[str, str]) -> None: function test_init_validation_fail (line 82) | def test_init_validation_fail() -> None: function test_init_model_id_constructor (line 88) | def test_init_model_id_constructor(azure_openai_unit_test_env: dict[str,... function test_init_model_id_kwarg (line 97) | def test_init_model_id_kwarg(azure_openai_unit_test_env: dict[str, str])... function test_init_model_id_kwarg_does_not_override_deployment_name (line 105) | def test_init_model_id_kwarg_does_not_override_deployment_name( function test_init_model_id_kwarg_none (line 115) | def test_init_model_id_kwarg_none(azure_openai_unit_test_env: dict[str, ... function test_init_with_default_header (line 122) | def test_init_with_default_header(azure_openai_unit_test_env: dict[str, ... function test_init_with_empty_model_id (line 140) | def test_init_with_empty_model_id(azure_openai_unit_test_env: dict[str, ... function test_init_with_project_client (line 145) | def test_init_with_project_client(azure_openai_unit_test_env: dict[str, ... function test_init_with_project_endpoint (line 172) | def test_init_with_project_endpoint(azure_openai_unit_test_env: dict[str... function test_create_client_from_project_with_project_client (line 196) | def test_create_client_from_project_with_project_client() -> None: function test_create_client_from_project_with_endpoint (line 214) | def test_create_client_from_project_with_endpoint() -> None: function test_create_client_from_project_missing_endpoint (line 238) | def test_create_client_from_project_missing_endpoint() -> None: function test_create_client_from_project_missing_credential (line 248) | def test_create_client_from_project_missing_credential() -> None: function test_serialize (line 258) | def test_serialize(azure_openai_unit_test_env: dict[str, str]) -> None: function test_integration_options (line 347) | async def test_integration_options( function test_integration_web_search (line 429) | async def test_integration_web_search() -> None: function test_integration_client_file_search (line 483) | async def test_integration_client_file_search() -> None: function test_integration_client_file_search_streaming (line 513) | async def test_integration_client_file_search_streaming() -> None: function test_integration_client_agent_hosted_mcp_tool (line 545) | async def test_integration_client_agent_hosted_mcp_tool() -> None: function test_integration_client_agent_hosted_code_interpreter_tool (line 570) | async def test_integration_client_agent_hosted_code_interpreter_tool(): function test_integration_client_agent_existing_session (line 595) | async def test_integration_client_agent_existing_session(): function test_azure_openai_responses_client_tool_rich_content_image (line 631) | async def test_azure_openai_responses_client_tool_rich_content_image() -... function test_integration_function_call_roundtrip_preserves_fidelity (line 679) | async def test_integration_function_call_roundtrip_preserves_fidelity(): FILE: python/packages/core/tests/azure/test_entra_id_authentication.py function test_resolve_sync_credential_returns_provider (line 17) | def test_resolve_sync_credential_returns_provider() -> None: function test_resolve_async_credential_returns_provider (line 29) | def test_resolve_async_credential_returns_provider() -> None: function test_resolve_callable_provider_passthrough (line 41) | def test_resolve_callable_provider_passthrough() -> None: function test_resolve_missing_endpoint_raises (line 53) | def test_resolve_missing_endpoint_raises() -> None: FILE: python/packages/core/tests/conftest.py function enable_instrumentation (line 13) | def enable_instrumentation(request: Any) -> bool: function enable_sensitive_data (line 19) | def enable_sensitive_data(request: Any) -> bool: function span_exporter (line 25) | def span_exporter(monkeypatch, enable_instrumentation: bool, enable_sens... FILE: python/packages/core/tests/core/conftest.py function chat_history (line 42) | def chat_history() -> list[Message]: function ai_tool (line 50) | def ai_tool() -> FunctionTool: function tool_tool (line 62) | def tool_tool() -> FunctionTool: class MockChatClient (line 74) | class MockChatClient: method __init__ (line 77) | def __init__(self, **kwargs: Any) -> None: method get_response (line 84) | def get_response( method _get_streaming_response (line 105) | def _get_streaming_response( class MockBaseChatClient (line 130) | class MockBaseChatClient( method __init__ (line 139) | def __init__(self, **kwargs: Any): method _inner_get_response (line 146) | def _inner_get_response( method _get_non_streaming_response (line 173) | async def _get_non_streaming_response( method _get_streaming_response (line 199) | def _get_streaming_response( function enable_function_calling (line 237) | def enable_function_calling(request: Any) -> bool: function max_iterations (line 242) | def max_iterations(request: Any) -> int: function client (line 247) | def client(enable_function_calling: bool, max_iterations: int) -> MockCh... function chat_client_base (line 255) | def chat_client_base(enable_function_calling: bool, max_iterations: int)... class MockAgentSession (line 264) | class MockAgentSession(AgentSession): class MockAgent (line 269) | class MockAgent(SupportsAgentRun): method id (line 271) | def id(self) -> str: method name (line 275) | def name(self) -> str | None: method description (line 280) | def description(self) -> str | None: method run (line 283) | def run( method _run_impl (line 295) | async def _run_impl( method _run_stream_impl (line 305) | async def _run_stream_impl( method create_session (line 315) | def create_session(self) -> AgentSession: function agent_session (line 320) | def agent_session() -> AgentSession: function agent (line 325) | def agent() -> SupportsAgentRun: FILE: python/packages/core/tests/core/test_agents.py class _FixedTokenizer (line 39) | class _FixedTokenizer: method __init__ (line 40) | def __init__(self, token_count: int) -> None: method count_tokens (line 43) | def count_tokens(self, text: str) -> int: class _ConnectedMCPTool (line 47) | class _ConnectedMCPTool(MCPTool): method __init__ (line 48) | def __init__(self, name: str, function_names: list[str], *, tool_name_... method get_mcp_client (line 67) | def get_mcp_client(self) -> contextlib.AbstractAsyncContextManager[Any]: function test_agent_session_type (line 71) | def test_agent_session_type(agent_session: AgentSession) -> None: function test_agent_type (line 75) | def test_agent_type(agent: SupportsAgentRun) -> None: function test_agent_run (line 79) | async def test_agent_run(agent: SupportsAgentRun) -> None: function test_agent_run_with_content (line 85) | async def test_agent_run_with_content(agent: SupportsAgentRun) -> None: function test_agent_run_streaming (line 91) | async def test_agent_run_streaming(agent: SupportsAgentRun) -> None: function test_chat_client_agent_type (line 102) | def test_chat_client_agent_type(client: SupportsChatGetResponse) -> None: function test_agent_init_docstring_surfaces_raw_agent_constructor_docs (line 107) | def test_agent_init_docstring_surfaces_raw_agent_constructor_docs() -> N... function test_agent_run_docstring_surfaces_raw_agent_runtime_docs (line 115) | def test_agent_run_docstring_surfaces_raw_agent_runtime_docs() -> None: function test_agent_run_is_defined_on_agent_class (line 124) | def test_agent_run_is_defined_on_agent_class() -> None: function test_chat_client_agent_init (line 131) | async def test_chat_client_agent_init(client: SupportsChatGetResponse) -... function test_chat_client_agent_init_with_name (line 140) | async def test_chat_client_agent_init_with_name( function test_agent_init_warns_for_direct_additional_properties (line 151) | def test_agent_init_warns_for_direct_additional_properties(client: Suppo... function test_chat_client_agent_run (line 158) | async def test_chat_client_agent_run(client: SupportsChatGetResponse) ->... function test_chat_client_agent_run_streaming (line 166) | async def test_chat_client_agent_run_streaming(client: SupportsChatGetRe... function test_chat_client_agent_streaming_response_format_from_default_options (line 174) | async def test_chat_client_agent_streaming_response_format_from_default_... function test_chat_client_agent_streaming_response_format_from_run_options (line 206) | async def test_chat_client_agent_streaming_response_format_from_run_opti... function test_chat_client_agent_create_session (line 238) | async def test_chat_client_agent_create_session( function test_chat_client_agent_prepare_session_and_messages (line 247) | async def test_chat_client_agent_prepare_session_and_messages( function test_prepare_session_does_not_mutate_agent_chat_options (line 268) | async def test_prepare_session_does_not_mutate_agent_chat_options( function test_prepare_run_context_handles_function_kwargs (line 290) | async def test_prepare_run_context_handles_function_kwargs( function test_chat_client_agent_run_with_session (line 321) | async def test_chat_client_agent_run_with_session(chat_client_base: Supp... function test_chat_client_agent_updates_existing_session_id_non_streaming (line 339) | async def test_chat_client_agent_updates_existing_session_id_non_streaming( function test_chat_client_agent_update_session_id_streaming_uses_conversation_id (line 356) | async def test_chat_client_agent_update_session_id_streaming_uses_conver... function test_chat_client_agent_updates_existing_session_id_streaming (line 388) | async def test_chat_client_agent_updates_existing_session_id_streaming( function test_chat_client_agent_update_session_id_streaming_does_not_use_response_id (line 419) | async def test_chat_client_agent_update_session_id_streaming_does_not_us... function test_chat_client_agent_streaming_session_id_set_without_get_final_response (line 444) | async def test_chat_client_agent_streaming_session_id_set_without_get_fi... function test_chat_client_agent_streaming_session_history_saved_without_get_final_response (line 483) | async def test_chat_client_agent_streaming_session_history_saved_without... function test_chat_client_agent_update_session_messages (line 517) | async def test_chat_client_agent_update_session_messages( function test_chat_client_agent_update_session_conversation_id_missing (line 538) | async def test_chat_client_agent_update_session_conversation_id_missing( function test_chat_client_agent_default_author_name (line 548) | async def test_chat_client_agent_default_author_name( function test_chat_client_agent_author_name_as_agent_name (line 559) | async def test_chat_client_agent_author_name_as_agent_name( function test_chat_client_agent_author_name_is_used_from_response (line 570) | async def test_chat_client_agent_author_name_is_used_from_response( class MockContextProvider (line 593) | class MockContextProvider(BaseContextProvider): method __init__ (line 594) | def __init__(self, messages: list[Message] | None = None) -> None: method before_run (line 602) | async def before_run(self, *, agent: Any, session: Any, context: Any, ... method after_run (line 607) | async def after_run(self, *, agent: Any, session: Any, context: Any, s... function test_chat_agent_context_providers_model_before_run (line 616) | async def test_chat_agent_context_providers_model_before_run( function test_chat_agent_context_providers_after_run (line 628) | async def test_chat_agent_context_providers_after_run( function test_chat_agent_context_providers_messages_adding (line 649) | async def test_chat_agent_context_providers_messages_adding( function test_chat_agent_context_instructions_in_messages (line 663) | async def test_chat_agent_context_instructions_in_messages( function test_chat_agent_no_context_instructions (line 689) | async def test_chat_agent_no_context_instructions( function test_chat_agent_run_stream_context_providers (line 711) | async def test_chat_agent_run_stream_context_providers( function test_chat_agent_context_providers_with_service_session_id (line 731) | async def test_chat_agent_context_providers_with_service_session_id( function test_chat_agent_as_tool_basic (line 754) | async def test_chat_agent_as_tool_basic(client: SupportsChatGetResponse)... function test_chat_agent_as_tool_custom_parameters (line 767) | async def test_chat_agent_as_tool_custom_parameters( function test_chat_agent_as_tool_defaults (line 791) | async def test_chat_agent_as_tool_defaults(client: SupportsChatGetRespon... function test_chat_agent_as_tool_no_name (line 810) | async def test_chat_agent_as_tool_no_name(client: SupportsChatGetRespons... function test_chat_agent_as_tool_function_execution (line 819) | async def test_chat_agent_as_tool_function_execution( function test_chat_agent_as_tool_with_stream_callback (line 836) | async def test_chat_agent_as_tool_with_stream_callback( function test_chat_agent_as_tool_with_custom_arg_name (line 862) | async def test_chat_agent_as_tool_with_custom_arg_name( function test_chat_agent_as_tool_with_async_stream_callback (line 876) | async def test_chat_agent_as_tool_with_async_stream_callback( function test_chat_agent_as_tool_name_sanitization (line 902) | async def test_chat_agent_as_tool_name_sanitization( function test_chat_agent_as_tool_propagate_session_true (line 922) | async def test_chat_agent_as_tool_propagate_session_true(client: Support... function test_chat_agent_as_tool_propagate_session_false_by_default (line 953) | async def test_chat_agent_as_tool_propagate_session_false_by_default(cli... function test_chat_agent_as_tool_propagate_session_shares_state (line 981) | async def test_chat_agent_as_tool_propagate_session_shares_state(client:... function test_chat_agent_as_mcp_server_basic (line 1012) | async def test_chat_agent_as_mcp_server_basic(client: SupportsChatGetRes... function test_chat_agent_run_with_mcp_tools (line 1025) | async def test_chat_agent_run_with_mcp_tools(client: SupportsChatGetResp... function test_chat_agent_with_local_mcp_tools (line 1045) | async def test_chat_agent_with_local_mcp_tools(client: SupportsChatGetRe... function test_mcp_tools_not_duplicated_when_passed_as_runtime_tools (line 1067) | async def test_mcp_tools_not_duplicated_when_passed_as_runtime_tools( function test_agent_run_raises_on_local_and_agent_mcp_name_conflict (line 1113) | async def test_agent_run_raises_on_local_and_agent_mcp_name_conflict(cha... function test_agent_run_raises_on_runtime_local_and_runtime_mcp_name_conflict (line 1130) | async def test_agent_run_raises_on_runtime_local_and_runtime_mcp_name_co... function test_agent_run_raises_on_duplicate_agent_mcp_names (line 1144) | async def test_agent_run_raises_on_duplicate_agent_mcp_names(chat_client... function test_agent_run_accepts_prefixed_mcp_tools (line 1158) | async def test_agent_run_accepts_prefixed_mcp_tools(chat_client_base: An... function test_agent_tool_receives_session_in_kwargs (line 1184) | async def test_agent_tool_receives_session_in_kwargs(chat_client_base: A... function test_agent_tool_receives_explicit_session_via_function_invocation_context_kwargs (line 1222) | async def test_agent_tool_receives_explicit_session_via_function_invocat... function test_chat_agent_tool_choice_run_level_overrides_agent_level (line 1261) | async def test_chat_agent_tool_choice_run_level_overrides_agent_level(ch... function test_chat_agent_tool_choice_agent_level_used_when_run_level_not_specified (line 1292) | async def test_chat_agent_tool_choice_agent_level_used_when_run_level_no... function test_chat_agent_tool_choice_none_at_run_preserves_agent_level (line 1325) | async def test_chat_agent_tool_choice_none_at_run_preserves_agent_level(... function test_chat_agent_compaction_overrides_client_defaults (line 1354) | async def test_chat_agent_compaction_overrides_client_defaults(chat_clie... function test_chat_agent_uses_client_compaction_defaults_when_agent_unset (line 1389) | async def test_chat_agent_uses_client_compaction_defaults_when_agent_uns... function test_chat_agent_run_level_compaction_and_tokenizer_override_agent_defaults (line 1413) | async def test_chat_agent_run_level_compaction_and_tokenizer_override_ag... function test_merge_options_basic (line 1453) | def test_merge_options_basic(): function test_merge_options_none_values_ignored (line 1465) | def test_merge_options_none_values_ignored(): function test_merge_options_tools_combined (line 1476) | def test_merge_options_tools_combined(): function test_merge_options_dict_tools_combined (line 1494) | def test_merge_options_dict_tools_combined(): function test_merge_options_dict_tools_deduplicates (line 1515) | def test_merge_options_dict_tools_deduplicates(): function test_merge_options_mixed_tools_combined (line 1533) | def test_merge_options_mixed_tools_combined(): function test_merge_options_mixed_tools_deduplicates (line 1555) | def test_merge_options_mixed_tools_deduplicates(): function test_merge_options_nameless_tools_not_deduplicated (line 1573) | def test_merge_options_nameless_tools_not_deduplicated(): function test_merge_options_same_tool_object_kept_once (line 1592) | def test_merge_options_same_tool_object_kept_once(): function test_get_tool_name_dict_no_function_key (line 1606) | def test_get_tool_name_dict_no_function_key(): function test_get_tool_name_dict_function_not_dict (line 1611) | def test_get_tool_name_dict_function_not_dict(): function test_get_tool_name_dict_function_no_name (line 1616) | def test_get_tool_name_dict_function_no_name(): function test_get_tool_name_object_no_name_attr (line 1621) | def test_get_tool_name_object_no_name_attr(): function test_get_tool_name_non_dict_non_object (line 1626) | def test_get_tool_name_non_dict_non_object(): function test_get_tool_name_valid_dict (line 1632) | def test_get_tool_name_valid_dict(): function test_get_tool_name_valid_object (line 1638) | def test_get_tool_name_valid_object(): function test_merge_options_logit_bias_merged (line 1648) | def test_merge_options_logit_bias_merged(): function test_merge_options_metadata_merged (line 1659) | def test_merge_options_metadata_merged(): function test_merge_options_instructions_concatenated (line 1670) | def test_merge_options_instructions_concatenated(): function test_sanitize_agent_name_none (line 1688) | def test_sanitize_agent_name_none(): function test_sanitize_agent_name_valid (line 1693) | def test_sanitize_agent_name_valid(): function test_sanitize_agent_name_replaces_invalid_chars (line 1699) | def test_sanitize_agent_name_replaces_invalid_chars(): function test_agent_create_session (line 1714) | async def test_agent_create_session(chat_client_base: SupportsChatGetRes... function test_agent_create_session_with_context_providers (line 1725) | async def test_agent_create_session_with_context_providers( function test_agent_get_session_with_service_session_id (line 1744) | async def test_agent_get_session_with_service_session_id( function test_agent_session_from_dict (line 1756) | def test_agent_session_from_dict(chat_client_base: SupportsChatGetRespon... function test_chat_agent_calls_update_agent_name_on_client (line 1779) | def test_chat_agent_calls_update_agent_name_on_client(): function test_chat_agent_context_provider_adds_tools_when_agent_has_none (line 1795) | async def test_chat_agent_context_provider_adds_tools_when_agent_has_none( function test_chat_agent_context_provider_adds_instructions_when_agent_has_none (line 1829) | async def test_chat_agent_context_provider_adds_instructions_when_agent_... function test_stores_by_default_skips_inmemory_injection (line 1859) | async def test_stores_by_default_skips_inmemory_injection( function test_stores_by_default_false_injects_inmemory (line 1877) | async def test_stores_by_default_false_injects_inmemory( function test_stores_by_default_with_store_false_injects_inmemory (line 1892) | async def test_stores_by_default_with_store_false_injects_inmemory( function test_store_true_skips_inmemory_injection (line 1909) | async def test_store_true_skips_inmemory_injection( function test_stores_by_default_with_store_false_in_default_options_injects_inmemory (line 1924) | async def test_stores_by_default_with_store_false_in_default_options_inj... function test_shared_local_storage_cross_provider_responses_history_does_not_leak_fc_id (line 1947) | async def test_shared_local_storage_cross_provider_responses_history_doe... function test_as_tool_raises_on_user_input_request (line 2072) | async def test_as_tool_raises_on_user_input_request(client: SupportsChat... FILE: python/packages/core/tests/core/test_as_tool_kwargs_propagation.py class TestAsToolKwargsPropagation (line 14) | class TestAsToolKwargsPropagation: method _build_context (line 18) | def _build_context( method test_as_tool_forwards_runtime_kwargs (line 30) | async def test_as_tool_forwards_runtime_kwargs(self, client: MockChatC... method test_as_tool_forwards_context_kwargs_verbatim (line 74) | async def test_as_tool_forwards_context_kwargs_verbatim(self, client: ... method test_as_tool_nested_delegation_propagates_kwargs (line 111) | async def test_as_tool_nested_delegation_propagates_kwargs(self, clien... method test_as_tool_streaming_mode_forwards_kwargs (line 174) | async def test_as_tool_streaming_mode_forwards_kwargs(self, client: Mo... method test_as_tool_empty_kwargs_still_works (line 218) | async def test_as_tool_empty_kwargs_still_works(self, client: MockChat... method test_as_tool_kwargs_with_chat_options (line 238) | async def test_as_tool_kwargs_with_chat_options(self, client: MockChat... method test_as_tool_kwargs_isolated_per_invocation (line 280) | async def test_as_tool_kwargs_isolated_per_invocation(self, client: Mo... method test_as_tool_forwards_conversation_id_from_context_kwargs (line 334) | async def test_as_tool_forwards_conversation_id_from_context_kwargs(se... FILE: python/packages/core/tests/core/test_clients.py class _FixedTokenizer (line 27) | class _FixedTokenizer: method __init__ (line 28) | def __init__(self, token_count: int) -> None: method count_tokens (line 31) | def count_tokens(self, text: str) -> int: function test_chat_client_type (line 35) | def test_chat_client_type(client: SupportsChatGetResponse): function test_chat_client_get_response (line 39) | async def test_chat_client_get_response(client: SupportsChatGetResponse): function test_chat_client_get_response_streaming (line 45) | async def test_chat_client_get_response_streaming(client: SupportsChatGe... function test_base_client (line 51) | def test_base_client(chat_client_base: SupportsChatGetResponse): function test_base_client_warns_for_direct_additional_properties (line 56) | def test_base_client_warns_for_direct_additional_properties(chat_client_... function test_base_client_as_agent_uses_explicit_additional_properties (line 63) | def test_base_client_as_agent_uses_explicit_additional_properties(chat_c... function test_openai_chat_client_get_response_docstring_surfaces_layered_runtime_docs (line 69) | def test_openai_chat_client_get_response_docstring_surfaces_layered_runt... function test_openai_chat_client_get_response_is_defined_on_openai_class (line 81) | def test_openai_chat_client_get_response_is_defined_on_openai_class() ->... function test_base_client_get_response_uses_explicit_client_kwargs (line 90) | async def test_base_client_get_response_uses_explicit_client_kwargs(chat... function test_base_client_get_response (line 109) | async def test_base_client_get_response(chat_client_base: SupportsChatGe... function test_base_client_get_response_streaming (line 115) | async def test_base_client_get_response_streaming(chat_client_base: Supp... function test_base_client_applies_compaction_before_non_streaming_inner_call (line 120) | async def test_base_client_applies_compaction_before_non_streaming_inner... function test_base_client_applies_compaction_before_streaming_inner_call (line 145) | async def test_base_client_applies_compaction_before_streaming_inner_call( function test_base_client_per_call_compaction_override_applies_before_inner_call (line 174) | async def test_base_client_per_call_compaction_override_applies_before_i... function test_base_client_per_call_tokenizer_override_annotates_messages (line 201) | async def test_base_client_per_call_tokenizer_override_annotates_messages( function test_base_client_per_call_tokenizer_override_without_strategy_annotates_messages (line 232) | async def test_base_client_per_call_tokenizer_override_without_strategy_... function test_base_client_default_tokenizer_without_strategy_annotates_messages (line 262) | async def test_base_client_default_tokenizer_without_strategy_annotates_... function test_base_client_as_agent_does_not_copy_client_compaction_defaults (line 290) | def test_base_client_as_agent_does_not_copy_client_compaction_defaults( function test_chat_client_instructions_handling (line 304) | async def test_chat_client_instructions_handling(chat_client_base: Suppo... function test_openai_responses_client_supports_all_tool_protocols (line 341) | def test_openai_responses_client_supports_all_tool_protocols(): function test_openai_chat_client_supports_web_search_only (line 352) | def test_openai_chat_client_supports_web_search_only(): function test_openai_assistants_client_supports_code_interpreter_and_file_search (line 363) | def test_openai_assistants_client_supports_code_interpreter_and_file_sea... function test_protocol_isinstance_with_client_instance (line 374) | def test_protocol_isinstance_with_client_instance(): function test_protocol_tool_methods_return_dict (line 385) | def test_protocol_tool_methods_return_dict(): FILE: python/packages/core/tests/core/test_compaction.py function _assistant_function_call (line 40) | def _assistant_function_call(call_id: str) -> Message: function _assistant_reasoning_and_function_calls (line 47) | def _assistant_reasoning_and_function_calls(*call_ids: str) -> Message: function _tool_result (line 60) | def _tool_result(call_id: str, result: str) -> Message: function _group_id (line 67) | def _group_id(message: Message) -> str | None: function _group_kind (line 75) | def _group_kind(message: Message) -> str | None: function _group_has_reasoning (line 83) | def _group_has_reasoning(message: Message) -> bool | None: function _token_count (line 91) | def _token_count(message: Message) -> int | None: function _group_unknown_value (line 99) | def _group_unknown_value(message: Message, key: str) -> Any: function test_group_annotations_keep_tool_call_and_tool_result_atomic (line 106) | def test_group_annotations_keep_tool_call_and_tool_result_atomic() -> None: function test_group_annotations_include_reasoning_in_tool_call_group (line 122) | def test_group_annotations_include_reasoning_in_tool_call_group() -> None: function test_group_annotations_handle_same_message_reasoning_and_function_calls (line 137) | def test_group_annotations_handle_same_message_reasoning_and_function_ca... function test_annotate_message_groups_with_tokenizer_adds_token_counts (line 156) | def test_annotate_message_groups_with_tokenizer_adds_token_counts() -> N... function test_extend_compaction_messages_preserves_existing_annotations_and_tokens (line 171) | def test_extend_compaction_messages_preserves_existing_annotations_and_t... function test_append_compaction_message_annotates_new_message (line 189) | def test_append_compaction_message_annotates_new_message() -> None: function test_truncation_strategy_keeps_system_anchor (line 198) | async def test_truncation_strategy_keeps_system_anchor() -> None: function test_truncation_strategy_compacts_when_token_limit_exceeded (line 217) | async def test_truncation_strategy_compacts_when_token_limit_exceeded() ... function test_truncation_strategy_validates_token_targets (line 240) | def test_truncation_strategy_validates_token_targets() -> None: function test_selective_tool_call_strategy_excludes_older_tool_groups (line 249) | async def test_selective_tool_call_strategy_excludes_older_tool_groups()... function test_selective_tool_call_strategy_with_zero_removes_assistant_tool_pair (line 270) | async def test_selective_tool_call_strategy_with_zero_removes_assistant_... function test_selective_tool_call_strategy_rejects_negative_keep_count (line 289) | def test_selective_tool_call_strategy_rejects_negative_keep_count() -> N... class _FakeSummarizer (line 298) | class _FakeSummarizer: method get_response (line 299) | async def get_response( class _FailingSummarizer (line 310) | class _FailingSummarizer: method get_response (line 311) | async def get_response( class _EmptySummarizer (line 322) | class _EmptySummarizer: method get_response (line 323) | async def get_response( function test_summarization_strategy_adds_bidirectional_trace_links (line 334) | async def test_summarization_strategy_adds_bidirectional_trace_links() -... function test_summarization_strategy_returns_false_when_summary_generation_fails (line 365) | async def test_summarization_strategy_returns_false_when_summary_generat... function test_summarization_strategy_returns_false_when_summary_is_empty (line 387) | async def test_summarization_strategy_returns_false_when_summary_is_empty( function test_token_budget_composed_strategy_meets_budget_or_falls_back (line 409) | async def test_token_budget_composed_strategy_meets_budget_or_falls_back... class _ExcludeOldestNonSystem (line 427) | class _ExcludeOldestNonSystem: method __call__ (line 428) | async def __call__(self, messages: list[Message]) -> bool: function test_apply_compaction_projects_included_messages_only (line 446) | async def test_apply_compaction_projects_included_messages_only() -> None: function test_tool_result_compaction_collapses_old_groups_into_summary (line 462) | async def test_tool_result_compaction_collapses_old_groups_into_summary(... function test_tool_result_compaction_zero_collapses_all (line 486) | async def test_tool_result_compaction_zero_collapses_all() -> None: function test_tool_result_compaction_no_change_when_within_limit (line 508) | async def test_tool_result_compaction_no_change_when_within_limit() -> N... function test_tool_result_compaction_rejects_negative (line 523) | def test_tool_result_compaction_rejects_negative() -> None: function test_tool_result_compaction_preserves_tool_results_in_summary (line 532) | async def test_tool_result_compaction_preserves_tool_results_in_summary(... function test_tool_result_compaction_bidirectional_tracing (line 559) | async def test_tool_result_compaction_bidirectional_tracing() -> None: function test_tool_result_compaction_summary_has_full_annotations (line 594) | async def test_tool_result_compaction_summary_has_full_annotations() -> ... function test_summarization_strategy_summary_has_full_annotations (line 617) | async def test_summarization_strategy_summary_has_full_annotations() -> ... function test_tool_result_compaction_multiple_groups_combined (line 643) | async def test_tool_result_compaction_multiple_groups_combined() -> None: class _MockSessionContext (line 730) | class _MockSessionContext: method __init__ (line 733) | def __init__(self) -> None: method response (line 739) | def response(self) -> Any: method extend_messages (line 742) | def extend_messages(self, provider: Any, messages: list[Message]) -> N... method get_messages (line 746) | def get_messages(self) -> list[Message]: function test_compaction_provider_compacts_existing_context_messages (line 753) | async def test_compaction_provider_compacts_existing_context_messages() ... function test_compaction_provider_noop_when_no_context_messages (line 779) | async def test_compaction_provider_noop_when_no_context_messages() -> None: function test_compaction_provider_preserves_messages_from_multiple_sources (line 791) | async def test_compaction_provider_preserves_messages_from_multiple_sour... class _MockSession (line 815) | class _MockSession: method __init__ (line 818) | def __init__(self) -> None: function test_compaction_provider_after_run_compacts_stored_history (line 822) | async def test_compaction_provider_after_run_compacts_stored_history() -... function test_compaction_provider_after_run_noop_without_history (line 851) | async def test_compaction_provider_after_run_noop_without_history() -> N... function test_compaction_provider_both_strategies (line 865) | async def test_compaction_provider_both_strategies() -> None: function test_compaction_provider_none_strategies_are_noop (line 901) | async def test_compaction_provider_none_strategies_are_noop() -> None: function test_in_memory_history_provider_skip_excluded (line 919) | async def test_in_memory_history_provider_skip_excluded() -> None: function test_in_memory_history_provider_default_loads_all (line 939) | async def test_in_memory_history_provider_default_loads_all() -> None: FILE: python/packages/core/tests/core/test_docstrings.py function _source_with_full_docstring (line 8) | def _source_with_full_docstring(x: int) -> int: function _source_with_args_only (line 23) | def _source_with_args_only(x: int) -> int: function _source_no_sections (line 35) | def _source_no_sections() -> None: function _source_no_docstring (line 39) | def _source_no_docstring() -> None: function _target_stub (line 43) | def _target_stub() -> None: function test_build_returns_none_when_source_has_no_docstring (line 50) | def test_build_returns_none_when_source_has_no_docstring() -> None: function test_build_returns_original_when_no_extra_kwargs (line 55) | def test_build_returns_original_when_no_extra_kwargs() -> None: function test_build_returns_original_when_extra_kwargs_empty (line 62) | def test_build_returns_original_when_extra_kwargs_empty() -> None: function test_build_appends_to_existing_keyword_args_section (line 68) | def test_build_appends_to_existing_keyword_args_section() -> None: function test_build_inserts_keyword_args_after_args_section (line 84) | def test_build_inserts_keyword_args_after_args_section() -> None: function test_build_inserts_keyword_args_in_docstring_with_no_sections (line 99) | def test_build_inserts_keyword_args_in_docstring_with_no_sections() -> N... function test_build_handles_multiline_descriptions (line 110) | def test_build_handles_multiline_descriptions() -> None: function test_build_preserves_multiple_extra_kwargs_order (line 127) | def test_build_preserves_multiple_extra_kwargs_order() -> None: function test_apply_sets_docstring_on_target (line 147) | def test_apply_sets_docstring_on_target() -> None: function test_apply_with_extra_kwargs (line 156) | def test_apply_with_extra_kwargs() -> None: function test_apply_sets_none_when_source_has_no_docstring (line 170) | def test_apply_sets_none_when_source_has_no_docstring() -> None: FILE: python/packages/core/tests/core/test_embedding_client.py class MockEmbeddingClient (line 18) | class MockEmbeddingClient(BaseEmbeddingClient): method get_embeddings (line 21) | async def get_embeddings( function test_base_get_embeddings (line 36) | async def test_base_get_embeddings() -> None: function test_base_get_embeddings_with_options (line 44) | async def test_base_get_embeddings_with_options() -> None: function test_base_get_embeddings_usage (line 51) | async def test_base_get_embeddings_usage() -> None: function test_base_additional_properties_default (line 58) | def test_base_additional_properties_default() -> None: function test_base_additional_properties_custom (line 63) | def test_base_additional_properties_custom() -> None: function test_base_embedding_client_rejects_unknown_kwargs (line 68) | def test_base_embedding_client_rejects_unknown_kwargs() -> None: function test_mock_client_satisfies_protocol (line 76) | def test_mock_client_satisfies_protocol() -> None: function test_plain_class_satisfies_protocol (line 81) | def test_plain_class_satisfies_protocol() -> None: function test_wrong_class_does_not_satisfy_protocol (line 94) | def test_wrong_class_does_not_satisfy_protocol() -> None: FILE: python/packages/core/tests/core/test_embedding_types.py function test_embedding_basic_construction (line 12) | def test_embedding_basic_construction() -> None: function test_embedding_construction_with_metadata (line 20) | def test_embedding_construction_with_metadata() -> None: function test_embedding_dimensions_computed_from_list (line 33) | def test_embedding_dimensions_computed_from_list() -> None: function test_embedding_dimensions_computed_from_tuple (line 38) | def test_embedding_dimensions_computed_from_tuple() -> None: function test_embedding_dimensions_computed_from_bytes (line 43) | def test_embedding_dimensions_computed_from_bytes() -> None: function test_embedding_dimensions_explicit_overrides_computed (line 48) | def test_embedding_dimensions_explicit_overrides_computed() -> None: function test_embedding_dimensions_none_for_unknown_type (line 53) | def test_embedding_dimensions_none_for_unknown_type() -> None: function test_embedding_dimensions_explicit_with_unknown_type (line 58) | def test_embedding_dimensions_explicit_with_unknown_type() -> None: function test_embedding_empty_vector (line 63) | def test_embedding_empty_vector() -> None: function test_embedding_int_vector (line 68) | def test_embedding_int_vector() -> None: function test_generated_basic_construction (line 77) | def test_generated_basic_construction() -> None: function test_generated_construction_with_embeddings (line 85) | def test_generated_construction_with_embeddings() -> None: function test_generated_construction_with_usage (line 93) | def test_generated_construction_with_usage() -> None: function test_generated_construction_with_additional_properties (line 108) | def test_generated_construction_with_additional_properties() -> None: function test_generated_construction_with_options (line 115) | def test_generated_construction_with_options() -> None: function test_generated_list_behavior_iteration (line 126) | def test_generated_list_behavior_iteration() -> None: function test_generated_list_behavior_indexing (line 133) | def test_generated_list_behavior_indexing() -> None: function test_generated_list_behavior_slicing (line 140) | def test_generated_list_behavior_slicing() -> None: function test_generated_list_behavior_append (line 147) | def test_generated_list_behavior_append() -> None: function test_generated_none_embeddings_creates_empty_list (line 153) | def test_generated_none_embeddings_creates_empty_list() -> None: function test_options_empty (line 161) | def test_options_empty() -> None: function test_options_with_model_id (line 166) | def test_options_with_model_id() -> None: function test_options_with_dimensions (line 171) | def test_options_with_dimensions() -> None: function test_options_with_all_fields (line 176) | def test_options_with_all_fields() -> None: FILE: python/packages/core/tests/core/test_function_invocation_logic.py function _group_id (line 31) | def _group_id(message: Message) -> str | None: function test_base_client_with_function_calling (line 39) | async def test_base_client_with_function_calling(chat_client_base: Suppo... function test_base_client_with_function_calling_tools_in_kwargs (line 77) | async def test_base_client_with_function_calling_tools_in_kwargs(chat_cl... function test_base_client_with_function_calling_resets (line 108) | async def test_base_client_with_function_calling_resets(chat_client_base... function test_function_loop_applies_compaction_projection_each_model_call (line 152) | async def test_function_loop_applies_compaction_projection_each_model_ca... function test_function_loop_token_budget_strategy_caps_tokens_each_iteration (line 207) | async def test_function_loop_token_budget_strategy_caps_tokens_each_iter... function test_base_client_with_streaming_function_calling (line 273) | async def test_base_client_with_streaming_function_calling(chat_client_b... function test_base_client_executes_function_calls_across_multiple_response_messages (line 313) | async def test_base_client_executes_function_calls_across_multiple_respo... function test_function_invocation_inside_aiohttp_server (line 369) | async def test_function_invocation_inside_aiohttp_server(chat_client_bas... function test_function_invocation_in_threaded_aiohttp_app (line 422) | async def test_function_invocation_in_threaded_aiohttp_app(chat_client_b... function test_function_invocation_scenarios (line 528) | async def test_function_invocation_scenarios( function test_rejected_approval (line 702) | async def test_rejected_approval(chat_client_base: SupportsChatGetRespon... function test_approval_requests_in_assistant_message (line 798) | async def test_approval_requests_in_assistant_message(chat_client_base: ... function test_persisted_approval_messages_replay_correctly (line 832) | async def test_persisted_approval_messages_replay_correctly(chat_client_... function test_no_duplicate_function_calls_after_approval_processing (line 885) | async def test_no_duplicate_function_calls_after_approval_processing(cha... function test_rejection_result_uses_function_call_id (line 929) | async def test_rejection_result_uses_function_call_id(chat_client_base: ... function test_max_iterations_limit (line 973) | async def test_max_iterations_limit(chat_client_base: SupportsChatGetRes... function test_max_iterations_no_orphaned_function_calls (line 1020) | async def test_max_iterations_no_orphaned_function_calls(chat_client_bas... function test_max_iterations_makes_final_toolchoice_none_call (line 1083) | async def test_max_iterations_makes_final_toolchoice_none_call(chat_clie... function test_max_iterations_preserves_all_fcc_messages (line 1142) | async def test_max_iterations_preserves_all_fcc_messages(chat_client_bas... function test_max_iterations_thread_integrity_with_agent (line 1202) | async def test_max_iterations_thread_integrity_with_agent(chat_client_ba... function test_max_function_calls_limits_parallel_invocations (line 1269) | async def test_max_function_calls_limits_parallel_invocations(chat_clien... function test_max_function_calls_single_calls_per_iteration (line 1321) | async def test_max_function_calls_single_calls_per_iteration(chat_client... function test_max_function_calls_none_means_unlimited (line 1372) | async def test_max_function_calls_none_means_unlimited(chat_client_base:... function test_function_invocation_config_enabled_false (line 1405) | async def test_function_invocation_config_enabled_false(chat_client_base... function test_function_invocation_config_max_consecutive_errors (line 1433) | async def test_function_invocation_config_max_consecutive_errors(chat_cl... function test_function_invocation_stop_clears_conversation_id_non_stream (line 1502) | async def test_function_invocation_stop_clears_conversation_id_non_strea... function test_function_invocation_config_terminate_on_unknown_calls_false (line 1532) | async def test_function_invocation_config_terminate_on_unknown_calls_fal... function test_function_invocation_config_terminate_on_unknown_calls_true (line 1569) | async def test_function_invocation_config_terminate_on_unknown_calls_tru... function test_function_invocation_config_additional_tools (line 1602) | async def test_function_invocation_config_additional_tools(chat_client_b... function test_function_invocation_config_include_detailed_errors_false (line 1653) | async def test_function_invocation_config_include_detailed_errors_false(... function test_function_invocation_config_include_detailed_errors_true (line 1689) | async def test_function_invocation_config_include_detailed_errors_true(c... function test_function_invocation_config_validation_max_iterations (line 1726) | async def test_function_invocation_config_validation_max_iterations(): function test_function_invocation_config_validation_max_consecutive_errors (line 1745) | async def test_function_invocation_config_validation_max_consecutive_err... function test_function_invocation_config_validation_max_function_calls (line 1761) | async def test_function_invocation_config_validation_max_function_calls(): function test_argument_validation_error_with_detailed_errors (line 1788) | async def test_argument_validation_error_with_detailed_errors(chat_clien... function test_argument_validation_error_without_detailed_errors (line 1824) | async def test_argument_validation_error_without_detailed_errors(chat_cl... function test_hosted_tool_approval_response (line 1860) | async def test_hosted_tool_approval_response(chat_client_base: SupportsC... function test_hosted_mcp_approval_response_passthrough (line 1893) | async def test_hosted_mcp_approval_response_passthrough(chat_client_base... function test_is_hosted_tool_approval_with_server_label (line 1950) | def test_is_hosted_tool_approval_with_server_label(): function test_is_hosted_tool_approval_without_server_label (line 1967) | def test_is_hosted_tool_approval_without_server_label(): function test_mixed_local_and_hosted_approval_flow (line 1982) | async def test_mixed_local_and_hosted_approval_flow(chat_client_base: Su... function test_unapproved_tool_execution_raises_exception (line 2039) | async def test_unapproved_tool_execution_raises_exception(chat_client_ba... function test_approved_function_call_with_error_without_detailed_errors (line 2091) | async def test_approved_function_call_with_error_without_detailed_errors... function test_approved_function_call_with_error_with_detailed_errors (line 2156) | async def test_approved_function_call_with_error_with_detailed_errors(ch... function test_approved_function_call_with_validation_error (line 2222) | async def test_approved_function_call_with_validation_error(chat_client_... function test_approved_function_call_successful_execution (line 2285) | async def test_approved_function_call_successful_execution(chat_client_b... function test_declaration_only_tool (line 2342) | async def test_declaration_only_tool(chat_client_base: SupportsChatGetRe... function test_multiple_function_calls_parallel_execution (line 2392) | async def test_multiple_function_calls_parallel_execution(chat_client_ba... function test_callable_function_converted_to_tool (line 2440) | async def test_callable_function_converted_to_tool(chat_client_base: Sup... function test_conversation_id_handling (line 2474) | async def test_conversation_id_handling(chat_client_base: SupportsChatGe... function test_function_result_appended_to_existing_assistant_message (line 2508) | async def test_function_result_appended_to_existing_assistant_message(ch... function test_error_recovery_resets_counter (line 2541) | async def test_error_recovery_resets_counter(chat_client_base: SupportsC... function test_streaming_approval_request_generated (line 2600) | async def test_streaming_approval_request_generated(chat_client_base: Su... function test_streaming_max_iterations_limit (line 2636) | async def test_streaming_max_iterations_limit(chat_client_base: Supports... function test_streaming_function_invocation_config_enabled_false (line 2688) | async def test_streaming_function_invocation_config_enabled_false(chat_c... function test_streaming_function_invocation_config_max_consecutive_errors (line 2717) | async def test_streaming_function_invocation_config_max_consecutive_erro... function test_streaming_function_invocation_stop_clears_conversation_id (line 2777) | async def test_streaming_function_invocation_stop_clears_conversation_id... function test_streaming_function_invocation_config_terminate_on_unknown_calls_false (line 2814) | async def test_streaming_function_invocation_config_terminate_on_unknown... function test_streaming_function_invocation_config_terminate_on_unknown_calls_true (line 2858) | async def test_streaming_function_invocation_config_terminate_on_unknown... function test_streaming_function_invocation_config_include_detailed_errors_true (line 2894) | async def test_streaming_function_invocation_config_include_detailed_err... function test_streaming_function_invocation_config_include_detailed_errors_false (line 2934) | async def test_streaming_function_invocation_config_include_detailed_err... function test_streaming_argument_validation_error_with_detailed_errors (line 2974) | async def test_streaming_argument_validation_error_with_detailed_errors(... function test_streaming_argument_validation_error_without_detailed_errors (line 3012) | async def test_streaming_argument_validation_error_without_detailed_erro... function test_streaming_multiple_function_calls_parallel_execution (line 3050) | async def test_streaming_multiple_function_calls_parallel_execution(chat... function test_streaming_approval_requests_in_assistant_message (line 3100) | async def test_streaming_approval_requests_in_assistant_message(chat_cli... function test_streaming_error_recovery_resets_counter (line 3135) | async def test_streaming_error_recovery_resets_counter(chat_client_base:... class TerminateLoopMiddleware (line 3193) | class TerminateLoopMiddleware(FunctionMiddleware): method process (line 3196) | async def process(self, context: FunctionInvocationContext, next_handl... function test_terminate_loop_single_function_call (line 3202) | async def test_terminate_loop_single_function_call(chat_client_base: Sup... class SelectiveTerminateMiddleware (line 3248) | class SelectiveTerminateMiddleware(FunctionMiddleware): method process (line 3251) | async def process(self, context: FunctionInvocationContext, next_handl... function test_terminate_loop_multiple_function_calls_one_terminates (line 3259) | async def test_terminate_loop_multiple_function_calls_one_terminates(cha... function test_terminate_loop_streaming_single_function_call (line 3316) | async def test_terminate_loop_streaming_single_function_call(chat_client... function test_conversation_id_updated_in_options_between_tool_iterations (line 3364) | async def test_conversation_id_updated_in_options_between_tool_iteration... function test_streaming_function_calling_response_includes_reasoning_and_tool_results (line 3522) | async def test_streaming_function_calling_response_includes_reasoning_an... class TestUpdateConversationId (line 3596) | class TestUpdateConversationId: method test_chat_options_as_dict (line 3599) | def test_chat_options_as_dict(self): method test_chat_options_as_typed_dict (line 3607) | def test_chat_options_as_typed_dict(self): method test_no_chat_options_falls_back_to_kwargs (line 3617) | def test_no_chat_options_falls_back_to_kwargs(self): method test_none_conversation_id_is_noop (line 3625) | def test_none_conversation_id_is_noop(self): method test_options_dict_also_updated (line 3634) | def test_options_dict_also_updated(self): method test_dict_overwrites_existing_conversation_id (line 3644) | def test_dict_overwrites_existing_conversation_id(self): function test_user_input_request_propagates_through_as_tool (line 3654) | async def test_user_input_request_propagates_through_as_tool(chat_client... function test_user_input_request_multiple_contents_propagate (line 3697) | async def test_user_input_request_multiple_contents_propagate(chat_clien... function test_user_input_request_empty_contents_returns_fallback (line 3749) | async def test_user_input_request_empty_contents_returns_fallback(chat_c... FILE: python/packages/core/tests/core/test_kwargs_propagation_to_ai_function.py class _MockBaseChatClient (line 24) | class _MockBaseChatClient(BaseChatClient[Any]): method __init__ (line 27) | def __init__(self) -> None: method _inner_get_response (line 33) | def _inner_get_response( method _get_non_streaming_response (line 49) | async def _get_non_streaming_response( method _get_streaming_response (line 61) | def _get_streaming_response( class FunctionInvokingMockClient (line 86) | class FunctionInvokingMockClient( class TestKwargsPropagationToFunctionTool (line 97) | class TestKwargsPropagationToFunctionTool: method test_kwargs_propagate_to_tool_with_kwargs (line 100) | async def test_kwargs_propagate_to_tool_with_kwargs(self) -> None: method test_kwargs_not_forwarded_to_tool_without_kwargs (line 153) | async def test_kwargs_not_forwarded_to_tool_without_kwargs(self) -> None: method test_kwargs_isolated_between_function_calls (line 190) | async def test_kwargs_isolated_between_function_calls(self) -> None: method test_streaming_response_kwargs_propagation (line 241) | async def test_streaming_response_kwargs_propagation(self) -> None: method test_agent_run_injects_function_invocation_context (line 297) | async def test_agent_run_injects_function_invocation_context(self) -> ... FILE: python/packages/core/tests/core/test_mcp.py function test_normalize_mcp_name (line 46) | def test_normalize_mcp_name(): function test_mcp_transport_subclasses_accept_tool_name_prefix (line 56) | def test_mcp_transport_subclasses_accept_tool_name_prefix() -> None: function test_load_tools_with_tool_name_prefix_preserves_matching_configuration (line 76) | async def test_load_tools_with_tool_name_prefix_preserves_matching_confi... function test_load_prompts_with_tool_name_prefix (line 107) | async def test_load_prompts_with_tool_name_prefix() -> None: function test_mcp_prompt_message_to_ai_content (line 131) | def test_mcp_prompt_message_to_ai_content(): function test_parse_tool_result_from_mcp (line 144) | def test_parse_tool_result_from_mcp(): function test_parse_tool_result_from_mcp_single_text (line 172) | def test_parse_tool_result_from_mcp_single_text(): function test_parse_tool_result_from_mcp_meta_not_in_string (line 184) | def test_parse_tool_result_from_mcp_meta_not_in_string(): function test_parse_tool_result_from_mcp_empty_content (line 197) | def test_parse_tool_result_from_mcp_empty_content(): function test_parse_tool_result_from_mcp_audio_content (line 210) | def test_parse_tool_result_from_mcp_audio_content(): function test_parse_tool_result_from_mcp_blob_plain_base64 (line 226) | def test_parse_tool_result_from_mcp_blob_plain_base64(): function test_mcp_content_types_to_ai_content_text (line 249) | def test_mcp_content_types_to_ai_content_text(): function test_mcp_content_types_to_ai_content_image (line 259) | def test_mcp_content_types_to_ai_content_image(): function test_mcp_content_types_to_ai_content_audio (line 271) | def test_mcp_content_types_to_ai_content_audio(): function test_mcp_content_types_to_ai_content_resource_link (line 283) | def test_mcp_content_types_to_ai_content_resource_link(): function test_mcp_content_types_to_ai_content_embedded_resource_text (line 299) | def test_mcp_content_types_to_ai_content_embedded_resource_text(): function test_mcp_content_types_to_ai_content_embedded_resource_blob (line 314) | def test_mcp_content_types_to_ai_content_embedded_resource_blob(): function test_ai_content_to_mcp_content_types_text (line 331) | def test_ai_content_to_mcp_content_types_text(): function test_ai_content_to_mcp_content_types_data_image (line 341) | def test_ai_content_to_mcp_content_types_data_image(): function test_ai_content_to_mcp_content_types_data_audio (line 352) | def test_ai_content_to_mcp_content_types_data_audio(): function test_ai_content_to_mcp_content_types_data_binary (line 363) | def test_ai_content_to_mcp_content_types_data_binary(): function test_ai_content_to_mcp_content_types_uri (line 377) | def test_ai_content_to_mcp_content_types_uri(): function test_prepare_message_for_mcp (line 388) | def test_prepare_message_for_mcp(): function test_get_input_model_from_mcp_tool_parametrized (line 714) | def test_get_input_model_from_mcp_tool_parametrized(test_id: str, input_... function test_get_input_model_from_mcp_prompt (line 733) | def test_get_input_model_from_mcp_prompt(): function test_get_input_model_from_mcp_prompt_without_arguments (line 754) | def test_get_input_model_from_mcp_prompt_without_arguments(): function test_local_mcp_server_initialization (line 764) | async def test_local_mcp_server_initialization(): function test_local_mcp_server_context_manager (line 776) | async def test_local_mcp_server_context_manager(): function test_local_mcp_server_load_functions (line 794) | async def test_local_mcp_server_load_functions(): function test_local_mcp_server_load_prompts (line 830) | async def test_local_mcp_server_load_prompts(): function test_mcp_tool_call_tool_with_meta_integration (line 859) | async def test_mcp_tool_call_tool_with_meta_integration(): function test_local_mcp_server_function_execution (line 904) | async def test_local_mcp_server_function_execution(): function test_local_mcp_server_function_execution_with_nested_object (line 944) | async def test_local_mcp_server_function_execution_with_nested_object(): function test_local_mcp_server_function_execution_error (line 997) | async def test_local_mcp_server_function_execution_error(): function test_mcp_tool_call_tool_raises_on_is_error (line 1035) | async def test_mcp_tool_call_tool_raises_on_is_error(): function test_mcp_tool_call_tool_succeeds_when_is_error_false (line 1075) | async def test_mcp_tool_call_tool_succeeds_when_is_error_false(): function test_mcp_tool_is_error_propagates_through_function_middleware (line 1115) | async def test_mcp_tool_is_error_propagates_through_function_middleware(): function test_local_mcp_server_prompt_execution (line 1177) | async def test_local_mcp_server_prompt_execution(): function test_mcp_tool_approval_mode (line 1236) | async def test_mcp_tool_approval_mode(approval_mode, expected_approvals): function test_mcp_tool_allowed_tools (line 1299) | async def test_mcp_tool_allowed_tools(allowed_tools, expected_count, exp... function test_local_mcp_stdio_tool_init (line 1357) | def test_local_mcp_stdio_tool_init(): function test_local_mcp_websocket_tool_init (line 1365) | def test_local_mcp_websocket_tool_init(): function test_local_mcp_streamable_http_tool_init (line 1372) | def test_local_mcp_streamable_http_tool_init(): function test_streamable_http_integration (line 1383) | async def test_streamable_http_integration(): function test_mcp_connection_reset_integration (line 1412) | async def test_mcp_connection_reset_integration(): function test_mcp_tool_message_handler_notification (line 1479) | async def test_mcp_tool_message_handler_notification(): function test_mcp_tool_message_handler_error (line 1518) | async def test_mcp_tool_message_handler_error(): function test_mcp_tool_sampling_callback_no_client (line 1530) | async def test_mcp_tool_sampling_callback_no_client(): function test_mcp_tool_sampling_callback_chat_client_exception (line 1545) | async def test_mcp_tool_sampling_callback_chat_client_exception(): function test_mcp_tool_sampling_callback_no_valid_content (line 1573) | async def test_mcp_tool_sampling_callback_no_valid_content(): function test_connect_session_creation_failure (line 1619) | async def test_connect_session_creation_failure(): function test_connect_initialization_failure_http_no_command (line 1641) | async def test_connect_initialization_failure_http_no_command(): function test_connect_cleanup_on_transport_failure (line 1668) | async def test_connect_cleanup_on_transport_failure(): function test_connect_cleanup_on_initialization_failure (line 1685) | async def test_connect_cleanup_on_initialization_failure(): function test_mcp_stdio_tool_get_mcp_client_with_env_and_kwargs (line 1714) | def test_mcp_stdio_tool_get_mcp_client_with_env_and_kwargs(): function test_mcp_streamable_http_tool_get_mcp_client_all_params (line 1738) | def test_mcp_streamable_http_tool_get_mcp_client_all_params(): function test_mcp_websocket_tool_get_mcp_client_with_kwargs (line 1758) | def test_mcp_websocket_tool_get_mcp_client_with_kwargs(): function test_mcp_tool_deduplication (line 1780) | async def test_mcp_tool_deduplication(): function test_load_tools_prevents_multiple_calls (line 1841) | async def test_load_tools_prevents_multiple_calls(): function test_load_prompts_prevents_multiple_calls (line 1880) | async def test_load_prompts_prevents_multiple_calls(): function test_mcp_streamable_http_tool_httpx_client_cleanup (line 1918) | async def test_mcp_streamable_http_tool_httpx_client_cleanup(): function test_load_tools_with_pagination (line 1975) | async def test_load_tools_with_pagination(): function test_load_tools_adds_properties_to_zero_arg_tool_schema (line 2045) | async def test_load_tools_adds_properties_to_zero_arg_tool_schema(): function test_load_prompts_with_pagination (line 2139) | async def test_load_prompts_with_pagination(): function test_load_tools_pagination_with_duplicates (line 2197) | async def test_load_tools_pagination_with_duplicates(): function test_load_prompts_pagination_with_duplicates (line 2260) | async def test_load_prompts_pagination_with_duplicates(): function test_load_tools_pagination_exception_handling (line 2318) | async def test_load_tools_pagination_exception_handling(): function test_load_prompts_pagination_exception_handling (line 2343) | async def test_load_prompts_pagination_exception_handling(): function test_load_tools_empty_pagination (line 2368) | async def test_load_tools_empty_pagination(): function test_load_prompts_empty_pagination (line 2396) | async def test_load_prompts_empty_pagination(): function test_mcp_tool_connection_properly_invalidated_after_closed_resource_error (line 2424) | async def test_mcp_tool_connection_properly_invalidated_after_closed_res... function test_mcp_tool_get_prompt_reconnection_on_closed_resource_error (line 2523) | async def test_mcp_tool_get_prompt_reconnection_on_closed_resource_error(): function test_mcp_tool_close_cleans_up_in_original_task (line 2622) | async def test_mcp_tool_close_cleans_up_in_original_task(caplog): function test_mcp_tool_connect_reset_cleans_up_in_original_task (line 2674) | async def test_mcp_tool_connect_reset_cleans_up_in_original_task(caplog): function test_mcp_tool_connect_from_lifecycle_owner_bypasses_request_lock (line 2737) | async def test_mcp_tool_connect_from_lifecycle_owner_bypasses_request_lo... function test_mcp_tool_close_from_lifecycle_owner_bypasses_request_lock (line 2762) | async def test_mcp_tool_close_from_lifecycle_owner_bypasses_request_lock... function test_mcp_tool_safe_close_reraises_other_runtime_errors (line 2787) | async def test_mcp_tool_safe_close_reraises_other_runtime_errors(): function test_mcp_tool_safe_close_handles_alternate_cancel_scope_error (line 2812) | async def test_mcp_tool_safe_close_handles_alternate_cancel_scope_error(): function test_mcp_tool_safe_close_handles_cancelled_error (line 2845) | async def test_mcp_tool_safe_close_handles_cancelled_error(): function test_connect_sets_logging_level_when_logger_level_is_set (line 2875) | async def test_connect_sets_logging_level_when_logger_level_is_set(): function test_connect_does_not_set_logging_level_when_logger_level_is_notset (line 2912) | async def test_connect_does_not_set_logging_level_when_logger_level_is_n... function test_connect_handles_set_logging_level_exception (line 2949) | async def test_connect_handles_set_logging_level_exception(): function test_mcp_tool_filters_framework_kwargs (line 2994) | async def test_mcp_tool_filters_framework_kwargs(): function test_mcp_tool_call_tool_otel_meta (line 3077) | async def test_mcp_tool_call_tool_otel_meta(use_span, expect_traceparent... FILE: python/packages/core/tests/core/test_middleware.py class TestAgentContext (line 36) | class TestAgentContext: method test_init_with_defaults (line 39) | def test_init_with_defaults(self, mock_agent: SupportsAgentRun) -> None: method test_init_with_custom_values (line 49) | def test_init_with_custom_values(self, mock_agent: SupportsAgentRun) -... method test_init_with_session (line 60) | def test_init_with_session(self, mock_agent: SupportsAgentRun) -> None: class TestFunctionInvocationContext (line 75) | class TestFunctionInvocationContext: method test_init_with_defaults (line 78) | def test_init_with_defaults(self, mock_function: FunctionTool) -> None: method test_init_with_custom_metadata (line 87) | def test_init_with_custom_metadata(self, mock_function: FunctionTool) ... class TestChatContext (line 98) | class TestChatContext: method test_init_with_defaults (line 101) | def test_init_with_defaults(self, mock_chat_client: Any) -> None: method test_init_with_custom_values (line 114) | def test_init_with_custom_values(self, mock_chat_client: Any) -> None: class TestAgentMiddlewarePipeline (line 135) | class TestAgentMiddlewarePipeline: class PreNextTerminateMiddleware (line 138) | class PreNextTerminateMiddleware(AgentMiddleware): method process (line 139) | async def process(self, context: AgentContext, call_next: Callable[[... class PostNextTerminateMiddleware (line 142) | class PostNextTerminateMiddleware(AgentMiddleware): method process (line 143) | async def process(self, context: AgentContext, call_next: Any) -> None: method test_init_empty (line 147) | def test_init_empty(self) -> None: method test_init_with_class_middleware (line 152) | def test_init_with_class_middleware(self) -> None: method test_init_with_function_middleware (line 158) | def test_init_with_function_middleware(self) -> None: method test_execute_no_middleware (line 167) | async def test_execute_no_middleware(self, mock_agent: SupportsAgentRu... method test_execute_with_middleware (line 181) | async def test_execute_with_middleware(self, mock_agent: SupportsAgent... method test_execute_stream_no_middleware (line 209) | async def test_execute_stream_no_middleware(self, mock_agent: Supports... method test_execute_stream_with_middleware (line 232) | async def test_execute_stream_with_middleware(self, mock_agent: Suppor... method test_execute_with_pre_next_termination (line 269) | async def test_execute_with_pre_next_termination(self, mock_agent: Sup... method test_execute_with_post_next_termination (line 287) | async def test_execute_with_post_next_termination(self, mock_agent: Su... method test_execute_stream_with_pre_next_termination (line 305) | async def test_execute_stream_with_pre_next_termination(self, mock_age... method test_execute_stream_with_post_next_termination (line 333) | async def test_execute_stream_with_post_next_termination(self, mock_ag... method test_execute_with_session_in_context (line 360) | async def test_execute_with_session_in_context(self, mock_agent: Suppo... method test_execute_with_no_session_in_context (line 387) | async def test_execute_with_no_session_in_context(self, mock_agent: Su... class TestFunctionMiddlewarePipeline (line 412) | class TestFunctionMiddlewarePipeline: class PreNextTerminateFunctionMiddleware (line 415) | class PreNextTerminateFunctionMiddleware(FunctionMiddleware): method process (line 416) | async def process(self, context: FunctionInvocationContext, call_nex... class PostNextTerminateFunctionMiddleware (line 419) | class PostNextTerminateFunctionMiddleware(FunctionMiddleware): method process (line 420) | async def process(self, context: FunctionInvocationContext, call_nex... method test_execute_with_pre_next_termination (line 424) | async def test_execute_with_pre_next_termination(self, mock_function: ... method test_execute_with_post_next_termination (line 443) | async def test_execute_with_post_next_termination(self, mock_function:... method test_init_empty (line 464) | def test_init_empty(self) -> None: method test_init_with_class_middleware (line 469) | def test_init_with_class_middleware(self) -> None: method test_init_with_function_middleware (line 475) | def test_init_with_function_middleware(self) -> None: method test_execute_no_middleware (line 484) | async def test_execute_no_middleware(self, mock_function: FunctionTool... method test_execute_with_middleware (line 498) | async def test_execute_with_middleware(self, mock_function: FunctionTo... class TestChatMiddlewarePipeline (line 531) | class TestChatMiddlewarePipeline: class PreNextTerminateChatMiddleware (line 534) | class PreNextTerminateChatMiddleware(ChatMiddleware): method process (line 535) | async def process(self, context: ChatContext, call_next: Callable[[]... class PostNextTerminateChatMiddleware (line 538) | class PostNextTerminateChatMiddleware(ChatMiddleware): method process (line 539) | async def process(self, context: ChatContext, call_next: Callable[[]... method test_init_empty (line 543) | def test_init_empty(self) -> None: method test_init_with_class_middleware (line 548) | def test_init_with_class_middleware(self) -> None: method test_init_with_function_middleware (line 554) | def test_init_with_function_middleware(self) -> None: method test_execute_no_middleware (line 563) | async def test_execute_no_middleware(self, mock_chat_client: Any) -> N... method test_execute_with_middleware (line 578) | async def test_execute_with_middleware(self, mock_chat_client: Any) ->... method test_execute_stream_no_middleware (line 607) | async def test_execute_stream_no_middleware(self, mock_chat_client: An... method test_execute_stream_with_middleware (line 630) | async def test_execute_stream_with_middleware(self, mock_chat_client: ... method test_execute_with_pre_next_termination (line 668) | async def test_execute_with_pre_next_termination(self, mock_chat_clien... method test_execute_with_post_next_termination (line 687) | async def test_execute_with_post_next_termination(self, mock_chat_clie... method test_execute_stream_with_pre_next_termination (line 706) | async def test_execute_stream_with_pre_next_termination(self, mock_cha... method test_execute_stream_with_post_next_termination (line 731) | async def test_execute_stream_with_post_next_termination(self, mock_ch... class TestClassBasedMiddleware (line 760) | class TestClassBasedMiddleware: method test_agent_middleware_execution (line 763) | async def test_agent_middleware_execution(self, mock_agent: SupportsAg... method test_function_middleware_execution (line 791) | async def test_function_middleware_execution(self, mock_function: Func... class TestFunctionBasedMiddleware (line 824) | class TestFunctionBasedMiddleware: method test_agent_function_middleware (line 827) | async def test_agent_function_middleware(self, mock_agent: SupportsAge... method test_function_function_middleware (line 851) | async def test_function_function_middleware(self, mock_function: Funct... class TestMixedMiddleware (line 878) | class TestMixedMiddleware: method test_mixed_agent_middleware (line 881) | async def test_mixed_agent_middleware(self, mock_agent: SupportsAgentR... method test_mixed_function_middleware (line 909) | async def test_mixed_function_middleware(self, mock_function: Function... method test_mixed_chat_middleware (line 943) | async def test_mixed_chat_middleware(self, mock_chat_client: Any) -> N... class TestMultipleMiddlewareOrdering (line 973) | class TestMultipleMiddlewareOrdering: method test_agent_middleware_execution_order (line 976) | async def test_agent_middleware_execution_order(self, mock_agent: Supp... method test_function_middleware_execution_order (line 1021) | async def test_function_middleware_execution_order(self, mock_function... method test_chat_middleware_execution_order (line 1060) | async def test_chat_middleware_execution_order(self, mock_chat_client:... class TestContextContentValidation (line 1107) | class TestContextContentValidation: method test_agent_context_validation (line 1110) | async def test_agent_context_validation(self, mock_agent: SupportsAgen... method test_function_context_validation (line 1147) | async def test_function_context_validation(self, mock_function: Functi... method test_chat_context_validation (line 1185) | async def test_chat_context_validation(self, mock_chat_client: Any) ->... class TestStreamingScenarios (line 1228) | class TestStreamingScenarios: method test_streaming_flag_validation (line 1231) | async def test_streaming_flag_validation(self, mock_agent: SupportsAge... method test_streaming_middleware_behavior (line 1271) | async def test_streaming_middleware_behavior(self, mock_agent: Support... method test_chat_streaming_flag_validation (line 1312) | async def test_chat_streaming_flag_validation(self, mock_chat_client: ... method test_chat_streaming_middleware_behavior (line 1353) | async def test_chat_streaming_middleware_behavior(self, mock_chat_clie... class FunctionTestArgs (line 1399) | class FunctionTestArgs(BaseModel): class TestAgentMiddleware (line 1405) | class TestAgentMiddleware(AgentMiddleware): method process (line 1408) | async def process(self, context: AgentContext, call_next: Callable[[],... class TestFunctionMiddleware (line 1412) | class TestFunctionMiddleware(FunctionMiddleware): method process (line 1415) | async def process(self, context: FunctionInvocationContext, call_next:... class TestChatMiddleware (line 1419) | class TestChatMiddleware(ChatMiddleware): method process (line 1422) | async def process(self, context: ChatContext, call_next: Callable[[], ... class MockFunctionArgs (line 1426) | class MockFunctionArgs(BaseModel): class TestMiddlewareExecutionControl (line 1432) | class TestMiddlewareExecutionControl: method test_agent_middleware_no_next_no_execution (line 1435) | async def test_agent_middleware_no_next_no_execution(self, mock_agent:... method test_agent_middleware_no_next_no_streaming_execution (line 1462) | async def test_agent_middleware_no_next_no_streaming_execution(self, m... method test_function_middleware_no_next_no_execution (line 1493) | async def test_function_middleware_no_next_no_execution(self, mock_fun... method test_multiple_middlewares_early_stop (line 1527) | async def test_multiple_middlewares_early_stop(self, mock_agent: Suppo... method test_chat_middleware_no_next_no_execution (line 1559) | async def test_chat_middleware_no_next_no_execution(self, mock_chat_cl... method test_chat_middleware_no_next_no_streaming_execution (line 1587) | async def test_chat_middleware_no_next_no_streaming_execution(self, mo... method test_multiple_chat_middlewares_early_stop (line 1627) | async def test_multiple_chat_middlewares_early_stop(self, mock_chat_cl... function mock_agent (line 1662) | def mock_agent() -> SupportsAgentRun: function mock_function (line 1670) | def mock_function() -> FunctionTool: function mock_chat_client (line 1678) | def mock_chat_client() -> Any: class TestCategorizeMiddleware (line 1687) | class TestCategorizeMiddleware: method test_categorize_middleware_with_tuple (line 1690) | def test_categorize_middleware_with_tuple(self) -> None: method test_categorize_middleware_with_list (line 1700) | def test_categorize_middleware_with_list(self) -> None: method test_categorize_middleware_with_none (line 1709) | def test_categorize_middleware_with_none(self) -> None: method test_categorize_middleware_with_single_item (line 1716) | def test_categorize_middleware_with_single_item(self) -> None: method test_categorize_middleware_with_string_does_not_decompose (line 1724) | def test_categorize_middleware_with_string_does_not_decompose(self) ->... FILE: python/packages/core/tests/core/test_middleware_context_result.py class FunctionTestArgs (line 31) | class FunctionTestArgs(BaseModel): class TestResultOverrideMiddleware (line 37) | class TestResultOverrideMiddleware: method test_agent_middleware_response_override_non_streaming (line 40) | async def test_agent_middleware_response_override_non_streaming(self, ... method test_agent_middleware_response_override_streaming (line 71) | async def test_agent_middleware_response_override_streaming(self, mock... method test_function_middleware_result_override (line 105) | async def test_function_middleware_result_override(self, mock_function... method test_chat_agent_middleware_response_override (line 138) | async def test_chat_agent_middleware_response_override(self) -> None: method test_chat_agent_middleware_streaming_override (line 170) | async def test_chat_agent_middleware_streaming_override(self) -> None: method test_agent_middleware_conditional_no_next (line 213) | async def test_agent_middleware_conditional_no_next(self, mock_agent: ... method test_function_middleware_conditional_no_next (line 254) | async def test_function_middleware_conditional_no_next(self, mock_func... class TestResultObservability (line 302) | class TestResultObservability: method test_agent_middleware_response_observability (line 305) | async def test_agent_middleware_response_observability(self, mock_agen... method test_function_middleware_result_observability (line 337) | async def test_function_middleware_result_observability(self, mock_fun... method test_agent_middleware_post_execution_override (line 372) | async def test_agent_middleware_post_execution_override(self, mock_age... method test_function_middleware_post_execution_override (line 404) | async def test_function_middleware_post_execution_override(self, mock_... function mock_agent (line 438) | def mock_agent() -> SupportsAgentRun: function mock_function (line 446) | def mock_function() -> FunctionTool: FILE: python/packages/core/tests/core/test_middleware_with_agent.py class TestChatAgentClassBasedMiddleware (line 37) | class TestChatAgentClassBasedMiddleware: method test_class_based_agent_middleware_with_chat_agent (line 40) | async def test_class_based_agent_middleware_with_chat_agent(self, clie... method test_class_based_function_middleware_with_chat_agent (line 71) | async def test_class_based_function_middleware_with_chat_agent(self, c... method test_class_based_function_middleware_with_chat_agent_supported_client (line 85) | async def test_class_based_function_middleware_with_chat_agent_support... class TestChatAgentFunctionBasedMiddleware (line 116) | class TestChatAgentFunctionBasedMiddleware: method test_agent_middleware_with_pre_termination (line 119) | async def test_agent_middleware_with_pre_termination(self, client: "Mo... method test_agent_middleware_with_post_termination (line 148) | async def test_agent_middleware_with_post_termination(self, client: "M... method test_function_middleware_with_pre_termination (line 183) | async def test_function_middleware_with_pre_termination(self, client: ... method test_function_middleware_with_post_termination (line 201) | async def test_function_middleware_with_post_termination(self, client:... method test_function_based_agent_middleware_with_chat_agent (line 218) | async def test_function_based_agent_middleware_with_chat_agent(self, c... method test_function_based_function_middleware_with_chat_agent (line 244) | async def test_function_based_function_middleware_with_chat_agent(self... method test_function_based_function_middleware_with_supported_client (line 254) | async def test_function_based_function_middleware_with_supported_client( class TestChatAgentStreamingMiddleware (line 277) | class TestChatAgentStreamingMiddleware: method test_agent_middleware_with_streaming (line 280) | async def test_agent_middleware_with_streaming(self, client: "MockChat... method test_non_streaming_vs_streaming_flag_validation (line 323) | async def test_non_streaming_vs_streaming_flag_validation(self, client... class TestChatAgentMultipleMiddlewareOrdering (line 349) | class TestChatAgentMultipleMiddlewareOrdering: method test_multiple_agent_middleware_execution_order (line 352) | async def test_multiple_agent_middleware_execution_order(self, client:... method test_mixed_middleware_types_with_chat_agent (line 385) | async def test_mixed_middleware_types_with_chat_agent(self, chat_clien... method test_mixed_middleware_types_with_supported_client (line 428) | async def test_mixed_middleware_types_with_supported_client(self, chat... function _sample_tool_function_impl (line 471) | def _sample_tool_function_impl(location: str) -> str: class TestChatAgentFunctionMiddlewareWithTools (line 487) | class TestChatAgentFunctionMiddlewareWithTools: method test_class_based_function_middleware_with_tool_calls (line 490) | async def test_class_based_function_middleware_with_tool_calls( method test_function_based_function_middleware_with_tool_calls (line 558) | async def test_function_based_function_middleware_with_tool_calls( method test_mixed_agent_and_function_middleware_with_tool_calls (line 619) | async def test_mixed_agent_and_function_middleware_with_tool_calls( method test_agent_middleware_pipeline_cache_reuses_matching_middleware (line 700) | def test_agent_middleware_pipeline_cache_reuses_matching_middleware(se... method test_function_middleware_can_access_and_override_custom_kwargs (line 720) | async def test_function_middleware_can_access_and_override_custom_kwargs( method test_run_kwargs_available_in_function_middleware (line 792) | async def test_run_kwargs_available_in_function_middleware(self, chat_... method test_run_kwargs_merged_with_additional_function_arguments (line 833) | async def test_run_kwargs_merged_with_additional_function_arguments( method test_run_kwargs_consistent_across_multiple_tool_calls (line 884) | async def test_run_kwargs_consistent_across_multiple_tool_calls( method test_run_without_kwargs_produces_empty_context_kwargs (line 929) | async def test_run_without_kwargs_produces_empty_context_kwargs( class TestMiddlewareDynamicRebuild (line 966) | class TestMiddlewareDynamicRebuild: class TrackingAgentMiddleware (line 969) | class TrackingAgentMiddleware(AgentMiddleware): method __init__ (line 972) | def __init__(self, name: str, execution_log: list[str]): method process (line 976) | async def process(self, context: AgentContext, call_next: Callable[[... method test_middleware_dynamic_rebuild_non_streaming (line 981) | async def test_middleware_dynamic_rebuild_non_streaming(self, client: ... method test_middleware_dynamic_rebuild_streaming (line 1031) | async def test_middleware_dynamic_rebuild_streaming(self, client: "Moc... method test_middleware_order_change_detection (line 1064) | async def test_middleware_order_change_detection(self, client: "MockCh... class TestRunLevelMiddleware (line 1089) | class TestRunLevelMiddleware: class TrackingAgentMiddleware (line 1092) | class TrackingAgentMiddleware(AgentMiddleware): method __init__ (line 1095) | def __init__(self, name: str, execution_log: list[str]): method process (line 1099) | async def process(self, context: AgentContext, call_next: Callable[[... method test_run_level_middleware_isolation (line 1104) | async def test_run_level_middleware_isolation(self, client: "MockChatC... method test_agent_plus_run_middleware_execution_order (line 1142) | async def test_agent_plus_run_middleware_execution_order(self, client:... method test_run_level_middleware_non_streaming (line 1189) | async def test_run_level_middleware_non_streaming(self, client: "MockC... method test_run_level_middleware_streaming (line 1211) | async def test_run_level_middleware_streaming(self, client: "MockChatC... method test_agent_and_run_level_both_agent_and_function_middleware (line 1254) | async def test_agent_and_run_level_both_agent_and_function_middleware( class TestMiddlewareDecoratorLogic (line 1373) | class TestMiddlewareDecoratorLogic: method test_decorator_and_type_match (line 1376) | async def test_decorator_and_type_match(self, chat_client_base: "MockB... method test_decorator_and_type_mismatch (line 1433) | async def test_decorator_and_type_mismatch(self, client: MockChatClien... method test_only_decorator_specified (line 1450) | async def test_only_decorator_specified(self, chat_client_base: "MockB... method test_only_type_specified (line 1504) | async def test_only_type_specified(self, chat_client_base: "MockBaseCh... method test_neither_decorator_nor_type (line 1558) | async def test_neither_decorator_nor_type(self, client: Any) -> None: method test_insufficient_parameters_error (line 1569) | async def test_insufficient_parameters_error(self, client: Any) -> None: method test_decorator_markers_preserved (line 1583) | async def test_decorator_markers_preserved(self) -> None: class TestChatAgentSessionBehavior (line 1602) | class TestChatAgentSessionBehavior: method test_agent_context_session_behavior_across_multiple_runs (line 1605) | async def test_agent_context_session_behavior_across_multiple_runs(sel... class TestChatAgentChatMiddleware (line 1714) | class TestChatAgentChatMiddleware: method test_class_based_chat_middleware_with_chat_agent (line 1717) | async def test_class_based_chat_middleware_with_chat_agent(self) -> None: method test_function_based_chat_middleware_with_chat_agent (line 1746) | async def test_function_based_chat_middleware_with_chat_agent(self) ->... method test_chat_middleware_can_modify_messages (line 1773) | async def test_chat_middleware_can_modify_messages(self) -> None: method test_chat_middleware_can_override_response (line 1800) | async def test_chat_middleware_can_override_response(self) -> None: method test_multiple_chat_middleware_execution_order (line 1826) | async def test_multiple_chat_middleware_execution_order(self) -> None: method test_chat_middleware_with_streaming (line 1859) | async def test_chat_middleware_with_streaming(self) -> None: method test_chat_middleware_termination_before_execution (line 1900) | async def test_chat_middleware_termination_before_execution(self) -> N... method test_chat_middleware_termination_after_execution (line 1928) | async def test_chat_middleware_termination_after_execution(self) -> None: method test_combined_middleware (line 1956) | async def test_combined_middleware(self) -> None: method test_combined_middleware_with_tool_loop (line 1992) | async def test_combined_middleware_with_tool_loop(self) -> None: method test_agent_middleware_can_access_and_override_custom_kwargs (line 2063) | async def test_agent_middleware_can_access_and_override_custom_kwargs(... FILE: python/packages/core/tests/core/test_middleware_with_chat.py class TestChatMiddleware (line 24) | class TestChatMiddleware: method test_class_based_chat_middleware (line 27) | async def test_class_based_chat_middleware(self, chat_client_base: Sup... method test_function_based_chat_middleware (line 56) | async def test_function_based_chat_middleware(self, chat_client_base: ... method test_chat_middleware_can_modify_messages (line 81) | async def test_chat_middleware_can_modify_messages(self, chat_client_b... method test_chat_middleware_can_override_response (line 105) | async def test_chat_middleware_can_override_response(self, chat_client... method test_multiple_chat_middleware_execution_order (line 130) | async def test_multiple_chat_middleware_execution_order(self, chat_cli... method test_chat_agent_with_chat_middleware (line 165) | async def test_chat_agent_with_chat_middleware(self) -> None: method test_chat_agent_with_multiple_chat_middleware (line 195) | async def test_chat_agent_with_multiple_chat_middleware(self, chat_cli... method test_chat_middleware_with_streaming (line 230) | async def test_chat_middleware_with_streaming(self, chat_client_base: ... method test_run_level_middleware_isolation (line 266) | async def test_run_level_middleware_isolation(self, chat_client_base: ... method test_chat_client_middleware_can_access_and_override_custom_kwargs (line 299) | async def test_chat_client_middleware_can_access_and_override_custom_k... method test_chat_middleware_pipeline_cache_reuses_matching_middleware (line 344) | def test_chat_middleware_pipeline_cache_reuses_matching_middleware( method test_chat_middleware_pipeline_cache_includes_base_middleware (line 365) | def test_chat_middleware_pipeline_cache_includes_base_middleware( method test_function_middleware_pipeline_cache_reuses_matching_middleware (line 388) | def test_function_middleware_pipeline_cache_reuses_matching_middleware( method test_function_middleware_registration_on_chat_client (line 419) | async def test_function_middleware_registration_on_chat_client( method test_run_level_function_middleware (line 487) | async def test_run_level_function_middleware(self, chat_client_base: "... method test_run_level_chat_and_function_middleware_split_per_function_loop_round (line 550) | async def test_run_level_chat_and_function_middleware_split_per_functi... method test_run_level_chat_and_function_middleware_split_per_function_loop_round_streaming (line 623) | async def test_run_level_chat_and_function_middleware_split_per_functi... FILE: python/packages/core/tests/core/test_observability.py function test_role_event_map (line 41) | def test_role_event_map(): function test_enum_values (line 49) | def test_enum_values(): function test_filter_without_index_key (line 62) | def test_filter_without_index_key(): function test_filter_with_index_key (line 76) | def test_filter_with_index_key(): function test_index_key_constant (line 94) | def test_index_key_constant(): function test_start_span_basic (line 102) | def test_start_span_basic(span_exporter: InMemorySpanExporter): function test_start_span_with_tool_call_id (line 129) | def test_start_span_with_tool_call_id(span_exporter: InMemorySpanExporter): function mock_chat_client (line 159) | def mock_chat_client(): function test_chat_client_observability (line 204) | async def test_chat_client_observability(mock_chat_client, span_exporter... function test_chat_client_streaming_observability (line 226) | async def test_chat_client_streaming_observability( function test_chat_client_observability_with_instructions (line 254) | async def test_chat_client_observability_with_instructions( function test_chat_client_streaming_observability_with_instructions (line 284) | async def test_chat_client_streaming_observability_with_instructions( function test_chat_client_observability_without_instructions (line 314) | async def test_chat_client_observability_without_instructions( function test_chat_client_observability_with_empty_instructions (line 335) | async def test_chat_client_observability_with_empty_instructions( function test_chat_client_observability_with_list_instructions (line 356) | async def test_chat_client_observability_with_list_instructions( function test_chat_client_without_model_id_observability (line 382) | async def test_chat_client_without_model_id_observability(mock_chat_clie... function test_chat_client_streaming_without_model_id_observability (line 399) | async def test_chat_client_streaming_without_model_id_observability( function test_prepend_user_agent_with_none_value (line 423) | def test_prepend_user_agent_with_none_value(): function mock_chat_agent (line 434) | def mock_chat_agent(): function test_agent_span_captures_response_telemetry_without_inner_chat_span (line 477) | async def test_agent_span_captures_response_telemetry_without_inner_chat... function test_agent_streaming_response_with_diagnostics_enabled (line 504) | async def test_agent_streaming_response_with_diagnostics_enabled( function test_function_call_with_error_handling (line 531) | async def test_function_call_with_error_handling(span_exporter: InMemory... function test_get_exporters_from_env_with_grpc_endpoint (line 583) | def test_get_exporters_from_env_with_grpc_endpoint(monkeypatch): function test_get_exporters_from_env_with_http_endpoint (line 600) | def test_get_exporters_from_env_with_http_endpoint(monkeypatch): function test_get_exporters_from_env_with_individual_endpoints (line 617) | def test_get_exporters_from_env_with_individual_endpoints(monkeypatch): function test_get_exporters_from_env_with_headers (line 636) | def test_get_exporters_from_env_with_headers(monkeypatch): function test_get_exporters_from_env_with_signal_specific_headers (line 654) | def test_get_exporters_from_env_with_signal_specific_headers(monkeypatch): function test_get_exporters_from_env_without_env_vars (line 672) | def test_get_exporters_from_env_without_env_vars(monkeypatch): function test_get_exporters_from_env_missing_grpc_dependency (line 695) | def test_get_exporters_from_env_missing_grpc_dependency(monkeypatch): function test_create_resource_from_env (line 720) | def test_create_resource_from_env(monkeypatch): function test_create_resource_with_parameters_override_env (line 736) | def test_create_resource_with_parameters_override_env(monkeypatch): function test_create_resource_with_custom_attributes (line 750) | def test_create_resource_with_custom_attributes(monkeypatch): function test_create_otlp_exporters_grpc_with_single_endpoint (line 767) | def test_create_otlp_exporters_grpc_with_single_endpoint(): function test_create_otlp_exporters_http_with_single_endpoint (line 781) | def test_create_otlp_exporters_http_with_single_endpoint(): function test_create_otlp_exporters_with_individual_endpoints (line 795) | def test_create_otlp_exporters_with_individual_endpoints(): function test_create_otlp_exporters_with_headers (line 814) | def test_create_otlp_exporters_with_headers(): function test_create_otlp_exporters_grpc_missing_dependency (line 830) | def test_create_otlp_exporters_grpc_missing_dependency(): function test_configure_otel_providers_with_views (line 852) | def test_configure_otel_providers_with_views(monkeypatch): function test_configure_otel_providers_without_views (line 879) | def test_configure_otel_providers_without_views(monkeypatch): function test_console_exporters_opt_in_false (line 899) | def test_console_exporters_opt_in_false(monkeypatch): function test_console_exporters_opt_in_true (line 910) | def test_console_exporters_opt_in_true(monkeypatch): function test_console_exporters_default_false (line 920) | def test_console_exporters_default_false(monkeypatch): function test_parse_headers_valid (line 933) | def test_parse_headers_valid(): function test_parse_headers_with_spaces (line 941) | def test_parse_headers_with_spaces(): function test_parse_headers_empty_string (line 949) | def test_parse_headers_empty_string(): function test_parse_headers_invalid_format (line 957) | def test_parse_headers_invalid_format(): function test_otel_attr_repr_and_str (line 969) | def test_otel_attr_repr_and_str(): function test_create_metric_views (line 979) | def test_create_metric_views(): function test_observability_settings_is_setup_initial (line 996) | def test_observability_settings_is_setup_initial(monkeypatch): function test_enable_instrumentation_function (line 1008) | def test_enable_instrumentation_function(monkeypatch): function test_enable_instrumentation_with_sensitive_data (line 1024) | def test_enable_instrumentation_with_sensitive_data(monkeypatch): function test_enable_instrumentation_reads_env_sensitive_data (line 1039) | def test_enable_instrumentation_reads_env_sensitive_data(monkeypatch): function test_configure_otel_providers_reads_env_sensitive_data (line 1059) | def test_configure_otel_providers_reads_env_sensitive_data(monkeypatch): function test_configure_otel_providers_reads_env_vs_code_port (line 1088) | def test_configure_otel_providers_reads_env_vs_code_port(monkeypatch): function test_configure_otel_providers_explicit_param_overrides_env (line 1118) | def test_configure_otel_providers_explicit_param_overrides_env(monkeypat... function test_enable_instrumentation_explicit_param_overrides_env (line 1142) | def test_enable_instrumentation_explicit_param_overrides_env(monkeypatch): function test_enable_instrumentation_does_not_touch_console_exporters (line 1158) | def test_enable_instrumentation_does_not_touch_console_exporters(monkeyp... function test_enable_instrumentation_does_not_clobber_console_exporters (line 1179) | def test_enable_instrumentation_does_not_clobber_console_exporters(monke... function test_enable_instrumentation_with_sensitive_data_does_not_touch_console_exporters (line 1207) | def test_enable_instrumentation_with_sensitive_data_does_not_touch_conso... function test_enable_instrumentation_preserves_console_exporters_after_env_removed (line 1235) | def test_enable_instrumentation_preserves_console_exporters_after_env_re... function test_configure_otel_providers_reads_env_console_exporters (line 1255) | def test_configure_otel_providers_reads_env_console_exporters(monkeypatch): function test_configure_otel_providers_explicit_console_exporters_overrides_env (line 1282) | def test_configure_otel_providers_explicit_console_exporters_overrides_e... function test_to_otel_part_text (line 1308) | def test_to_otel_part_text(): function test_to_otel_part_text_reasoning (line 1319) | def test_to_otel_part_text_reasoning(): function test_to_otel_part_uri (line 1330) | def test_to_otel_part_uri(): function test_to_otel_part_uri_no_media_type (line 1346) | def test_to_otel_part_uri_no_media_type(): function test_to_otel_part_data (line 1362) | def test_to_otel_part_data(): function test_to_otel_part_function_call (line 1376) | def test_to_otel_part_function_call(): function test_to_otel_part_function_result (line 1392) | def test_to_otel_part_function_result(): function test_workflow_tracer_disabled (line 1407) | def test_workflow_tracer_disabled(monkeypatch): function test_create_workflow_span (line 1422) | def test_create_workflow_span(span_exporter): function test_create_processing_span (line 1436) | def test_create_processing_span(span_exporter): function test_create_edge_group_processing_span (line 1456) | def test_create_edge_group_processing_span(span_exporter): function test_create_edge_group_processing_span_invalid_link (line 1478) | def test_create_edge_group_processing_span_invalid_link(span_exporter): function test_edge_group_delivery_status_str_and_repr (line 1501) | def test_edge_group_delivery_status_str_and_repr(): function test_create_otlp_exporters_no_endpoints (line 1513) | def test_create_otlp_exporters_no_endpoints(): function test_chat_client_observability_exception (line 1525) | async def test_chat_client_observability_exception(mock_chat_client, spa... function test_chat_client_streaming_observability_exception (line 1546) | async def test_chat_client_streaming_observability_exception(mock_chat_c... function test_get_meter (line 1579) | def test_get_meter(): function test_get_tracer (line 1592) | def test_get_tracer(): function test_get_response_attributes_with_response_id (line 1612) | def test_get_response_attributes_with_response_id(): function test_get_response_attributes_with_finish_reason (line 1630) | def test_get_response_attributes_with_finish_reason(): function test_get_response_attributes_with_model_id (line 1648) | def test_get_response_attributes_with_model_id(): function test_get_response_attributes_with_usage (line 1667) | def test_get_response_attributes_with_usage(): function test_get_response_attributes_capture_usage_false (line 1686) | def test_get_response_attributes_capture_usage_false(): function test_get_response_attributes_capture_response_id_false (line 1705) | def test_get_response_attributes_capture_response_id_false(): function test_get_exporters_from_env_no_endpoints (line 1726) | def test_get_exporters_from_env_no_endpoints(monkeypatch): function test_observability_settings_configure_not_enabled (line 1746) | def test_observability_settings_configure_not_enabled(monkeypatch): function test_observability_settings_configure_already_setup (line 1758) | def test_observability_settings_configure_already_setup(monkeypatch): function test_to_otel_part_generic (line 1785) | def test_to_otel_part_generic(): function test_get_response_attributes_finish_reason_from_raw (line 1802) | def test_get_response_attributes_finish_reason_from_raw(): function test_agent_observability (line 1827) | async def test_agent_observability(span_exporter: InMemorySpanExporter, ... function test_agent_observability_with_exception (line 1895) | async def test_agent_observability_with_exception(span_exporter: InMemor... function test_agent_streaming_observability (line 1944) | async def test_agent_streaming_observability(span_exporter: InMemorySpan... function test_agent_telemetry_layer_missing_run (line 2011) | async def test_agent_telemetry_layer_missing_run(): function test_capture_messages_with_finish_reason (line 2048) | async def test_capture_messages_with_finish_reason(mock_chat_client, spa... function test_agent_streaming_exception (line 2081) | async def test_agent_streaming_exception(span_exporter: InMemorySpanExpo... function test_chat_client_when_disabled (line 2148) | async def test_chat_client_when_disabled(mock_chat_client, span_exporter... function test_chat_client_streaming_when_disabled (line 2163) | async def test_chat_client_streaming_when_disabled(mock_chat_client, spa... function test_agent_when_disabled (line 2179) | async def test_agent_when_disabled(span_exporter: InMemorySpanExporter): function test_agent_streaming_when_disabled (line 2233) | async def test_agent_streaming_when_disabled(span_exporter: InMemorySpan... function test_configure_providers_with_span_exporters (line 2291) | def test_configure_providers_with_span_exporters(monkeypatch): function test_get_duration_histogram (line 2322) | def test_get_duration_histogram(): function test_get_token_usage_histogram (line 2330) | def test_get_token_usage_histogram(): function test_capture_exception (line 2341) | def test_capture_exception(span_exporter: InMemorySpanExporter): function test_get_span_creates_span (line 2366) | def test_get_span_creates_span(span_exporter: InMemorySpanExporter): function test_get_span_attributes (line 2387) | def test_get_span_attributes(): function test_get_span_attributes_with_agent_info (line 2402) | def test_get_span_attributes_with_agent_info(): function test_capture_response (line 2423) | def test_capture_response(span_exporter: InMemorySpanExporter): function test_layer_ordering_span_sequence_with_function_calling (line 2457) | async def test_layer_ordering_span_sequence_with_function_calling(span_e... function test_agent_and_chat_spans_do_not_duplicate_response_telemetry (line 2554) | async def test_agent_and_chat_spans_do_not_duplicate_response_telemetry( function test_capture_messages_preserves_non_ascii_characters (line 2633) | async def test_capture_messages_preserves_non_ascii_characters(mock_chat... function test_system_instructions_preserves_non_ascii_characters (line 2676) | async def test_system_instructions_preserves_non_ascii_characters(span_e... function test_tool_arguments_preserves_non_ascii_characters (line 2710) | async def test_tool_arguments_preserves_non_ascii_characters(span_export... function test_tool_result_preserves_non_ascii_characters (line 2739) | async def test_tool_result_preserves_non_ascii_characters(span_exporter:... function test_tool_arguments_pydantic_preserves_non_ascii_characters (line 2763) | async def test_tool_arguments_pydantic_preserves_non_ascii_characters( function test_agent_instructions_from_default_options (line 2807) | async def test_agent_instructions_from_default_options( function test_agent_instructions_from_options_override (line 2833) | async def test_agent_instructions_from_options_override( function test_agent_instructions_merged_from_default_and_options (line 2858) | async def test_agent_instructions_merged_from_default_and_options( function test_agent_streaming_instructions_from_default_options (line 2885) | async def test_agent_streaming_instructions_from_default_options( function test_agent_streaming_instructions_merged_from_default_and_options (line 2914) | async def test_agent_streaming_instructions_merged_from_default_and_opti... function test_agent_no_instructions_in_default_or_options (line 2944) | async def test_agent_no_instructions_in_default_or_options( function test_get_instructions_from_options_none (line 2966) | def test_get_instructions_from_options_none(): function test_get_instructions_from_options_non_dict (line 2973) | def test_get_instructions_from_options_non_dict(): function test_get_instructions_from_options_dict_with_instructions (line 2981) | def test_get_instructions_from_options_dict_with_instructions(): function test_get_span_attributes_with_non_dict_options (line 2989) | def test_get_span_attributes_with_non_dict_options(): function test_capture_response_with_error_type (line 3002) | def test_capture_response_with_error_type(span_exporter: InMemorySpanExp... function test_configure_otel_providers_with_env_file_path (line 3033) | def test_configure_otel_providers_with_env_file_path(monkeypatch, tmp_pa... function test_configure_otel_providers_with_env_file_and_vs_code_port (line 3062) | def test_configure_otel_providers_with_env_file_and_vs_code_port(monkeyp... function test_get_exporters_from_env_with_env_file_path (line 3091) | def test_get_exporters_from_env_with_env_file_path(monkeypatch, tmp_path): function test_create_resource_with_env_file_path (line 3111) | def test_create_resource_with_env_file_path(monkeypatch, tmp_path): function test_get_meter_typeerror_fallback (line 3126) | def test_get_meter_typeerror_fallback(): function _get_weather (line 3153) | def _get_weather(city: str) -> str: function test_agent_invoke_span_aggregates_usage_across_tool_calls (line 3159) | async def test_agent_invoke_span_aggregates_usage_across_tool_calls(span... function test_agent_invoke_span_usage_single_call (line 3212) | async def test_agent_invoke_span_usage_single_call(span_exporter: InMemo... function test_agent_invoke_span_aggregates_usage_on_max_iterations_exhaustion (line 3241) | async def test_agent_invoke_span_aggregates_usage_on_max_iterations_exha... FILE: python/packages/core/tests/core/test_serializable_mixin.py class TestSerializationMixin (line 11) | class TestSerializationMixin: method test_basic_serialization (line 14) | def test_basic_serialization(self): method test_injectable_dependency_no_warning (line 33) | def test_injectable_dependency_no_warning(self, caplog): method test_non_injectable_dependency_logs_debug (line 56) | def test_non_injectable_dependency_logs_debug(self, caplog): method test_multiple_dependencies_mixed_injectable (line 82) | def test_multiple_dependencies_mixed_injectable(self, caplog): method test_no_injectable_set_defined (line 128) | def test_no_injectable_set_defined(self, caplog): method test_default_exclude_serialization (line 150) | def test_default_exclude_serialization(self): method test_roundtrip_with_injectable_dependency (line 167) | def test_roundtrip_with_injectable_dependency(self): method test_exclude_none_in_to_dict (line 194) | def test_exclude_none_in_to_dict(self): method test_to_dict_with_nested_serialization_protocol (line 208) | def test_to_dict_with_nested_serialization_protocol(self): method test_to_dict_with_list_of_serialization_protocol (line 227) | def test_to_dict_with_list_of_serialization_protocol(self): method test_to_dict_skips_non_serializable_in_list (line 246) | def test_to_dict_skips_non_serializable_in_list(self, caplog): method test_to_dict_with_dict_containing_serialization_protocol (line 265) | def test_to_dict_with_dict_containing_serialization_protocol(self): method test_to_dict_with_datetime_in_dict (line 283) | def test_to_dict_with_datetime_in_dict(self): method test_to_dict_skips_non_serializable_in_dict (line 297) | def test_to_dict_skips_non_serializable_in_dict(self, caplog): method test_to_dict_skips_non_serializable_attributes (line 315) | def test_to_dict_skips_non_serializable_attributes(self, caplog): method test_from_dict_without_type_in_data (line 331) | def test_from_dict_without_type_in_data(self): method test_from_json (line 350) | def test_from_json(self): method test_get_type_identifier_with_instance_type (line 362) | def test_get_type_identifier_with_instance_type(self): method test_get_type_identifier_with_class_TYPE (line 375) | def test_get_type_identifier_with_class_TYPE(self): method test_instance_specific_dependency_injection (line 389) | def test_instance_specific_dependency_injection(self): method test_dependency_dict_merging (line 411) | def test_dependency_dict_merging(self): method test_deepcopy_preserves_shallow_copy_fields_by_reference (line 431) | def test_deepcopy_preserves_shallow_copy_fields_by_reference(self): method test_deepcopy_deep_copies_non_shallow_copy_fields (line 460) | def test_deepcopy_deep_copies_non_shallow_copy_fields(self): method test_deepcopy_deep_copies_default_exclude_fields (line 481) | def test_deepcopy_deep_copies_default_exclude_fields(self): method test_deepcopy_shallow_copy_fields_override_default_exclude (line 500) | def test_deepcopy_shallow_copy_fields_override_default_exclude(self): FILE: python/packages/core/tests/core/test_sessions.py class TestSessionContext (line 20) | class TestSessionContext: method test_init_defaults (line 21) | def test_init_defaults(self) -> None: method test_extend_messages_creates_key (line 33) | def test_extend_messages_creates_key(self) -> None: method test_extend_messages_appends_to_existing (line 41) | def test_extend_messages_appends_to_existing(self) -> None: method test_extend_messages_preserves_source_order (line 49) | def test_extend_messages_preserves_source_order(self) -> None: method test_extend_messages_sets_attribution (line 56) | def test_extend_messages_sets_attribution(self) -> None: method test_extend_messages_does_not_overwrite_existing_attribution (line 65) | def test_extend_messages_does_not_overwrite_existing_attribution(self)... method test_extend_messages_copies_messages (line 74) | def test_extend_messages_copies_messages(self) -> None: method test_extend_messages_sender_sets_source_type (line 85) | def test_extend_messages_sender_sets_source_type(self) -> None: method test_extend_instructions_string (line 95) | def test_extend_instructions_string(self) -> None: method test_extend_instructions_sequence (line 100) | def test_extend_instructions_sequence(self) -> None: method test_get_messages_all (line 105) | def test_get_messages_all(self) -> None: method test_get_messages_filter_sources (line 114) | def test_get_messages_filter_sources(self) -> None: method test_get_messages_exclude_sources (line 122) | def test_get_messages_exclude_sources(self) -> None: method test_get_messages_include_input (line 130) | def test_get_messages_include_input(self) -> None: method test_get_messages_include_response (line 138) | def test_get_messages_include_response(self) -> None: method test_response_readonly (line 147) | def test_response_readonly(self) -> None: class TestContextProviderBase (line 163) | class TestContextProviderBase: method test_source_id_required (line 164) | def test_source_id_required(self) -> None: method test_before_run_is_noop (line 168) | async def test_before_run_is_noop(self) -> None: method test_after_run_is_noop (line 175) | async def test_after_run_is_noop(self) -> None: class ConcreteHistoryProvider (line 187) | class ConcreteHistoryProvider(BaseHistoryProvider): method __init__ (line 190) | def __init__(self, source_id: str, stored_messages: list[Message] | No... method get_messages (line 195) | async def get_messages(self, session_id: str | None, *, state=None, **... method save_messages (line 198) | async def save_messages(self, session_id: str | None, messages: Sequen... class TestHistoryProviderBase (line 202) | class TestHistoryProviderBase: method test_default_flags (line 203) | def test_default_flags(self) -> None: method test_custom_flags (line 211) | def test_custom_flags(self) -> None: method test_before_run_loads_messages (line 224) | async def test_before_run_loads_messages(self) -> None: method test_after_run_stores_inputs_and_responses (line 233) | async def test_after_run_stores_inputs_and_responses(self) -> None: method test_after_run_skips_inputs_when_disabled (line 247) | async def test_after_run_skips_inputs_when_disabled(self) -> None: method test_after_run_skips_responses_when_disabled (line 257) | async def test_after_run_skips_responses_when_disabled(self) -> None: method test_after_run_stores_context_messages (line 267) | async def test_after_run_stores_context_messages(self) -> None: method test_after_run_stores_context_from_specific_sources (line 281) | async def test_after_run_stores_context_from_specific_sources(self) ->... class TestAgentSession (line 302) | class TestAgentSession: method test_auto_generates_session_id (line 303) | def test_auto_generates_session_id(self) -> None: method test_custom_session_id (line 308) | def test_custom_session_id(self) -> None: method test_state_starts_empty (line 312) | def test_state_starts_empty(self) -> None: method test_service_session_id (line 316) | def test_service_session_id(self) -> None: method test_to_dict (line 320) | def test_to_dict(self) -> None: method test_from_dict (line 329) | def test_from_dict(self) -> None: method test_roundtrip (line 341) | def test_roundtrip(self) -> None: method test_from_dict_missing_state (line 349) | def test_from_dict_missing_state(self) -> None: class TestInMemoryHistoryProvider (line 360) | class TestInMemoryHistoryProvider: method test_empty_state_returns_no_messages (line 361) | async def test_empty_state_returns_no_messages(self) -> None: method test_stores_and_loads_messages (line 373) | async def test_stores_and_loads_messages(self) -> None: method test_state_is_serializable (line 410) | async def test_state_is_serializable(self) -> None: method test_source_id_attribution (line 446) | async def test_source_id_attribution(self) -> None: FILE: python/packages/core/tests/core/test_settings.py class SimpleSettings (line 14) | class SimpleSettings(TypedDict, total=False): class RequiredFieldSettings (line 21) | class RequiredFieldSettings(TypedDict, total=False): class SecretSettings (line 26) | class SecretSettings(TypedDict, total=False): class ExclusiveSettings (line 31) | class ExclusiveSettings(TypedDict, total=False): class TestLoadSettingsBasic (line 37) | class TestLoadSettingsBasic: method test_fields_are_none_when_unset (line 40) | def test_fields_are_none_when_unset(self) -> None: method test_overrides (line 48) | def test_overrides(self) -> None: method test_none_overrides_are_filtered (line 54) | def test_none_overrides_are_filtered(self, monkeypatch: pytest.MonkeyP... method test_env_vars (line 62) | def test_env_vars(self, monkeypatch: pytest.MonkeyPatch) -> None: method test_overrides_beat_env_vars (line 73) | def test_overrides_beat_env_vars(self, monkeypatch: pytest.MonkeyPatch... method test_no_prefix (line 80) | def test_no_prefix(self, monkeypatch: pytest.MonkeyPatch) -> None: class TestDotenvFile (line 88) | class TestDotenvFile: method test_load_from_dotenv (line 91) | def test_load_from_dotenv(self, monkeypatch: pytest.MonkeyPatch) -> None: method test_dotenv_overrides_env_vars_when_env_file_path_is_set (line 109) | def test_dotenv_overrides_env_vars_when_env_file_path_is_set(self, mon... method test_env_vars_are_used_when_env_file_path_is_not_set (line 124) | def test_env_vars_are_used_when_env_file_path_is_not_set(self, monkeyp... method test_overrides_beat_dotenv_and_env_vars (line 130) | def test_overrides_beat_dotenv_and_env_vars(self, monkeypatch: pytest.... method test_missing_dotenv_file_raises (line 145) | def test_missing_dotenv_file_raises(self) -> None: class TestSecretString (line 150) | class TestSecretString: method test_secretstring_from_env (line 153) | def test_secretstring_from_env(self, monkeypatch: pytest.MonkeyPatch) ... method test_secretstring_from_override (line 161) | def test_secretstring_from_override(self) -> None: method test_secretstring_masked_in_repr (line 167) | def test_secretstring_masked_in_repr(self) -> None: method test_get_secret_value_compat (line 172) | def test_get_secret_value_compat(self) -> None: class TestTypeCoercion (line 179) | class TestTypeCoercion: method test_int_coercion (line 182) | def test_int_coercion(self, monkeypatch: pytest.MonkeyPatch) -> None: method test_float_coercion (line 190) | def test_float_coercion(self, monkeypatch: pytest.MonkeyPatch) -> None: method test_bool_coercion_true_values (line 198) | def test_bool_coercion_true_values(self, monkeypatch: pytest.MonkeyPat... method test_bool_coercion_false_values (line 204) | def test_bool_coercion_false_values(self, monkeypatch: pytest.MonkeyPa... class TestRequiredFields (line 211) | class TestRequiredFields: method test_required_field_provided (line 214) | def test_required_field_provided(self) -> None: method test_required_field_from_env (line 225) | def test_required_field_from_env(self, monkeypatch: pytest.MonkeyPatch... method test_required_field_missing_raises (line 232) | def test_required_field_missing_raises(self) -> None: method test_without_required_fields_param_allows_none (line 238) | def test_without_required_fields_param_allows_none(self) -> None: class TestOverrideTypeValidation (line 244) | class TestOverrideTypeValidation: method test_invalid_type_raises (line 247) | def test_invalid_type_raises(self) -> None: method test_valid_types_accepted (line 252) | def test_valid_types_accepted(self) -> None: method test_str_accepted_for_secretstring (line 258) | def test_str_accepted_for_secretstring(self) -> None: class TestMutuallyExclusive (line 265) | class TestMutuallyExclusive: method test_exactly_one_set_passes (line 268) | def test_exactly_one_set_passes(self) -> None: method test_none_set_raises (line 279) | def test_none_set_raises(self) -> None: method test_both_set_raises (line 289) | def test_both_set_raises(self) -> None: method test_env_var_counts_as_set (line 301) | def test_env_var_counts_as_set(self, monkeypatch: pytest.MonkeyPatch) ... method test_env_var_and_override_both_set_raises (line 312) | def test_env_var_and_override_both_set_raises(self, monkeypatch: pytes... method test_other_fields_unaffected (line 325) | def test_other_fields_unaffected(self) -> None: method test_mixed_required_and_exclusive (line 337) | def test_mixed_required_and_exclusive(self) -> None: FILE: python/packages/core/tests/core/test_skills.py function _noop_script_runner (line 36) | async def _noop_script_runner(skill: Any, script: Any, args: Any = None)... function _symlinks_supported (line 41) | def _symlinks_supported(tmp: Path) -> bool: function _write_skill (line 61) | def _write_skill( function _read_and_parse_skill_file_for_test (line 87) | def _read_and_parse_skill_file_for_test(skill_dir: Path) -> Skill: class TestNormalizeResourcePath (line 105) | class TestNormalizeResourcePath: method test_strips_dot_slash_prefix (line 108) | def test_strips_dot_slash_prefix(self) -> None: method test_replaces_backslashes (line 111) | def test_replaces_backslashes(self) -> None: method test_strips_dot_slash_and_replaces_backslashes (line 114) | def test_strips_dot_slash_and_replaces_backslashes(self) -> None: method test_no_change_for_clean_path (line 117) | def test_no_change_for_clean_path(self) -> None: class TestDiscoverResourceFiles (line 121) | class TestDiscoverResourceFiles: method test_discovers_md_files (line 124) | def test_discovers_md_files(self, tmp_path: Path) -> None: method test_excludes_skill_md (line 134) | def test_excludes_skill_md(self, tmp_path: Path) -> None: method test_discovers_multiple_extensions (line 141) | def test_discovers_multiple_extensions(self, tmp_path: Path) -> None: method test_ignores_unsupported_extensions (line 154) | def test_ignores_unsupported_extensions(self, tmp_path: Path) -> None: method test_custom_extensions (line 162) | def test_custom_extensions(self, tmp_path: Path) -> None: method test_discovers_nested_files (line 170) | def test_discovers_nested_files(self, tmp_path: Path) -> None: method test_empty_directory (line 178) | def test_empty_directory(self, tmp_path: Path) -> None: method test_default_extensions_match_constant (line 184) | def test_default_extensions_match_constant(self) -> None: class TestTryParseSkillDocument (line 194) | class TestTryParseSkillDocument: method test_valid_skill (line 197) | def test_valid_skill(self) -> None: method test_quoted_values (line 205) | def test_quoted_values(self) -> None: method test_utf8_bom (line 212) | def test_utf8_bom(self) -> None: method test_missing_frontmatter (line 218) | def test_missing_frontmatter(self) -> None: method test_missing_name (line 223) | def test_missing_name(self) -> None: method test_missing_description (line 228) | def test_missing_description(self) -> None: method test_invalid_name_uppercase (line 233) | def test_invalid_name_uppercase(self) -> None: method test_invalid_name_starts_with_hyphen (line 238) | def test_invalid_name_starts_with_hyphen(self) -> None: method test_invalid_name_ends_with_hyphen (line 243) | def test_invalid_name_ends_with_hyphen(self) -> None: method test_name_too_long (line 248) | def test_name_too_long(self) -> None: method test_description_too_long (line 254) | def test_description_too_long(self) -> None: method test_extra_metadata_ignored (line 260) | def test_extra_metadata_ignored(self) -> None: class TestDiscoverAndLoadSkills (line 272) | class TestDiscoverAndLoadSkills: method test_discovers_valid_skill (line 275) | def test_discovers_valid_skill(self, tmp_path: Path) -> None: method test_discovers_nested_skills (line 281) | def test_discovers_nested_skills(self, tmp_path: Path) -> None: method test_skips_invalid_skill (line 290) | def test_skips_invalid_skill(self, tmp_path: Path) -> None: method test_deduplicates_skill_names (line 297) | def test_deduplicates_skill_names(self, tmp_path: Path) -> None: method test_empty_directory (line 306) | def test_empty_directory(self, tmp_path: Path) -> None: method test_nonexistent_directory (line 310) | def test_nonexistent_directory(self) -> None: method test_multiple_paths (line 314) | def test_multiple_paths(self, tmp_path: Path) -> None: method test_depth_limit (line 322) | def test_depth_limit(self, tmp_path: Path) -> None: method test_skill_with_resources (line 333) | def test_skill_with_resources(self, tmp_path: Path) -> None: method test_skill_discovers_all_resource_files (line 344) | def test_skill_discovers_all_resource_files(self, tmp_path: Path) -> N... class TestReadSkillResource (line 364) | class TestReadSkillResource: method test_reads_valid_resource (line 367) | def test_reads_valid_resource(self, tmp_path: Path) -> None: method test_normalizes_dot_slash (line 378) | def test_normalizes_dot_slash(self, tmp_path: Path) -> None: method test_unregistered_resource_raises (line 389) | def test_unregistered_resource_raises(self, tmp_path: Path) -> None: method test_reads_resource_with_exact_casing (line 395) | def test_reads_resource_with_exact_casing(self, tmp_path: Path) -> None: method test_path_traversal_raises (line 407) | def test_path_traversal_raises(self, tmp_path: Path) -> None: method test_similar_prefix_directory_does_not_match (line 418) | def test_similar_prefix_directory_does_not_match(self, tmp_path: Path)... class TestBuildSkillsInstructionPrompt (line 438) | class TestBuildSkillsInstructionPrompt: method test_returns_none_for_empty_skills (line 441) | def test_returns_none_for_empty_skills(self) -> None: method test_default_prompt_contains_skills (line 444) | def test_default_prompt_contains_skills(self) -> None: method test_skills_sorted_alphabetically (line 454) | def test_skills_sorted_alphabetically(self) -> None: method test_xml_escapes_metadata (line 465) | def test_xml_escapes_metadata(self) -> None: method test_custom_prompt_template (line 474) | def test_custom_prompt_template(self) -> None: method test_invalid_prompt_template_raises (line 484) | def test_invalid_prompt_template_raises(self) -> None: method test_positional_placeholder_raises (line 491) | def test_positional_placeholder_raises(self) -> None: class TestSkillsProvider (line 504) | class TestSkillsProvider: method test_default_source_id (line 507) | def test_default_source_id(self, tmp_path: Path) -> None: method test_custom_source_id (line 511) | def test_custom_source_id(self, tmp_path: Path) -> None: method test_accepts_single_path_string (line 515) | def test_accepts_single_path_string(self, tmp_path: Path) -> None: method test_accepts_sequence_of_paths (line 520) | def test_accepts_sequence_of_paths(self, tmp_path: Path) -> None: method test_before_run_with_skills (line 528) | async def test_before_run_with_skills(self, tmp_path: Path) -> None: method test_before_run_without_skills (line 546) | async def test_before_run_without_skills(self, tmp_path: Path) -> None: method test_load_skill_returns_body (line 560) | def test_load_skill_returns_body(self, tmp_path: Path) -> None: method test_load_skill_preserves_file_skill_content (line 566) | def test_load_skill_preserves_file_skill_content(self, tmp_path: Path)... method test_load_skill_unknown_returns_error (line 577) | def test_load_skill_unknown_returns_error(self, tmp_path: Path) -> None: method test_load_skill_empty_name_returns_error (line 582) | def test_load_skill_empty_name_returns_error(self, tmp_path: Path) -> ... method test_read_skill_resource_returns_content (line 587) | async def test_read_skill_resource_returns_content(self, tmp_path: Pat... method test_read_skill_resource_unknown_skill_returns_error (line 598) | async def test_read_skill_resource_unknown_skill_returns_error(self, t... method test_read_skill_resource_empty_name_returns_error (line 603) | async def test_read_skill_resource_empty_name_returns_error(self, tmp_... method test_read_skill_resource_unknown_resource_returns_error (line 609) | async def test_read_skill_resource_unknown_resource_returns_error(self... method test_skills_sorted_in_prompt (line 615) | async def test_skills_sorted_in_prompt(self, tmp_path: Path) -> None: method test_xml_escaping_in_prompt (line 632) | async def test_xml_escaping_in_prompt(self, tmp_path: Path) -> None: function _requires_symlinks (line 655) | def _requires_symlinks(tmp_path: Path) -> None: class TestSymlinkDetection (line 662) | class TestSymlinkDetection: method test_detects_symlinked_file (line 665) | def test_detects_symlinked_file(self, tmp_path: Path) -> None: method test_detects_symlinked_directory (line 680) | def test_detects_symlinked_directory(self, tmp_path: Path) -> None: method test_returns_false_for_regular_files (line 696) | def test_returns_false_for_regular_files(self, tmp_path: Path) -> None: method test_discover_skips_symlinked_resource (line 708) | def test_discover_skips_symlinked_resource(self, tmp_path: Path) -> None: method test_read_skill_resource_rejects_symlinked_resource (line 733) | def test_read_skill_resource_rejects_symlinked_resource(self, tmp_path... method test_discover_skips_symlinked_script (line 754) | def test_discover_skips_symlinked_script(self, tmp_path: Path) -> None: class TestSkillResource (line 781) | class TestSkillResource: method test_static_content (line 784) | def test_static_content(self) -> None: method test_callable_function (line 790) | def test_callable_function(self) -> None: method test_with_description (line 799) | def test_with_description(self) -> None: method test_requires_content_or_function (line 803) | def test_requires_content_or_function(self) -> None: method test_content_and_function_mutually_exclusive (line 807) | def test_content_and_function_mutually_exclusive(self) -> None: method test_accepts_kwargs_true_for_kwargs_function (line 811) | def test_accepts_kwargs_true_for_kwargs_function(self) -> None: method test_accepts_kwargs_false_for_regular_function (line 818) | def test_accepts_kwargs_false_for_regular_function(self) -> None: class TestSkill (line 831) | class TestSkill: method test_basic_construction (line 834) | def test_basic_construction(self) -> None: method test_construction_with_static_resources (line 841) | def test_construction_with_static_resources(self) -> None: method test_empty_name_raises (line 853) | def test_empty_name_raises(self) -> None: method test_invalid_name_skipped (line 857) | def test_invalid_name_skipped(self) -> None: method test_name_starts_with_hyphen_skipped (line 862) | def test_name_starts_with_hyphen_skipped(self) -> None: method test_name_too_long_skipped (line 867) | def test_name_too_long_skipped(self) -> None: method test_empty_description_raises (line 872) | def test_empty_description_raises(self) -> None: method test_description_too_long_skipped (line 876) | def test_description_too_long_skipped(self) -> None: method test_resource_decorator_bare (line 881) | def test_resource_decorator_bare(self) -> None: method test_resource_decorator_with_args (line 894) | def test_resource_decorator_with_args(self) -> None: method test_resource_decorator_returns_function (line 905) | def test_resource_decorator_returns_function(self) -> None: method test_multiple_resources (line 916) | def test_multiple_resources(self) -> None: method test_resource_decorator_async (line 932) | def test_resource_decorator_async(self) -> None: class TestSkillsProviderCodeSkill (line 948) | class TestSkillsProviderCodeSkill: method test_code_skill_only (line 951) | def test_code_skill_only(self) -> None: method test_load_skill_returns_content (line 956) | def test_load_skill_returns_content(self) -> None: method test_load_skill_appends_resource_listing (line 965) | def test_load_skill_appends_resource_listing(self) -> None: method test_load_skill_no_resources_no_listing (line 984) | def test_load_skill_no_resources_no_listing(self) -> None: method test_read_static_resource (line 991) | async def test_read_static_resource(self) -> None: method test_read_callable_resource_sync (line 1002) | async def test_read_callable_resource_sync(self) -> None: method test_read_callable_resource_async (line 1013) | async def test_read_callable_resource_async(self) -> None: method test_read_resource_case_insensitive (line 1024) | async def test_read_resource_case_insensitive(self) -> None: method test_read_unknown_resource_returns_error (line 1035) | async def test_read_unknown_resource_returns_error(self) -> None: method test_read_callable_resource_sync_with_kwargs (line 1041) | async def test_read_callable_resource_sync_with_kwargs(self) -> None: method test_read_callable_resource_async_with_kwargs (line 1053) | async def test_read_callable_resource_async_with_kwargs(self) -> None: method test_read_callable_resource_without_kwargs_ignores_extra_args (line 1065) | async def test_read_callable_resource_without_kwargs_ignores_extra_arg... method test_read_callable_resource_returns_dict (line 1077) | async def test_read_callable_resource_returns_dict(self) -> None: method test_read_callable_resource_returns_list (line 1089) | async def test_read_callable_resource_returns_list(self) -> None: method test_read_callable_resource_returns_none (line 1101) | async def test_read_callable_resource_returns_none(self) -> None: method test_before_run_injects_code_skills (line 1113) | async def test_before_run_injects_code_skills(self) -> None: method test_before_run_empty_provider (line 1124) | async def test_before_run_empty_provider(self) -> None: method test_combined_file_and_code_skill (line 1133) | def test_combined_file_and_code_skill(self, tmp_path: Path) -> None: method test_duplicate_name_file_wins (line 1140) | def test_duplicate_name_file_wins(self, tmp_path: Path) -> None: method test_combined_prompt_includes_both (line 1147) | async def test_combined_prompt_includes_both(self, tmp_path: Path) -> ... method test_custom_resource_extensions (line 1159) | def test_custom_resource_extensions(self, tmp_path: Path) -> None: class TestFileBasedSkillParsing (line 1183) | class TestFileBasedSkillParsing: method test_content_contains_full_raw_file (line 1186) | def test_content_contains_full_raw_file(self, tmp_path: Path) -> None: method test_name_and_description_from_frontmatter (line 1195) | def test_name_and_description_from_frontmatter(self, tmp_path: Path) -... method test_path_set (line 1201) | def test_path_set(self, tmp_path: Path) -> None: method test_resources_populated (line 1206) | def test_resources_populated(self, tmp_path: Path) -> None: class TestLoadSkillFormatting (line 1219) | class TestLoadSkillFormatting: method test_file_skill_returns_raw_content (line 1222) | def test_file_skill_returns_raw_content(self, tmp_path: Path) -> None: method test_code_skill_wraps_in_xml (line 1231) | def test_code_skill_wraps_in_xml(self) -> None: method test_code_skill_single_resource_no_description (line 1240) | def test_code_skill_single_resource_no_description(self) -> None: class TestDiscoverResourceFilesEdgeCases (line 1259) | class TestDiscoverResourceFilesEdgeCases: method test_excludes_skill_md_case_insensitive (line 1262) | def test_excludes_skill_md_case_insensitive(self, tmp_path: Path) -> N... method test_skips_directories (line 1273) | def test_skips_directories(self, tmp_path: Path) -> None: method test_extension_matching_is_case_insensitive (line 1281) | def test_extension_matching_is_case_insensitive(self, tmp_path: Path) ... class TestIsPathWithinDirectory (line 1294) | class TestIsPathWithinDirectory: method test_path_inside_directory (line 1297) | def test_path_inside_directory(self, tmp_path: Path) -> None: method test_path_outside_directory (line 1301) | def test_path_outside_directory(self, tmp_path: Path) -> None: method test_path_is_directory_itself (line 1305) | def test_path_is_directory_itself(self, tmp_path: Path) -> None: method test_similar_prefix_not_matched (line 1308) | def test_similar_prefix_not_matched(self, tmp_path: Path) -> None: class TestHasSymlinkInPathEdgeCases (line 1320) | class TestHasSymlinkInPathEdgeCases: method test_raises_when_path_not_relative (line 1323) | def test_raises_when_path_not_relative(self, tmp_path: Path) -> None: method test_returns_false_for_empty_relative (line 1328) | def test_returns_false_for_empty_relative(self, tmp_path: Path) -> None: class TestValidateSkillMetadata (line 1338) | class TestValidateSkillMetadata: method test_valid_metadata (line 1341) | def test_valid_metadata(self) -> None: method test_none_name (line 1344) | def test_none_name(self) -> None: method test_empty_name (line 1349) | def test_empty_name(self) -> None: method test_whitespace_only_name (line 1354) | def test_whitespace_only_name(self) -> None: method test_name_at_max_length (line 1359) | def test_name_at_max_length(self) -> None: method test_name_exceeds_max_length (line 1363) | def test_name_exceeds_max_length(self) -> None: method test_name_with_uppercase (line 1369) | def test_name_with_uppercase(self) -> None: method test_name_starts_with_hyphen (line 1374) | def test_name_starts_with_hyphen(self) -> None: method test_name_ends_with_hyphen (line 1379) | def test_name_ends_with_hyphen(self) -> None: method test_single_char_name (line 1384) | def test_single_char_name(self) -> None: method test_none_description (line 1387) | def test_none_description(self) -> None: method test_empty_description (line 1392) | def test_empty_description(self) -> None: method test_whitespace_only_description (line 1397) | def test_whitespace_only_description(self) -> None: method test_description_at_max_length (line 1402) | def test_description_at_max_length(self) -> None: method test_description_exceeds_max_length (line 1406) | def test_description_exceeds_max_length(self) -> None: class TestDiscoverSkillDirectories (line 1418) | class TestDiscoverSkillDirectories: method test_finds_skill_at_root (line 1421) | def test_finds_skill_at_root(self, tmp_path: Path) -> None: method test_finds_nested_skill (line 1426) | def test_finds_nested_skill(self, tmp_path: Path) -> None: method test_skips_empty_path_string (line 1434) | def test_skips_empty_path_string(self) -> None: method test_skips_nonexistent_path (line 1438) | def test_skips_nonexistent_path(self) -> None: method test_depth_limit_excludes_deep_skill (line 1442) | def test_depth_limit_excludes_deep_skill(self, tmp_path: Path) -> None: method test_depth_limit_includes_at_boundary (line 1449) | def test_depth_limit_includes_at_boundary(self, tmp_path: Path) -> None: class TestReadAndParseSkillFile (line 1462) | class TestReadAndParseSkillFile: method test_valid_file (line 1465) | def test_valid_file(self, tmp_path: Path) -> None: method test_missing_skill_md_returns_none (line 1476) | def test_missing_skill_md_returns_none(self, tmp_path: Path) -> None: method test_invalid_frontmatter_returns_none (line 1482) | def test_invalid_frontmatter_returns_none(self, tmp_path: Path) -> None: class TestCreateResourceElement (line 1495) | class TestCreateResourceElement: method test_name_only (line 1498) | def test_name_only(self) -> None: method test_with_description (line 1503) | def test_with_description(self) -> None: method test_xml_escapes_name (line 1508) | def test_xml_escapes_name(self) -> None: method test_xml_escapes_description (line 1513) | def test_xml_escapes_description(self) -> None: class TestReadFileSkillResourceEdgeCases (line 1526) | class TestReadFileSkillResourceEdgeCases: method test_skill_with_no_path_raises (line 1529) | def test_skill_with_no_path_raises(self) -> None: method test_nonexistent_file_raises (line 1534) | def test_nonexistent_file_raises(self, tmp_path: Path) -> None: class TestNormalizeResourcePathEdgeCases (line 1547) | class TestNormalizeResourcePathEdgeCases: method test_bare_filename (line 1550) | def test_bare_filename(self) -> None: method test_deeply_nested_path (line 1553) | def test_deeply_nested_path(self) -> None: method test_mixed_separators (line 1556) | def test_mixed_separators(self) -> None: method test_dot_prefix_only (line 1559) | def test_dot_prefix_only(self) -> None: class TestDiscoverFileSkillsEdgeCases (line 1568) | class TestDiscoverFileSkillsEdgeCases: method test_none_path_returns_empty (line 1571) | def test_none_path_returns_empty(self) -> None: method test_accepts_path_object (line 1574) | def test_accepts_path_object(self, tmp_path: Path) -> None: method test_accepts_single_string_path (line 1579) | def test_accepts_single_string_path(self, tmp_path: Path) -> None: class TestExtractFrontmatterEdgeCases (line 1590) | class TestExtractFrontmatterEdgeCases: method test_whitespace_only_name (line 1593) | def test_whitespace_only_name(self) -> None: method test_whitespace_only_description (line 1598) | def test_whitespace_only_description(self) -> None: method test_name_exactly_max_length (line 1603) | def test_name_exactly_max_length(self) -> None: method test_description_exactly_max_length (line 1610) | def test_description_exactly_max_length(self) -> None: class TestCreateInstructionsEdgeCases (line 1623) | class TestCreateInstructionsEdgeCases: method test_custom_template_with_empty_skills_returns_none (line 1626) | def test_custom_template_with_empty_skills_returns_none(self) -> None: method test_custom_template_with_literal_braces (line 1630) | def test_custom_template_with_literal_braces(self) -> None: method test_multiple_skills_generates_sorted_xml (line 1640) | def test_multiple_skills_generates_sorted_xml(self) -> None: method test_custom_template_missing_runner_instructions_raises (line 1653) | def test_custom_template_missing_runner_instructions_raises(self) -> N... method test_custom_template_with_unknown_placeholder_raises (line 1662) | def test_custom_template_with_unknown_placeholder_raises(self) -> None: class TestSkillsProviderEdgeCases (line 1677) | class TestSkillsProviderEdgeCases: method test_accepts_path_object (line 1680) | def test_accepts_path_object(self, tmp_path: Path) -> None: method test_load_skill_whitespace_name_returns_error (line 1685) | def test_load_skill_whitespace_name_returns_error(self, tmp_path: Path... method test_read_skill_resource_whitespace_skill_name_returns_error (line 1692) | async def test_read_skill_resource_whitespace_skill_name_returns_error... method test_read_skill_resource_whitespace_resource_name_returns_error (line 1699) | async def test_read_skill_resource_whitespace_resource_name_returns_er... method test_read_callable_resource_exception_returns_error (line 1706) | async def test_read_callable_resource_exception_returns_error(self) ->... method test_read_async_callable_resource_exception_returns_error (line 1718) | async def test_read_async_callable_resource_exception_returns_error(se... method test_load_code_skill_xml_escapes_metadata (line 1729) | def test_load_code_skill_xml_escapes_metadata(self) -> None: method test_code_skill_deduplication (line 1736) | def test_code_skill_deduplication(self) -> None: method test_before_run_extends_tools_even_without_instructions (line 1743) | async def test_before_run_extends_tools_even_without_instructions(self... class TestSkillResourceEdgeCases (line 1762) | class TestSkillResourceEdgeCases: method test_empty_name_raises (line 1765) | def test_empty_name_raises(self) -> None: method test_whitespace_only_name_raises (line 1769) | def test_whitespace_only_name_raises(self) -> None: method test_description_defaults_to_none (line 1773) | def test_description_defaults_to_none(self) -> None: class TestSkillResourceDecoratorEdgeCases (line 1783) | class TestSkillResourceDecoratorEdgeCases: method test_decorator_no_docstring_description_is_none (line 1786) | def test_decorator_no_docstring_description_is_none(self) -> None: method test_decorator_with_name_only (line 1795) | def test_decorator_with_name_only(self) -> None: method test_decorator_with_description_only (line 1807) | def test_decorator_with_description_only(self) -> None: method test_decorator_preserves_original_function_identity (line 1817) | def test_decorator_preserves_original_function_identity(self) -> None: class TestSkillScript (line 1838) | class TestSkillScript: method test_empty_name_raises (line 1841) | def test_empty_name_raises(self) -> None: method test_whitespace_name_raises (line 1847) | def test_whitespace_name_raises(self) -> None: method test_path_default_none (line 1853) | def test_path_default_none(self) -> None: method test_path_set_explicitly (line 1859) | def test_path_set_explicitly(self) -> None: method test_create_with_function (line 1865) | def test_create_with_function(self) -> None: method test_accepts_kwargs_true_for_kwargs_function (line 1873) | def test_accepts_kwargs_true_for_kwargs_function(self) -> None: method test_accepts_kwargs_false_for_regular_function (line 1882) | def test_accepts_kwargs_false_for_regular_function(self) -> None: class TestSkillScriptDecorator (line 1897) | class TestSkillScriptDecorator: method test_bare_decorator (line 1900) | def test_bare_decorator(self) -> None: method test_parameterized_decorator (line 1913) | def test_parameterized_decorator(self) -> None: method test_multiple_scripts (line 1925) | def test_multiple_scripts(self) -> None: method test_async_script (line 1940) | def test_async_script(self) -> None: method test_decorator_returns_original_function (line 1952) | def test_decorator_returns_original_function(self) -> None: class TestSkillWithScripts (line 1972) | class TestSkillWithScripts: method test_default_empty_scripts (line 1975) | def test_default_empty_scripts(self) -> None: method test_scripts_at_construction (line 1979) | def test_scripts_at_construction(self) -> None: class TestSkillScriptRunnerProtocol (line 1993) | class TestSkillScriptRunnerProtocol: method test_async_callable_satisfies_protocol (line 1996) | async def test_async_callable_satisfies_protocol(self) -> None: method test_callable_class_satisfies_protocol (line 2017) | async def test_callable_class_satisfies_protocol(self) -> None: method test_runner_returns_none (line 2034) | async def test_runner_returns_none(self) -> None: method test_runner_returns_object (line 2046) | async def test_runner_returns_object(self) -> None: method test_sync_callable_satisfies_protocol (line 2058) | def test_sync_callable_satisfies_protocol(self) -> None: method test_sync_callable_class_satisfies_protocol (line 2079) | def test_sync_callable_class_satisfies_protocol(self) -> None: method test_sync_runner_returns_none (line 2096) | def test_sync_runner_returns_none(self) -> None: method test_sync_runner_returns_object (line 2108) | def test_sync_runner_returns_object(self) -> None: class TestSkillsProviderFactories (line 2126) | class TestSkillsProviderFactories: method test_code_skills_with_scripts_creates_provider (line 2129) | def test_code_skills_with_scripts_creates_provider(self) -> None: method test_code_skills_no_scripts (line 2140) | def test_code_skills_no_scripts(self) -> None: method test_code_script_runs_directly (line 2147) | async def test_code_script_runs_directly(self) -> None: method test_no_scripts_no_tool (line 2162) | def test_no_scripts_no_tool(self) -> None: method test_file_skills_with_custom_runner (line 2168) | def test_file_skills_with_custom_runner(self, tmp_path: Path) -> None: method test_file_skills_with_sync_runner (line 2191) | def test_file_skills_with_sync_runner(self, tmp_path: Path) -> None: method test_file_script_with_sync_runner_executes (line 2213) | async def test_file_script_with_sync_runner_executes(self, tmp_path: P... method test_file_skills_with_callback_runner (line 2234) | def test_file_skills_with_callback_runner(self, tmp_path: Path) -> None: method test_combined_skills (line 2249) | def test_combined_skills(self, tmp_path: Path) -> None: method test_file_scripts_without_runner_raises (line 2270) | def test_file_scripts_without_runner_raises(self, tmp_path: Path) -> N... method test_file_script_error_without_runner (line 2282) | async def test_file_script_error_without_runner(self) -> None: method test_async_code_script_runs_directly (line 2302) | async def test_async_code_script_runs_directly(self) -> None: method test_code_script_returns_object (line 2316) | async def test_code_script_returns_object(self) -> None: method test_code_script_returns_none (line 2331) | async def test_code_script_returns_none(self) -> None: method test_script_with_path_and_function_raises_error (line 2343) | async def test_script_with_path_and_function_raises_error(self) -> None: method test_script_with_path_errors_without_runner (line 2350) | async def test_script_with_path_errors_without_runner(self) -> None: method test_run_skill_script_error_on_missing_skill (line 2370) | async def test_run_skill_script_error_on_missing_skill(self) -> None: method test_run_skill_script_sync_with_kwargs (line 2382) | async def test_run_skill_script_sync_with_kwargs(self) -> None: method test_run_skill_script_async_with_kwargs (line 2394) | async def test_run_skill_script_async_with_kwargs(self) -> None: method test_run_skill_script_without_kwargs_ignores_extra_args (line 2406) | async def test_run_skill_script_without_kwargs_ignores_extra_args(self... method test_run_skill_script_conflicting_args_and_kwargs_raises (line 2418) | async def test_run_skill_script_conflicting_args_and_kwargs_raises(sel... method test_run_skill_script_error_on_missing_script (line 2432) | async def test_run_skill_script_error_on_missing_script(self) -> None: method test_run_skill_script_error_on_empty_names (line 2444) | async def test_run_skill_script_error_on_empty_names(self) -> None: method test_instructions_include_script_runner_hints (line 2459) | def test_instructions_include_script_runner_hints(self) -> None: method test_no_scripts_no_runner_no_script_instructions (line 2469) | def test_no_scripts_no_runner_no_script_instructions(self) -> None: method test_tool_schema_args_description_mentions_key_format (line 2475) | def test_tool_schema_args_description_mentions_key_format(self) -> None: method test_require_script_approval_sets_approval_mode (line 2487) | def test_require_script_approval_sets_approval_mode(self) -> None: method test_require_script_approval_false_by_default (line 2498) | def test_require_script_approval_false_by_default(self) -> None: method test_require_script_approval_does_not_affect_other_tools (line 2509) | def test_require_script_approval_does_not_affect_other_tools(self) -> ... method test_code_script_exception_returns_error (line 2522) | async def test_code_script_exception_returns_error(self) -> None: method test_custom_template_without_runner_placeholder_raises (line 2539) | def test_custom_template_without_runner_placeholder_raises(self) -> None: class TestFileScriptDiscovery (line 2558) | class TestFileScriptDiscovery: method test_discovers_py_files (line 2561) | def test_discovers_py_files(self, tmp_path: Path) -> None: method test_discovered_script_has_relative_path (line 2575) | def test_discovered_script_has_relative_path(self, tmp_path: Path) -> ... method test_discovers_nested_scripts (line 2591) | def test_discovers_nested_scripts(self, tmp_path: Path) -> None: method test_no_scripts_when_no_py_files (line 2605) | def test_no_scripts_when_no_py_files(self, tmp_path: Path) -> None: class TestCustomScriptExtensions (line 2618) | class TestCustomScriptExtensions: method test_custom_script_extensions_via_discover_file_skills (line 2621) | def test_custom_script_extensions_via_discover_file_skills(self, tmp_p... method test_custom_script_extensions_via_provider (line 2644) | def test_custom_script_extensions_via_provider(self, tmp_path: Path) -... method test_multiple_script_extensions (line 2666) | def test_multiple_script_extensions(self, tmp_path: Path) -> None: method test_default_script_extensions_unchanged (line 2689) | def test_default_script_extensions_unchanged(self) -> None: class TestCreateInstructionsWithScripts (line 2699) | class TestCreateInstructionsWithScripts: method test_excludes_script_count (line 2702) | def test_excludes_script_count(self) -> None: method test_no_scripts_element_when_empty (line 2712) | def test_no_scripts_element_when_empty(self) -> None: class TestLoadSkillWithScripts (line 2725) | class TestLoadSkillWithScripts: method test_code_skill_includes_scripts_element (line 2728) | def test_code_skill_includes_scripts_element(self) -> None: method test_code_skill_no_scripts_element (line 2741) | def test_code_skill_no_scripts_element(self) -> None: method test_code_skill_scripts_element_contains_parameters (line 2747) | def test_code_skill_scripts_element_contains_parameters(self) -> None: class TestReadSkillResourceWithScripts (line 2766) | class TestReadSkillResourceWithScripts: method test_reads_script_with_static_content (line 2769) | async def test_reads_script_with_static_content(self) -> None: method test_script_not_accessible_via_read_resource (line 2780) | async def test_script_not_accessible_via_read_resource(self) -> None: method test_async_script_not_accessible_via_read_resource (line 2791) | async def test_async_script_not_accessible_via_read_resource(self) -> ... method test_script_case_insensitive_not_in_resources (line 2804) | async def test_script_case_insensitive_not_in_resources(self) -> None: method test_resource_takes_priority_over_script (line 2814) | async def test_resource_takes_priority_over_script(self) -> None: method test_script_function_error_not_exposed_via_resources (line 2825) | async def test_script_function_error_not_exposed_via_resources(self) -... class TestGenerateFunctionSchema (line 2844) | class TestGenerateFunctionSchema: method test_simple_function (line 2847) | def test_simple_function(self) -> None: method test_optional_parameter (line 2862) | def test_optional_parameter(self) -> None: method test_no_parameters_returns_none (line 2877) | def test_no_parameters_returns_none(self) -> None: method test_skips_self_and_cls (line 2886) | def test_skips_self_and_cls(self) -> None: method test_skips_var_keyword (line 2898) | def test_skips_var_keyword(self) -> None: method test_async_function (line 2910) | def test_async_function(self) -> None: method test_bool_and_float_types (line 2921) | def test_bool_and_float_types(self) -> None: method test_lazy_generation_is_cached (line 2933) | def test_lazy_generation_is_cached(self) -> None: class TestCreateScriptElement (line 2950) | class TestCreateScriptElement: method test_name_only (line 2953) | def test_name_only(self) -> None: method test_with_description (line 2960) | def test_with_description(self) -> None: method test_xml_escapes_name (line 2967) | def test_xml_escapes_name(self) -> None: method test_xml_escapes_description (line 2974) | def test_xml_escapes_description(self) -> None: method test_includes_parameters_for_code_script (line 2983) | def test_includes_parameters_for_code_script(self) -> None: method test_no_parameters_for_file_script (line 2996) | def test_no_parameters_for_file_script(self) -> None: class TestSkillScriptParametersSchema (line 3009) | class TestSkillScriptParametersSchema: method test_auto_generated_from_function (line 3012) | def test_auto_generated_from_function(self) -> None: method test_none_for_file_based_script (line 3022) | def test_none_for_file_based_script(self) -> None: method test_no_params_function_returns_none (line 3028) | def test_no_params_function_returns_none(self) -> None: method test_kwargs_only_function_returns_none (line 3037) | def test_kwargs_only_function_returns_none(self) -> None: method test_no_params_caching_does_not_reinspect (line 3046) | def test_no_params_caching_does_not_reinspect(self) -> None: class TestLoadSkillsMerging (line 3069) | class TestLoadSkillsMerging: method test_code_skill_with_invalid_name_is_skipped (line 3072) | def test_code_skill_with_invalid_name_is_skipped(self) -> None: method test_file_skill_takes_precedence_over_code_skill (line 3089) | def test_file_skill_takes_precedence_over_code_skill(self, tmp_path: P... FILE: python/packages/core/tests/core/test_telemetry.py function test_telemetry_disabled_env_var (line 15) | def test_telemetry_disabled_env_var(): function test_user_agent_key (line 20) | def test_user_agent_key(): function test_agent_framework_user_agent_format (line 25) | def test_agent_framework_user_agent_format(): function test_app_info_when_telemetry_enabled (line 30) | def test_app_info_when_telemetry_enabled(): function test_app_info_when_telemetry_disabled (line 45) | def test_app_info_when_telemetry_disabled(): function test_prepend_to_existing_user_agent (line 63) | def test_prepend_to_existing_user_agent(): function test_prepend_to_empty_headers (line 73) | def test_prepend_to_empty_headers(): function test_prepend_to_empty_dict (line 83) | def test_prepend_to_empty_dict(): function test_modifies_original_dict (line 92) | def test_modifies_original_dict(): FILE: python/packages/core/tests/core/test_tools.py function test_tool_decorator (line 25) | def test_tool_decorator(): function test_tool_decorator_without_args (line 45) | def test_tool_decorator_without_args(): function test_tool_decorator_with_pydantic_schema (line 66) | def test_tool_decorator_with_pydantic_schema(): function test_tool_decorator_with_json_schema_dict (line 87) | def test_tool_decorator_with_json_schema_dict(): function test_tool_decorator_with_json_schema_invoke_uses_mapping (line 111) | async def test_tool_decorator_with_json_schema_invoke_uses_mapping(): function test_tool_decorator_with_json_schema_invoke_missing_required (line 132) | async def test_tool_decorator_with_json_schema_invoke_missing_required(): function test_tool_decorator_with_json_schema_invoke_invalid_type (line 151) | async def test_tool_decorator_with_json_schema_invoke_invalid_type(): function test_tool_decorator_with_json_schema_preserves_custom_properties (line 171) | def test_tool_decorator_with_json_schema_preserves_custom_properties(): function test_tool_decorator_schema_none_default (line 196) | def test_tool_decorator_schema_none_default(): function test_tool_decorator_with_schema_invoke (line 214) | async def test_tool_decorator_with_schema_invoke(): function test_tool_decorator_with_schema_overrides_annotations (line 230) | def test_tool_decorator_with_schema_overrides_annotations(): function test_tool_without_args (line 248) | def test_tool_without_args(): function test_tool_decorator_with_async (line 268) | async def test_tool_decorator_with_async(): function test_tool_decorator_in_class (line 288) | def test_tool_decorator_in_class(): function test_tool_with_literal_type_parameter (line 311) | def test_tool_with_literal_type_parameter(): function test_tool_with_literal_type_in_class_method (line 334) | def test_tool_with_literal_type_in_class_method(): function test_tool_with_literal_int_type (line 360) | def test_tool_with_literal_int_type(): function test_tool_with_literal_and_annotated (line 382) | def test_tool_with_literal_and_annotated(): function test_tool_decorator_shared_state (line 400) | async def test_tool_decorator_shared_state(): function test_tool_invoke_telemetry_enabled (line 508) | async def test_tool_invoke_telemetry_enabled(span_exporter: InMemorySpan... function test_tool_invoke_telemetry_sensitive_disabled (line 553) | async def test_tool_invoke_telemetry_sensitive_disabled(span_exporter: I... function test_tool_invoke_ignores_additional_kwargs (line 597) | async def test_tool_invoke_ignores_additional_kwargs() -> None: function test_tool_invoke_telemetry_with_pydantic_args (line 618) | async def test_tool_invoke_telemetry_with_pydantic_args(span_exporter: I... function test_tool_invoke_telemetry_with_exception (line 653) | async def test_tool_invoke_telemetry_with_exception(span_exporter: InMem... function test_tool_invoke_telemetry_async_function (line 690) | async def test_tool_invoke_telemetry_async_function(span_exporter: InMem... function test_tool_invoke_invalid_pydantic_args (line 728) | async def test_tool_invoke_invalid_pydantic_args(): function test_tool_serialization (line 748) | def test_tool_serialization(): function test_parse_inputs_none (line 791) | def test_parse_inputs_none(): function test_parse_inputs_string (line 797) | def test_parse_inputs_string(): function test_parse_inputs_list_of_strings (line 807) | def test_parse_inputs_list_of_strings(): function test_parse_inputs_uri_dict (line 820) | def test_parse_inputs_uri_dict(): function test_parse_inputs_hosted_file_dict (line 832) | def test_parse_inputs_hosted_file_dict(): function test_parse_inputs_hosted_vector_store_dict (line 843) | def test_parse_inputs_hosted_vector_store_dict(): function test_parse_inputs_data_dict (line 856) | def test_parse_inputs_data_dict(): function test_parse_inputs_ai_contents_instance (line 868) | def test_parse_inputs_ai_contents_instance(): function test_parse_inputs_mixed_list (line 879) | def test_parse_inputs_mixed_list(): function test_parse_inputs_unsupported_dict (line 903) | def test_parse_inputs_unsupported_dict(): function test_parse_inputs_unsupported_type (line 911) | def test_parse_inputs_unsupported_type(): function test_ai_function_with_kwargs_injection (line 920) | async def test_ai_function_with_kwargs_injection(): function test_ai_function_with_explicit_invocation_context (line 956) | async def test_ai_function_with_explicit_invocation_context(): function test_ai_function_with_typed_context_parameter_using_custom_name (line 983) | async def test_ai_function_with_typed_context_parameter_using_custom_nam... function test_ai_function_with_explicit_schema_and_untyped_ctx (line 1010) | async def test_ai_function_with_explicit_schema_and_untyped_ctx(): function test_ai_function_with_explicit_schema_and_typed_ctx (line 1032) | async def test_ai_function_with_explicit_schema_and_typed_ctx(): function test_ai_function_with_multiple_typed_context_parameters_fails (line 1055) | def test_ai_function_with_multiple_typed_context_parameters_fails(): function test_ai_function_with_ctx_and_typed_context_parameter_fails (line 1065) | def test_ai_function_with_ctx_and_typed_context_parameter_fails(): function test_parse_annotation_with_literal_type (line 1081) | def test_parse_annotation_with_literal_type(): function test_parse_annotation_with_literal_int_type (line 1091) | def test_parse_annotation_with_literal_int_type(): function test_parse_annotation_with_literal_bool_type (line 1101) | def test_parse_annotation_with_literal_bool_type(): function test_parse_annotation_with_simple_types (line 1111) | def test_parse_annotation_with_simple_types(): function test_parse_annotation_with_annotated_and_literal (line 1119) | def test_parse_annotation_with_annotated_and_literal(): FILE: python/packages/core/tests/core/test_types.py function ai_tool (line 50) | def ai_tool() -> FunctionTool: function tool_tool (line 62) | def tool_tool() -> FunctionTool: function test_text_content_positional (line 76) | def test_text_content_positional(): function test_text_content_keyword (line 94) | def test_text_content_keyword(): function test_data_content_bytes (line 115) | def test_data_content_bytes(): function test_data_content_uri (line 133) | def test_data_content_uri(): function test_data_content_invalid (line 154) | def test_data_content_invalid(): function test_data_content_empty (line 160) | def test_data_content_empty(): function test_data_content_detect_image_format_from_base64 (line 167) | def test_data_content_detect_image_format_from_base64(): function test_data_content_create_data_uri_from_base64 (line 208) | def test_data_content_create_data_uri_from_base64(): function test_uri_content (line 229) | def test_uri_content(): function test_hosted_file_content (line 246) | def test_hosted_file_content(): function test_hosted_file_content_minimal (line 257) | def test_hosted_file_content_minimal(): function test_hosted_file_content_optional_fields (line 269) | def test_hosted_file_content_optional_fields(): function test_code_interpreter_tool_call_content_parses_inputs (line 282) | def test_code_interpreter_tool_call_content_parses_inputs(): function test_code_interpreter_tool_result_content_outputs (line 294) | def test_code_interpreter_tool_result_content_outputs(): function test_image_generation_tool_contents (line 313) | def test_image_generation_tool_contents(): function test_mcp_server_tool_call_and_result (line 328) | def test_mcp_server_tool_call_and_result(): function test_shell_tool_call_content_creation (line 345) | def test_shell_tool_call_content_creation(): function test_shell_tool_call_content_minimal (line 362) | def test_shell_tool_call_content_minimal(): function test_shell_tool_result_content_creation (line 373) | def test_shell_tool_result_content_creation(): function test_shell_tool_result_with_timeout (line 397) | def test_shell_tool_result_with_timeout(): function test_shell_command_output_content_creation (line 409) | def test_shell_command_output_content_creation(): function test_shell_content_serialization_roundtrip (line 424) | def test_shell_content_serialization_roundtrip(): function test_hosted_vector_store_content (line 459) | def test_hosted_vector_store_content(): function test_hosted_vector_store_content_minimal (line 474) | def test_hosted_vector_store_content_minimal(): function test_function_call_content (line 488) | def test_function_call_content(): function test_function_call_content_parse_arguments (line 501) | def test_function_call_content_parse_arguments(): function test_function_call_content_add_merging_and_errors (line 510) | def test_function_call_content_add_merging_and_errors(): function test_function_result_content (line 540) | def test_function_result_content(): function test_usage_details (line 560) | def test_usage_details(): function test_usage_details_addition (line 567) | def test_usage_details_addition(): function test_usage_details_fail (line 592) | def test_usage_details_fail(): function test_usage_details_additional_counts (line 599) | def test_usage_details_additional_counts(): function test_usage_details_add_with_none_and_type_errors (line 604) | def test_usage_details_add_with_none_and_type_errors(): function test_usage_details_add_skips_non_int (line 615) | def test_usage_details_add_skips_non_int(): function test_function_approval_request_and_response_creation (line 627) | def test_function_approval_request_and_response_creation(): function test_function_approval_serialization_roundtrip (line 646) | def test_function_approval_serialization_roundtrip(): function test_function_approval_accepts_mcp_call (line 664) | def test_function_approval_accepts_mcp_call(): function test_ai_content_serialization (line 689) | def test_ai_content_serialization(args: dict): function test_chat_message_text (line 699) | def test_chat_message_text(): function test_chat_message_contents (line 715) | def test_chat_message_contents(): function test_chat_message_with_chatrole_instance (line 732) | def test_chat_message_with_chatrole_instance(): function test_chat_response (line 741) | def test_chat_response(): class OutputModel (line 757) | class OutputModel(BaseModel): function test_chat_response_with_format (line 761) | def test_chat_response_with_format(): function test_chat_response_with_format_init (line 778) | def test_chat_response_with_format_init(): function test_chat_response_value_raises_on_invalid_schema (line 795) | def test_chat_response_value_raises_on_invalid_schema(): function test_agent_response_value_raises_on_invalid_schema (line 816) | def test_agent_response_value_raises_on_invalid_schema(): function test_chat_response_update (line 840) | def test_chat_response_update(): function test_chat_response_updates_to_chat_response_one (line 854) | def test_chat_response_updates_to_chat_response_one(): function test_chat_response_updates_to_chat_response_two (line 877) | def test_chat_response_updates_to_chat_response_two(): function test_chat_response_updates_to_chat_response_multiple (line 901) | def test_chat_response_updates_to_chat_response_multiple(): function test_chat_response_updates_to_chat_response_multiple_multiple (line 925) | def test_chat_response_updates_to_chat_response_multiple_multiple(): function test_chat_response_from_async_generator (line 960) | async def test_chat_response_from_async_generator(): function test_chat_response_from_async_generator_output_format (line 969) | async def test_chat_response_from_async_generator_output_format(): function test_chat_response_from_async_generator_output_format_in_method (line 980) | async def test_chat_response_from_async_generator_output_format_in_metho... function test_chat_tool_mode (line 994) | def test_chat_tool_mode(): function test_chat_tool_mode_from_dict (line 1019) | def test_chat_tool_mode_from_dict(): function test_chat_options_init (line 1031) | def test_chat_options_init() -> None: function test_chat_options_tool_choice_validation (line 1042) | def test_chat_options_tool_choice_validation(): function test_chat_options_merge (line 1069) | def test_chat_options_merge(tool_tool, ai_tool) -> None: function test_chat_options_and_tool_choice_override (line 1089) | def test_chat_options_and_tool_choice_override() -> None: function test_chat_options_and_tool_choice_none_in_other_uses_self (line 1103) | def test_chat_options_and_tool_choice_none_in_other_uses_self() -> None: function test_chat_options_and_tool_choice_with_tool_mode (line 1115) | def test_chat_options_and_tool_choice_with_tool_mode() -> None: function test_chat_options_and_tool_choice_required_specific_function (line 1126) | def test_chat_options_and_tool_choice_required_specific_function() -> None: function chat_message (line 1142) | def chat_message() -> Message: function text_content (line 1147) | def text_content() -> Content: function agent_response (line 1152) | def agent_response(chat_message: Message) -> AgentResponse: function agent_response_update (line 1157) | def agent_response_update(text_content: Content) -> AgentResponseUpdate: function test_agent_run_response_init_single_message (line 1164) | def test_agent_run_response_init_single_message(chat_message: Message) -... function test_agent_run_response_init_list_messages (line 1169) | def test_agent_run_response_init_list_messages(chat_message: Message) ->... function test_agent_run_response_init_none_messages (line 1175) | def test_agent_run_response_init_none_messages() -> None: function test_agent_run_response_text_property (line 1180) | def test_agent_run_response_text_property(chat_message: Message) -> None: function test_agent_run_response_text_property_empty (line 1185) | def test_agent_run_response_text_property_empty() -> None: function test_agent_run_response_from_updates (line 1190) | def test_agent_run_response_from_updates(agent_response_update: AgentRes... function test_agent_run_response_str_method (line 1197) | def test_agent_run_response_str_method(chat_message: Message) -> None: function test_agent_run_response_update_init_content_list (line 1205) | def test_agent_run_response_update_init_content_list(text_content: Conte... function test_agent_run_response_update_init_none_content (line 1211) | def test_agent_run_response_update_init_none_content() -> None: function test_agent_run_response_update_text_property (line 1216) | def test_agent_run_response_update_text_property(text_content: Content) ... function test_agent_run_response_update_text_property_empty (line 1221) | def test_agent_run_response_update_text_property_empty() -> None: function test_agent_run_response_update_str_method (line 1226) | def test_agent_run_response_update_str_method(text_content: Content) -> ... function test_agent_run_response_update_created_at (line 1231) | def test_agent_run_response_update_created_at() -> None: function test_agent_run_response_created_at (line 1255) | def test_agent_run_response_created_at() -> None: function test_error_content_str (line 1280) | def test_error_content_str(): function test_annotations_models_and_roundtrip (line 1292) | def test_annotations_models_and_roundtrip(): function test_function_call_merge_in_process_update_and_usage_aggregation (line 1323) | def test_function_call_merge_in_process_update_and_usage_aggregation(): function test_function_call_incompatible_ids_are_not_merged (line 1346) | def test_function_call_incompatible_ids_are_not_merged(): function test_chat_role_str_and_repr (line 1358) | def test_chat_role_str_and_repr(): function test_chat_finish_reason_constants (line 1364) | def test_chat_finish_reason_constants(): function test_response_update_propagates_fields_and_metadata (line 1369) | def test_response_update_propagates_fields_and_metadata(): function test_text_coalescing_preserves_first_properties (line 1394) | def test_text_coalescing_preserves_first_properties(): function test_function_call_content_parse_numeric_or_list (line 1408) | def test_function_call_content_parse_numeric_or_list(): function test_chat_tool_mode_eq_with_string (line 1415) | def test_chat_tool_mode_eq_with_string(): function agent_run_response_async (line 1423) | def agent_run_response_async() -> AgentResponse: function test_agent_run_response_from_async_generator (line 1427) | async def test_agent_run_response_from_async_generator(): function test_text_content_add_comprehensive_coverage (line 1439) | def test_text_content_add_comprehensive_coverage(): function test_text_content_iadd_coverage (line 1493) | def test_text_content_iadd_coverage(): function test_text_reasoning_content_add_coverage (line 1507) | def test_text_reasoning_content_add_coverage(): function test_text_reasoning_content_iadd_coverage (line 1517) | def test_text_reasoning_content_iadd_coverage(): function test_comprehensive_to_dict_exclude_options (line 1529) | def test_comprehensive_to_dict_exclude_options(): function test_usage_details_iadd_edge_cases (line 1552) | def test_usage_details_iadd_edge_cases(): function test_chat_message_from_dict_with_mixed_content (line 1573) | def test_chat_message_from_dict_with_mixed_content(): function test_text_content_add_type_error (line 1596) | def test_text_content_add_type_error(): function test_comprehensive_serialization_methods (line 1604) | def test_comprehensive_serialization_methods(): function test_chat_message_complex_content_serialization (line 1642) | def test_chat_message_complex_content_serialization(): function test_message_roundtrip_preserves_compaction_annotation_dict (line 1669) | def test_message_roundtrip_preserves_compaction_annotation_dict() -> None: function test_content_roundtrip_preserves_compaction_annotation_dict (line 1692) | def test_content_roundtrip_preserves_compaction_annotation_dict() -> None: function test_content_from_dict_via_json (line 1714) | def test_content_from_dict_via_json() -> None: function test_content_from_dict_roundtrip_via_json (line 1722) | def test_content_from_dict_roundtrip_via_json() -> None: function test_content_to_dict_exclude_none (line 1733) | def test_content_to_dict_exclude_none() -> None: function test_content_to_dict_exclude_fields (line 1746) | def test_content_to_dict_exclude_fields() -> None: function test_chat_response_roundtrip_preserves_compaction_annotation_dict (line 1755) | def test_chat_response_roundtrip_preserves_compaction_annotation_dict() ... function test_usage_content_serialization_with_details (line 1782) | def test_usage_content_serialization_with_details(): function test_function_approval_response_content_serialization (line 1807) | def test_function_approval_response_content_serialization(): function test_chat_response_complex_serialization (line 1832) | def test_chat_response_complex_serialization(): function test_chat_response_update_all_content_types (line 1867) | def test_chat_response_update_all_content_types(): function test_agent_run_response_complex_serialization (line 1912) | def test_agent_run_response_complex_serialization(): function test_agent_run_response_update_all_content_types (line 1940) | def test_agent_run_response_update_all_content_types(): class _NonCopyableRaw (line 1991) | class _NonCopyableRaw: method __deepcopy__ (line 1994) | def __deepcopy__(self, memo: dict) -> Any: function test_content_deepcopy_preserves_raw_representation (line 1998) | def test_content_deepcopy_preserves_raw_representation(): function test_message_deepcopy_preserves_raw_representation (line 2012) | def test_message_deepcopy_preserves_raw_representation(): function test_agent_response_deepcopy_preserves_raw_representation (line 2026) | def test_agent_response_deepcopy_preserves_raw_representation(): function test_chat_response_deepcopy_preserves_raw_representation (line 2043) | def test_chat_response_deepcopy_preserves_raw_representation(): function test_chat_response_update_deepcopy_preserves_raw_representation (line 2060) | def test_chat_response_update_deepcopy_preserves_raw_representation(): function test_agent_response_update_deepcopy_preserves_raw_representation (line 2078) | def test_agent_response_update_deepcopy_preserves_raw_representation(): function test_nested_deepcopy_preserves_raw_representation (line 2096) | def test_nested_deepcopy_preserves_raw_representation(): function test_content_deepcopy_shallow_copy_fields_identity (line 2115) | def test_content_deepcopy_shallow_copy_fields_identity(): function test_chat_response_deepcopy_deep_copies_additional_properties (line 2132) | def test_chat_response_deepcopy_deep_copies_additional_properties(): function test_content_roundtrip_serialization (line 2369) | def test_content_roundtrip_serialization(content_class: type[Content], i... function test_text_content_with_annotations_serialization (line 2451) | def test_text_content_with_annotations_serialization(): class WeatherResult (line 2488) | class WeatherResult(BaseModel): class NestedModel (line 2495) | class NestedModel(BaseModel): function test_parse_result_pydantic_model (line 2502) | def test_parse_result_pydantic_model(): function test_parse_result_pydantic_model_in_list (line 2514) | def test_parse_result_pydantic_model_in_list(): function test_parse_result_pydantic_model_in_dict (line 2530) | def test_parse_result_pydantic_model_in_dict(): function test_parse_result_nested_pydantic_model (line 2547) | def test_parse_result_nested_pydantic_model(): function test_parse_result_text_content_single (line 2563) | def test_parse_result_text_content_single(): function test_parse_result_text_content_multiple (line 2579) | def test_parse_result_text_content_multiple(): function test_parse_result_text_content_with_non_string_text (line 2595) | def test_parse_result_text_content_with_non_string_text(): function test_parse_result_none_returns_empty_string (line 2611) | def test_parse_result_none_returns_empty_string(): function test_parse_result_string_passthrough (line 2620) | def test_parse_result_string_passthrough(): function test_parse_result_content_object (line 2633) | def test_parse_result_content_object(): function test_parse_result_list_of_content (line 2643) | def test_parse_result_list_of_content(): function test_parse_result_single_image_content (line 2653) | def test_parse_result_single_image_content(): function test_parse_result_single_text_content (line 2663) | def test_parse_result_single_text_content(): function test_parse_result_mixed_content_list (line 2673) | def test_parse_result_mixed_content_list(): function test_from_function_result_with_content_list (line 2686) | def test_from_function_result_with_content_list(): function test_from_function_result_with_string (line 2704) | def test_from_function_result_with_string(): function test_content_from_function_result_items_in_to_dict (line 2716) | def test_content_from_function_result_items_in_to_dict(): function test_from_function_result_with_only_rich_content_list (line 2733) | def test_from_function_result_with_only_rich_content_list(): function test_function_result_items_roundtrip_via_dict (line 2746) | def test_function_result_items_roundtrip_via_dict(): function test_from_function_result_with_non_content_list (line 2763) | def test_from_function_result_with_non_content_list(): function test_content_add_usage_content (line 2779) | def test_content_add_usage_content(): function test_content_add_usage_content_with_none_raw_representation (line 2803) | def test_content_add_usage_content_with_none_raw_representation(): function test_content_add_usage_content_non_integer_values (line 2821) | def test_content_add_usage_content_non_integer_values(): function test_content_has_top_level_media_type (line 2846) | def test_content_has_top_level_media_type(): function test_content_has_top_level_media_type_no_slash (line 2855) | def test_content_has_top_level_media_type_no_slash(): function test_content_has_top_level_media_type_raises_without_media_type (line 2862) | def test_content_has_top_level_media_type_raises_without_media_type(): function test_content_parse_arguments_none (line 2876) | def test_content_parse_arguments_none(): function test_content_parse_arguments_empty_string (line 2883) | def test_content_parse_arguments_empty_string(): function test_content_parse_arguments_valid_json (line 2890) | def test_content_parse_arguments_valid_json(): function test_content_parse_arguments_non_dict_json (line 2898) | def test_content_parse_arguments_non_dict_json(): function test_content_parse_arguments_invalid_json (line 2907) | def test_content_parse_arguments_invalid_json(): function test_content_parse_arguments_dict_passthrough (line 2915) | def test_content_parse_arguments_dict_passthrough(): function test_get_data_bytes_as_str_non_data_uri (line 2930) | def test_get_data_bytes_as_str_non_data_uri(): function test_get_data_bytes_as_str_no_base64 (line 2936) | def test_get_data_bytes_as_str_no_base64(): function test_get_data_bytes_as_str_valid (line 2943) | def test_get_data_bytes_as_str_valid(): function test_get_data_bytes_decodes_base64 (line 2957) | def test_get_data_bytes_decodes_base64(): function test_get_data_bytes_invalid_base64 (line 2967) | def test_get_data_bytes_invalid_base64(): function test_parse_content_list_with_content_objects (line 2980) | def test_parse_content_list_with_content_objects(): function test_parse_content_list_with_dicts (line 2989) | def test_parse_content_list_with_dicts(): function test_parse_content_list_with_mixed_content_and_dict (line 2998) | def test_parse_content_list_with_mixed_content_and_dict(): function test_validate_uri_known_scheme (line 3015) | def test_validate_uri_known_scheme(): function test_validate_uri_data_uri (line 3021) | def test_validate_uri_data_uri(): function _generate_updates (line 3035) | async def _generate_updates(count: int = 5) -> AsyncIterable[ChatRespons... function _combine_updates (line 3041) | def _combine_updates(updates: Sequence[ChatResponseUpdate]) -> ChatRespo... class TestResponseStreamBasicIteration (line 3046) | class TestResponseStreamBasicIteration: method test_iterate_collects_updates (line 3049) | async def test_iterate_collects_updates(self) -> None: method test_stream_consumed_after_iteration (line 3060) | async def test_stream_consumed_after_iteration(self) -> None: method test_get_final_response_after_iteration (line 3069) | async def test_get_final_response_after_iteration(self) -> None: method test_get_final_response_without_iteration (line 3079) | async def test_get_final_response_without_iteration(self) -> None: method test_updates_property_returns_collected (line 3088) | async def test_updates_property_returns_collected(self) -> None: method test_auto_finalize_on_iteration_completion (line 3099) | async def test_auto_finalize_on_iteration_completion(self) -> None: method test_auto_finalize_runs_result_hooks (line 3110) | async def test_auto_finalize_runs_result_hooks(self) -> None: method test_get_final_response_idempotent_after_auto_finalize (line 3132) | async def test_get_final_response_idempotent_after_auto_finalize(self)... class TestResponseStreamTransformHooks (line 3152) | class TestResponseStreamTransformHooks: method test_transform_hook_called_for_each_update (line 3155) | async def test_transform_hook_called_for_each_update(self) -> None: method test_transform_hook_can_modify_update (line 3172) | async def test_transform_hook_can_modify_update(self) -> None: method test_multiple_transform_hooks_chained (line 3193) | async def test_multiple_transform_hooks_chained(self) -> None: method test_transform_hook_returning_none_keeps_previous (line 3216) | async def test_transform_hook_returning_none_keeps_previous(self) -> N... method test_with_transform_hook_fluent_api (line 3234) | async def test_with_transform_hook_fluent_api(self) -> None: method test_async_transform_hook (line 3249) | async def test_async_transform_hook(self) -> None: class TestResponseStreamCleanupHooks (line 3271) | class TestResponseStreamCleanupHooks: method test_cleanup_hook_called_after_iteration (line 3274) | async def test_cleanup_hook_called_after_iteration(self) -> None: method test_cleanup_hook_called_only_once (line 3292) | async def test_cleanup_hook_called_only_once(self) -> None: method test_multiple_cleanup_hooks (line 3311) | async def test_multiple_cleanup_hooks(self) -> None: method test_with_cleanup_hook_fluent_api (line 3332) | async def test_with_cleanup_hook_fluent_api(self) -> None: method test_async_cleanup_hook (line 3346) | async def test_async_cleanup_hook(self) -> None: class TestResponseStreamResultHooks (line 3365) | class TestResponseStreamResultHooks: method test_result_hook_called_after_finalizer (line 3368) | async def test_result_hook_called_after_finalizer(self) -> None: method test_result_hook_can_transform_result (line 3385) | async def test_result_hook_can_transform_result(self) -> None: method test_multiple_result_hooks_chained (line 3401) | async def test_multiple_result_hooks_chained(self) -> None: method test_result_hook_returning_none_keeps_previous (line 3420) | async def test_result_hook_returning_none_keeps_previous(self) -> None: method test_with_result_hook_fluent_api (line 3439) | async def test_with_result_hook_fluent_api(self) -> None: method test_async_result_hook (line 3452) | async def test_async_result_hook(self) -> None: class TestResponseStreamFinalizer (line 3469) | class TestResponseStreamFinalizer: method test_finalizer_receives_all_updates (line 3472) | async def test_finalizer_receives_all_updates(self) -> None: method test_no_finalizer_returns_updates (line 3488) | async def test_no_finalizer_returns_updates(self) -> None: method test_async_finalizer (line 3498) | async def test_async_finalizer(self) -> None: method test_finalized_only_once (line 3511) | async def test_finalized_only_once(self) -> None: class TestResponseStreamMapAndWithFinalizer (line 3527) | class TestResponseStreamMapAndWithFinalizer: method test_map_delegates_iteration (line 3530) | async def test_map_delegates_iteration(self) -> None: method test_map_transforms_updates (line 3543) | async def test_map_transforms_updates(self) -> None: method test_map_requires_finalizer (line 3561) | async def test_map_requires_finalizer(self) -> None: method test_map_calls_inner_result_hooks (line 3571) | async def test_map_calls_inner_result_hooks(self) -> None: method test_with_finalizer_calls_inner_finalizer (line 3591) | async def test_with_finalizer_calls_inner_finalizer(self) -> None: method test_with_finalizer_plus_result_hooks (line 3612) | async def test_with_finalizer_plus_result_hooks(self) -> None: method test_map_with_finalizer (line 3625) | async def test_map_with_finalizer(self) -> None: method test_outer_transform_hooks_independent (line 3646) | async def test_outer_transform_hooks_independent(self) -> None: method test_preserves_single_consumption (line 3672) | async def test_preserves_single_consumption(self) -> None: method test_async_map_transform (line 3690) | async def test_async_map_transform(self) -> None: method test_from_awaitable (line 3708) | async def test_from_awaitable(self) -> None: class TestResponseStreamExecutionOrder (line 3726) | class TestResponseStreamExecutionOrder: method test_execution_order_iteration_then_finalize (line 3729) | async def test_execution_order_iteration_then_finalize(self) -> None: method test_cleanup_runs_before_finalizer_on_direct_finalize (line 3768) | async def test_cleanup_runs_before_finalizer_on_direct_finalize(self) ... class TestResponseStreamAwaitableSource (line 3790) | class TestResponseStreamAwaitableSource: method test_awaitable_stream_source (line 3793) | async def test_awaitable_stream_source(self) -> None: method test_await_stream (line 3807) | async def test_await_stream(self) -> None: class TestResponseStreamEdgeCases (line 3822) | class TestResponseStreamEdgeCases: method test_empty_stream (line 3825) | async def test_empty_stream(self) -> None: method test_hooks_not_called_on_empty_stream_iteration (line 3839) | async def test_hooks_not_called_on_empty_stream_iteration(self) -> None: method test_cleanup_called_even_on_empty_stream (line 3862) | async def test_cleanup_called_even_on_empty_stream(self) -> None: method test_all_constructor_parameters (line 3884) | async def test_all_constructor_parameters(self) -> None: function test_oauth_consent_request_creation (line 3922) | def test_oauth_consent_request_creation(): function test_oauth_consent_request_serialization_roundtrip (line 3932) | def test_oauth_consent_request_serialization_roundtrip(): FILE: python/packages/core/tests/core/utils.py class CopyingMock (line 8) | class CopyingMock(MagicMock): method __call__ (line 9) | def __call__(self, *args, **kwargs): FILE: python/packages/core/tests/openai/conftest.py function exclude_list (line 9) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 15) | def override_env_param_dict(request: Any) -> dict[str, str]: function openai_unit_test_env (line 21) | def openai_unit_test_env(monkeypatch, exclude_list, override_env_param_d... FILE: python/packages/core/tests/openai/test_assistant_provider.py function create_mock_assistant (line 18) | def create_mock_assistant( function create_function_tool (line 37) | def create_function_tool(name: str, description: str = "A test function"... function create_code_interpreter_tool (line 47) | def create_code_interpreter_tool() -> MagicMock: function create_file_search_tool (line 54) | def create_file_search_tool() -> MagicMock: function mock_async_openai (line 62) | def mock_async_openai() -> MagicMock: function get_weather (line 82) | def get_weather(location: Annotated[str, Field(description="The location... function search_database (line 87) | def search_database(query: Annotated[str, Field(description="Search quer... class WeatherResponse (line 93) | class WeatherResponse(BaseModel): class TestOpenAIAssistantProviderInit (line 104) | class TestOpenAIAssistantProviderInit: method test_init_with_client (line 107) | def test_init_with_client(self, mock_async_openai: MagicMock) -> None: method test_init_without_client_creates_one (line 114) | def test_init_without_client_creates_one(self, openai_unit_test_env: d... method test_init_with_api_key (line 121) | def test_init_with_api_key(self) -> None: method test_init_fails_without_api_key (line 128) | def test_init_fails_without_api_key(self) -> None: method test_init_with_org_id_and_base_url (line 147) | def test_init_with_org_id_and_base_url(self) -> None: class TestOpenAIAssistantProviderContextManager (line 158) | class TestOpenAIAssistantProviderContextManager: method test_context_manager_enter_exit (line 161) | async def test_context_manager_enter_exit(self, mock_async_openai: Mag... method test_context_manager_closes_owned_client (line 168) | async def test_context_manager_closes_owned_client(self, openai_unit_t... method test_context_manager_does_not_close_external_client (line 180) | async def test_context_manager_does_not_close_external_client(self, mo... class TestOpenAIAssistantProviderCreateAgent (line 195) | class TestOpenAIAssistantProviderCreateAgent: method test_create_agent_basic (line 198) | async def test_create_agent_basic(self, mock_async_openai: MagicMock) ... method test_create_agent_with_description (line 218) | async def test_create_agent_with_description(self, mock_async_openai: ... method test_create_agent_with_function_tools (line 231) | async def test_create_agent_with_function_tools(self, mock_async_opena... method test_create_agent_with_tool (line 250) | async def test_create_agent_with_tool(self, mock_async_openai: MagicMo... method test_create_agent_with_code_interpreter (line 268) | async def test_create_agent_with_code_interpreter(self, mock_async_ope... method test_create_agent_with_file_search (line 281) | async def test_create_agent_with_file_search(self, mock_async_openai: ... method test_create_agent_with_file_search_max_results (line 294) | async def test_create_agent_with_file_search_max_results(self, mock_as... method test_create_agent_with_mixed_tools (line 308) | async def test_create_agent_with_mixed_tools(self, mock_async_openai: ... method test_create_agent_with_metadata (line 325) | async def test_create_agent_with_metadata(self, mock_async_openai: Mag... method test_create_agent_with_response_format_pydantic (line 338) | async def test_create_agent_with_response_format_pydantic(self, mock_a... method test_create_agent_returns_chat_agent (line 352) | async def test_create_agent_returns_chat_agent(self, mock_async_openai... class TestOpenAIAssistantProviderGetAgent (line 369) | class TestOpenAIAssistantProviderGetAgent: method test_get_agent_basic (line 372) | async def test_get_agent_basic(self, mock_async_openai: MagicMock) -> ... method test_get_agent_with_instructions_override (line 381) | async def test_get_agent_with_instructions_override(self, mock_async_o... method test_get_agent_with_function_tools (line 394) | async def test_get_agent_with_function_tools(self, mock_async_openai: ... method test_get_agent_validates_missing_function_tools (line 409) | async def test_get_agent_validates_missing_function_tools(self, mock_a... method test_get_agent_validates_multiple_missing_function_tools (line 423) | async def test_get_agent_validates_multiple_missing_function_tools(sel... method test_get_agent_merges_hosted_tools (line 438) | async def test_get_agent_merges_hosted_tools(self, mock_async_openai: ... class TestOpenAIAssistantProviderAsAgent (line 456) | class TestOpenAIAssistantProviderAsAgent: method test_as_agent_no_http_call (line 459) | def test_as_agent_no_http_call(self, mock_async_openai: MagicMock) -> ... method test_as_agent_wraps_assistant (line 471) | def test_as_agent_wraps_assistant(self, mock_async_openai: MagicMock) ... method test_as_agent_with_instructions_override (line 487) | def test_as_agent_with_instructions_override(self, mock_async_openai: ... method test_as_agent_validates_function_tools (line 497) | def test_as_agent_validates_function_tools(self, mock_async_openai: Ma... method test_as_agent_with_function_tools_provided (line 507) | def test_as_agent_with_function_tools_provided(self, mock_async_openai... method test_as_agent_merges_hosted_tools (line 516) | def test_as_agent_merges_hosted_tools(self, mock_async_openai: MagicMo... method test_as_agent_hosted_tools_not_required (line 525) | def test_as_agent_hosted_tools_not_required(self, mock_async_openai: M... class TestToolConversion (line 541) | class TestToolConversion: method test_to_assistant_tools_tool (line 544) | def test_to_assistant_tools_tool(self) -> None: method test_to_assistant_tools_callable (line 560) | def test_to_assistant_tools_callable(self) -> None: method test_to_assistant_tools_code_interpreter (line 570) | def test_to_assistant_tools_code_interpreter(self) -> None: method test_to_assistant_tools_file_search (line 577) | def test_to_assistant_tools_file_search(self) -> None: method test_to_assistant_tools_file_search_with_max_results (line 584) | def test_to_assistant_tools_file_search_with_max_results(self) -> None: method test_to_assistant_tools_dict (line 590) | def test_to_assistant_tools_dict(self) -> None: method test_to_assistant_tools_empty (line 599) | def test_to_assistant_tools_empty(self) -> None: method test_from_assistant_tools_code_interpreter (line 605) | def test_from_assistant_tools_code_interpreter(self) -> None: method test_from_assistant_tools_file_search (line 614) | def test_from_assistant_tools_file_search(self) -> None: method test_from_assistant_tools_function_skipped (line 623) | def test_from_assistant_tools_function_skipped(self) -> None: method test_from_assistant_tools_empty (line 631) | def test_from_assistant_tools_empty(self) -> None: class TestToolValidation (line 643) | class TestToolValidation: method test_validate_missing_function_tool_raises (line 646) | def test_validate_missing_function_tool_raises(self, mock_async_openai... method test_validate_all_tools_provided_passes (line 656) | def test_validate_all_tools_provided_passes(self, mock_async_openai: M... method test_validate_hosted_tools_not_required (line 664) | def test_validate_hosted_tools_not_required(self, mock_async_openai: M... method test_validate_with_tool (line 672) | def test_validate_with_tool(self, mock_async_openai: MagicMock) -> None: method test_validate_partial_tools_raises (line 682) | def test_validate_partial_tools_raises(self, mock_async_openai: MagicM... class TestToolMerging (line 701) | class TestToolMerging: method test_merge_code_interpreter (line 704) | def test_merge_code_interpreter(self, mock_async_openai: MagicMock) ->... method test_merge_file_search (line 714) | def test_merge_file_search(self, mock_async_openai: MagicMock) -> None: method test_merge_with_user_tools (line 724) | def test_merge_with_user_tools(self, mock_async_openai: MagicMock) -> ... method test_merge_multiple_hosted_tools (line 734) | def test_merge_multiple_hosted_tools(self, mock_async_openai: MagicMoc... method test_merge_single_user_tool (line 743) | def test_merge_single_user_tool(self, mock_async_openai: MagicMock) ->... class TestOpenAIAssistantProviderIntegration (line 766) | class TestOpenAIAssistantProviderIntegration: method test_create_and_run_agent (line 769) | async def test_create_and_run_agent(self) -> None: method test_create_agent_with_function_tools_integration (line 787) | async def test_create_agent_with_function_tools_integration(self) -> N... FILE: python/packages/core/tests/openai/test_openai_assistants_client.py function create_test_openai_assistants_client (line 47) | def create_test_openai_assistants_client( function create_vector_store (line 71) | async def create_vector_store(client: OpenAIAssistantsClient) -> tuple[s... function delete_vector_store (line 87) | async def delete_vector_store(client: OpenAIAssistantsClient, file_id: s... function mock_async_openai (line 95) | def mock_async_openai() -> MagicMock: function test_init_with_client (line 120) | def test_init_with_client(mock_async_openai: MagicMock) -> None: function test_init_auto_create_client (line 134) | def test_init_auto_create_client( function test_init_validation_fail (line 154) | def test_init_validation_fail() -> None: function test_init_missing_model_id (line 162) | def test_init_missing_model_id(openai_unit_test_env: dict[str, str]) -> ... function test_init_missing_api_key (line 169) | def test_init_missing_api_key(openai_unit_test_env: dict[str, str]) -> N... function test_init_with_default_headers (line 175) | def test_init_with_default_headers(openai_unit_test_env: dict[str, str])... function test_get_assistant_id_or_create_existing_assistant (line 194) | async def test_get_assistant_id_or_create_existing_assistant( function test_get_assistant_id_or_create_create_new (line 207) | async def test_get_assistant_id_or_create_create_new( function test_aclose_should_not_delete (line 220) | async def test_aclose_should_not_delete( function test_aclose_should_delete (line 235) | async def test_aclose_should_delete(mock_async_openai: MagicMock) -> None: function test_async_context_manager (line 248) | async def test_async_context_manager(mock_async_openai: MagicMock) -> None: function test_serialize (line 262) | def test_serialize(openai_unit_test_env: dict[str, str]) -> None: function test_get_active_thread_run_none_thread_id (line 293) | async def test_get_active_thread_run_none_thread_id(mock_async_openai: M... function test_get_active_thread_run_with_active_run (line 304) | async def test_get_active_thread_run_with_active_run(mock_async_openai: ... function test_prepare_thread_create_new (line 325) | async def test_prepare_thread_create_new(mock_async_openai: MagicMock) -... function test_prepare_thread_cancel_existing_run (line 352) | async def test_prepare_thread_cancel_existing_run(mock_async_openai: Mag... function test_prepare_thread_existing_no_run (line 368) | async def test_prepare_thread_existing_no_run(mock_async_openai: MagicMo... function test_process_stream_events_thread_run_created (line 381) | async def test_process_stream_events_thread_run_created(mock_async_opena... function test_process_stream_events_message_delta_text (line 414) | async def test_process_stream_events_message_delta_text(mock_async_opena... function test_process_stream_events_message_delta_text_with_file_citation_annotations (line 458) | async def test_process_stream_events_message_delta_text_with_file_citati... function test_process_stream_events_message_delta_text_with_file_path_annotations (line 517) | async def test_process_stream_events_message_delta_text_with_file_path_a... function test_process_stream_events_requires_action (line 572) | async def test_process_stream_events_requires_action(mock_async_openai: ... function test_process_stream_events_run_step_created (line 615) | async def test_process_stream_events_run_step_created(mock_async_openai:... function test_process_stream_events_run_completed_with_usage (line 647) | async def test_process_stream_events_run_completed_with_usage( function test_parse_function_calls_from_assistants_basic (line 698) | def test_parse_function_calls_from_assistants_basic(mock_async_openai: M... function test_parse_run_step_with_code_interpreter_tool_call (line 727) | def test_parse_run_step_with_code_interpreter_tool_call(mock_async_opena... function test_parse_run_step_with_mcp_tool_call (line 765) | def test_parse_run_step_with_mcp_tool_call(mock_async_openai: MagicMock)... function test_prepare_options_basic (line 802) | def test_prepare_options_basic(mock_async_openai: MagicMock) -> None: function test_prepare_options_with_tool_tool (line 828) | def test_prepare_options_with_tool_tool(mock_async_openai: MagicMock) ->... function test_prepare_options_with_tools_without_tool_choice (line 857) | def test_prepare_options_with_tools_without_tool_choice(mock_async_opena... function test_prepare_options_with_single_tool_tool (line 878) | def test_prepare_options_with_single_tool_tool(mock_async_openai: MagicM... function test_prepare_options_with_code_interpreter (line 903) | def test_prepare_options_with_code_interpreter(mock_async_openai: MagicM... function test_prepare_options_tool_choice_none (line 927) | def test_prepare_options_tool_choice_none(mock_async_openai: MagicMock) ... function test_prepare_options_tool_choice_none_with_tools (line 945) | def test_prepare_options_tool_choice_none_with_tools(mock_async_openai: ... function test_prepare_options_required_function (line 974) | def test_prepare_options_required_function(mock_async_openai: MagicMock)... function test_prepare_options_with_file_search_tool (line 998) | def test_prepare_options_with_file_search_tool(mock_async_openai: MagicM... function test_prepare_options_with_mapping_tool (line 1024) | def test_prepare_options_with_mapping_tool(mock_async_openai: MagicMock)... function test_prepare_options_with_pydantic_response_format (line 1048) | def test_prepare_options_with_pydantic_response_format(mock_async_openai... function test_prepare_options_with_system_message (line 1069) | def test_prepare_options_with_system_message(mock_async_openai: MagicMoc... function test_prepare_options_with_image_content (line 1088) | def test_prepare_options_with_image_content(mock_async_openai: MagicMock... function test_prepare_tool_outputs_for_assistants_empty (line 1110) | def test_prepare_tool_outputs_for_assistants_empty(mock_async_openai: Ma... function test_prepare_tool_outputs_for_assistants_valid (line 1120) | def test_prepare_tool_outputs_for_assistants_valid(mock_async_openai: Ma... function test_prepare_tool_outputs_for_assistants_mismatched_run_ids (line 1136) | def test_prepare_tool_outputs_for_assistants_mismatched_run_ids( function test_update_agent_name_and_description (line 1157) | def test_update_agent_name_and_description(mock_async_openai: MagicMock)... function test_update_agent_name_and_description_existing (line 1168) | def test_update_agent_name_and_description_existing(mock_async_openai: M... function test_update_agent_name_and_description_none (line 1180) | def test_update_agent_name_and_description_none(mock_async_openai: Magic... function get_weather (line 1193) | def get_weather( function test_get_response (line 1203) | async def test_get_response() -> None: function test_get_response_tools (line 1229) | async def test_get_response_tools() -> None: function test_streaming (line 1251) | async def test_streaming() -> None: function test_streaming_tools (line 1283) | async def test_streaming_tools() -> None: function test_with_existing_assistant (line 1314) | async def test_with_existing_assistant() -> None: function test_file_search (line 1344) | async def test_file_search() -> None: function test_file_search_streaming (line 1371) | async def test_file_search_streaming() -> None: function test_openai_assistants_agent_basic_run (line 1405) | async def test_openai_assistants_agent_basic_run(): function test_openai_assistants_agent_basic_run_streaming (line 1423) | async def test_openai_assistants_agent_basic_run_streaming(): function test_openai_assistants_agent_session_persistence (line 1444) | async def test_openai_assistants_agent_session_persistence(): function test_openai_assistants_agent_existing_session_id (line 1474) | async def test_openai_assistants_agent_existing_session_id(): function test_openai_assistants_agent_code_interpreter (line 1520) | async def test_openai_assistants_agent_code_interpreter(): function test_agent_level_tool_persistence (line 1541) | async def test_agent_level_tool_persistence(): function test_with_callable_api_key (line 1567) | def test_with_callable_api_key() -> None: function _make_stream_event (line 1584) | def _make_stream_event(event: str, data: Any) -> MagicMock: function _make_text_block (line 1592) | def _make_text_block(text_value: str, annotations: list | None = None) -... function _make_image_block (line 1602) | def _make_image_block() -> MagicMock: function _make_file_citation_annotation (line 1609) | def _make_file_citation_annotation( function _make_file_path_annotation (line 1625) | def _make_file_path_annotation( function _make_unknown_annotation (line 1641) | def _make_unknown_annotation() -> MagicMock: function _make_thread_message (line 1648) | def _make_thread_message(content_blocks: list) -> MagicMock: function _collect_updates (line 1655) | async def _collect_updates(client, stream_events, thread_id="thread_123"): class TestMessageCompletedAnnotations (line 1686) | class TestMessageCompletedAnnotations: method client (line 1690) | def client(self): method test_message_completed_with_file_citation (line 1696) | async def test_message_completed_with_file_citation(self, client): method test_message_completed_with_file_path (line 1725) | async def test_message_completed_with_file_path(self, client): method test_message_completed_multiple_annotations (line 1748) | async def test_message_completed_multiple_annotations(self, client): method test_message_completed_no_annotations (line 1764) | async def test_message_completed_no_annotations(self, client): method test_message_completed_skips_non_text_blocks (line 1778) | async def test_message_completed_skips_non_text_blocks(self, client): method test_message_completed_mixed_blocks (line 1790) | async def test_message_completed_mixed_blocks(self, client): method test_message_completed_conversation_id_preserved (line 1804) | async def test_message_completed_conversation_id_preserved(self, client): method test_message_completed_unrecognized_annotation_logged (line 1816) | async def test_message_completed_unrecognized_annotation_logged(self, ... FILE: python/packages/core/tests/openai/test_openai_chat_client.py function test_init (line 32) | def test_init(openai_unit_test_env: dict[str, str]) -> None: function test_init_validation_fail (line 40) | def test_init_validation_fail() -> None: function test_init_model_id_constructor (line 46) | def test_init_model_id_constructor(openai_unit_test_env: dict[str, str])... function test_init_with_default_header (line 55) | def test_init_with_default_header(openai_unit_test_env: dict[str, str]) ... function test_init_base_url (line 72) | def test_init_base_url(openai_unit_test_env: dict[str, str]) -> None: function test_init_base_url_from_settings_env (line 78) | def test_init_base_url_from_settings_env() -> None: function test_init_with_empty_model_id (line 95) | def test_init_with_empty_model_id(openai_unit_test_env: dict[str, str]) ... function test_init_with_empty_api_key (line 101) | def test_init_with_empty_api_key(openai_unit_test_env: dict[str, str]) -... function test_serialize (line 110) | def test_serialize(openai_unit_test_env: dict[str, str]) -> None: function test_serialize_with_org_id (line 130) | def test_serialize_with_org_id(openai_unit_test_env: dict[str, str]) -> ... function test_content_filter_exception_handling (line 145) | async def test_content_filter_exception_handling( function test_unsupported_tool_handling (line 169) | def test_unsupported_tool_handling(openai_unit_test_env: dict[str, str])... function test_prepare_tools_with_single_function_tool (line 191) | def test_prepare_tools_with_single_function_tool( function get_story_text (line 209) | def get_story_text() -> str: function get_weather (line 220) | def get_weather(location: str) -> str: function test_exception_message_includes_original_error_details (line 225) | async def test_exception_message_includes_original_error_details() -> None: function test_chat_response_content_order_text_before_tool_calls (line 250) | def test_chat_response_content_order_text_before_tool_calls( function test_function_result_falsy_values_handling (line 302) | def test_function_result_falsy_values_handling(openai_unit_test_env: dic... function test_function_result_exception_handling (line 341) | def test_function_result_exception_handling(openai_unit_test_env: dict[s... function test_function_result_with_rich_items_warns_and_omits (line 367) | def test_function_result_with_rich_items_warns_and_omits( function test_parse_result_string_passthrough (line 398) | def test_parse_result_string_passthrough(): function test_prepare_content_for_openai_data_content_image (line 408) | def test_prepare_content_for_openai_data_content_image( function test_prepare_content_for_openai_image_url_detail (line 465) | def test_prepare_content_for_openai_image_url_detail( function test_prepare_content_for_openai_document_file_mapping (line 558) | def test_prepare_content_for_openai_document_file_mapping( function test_parse_text_reasoning_content_from_response (line 666) | def test_parse_text_reasoning_content_from_response( function test_parse_text_reasoning_content_from_streaming_chunk (line 716) | def test_parse_text_reasoning_content_from_streaming_chunk( function test_prepare_message_with_text_reasoning_content (line 766) | def test_prepare_message_with_text_reasoning_content( function test_prepare_message_with_only_text_reasoning_content (line 800) | def test_prepare_message_with_only_text_reasoning_content( function test_prepare_message_with_text_reasoning_before_text (line 836) | def test_prepare_message_with_text_reasoning_before_text( function test_prepare_message_with_text_reasoning_before_function_call (line 872) | def test_prepare_message_with_text_reasoning_before_function_call( function test_function_approval_content_is_skipped_in_preparation (line 910) | def test_function_approval_content_is_skipped_in_preparation( function test_usage_content_in_streaming_response (line 958) | def test_usage_content_in_streaming_response( function test_streaming_chunk_with_usage_and_text (line 996) | def test_streaming_chunk_with_usage_and_text( function test_parse_text_with_refusal (line 1039) | def test_parse_text_with_refusal(openai_unit_test_env: dict[str, str]) -... function test_prepare_options_without_model_id (line 1075) | def test_prepare_options_without_model_id(openai_unit_test_env: dict[str... function test_prepare_options_without_messages (line 1086) | def test_prepare_options_without_messages(openai_unit_test_env: dict[str... function test_prepare_tools_with_web_search_no_location (line 1096) | def test_prepare_tools_with_web_search_no_location( function test_prepare_options_with_instructions (line 1112) | def test_prepare_options_with_instructions( function test_prepare_message_with_author_name (line 1130) | def test_prepare_message_with_author_name(openai_unit_test_env: dict[str... function test_prepare_message_with_tool_result_author_name (line 1146) | def test_prepare_message_with_tool_result_author_name( function test_prepare_system_message_content_is_string (line 1166) | def test_prepare_system_message_content_is_string( function test_prepare_developer_message_content_is_string (line 1186) | def test_prepare_developer_message_content_is_string( function test_prepare_system_message_multiple_text_contents_joined (line 1202) | def test_prepare_system_message_multiple_text_contents_joined( function test_prepare_user_message_text_content_is_string (line 1224) | def test_prepare_user_message_text_content_is_string( function test_prepare_user_message_multimodal_content_remains_list (line 1244) | def test_prepare_user_message_multimodal_content_remains_list( function test_prepare_assistant_message_text_content_is_string (line 1265) | def test_prepare_assistant_message_text_content_is_string( function test_tool_choice_required_with_function_name (line 1281) | def test_tool_choice_required_with_function_name( function test_response_format_dict_passthrough (line 1301) | def test_response_format_dict_passthrough(openai_unit_test_env: dict[str... function test_multiple_function_calls_in_single_message (line 1318) | def test_multiple_function_calls_in_single_message( function test_prepare_options_removes_parallel_tool_calls_when_no_tools (line 1343) | def test_prepare_options_removes_parallel_tool_calls_when_no_tools( function test_prepare_options_excludes_conversation_id (line 1358) | def test_prepare_options_excludes_conversation_id(openai_unit_test_env: ... function test_streaming_exception_handling (line 1373) | async def test_streaming_exception_handling( class OutputStruct (line 1394) | class OutputStruct(BaseModel): function test_integration_options (line 1468) | async def test_integration_options( function test_integration_web_search (line 1553) | async def test_integration_web_search() -> None: FILE: python/packages/core/tests/openai/test_openai_chat_client_base.py function mock_async_process_chat_stream_response (line 22) | async def mock_async_process_chat_stream_response(_): function chat_history (line 28) | def chat_history() -> list[Message]: function mock_chat_completion_response (line 33) | def mock_chat_completion_response() -> ChatCompletion: function mock_streaming_chat_completion_response (line 46) | def mock_streaming_chat_completion_response() -> AsyncStream[ChatComplet... function test_cmc (line 63) | async def test_cmc( function test_cmc_chat_options (line 82) | async def test_cmc_chat_options( function test_cmc_no_fcc_in_response (line 103) | async def test_cmc_no_fcc_in_response( function test_cmc_structured_output_no_fcc (line 125) | async def test_cmc_structured_output_no_fcc( function test_scmc_chat_options (line 147) | async def test_scmc_chat_options( function test_cmc_general_exception (line 173) | async def test_cmc_general_exception( function test_cmc_additional_properties (line 190) | async def test_cmc_additional_properties( function test_get_streaming (line 213) | async def test_get_streaming( function test_get_streaming_singular (line 253) | async def test_get_streaming_singular( function test_get_streaming_structured_output_no_fcc (line 293) | async def test_get_streaming_structured_output_no_fcc( function test_get_streaming_no_fcc_in_response (line 332) | async def test_get_streaming_no_fcc_in_response( function test_chat_response_created_at_uses_utc (line 361) | def test_chat_response_created_at_uses_utc(openai_unit_test_env: dict[st... function test_chat_response_update_created_at_uses_utc (line 396) | def test_chat_response_update_created_at_uses_utc(openai_unit_test_env: ... FILE: python/packages/core/tests/openai/test_openai_embedding_client.py function _make_openai_response (line 19) | def _make_openai_response( function openai_unit_test_env (line 36) | def openai_unit_test_env(monkeypatch: pytest.MonkeyPatch) -> None: function test_openai_construction_with_explicit_params (line 45) | def test_openai_construction_with_explicit_params() -> None: function test_openai_construction_from_env (line 53) | def test_openai_construction_from_env(openai_unit_test_env: None) -> None: function test_openai_construction_missing_api_key_raises (line 58) | def test_openai_construction_missing_api_key_raises(monkeypatch: pytest.... function test_openai_construction_missing_model_raises (line 64) | def test_openai_construction_missing_model_raises(monkeypatch: pytest.Mo... function test_openai_get_embeddings (line 70) | async def test_openai_get_embeddings(openai_unit_test_env: None) -> None: function test_openai_get_embeddings_usage (line 88) | async def test_openai_get_embeddings_usage(openai_unit_test_env: None) -... function test_openai_options_passthrough_dimensions (line 106) | async def test_openai_options_passthrough_dimensions(openai_unit_test_en... function test_openai_options_passthrough_encoding_format (line 121) | async def test_openai_options_passthrough_encoding_format(openai_unit_te... function test_openai_base64_decoding (line 135) | async def test_openai_base64_decoding(openai_unit_test_env: None) -> None: function test_openai_error_when_no_model_id (line 168) | async def test_openai_error_when_no_model_id() -> None: function test_openai_empty_values_returns_empty (line 179) | async def test_openai_empty_values_returns_empty(openai_unit_test_env: N... function test_integration_openai_get_embeddings (line 203) | async def test_integration_openai_get_embeddings() -> None: function test_integration_openai_get_embeddings_multiple (line 221) | async def test_integration_openai_get_embeddings_multiple() -> None: function test_integration_openai_get_embeddings_with_dimensions (line 235) | async def test_integration_openai_get_embeddings_with_dimensions() -> None: FILE: python/packages/core/tests/openai/test_openai_responses_client.py class OutputStruct (line 60) | class OutputStruct(BaseModel): function create_vector_store (line 67) | async def create_vector_store( function delete_vector_store (line 90) | async def delete_vector_store(client: OpenAIResponsesClient, file_id: st... function get_weather (line 98) | async def get_weather(location: Annotated[str, "The location as a city n... function test_init (line 104) | def test_init(openai_unit_test_env: dict[str, str]) -> None: function test_init_validation_fail (line 112) | def test_init_validation_fail() -> None: function test_init_model_id_constructor (line 118) | def test_init_model_id_constructor(openai_unit_test_env: dict[str, str])... function test_init_with_default_header (line 127) | def test_init_with_default_header(openai_unit_test_env: dict[str, str]) ... function test_init_with_empty_model_id (line 145) | def test_init_with_empty_model_id(openai_unit_test_env: dict[str, str]) ... function test_init_with_empty_api_key (line 151) | def test_init_with_empty_api_key(openai_unit_test_env: dict[str, str]) -... function test_serialize (line 160) | def test_serialize(openai_unit_test_env: dict[str, str]) -> None: function test_serialize_with_org_id (line 180) | def test_serialize_with_org_id(openai_unit_test_env: dict[str, str]) -> ... function test_get_response_with_invalid_input (line 195) | async def test_get_response_with_invalid_input() -> None: function test_get_response_with_all_parameters (line 205) | async def test_get_response_with_all_parameters() -> None: function test_web_search_tool_with_location (line 237) | async def test_web_search_tool_with_location() -> None: function test_code_interpreter_tool_variations (line 259) | async def test_code_interpreter_tool_variations() -> None: function test_content_filter_exception (line 282) | async def test_content_filter_exception() -> None: function test_hosted_file_search_tool_validation (line 302) | async def test_hosted_file_search_tool_validation() -> None: function test_chat_message_parsing_with_function_calls (line 318) | async def test_chat_message_parsing_with_function_calls() -> None: function test_response_format_parse_path (line 343) | async def test_response_format_parse_path() -> None: function test_response_format_parse_path_with_conversation_id (line 369) | async def test_response_format_parse_path_with_conversation_id() -> None: function test_bad_request_error_non_content_filter (line 396) | async def test_bad_request_error_non_content_filter() -> None: function test_streaming_content_filter_exception_handling (line 418) | async def test_streaming_content_filter_exception_handling() -> None: function test_response_content_creation_with_annotations (line 437) | def test_response_content_creation_with_annotations() -> None: function test_response_content_creation_with_refusal (line 477) | def test_response_content_creation_with_refusal() -> None: function test_response_content_creation_with_reasoning (line 507) | def test_response_content_creation_with_reasoning() -> None: function test_response_content_keeps_reasoning_and_function_calls_in_one_message (line 537) | def test_response_content_keeps_reasoning_and_function_calls_in_one_mess... function test_response_content_creation_with_code_interpreter (line 589) | def test_response_content_creation_with_code_interpreter() -> None: function test_get_shell_tool_basic (line 631) | def test_get_shell_tool_basic() -> None: function test_get_shell_tool_rejects_local_without_func (line 638) | def test_get_shell_tool_rejects_local_without_func() -> None: function test_get_shell_tool_rejects_environment_config_with_func (line 644) | def test_get_shell_tool_rejects_environment_config_with_func() -> None: function test_get_shell_tool_local_executor_maps_to_shell_tool (line 657) | def test_get_shell_tool_local_executor_maps_to_shell_tool() -> None: function test_get_shell_tool_reuses_function_tool_instance (line 676) | def test_get_shell_tool_reuses_function_tool_instance() -> None: function test_response_content_creation_with_local_shell_call_maps_to_function_call (line 696) | def test_response_content_creation_with_local_shell_call_maps_to_functio... function test_local_shell_tool_is_invoked_in_function_loop (line 739) | async def test_local_shell_tool_is_invoked_in_function_loop() -> None: function test_shell_call_is_invoked_as_local_shell_function_loop (line 811) | async def test_shell_call_is_invoked_as_local_shell_function_loop() -> N... function test_response_content_creation_with_shell_call (line 886) | def test_response_content_creation_with_shell_call() -> None: function test_response_content_creation_with_shell_call_output (line 925) | def test_response_content_creation_with_shell_call_output() -> None: function test_response_content_creation_with_shell_call_timeout (line 971) | def test_response_content_creation_with_shell_call_timeout() -> None: function test_response_content_creation_with_function_call (line 1011) | def test_response_content_creation_with_function_call() -> None: function test_prepare_content_for_opentool_approval_response (line 1043) | def test_prepare_content_for_opentool_approval_response() -> None: function test_prepare_content_for_openai_error_content (line 1066) | def test_prepare_content_for_openai_error_content() -> None: function test_prepare_content_for_openai_usage_content (line 1082) | def test_prepare_content_for_openai_usage_content() -> None: function test_prepare_content_for_openai_hosted_vector_store_content (line 1100) | def test_prepare_content_for_openai_hosted_vector_store_content() -> None: function test_prepare_content_for_openai_text_uses_role_specific_type (line 1114) | def test_prepare_content_for_openai_text_uses_role_specific_type() -> None: function test_prepare_messages_for_openai_assistant_history_uses_output_text_with_annotations (line 1130) | def test_prepare_messages_for_openai_assistant_history_uses_output_text_... function test_parse_response_from_openai_with_mcp_server_tool_result (line 1148) | def test_parse_response_from_openai_with_mcp_server_tool_result() -> None: function test_parse_chunk_from_openai_with_mcp_call_result (line 1187) | def test_parse_chunk_from_openai_with_mcp_call_result() -> None: function test_prepare_message_for_openai_with_function_approval_response (line 1226) | def test_prepare_message_for_openai_with_function_approval_response() ->... function test_prepare_message_for_openai_includes_reasoning_with_function_call (line 1254) | def test_prepare_message_for_openai_includes_reasoning_with_function_cal... function test_prepare_messages_for_openai_full_conversation_with_reasoning (line 1288) | def test_prepare_messages_for_openai_full_conversation_with_reasoning() ... function test_prepare_message_for_openai_filters_error_content (line 1352) | def test_prepare_message_for_openai_filters_error_content() -> None: function test_chat_message_with_usage_content (line 1369) | def test_chat_message_with_usage_content() -> None: function test_hosted_file_content_preparation (line 1389) | def test_hosted_file_content_preparation() -> None: function test_function_approval_response_with_mcp_tool_call (line 1404) | def test_function_approval_response_with_mcp_tool_call() -> None: function test_response_format_with_conflicting_definitions (line 1428) | def test_response_format_with_conflicting_definitions() -> None: function test_response_format_json_object_type (line 1446) | def test_response_format_json_object_type() -> None: function test_response_format_text_type (line 1458) | def test_response_format_text_type() -> None: function test_response_format_with_format_key (line 1470) | def test_response_format_with_format_key() -> None: function test_response_format_json_schema_no_name_uses_title (line 1489) | def test_response_format_json_schema_no_name_uses_title() -> None: function test_response_format_json_schema_with_strict (line 1504) | def test_response_format_json_schema_with_strict() -> None: function test_response_format_json_schema_with_description (line 1523) | def test_response_format_json_schema_with_description() -> None: function test_response_format_json_schema_missing_schema (line 1542) | def test_response_format_json_schema_missing_schema() -> None: function test_response_format_unsupported_type (line 1555) | def test_response_format_unsupported_type() -> None: function test_response_format_invalid_type (line 1565) | def test_response_format_invalid_type() -> None: function test_parse_response_with_store_false (line 1578) | def test_parse_response_with_store_false() -> None: function test_parse_response_uses_response_id_when_no_conversation (line 1592) | def test_parse_response_uses_response_id_when_no_conversation() -> None: function test_streaming_chunk_with_usage_only (line 1605) | def test_streaming_chunk_with_usage_only() -> None: function test_prepare_tools_for_openai_with_mcp (line 1632) | def test_prepare_tools_for_openai_with_mcp() -> None: function test_prepare_tools_for_openai_single_function_tool (line 1660) | def test_prepare_tools_for_openai_single_function_tool() -> None: function test_prepare_tools_for_openai_single_dict_tool (line 1685) | def test_prepare_tools_for_openai_single_dict_tool() -> None: function test_prepare_tools_for_openai_none (line 1697) | def test_prepare_tools_for_openai_none() -> None: function test_parse_response_from_openai_with_mcp_approval_request (line 1706) | def test_parse_response_from_openai_with_mcp_approval_request() -> None: function test_responses_client_created_at_uses_utc (line 1737) | def test_responses_client_created_at_uses_utc( function test_prepare_tools_for_openai_with_raw_image_generation (line 1784) | def test_prepare_tools_for_openai_with_raw_image_generation() -> None: function test_prepare_tools_for_openai_with_raw_image_generation_openai_responses_params (line 1810) | def test_prepare_tools_for_openai_with_raw_image_generation_openai_respo... function test_prepare_tools_for_openai_with_raw_image_generation_minimal (line 1842) | def test_prepare_tools_for_openai_with_raw_image_generation_minimal() ->... function test_prepare_tools_for_openai_with_image_generation_options (line 1860) | def test_prepare_tools_for_openai_with_image_generation_options() -> None: function test_prepare_tools_for_openai_with_custom_image_generation_model (line 1880) | def test_prepare_tools_for_openai_with_custom_image_generation_model() -... function test_parse_chunk_from_openai_with_mcp_approval_request (line 1893) | def test_parse_chunk_from_openai_with_mcp_approval_request() -> None: function test_end_to_end_mcp_approval_flow (line 1918) | async def test_end_to_end_mcp_approval_flow(span_exporter) -> None: function test_usage_details_basic (line 1974) | def test_usage_details_basic() -> None: function test_usage_details_with_cached_tokens (line 1992) | def test_usage_details_with_cached_tokens() -> None: function test_usage_details_with_reasoning_tokens (line 2010) | def test_usage_details_with_reasoning_tokens() -> None: function test_get_metadata_from_response (line 2028) | def test_get_metadata_from_response() -> None: function test_streaming_response_basic_structure (line 2048) | def test_streaming_response_basic_structure() -> None: function test_streaming_response_created_type (line 2067) | def test_streaming_response_created_type() -> None: function test_streaming_response_in_progress_type (line 2086) | def test_streaming_response_in_progress_type() -> None: function test_streaming_annotation_added_with_file_path (line 2105) | def test_streaming_annotation_added_with_file_path() -> None: function test_streaming_annotation_added_with_file_citation (line 2131) | def test_streaming_annotation_added_with_file_citation() -> None: function test_streaming_annotation_added_with_container_file_citation (line 2158) | def test_streaming_annotation_added_with_container_file_citation() -> None: function test_streaming_annotation_added_with_unknown_type (line 2189) | def test_streaming_annotation_added_with_unknown_type() -> None: function test_service_response_exception_includes_original_error_details (line 2209) | async def test_service_response_exception_includes_original_error_detail... function test_get_response_streaming_with_response_format (line 2234) | async def test_get_response_streaming_with_response_format() -> None: function test_prepare_content_for_openai_image_content (line 2253) | def test_prepare_content_for_openai_image_content() -> None: function test_prepare_content_for_openai_audio_content (line 2277) | def test_prepare_content_for_openai_audio_content() -> None: function test_prepare_content_for_openai_unsupported_content (line 2295) | def test_prepare_content_for_openai_unsupported_content() -> None: function test_prepare_content_for_openai_function_result_with_rich_items (line 2310) | def test_prepare_content_for_openai_function_result_with_rich_items() ->... function test_prepare_content_for_openai_function_result_without_items (line 2333) | def test_prepare_content_for_openai_function_result_without_items() -> N... function test_parse_chunk_from_openai_code_interpreter (line 2349) | def test_parse_chunk_from_openai_code_interpreter() -> None: function test_parse_chunk_from_openai_code_interpreter_delta (line 2373) | def test_parse_chunk_from_openai_code_interpreter_delta() -> None: function test_parse_chunk_from_openai_code_interpreter_done (line 2402) | def test_parse_chunk_from_openai_code_interpreter_done() -> None: function test_parse_chunk_from_openai_reasoning (line 2431) | def test_parse_chunk_from_openai_reasoning() -> None: function test_prepare_content_for_openai_text_reasoning_comprehensive (line 2455) | def test_prepare_content_for_openai_text_reasoning_comprehensive() -> None: function test_streaming_reasoning_text_delta_event (line 2479) | def test_streaming_reasoning_text_delta_event() -> None: function test_streaming_reasoning_text_done_event (line 2505) | def test_streaming_reasoning_text_done_event() -> None: function test_streaming_reasoning_summary_text_delta_event (line 2531) | def test_streaming_reasoning_summary_text_delta_event() -> None: function test_streaming_reasoning_summary_text_done_event (line 2556) | def test_streaming_reasoning_summary_text_done_event() -> None: function test_streaming_reasoning_events_preserve_metadata (line 2582) | def test_streaming_reasoning_events_preserve_metadata() -> None: function test_parse_response_from_openai_image_generation_raw_base64 (line 2620) | def test_parse_response_from_openai_image_generation_raw_base64(): function test_parse_response_from_openai_image_generation_existing_data_uri (line 2658) | def test_parse_response_from_openai_image_generation_existing_data_uri(): function test_parse_response_from_openai_image_generation_format_detection (line 2695) | def test_parse_response_from_openai_image_generation_format_detection(): function test_parse_response_from_openai_image_generation_fallback (line 2750) | def test_parse_response_from_openai_image_generation_fallback(): function test_prepare_options_store_parameter_handling (line 2785) | async def test_prepare_options_store_parameter_handling() -> None: function test_conversation_id_precedence_kwargs_over_options (line 2810) | async def test_conversation_id_precedence_kwargs_over_options() -> None: function _create_mock_responses_text_response (line 2824) | def _create_mock_responses_text_response(*, response_id: str) -> MagicMock: function test_instructions_sent_first_turn_then_skipped_for_continuation (line 2847) | async def test_instructions_sent_first_turn_then_skipped_for_continuatio... function test_instructions_not_repeated_for_continuation_ids (line 2878) | async def test_instructions_not_repeated_for_continuation_ids( function test_instructions_included_without_conversation_id (line 2896) | async def test_instructions_included_without_conversation_id() -> None: function test_with_callable_api_key (line 2913) | def test_with_callable_api_key() -> None: function test_integration_options (line 2996) | async def test_integration_options( function test_integration_web_search (line 3077) | async def test_integration_web_search() -> None: function test_integration_file_search (line 3136) | async def test_integration_file_search() -> None: function test_integration_streaming_file_search (line 3170) | async def test_integration_streaming_file_search() -> None: function test_integration_tool_rich_content_image (line 3210) | async def test_integration_tool_rich_content_image() -> None: function test_integration_agent_replays_local_tool_history_without_stale_fc_id (line 3249) | async def test_integration_agent_replays_local_tool_history_without_stal... function test_continuation_token_json_serializable (line 3292) | def test_continuation_token_json_serializable() -> None: function test_chat_response_with_continuation_token (line 3305) | def test_chat_response_with_continuation_token() -> None: function test_chat_response_without_continuation_token (line 3319) | def test_chat_response_without_continuation_token() -> None: function test_chat_response_update_with_continuation_token (line 3327) | def test_chat_response_update_with_continuation_token() -> None: function test_agent_response_with_continuation_token (line 3341) | def test_agent_response_with_continuation_token() -> None: function test_agent_response_update_with_continuation_token (line 3355) | def test_agent_response_update_with_continuation_token() -> None: function test_parse_response_from_openai_with_background_in_progress (line 3370) | def test_parse_response_from_openai_with_background_in_progress() -> None: function test_parse_response_from_openai_with_background_queued (line 3395) | def test_parse_response_from_openai_with_background_queued() -> None: function test_parse_response_from_openai_with_background_completed (line 3420) | def test_parse_response_from_openai_with_background_completed() -> None: function test_streaming_response_in_progress_sets_continuation_token (line 3450) | def test_streaming_response_in_progress_sets_continuation_token() -> None: function test_streaming_response_created_with_in_progress_status_sets_continuation_token (line 3470) | def test_streaming_response_created_with_in_progress_status_sets_continu... function test_streaming_response_completed_no_continuation_token (line 3490) | def test_streaming_response_completed_no_continuation_token() -> None: function test_map_chat_to_agent_update_preserves_continuation_token (line 3510) | def test_map_chat_to_agent_update_preserves_continuation_token() -> None: function test_prepare_options_excludes_continuation_token (line 3528) | async def test_prepare_options_excludes_continuation_token() -> None: function test_parse_response_from_openai_function_call_includes_status (line 3552) | def test_parse_response_from_openai_function_call_includes_status() -> N... function test_prepare_messages_for_openai_does_not_replay_fc_id_when_loaded_from_history (line 3593) | async def test_prepare_messages_for_openai_does_not_replay_fc_id_when_lo... function test_prepare_messages_for_openai_keeps_live_fc_id_separate_from_replayed_history (line 3664) | def test_prepare_messages_for_openai_keeps_live_fc_id_separate_from_repl... function test_prepare_messages_for_openai_filters_empty_fc_id (line 3698) | def test_prepare_messages_for_openai_filters_empty_fc_id() -> None: function test_prepare_messages_for_openai_filters_none_fc_id (line 3746) | def test_prepare_messages_for_openai_filters_none_fc_id() -> None: FILE: python/packages/core/tests/workflow/test_agent_executor.py class _CountingAgent (line 30) | class _CountingAgent(BaseAgent): method __init__ (line 33) | def __init__(self, **kwargs: Any): method run (line 38) | def run( method run (line 47) | def run( method run (line 56) | def run( class _StreamingHookAgent (line 80) | class _StreamingHookAgent(BaseAgent): method __init__ (line 83) | def __init__(self, **kwargs: Any): method run (line 88) | def run( method run (line 97) | def run( method run (line 106) | def run( function test_agent_executor_streaming_finalizes_stream_and_runs_result_hooks (line 138) | async def test_agent_executor_streaming_finalizes_stream_and_runs_result... function test_agent_executor_checkpoint_stores_and_restores_state (line 153) | async def test_agent_executor_checkpoint_stores_and_restores_state() -> ... function test_agent_executor_save_and_restore_state_directly (line 254) | async def test_agent_executor_save_and_restore_state_directly() -> None: function test_agent_executor_run_with_session_kwarg_does_not_raise (line 312) | async def test_agent_executor_run_with_session_kwarg_does_not_raise() ->... function test_agent_executor_run_streaming_with_stream_kwarg_does_not_raise (line 324) | async def test_agent_executor_run_streaming_with_stream_kwarg_does_not_r... function test_prepare_agent_run_args_strips_reserved_kwargs (line 339) | async def test_prepare_agent_run_args_strips_reserved_kwargs(reserved_kw... function test_prepare_agent_run_args_preserves_non_reserved_kwargs (line 356) | async def test_prepare_agent_run_args_preserves_non_reserved_kwargs() ->... function test_prepare_agent_run_args_strips_all_reserved_kwargs_at_once (line 364) | async def test_prepare_agent_run_args_strips_all_reserved_kwargs_at_once( function test_agent_executor_run_with_messages_kwarg_does_not_raise (line 384) | async def test_agent_executor_run_with_messages_kwarg_does_not_raise() -... class _NonCopyableRaw (line 395) | class _NonCopyableRaw: method __deepcopy__ (line 398) | def __deepcopy__(self, memo: dict) -> Any: class _AgentWithRawRepr (line 402) | class _AgentWithRawRepr(BaseAgent): method __init__ (line 405) | def __init__(self, raw: Any, **kwargs: Any): method run (line 409) | def run( function test_agent_executor_workflow_with_non_copyable_raw_representation (line 426) | async def test_agent_executor_workflow_with_non_copyable_raw_representat... class _MessageCapturingAgent (line 457) | class _MessageCapturingAgent(BaseAgent): method __init__ (line 460) | def __init__(self, *, reply_text: str = "reply", **kwargs: Any): method run (line 466) | def run( method run (line 475) | def run( method run (line 484) | def run( function test_context_mode_custom_requires_context_filter (line 514) | def test_context_mode_custom_requires_context_filter() -> None: function test_context_mode_custom_with_filter_succeeds (line 521) | def test_context_mode_custom_with_filter_succeeds() -> None: function test_context_mode_defaults_to_full (line 529) | def test_context_mode_defaults_to_full() -> None: function test_context_mode_invalid_value_raises (line 536) | def test_context_mode_invalid_value_raises() -> None: function test_from_response_context_mode_full_passes_full_conversation (line 543) | async def test_from_response_context_mode_full_passes_full_conversation(... function test_from_response_context_mode_last_agent_passes_only_agent_messages (line 564) | async def test_from_response_context_mode_last_agent_passes_only_agent_m... function test_from_response_context_mode_custom_uses_filter (line 584) | async def test_from_response_context_mode_custom_uses_filter() -> None: function test_checkpoint_save_does_not_include_context_mode (line 608) | async def test_checkpoint_save_does_not_include_context_mode() -> None: function test_checkpoint_restore_works_without_context_mode_in_state (line 620) | async def test_checkpoint_restore_works_without_context_mode_in_state() ... FILE: python/packages/core/tests/workflow/test_agent_executor_tool_calls.py class _ToolCallingAgent (line 35) | class _ToolCallingAgent(BaseAgent): method __init__ (line 38) | def __init__(self, **kwargs: Any) -> None: method run (line 42) | def run( method run (line 52) | def run( method run (line 61) | def run( method _run_stream_impl (line 77) | async def _run_stream_impl(self) -> AsyncIterable[AgentResponseUpdate]: function test_agent_executor_emits_tool_calls_in_streaming_mode (line 115) | async def test_agent_executor_emits_tool_calls_in_streaming_mode() -> None: function mock_tool_requiring_approval (line 159) | def mock_tool_requiring_approval(query: str) -> str: class MockChatClient (line 164) | class MockChatClient(FunctionInvocationLayer[Any], BaseChatClient[Any]): method __init__ (line 173) | def __init__(self, parallel_request: bool = False) -> None: method _inner_get_response (line 179) | def _inner_get_response( method _create_response (line 196) | def _create_response(self) -> ChatResponse: method _stream_response (line 230) | async def _stream_response(self) -> AsyncIterable[ChatResponseUpdate]: function test_executor (line 262) | async def test_executor(agent_executor_response: AgentExecutorResponse, ... function test_agent_executor_tool_call_with_approval (line 266) | async def test_agent_executor_tool_call_with_approval() -> None: function test_agent_executor_tool_call_with_approval_streaming (line 300) | async def test_agent_executor_tool_call_with_approval_streaming() -> None: function test_agent_executor_parallel_tool_call_with_approval (line 337) | async def test_agent_executor_parallel_tool_call_with_approval() -> None: function test_agent_executor_parallel_tool_call_with_approval_streaming (line 373) | async def test_agent_executor_parallel_tool_call_with_approval_streaming... class DeclarationOnlyMockChatClient (line 423) | class DeclarationOnlyMockChatClient(FunctionInvocationLayer[Any], BaseCh... method __init__ (line 426) | def __init__(self, parallel_request: bool = False) -> None: method _inner_get_response (line 432) | def _inner_get_response( method _create_response (line 448) | def _create_response(self) -> ChatResponse: method _stream_response (line 481) | async def _stream_response(self) -> AsyncIterable[ChatResponseUpdate]: function test_agent_executor_declaration_only_tool_emits_request_info (line 507) | async def test_agent_executor_declaration_only_tool_emits_request_info()... function test_agent_executor_declaration_only_tool_emits_request_info_streaming (line 543) | async def test_agent_executor_declaration_only_tool_emits_request_info_s... function test_agent_executor_parallel_declaration_only_tool_emits_request_info (line 582) | async def test_agent_executor_parallel_declaration_only_tool_emits_reque... FILE: python/packages/core/tests/workflow/test_agent_run_event_typing.py function test_workflow_event_with_agent_response_data_type (line 9) | def test_workflow_event_with_agent_response_data_type() -> None: function test_workflow_event_with_agent_response_update_data_type (line 20) | def test_workflow_event_with_agent_response_update_data_type() -> None: function test_workflow_event_repr (line 30) | def test_workflow_event_repr() -> None: FILE: python/packages/core/tests/workflow/test_agent_utils.py class MockAgent (line 10) | class MockAgent: method __init__ (line 13) | def __init__(self, agent_id: str, name: str | None = None) -> None: method run (line 19) | def run( method run (line 28) | def run( method run (line 36) | def run( method create_session (line 45) | def create_session(self, **kwargs: Any) -> AgentSession: method get_session (line 49) | def get_session(self, *, service_session_id: str, **kwargs: Any) -> Ag... function test_resolve_agent_id_with_name (line 53) | def test_resolve_agent_id_with_name() -> None: function test_resolve_agent_id_without_name (line 60) | def test_resolve_agent_id_without_name() -> None: function test_resolve_agent_id_with_empty_name (line 67) | def test_resolve_agent_id_with_empty_name() -> None: function test_resolve_agent_id_prefers_name_over_id (line 74) | def test_resolve_agent_id_prefers_name_over_id() -> None: FILE: python/packages/core/tests/workflow/test_checkpoint.py class _TestToolApprovalRequest (line 24) | class _TestToolApprovalRequest: class _TestExecutorState (line 33) | class _TestExecutorState: class _TestApprovalRequest (line 41) | class _TestApprovalRequest: class _TestCustomData (line 49) | class _TestCustomData: function test_workflow_checkpoint_default_values (line 60) | def test_workflow_checkpoint_default_values(): function test_workflow_checkpoint_custom_values (line 75) | def test_workflow_checkpoint_custom_values(): function test_workflow_checkpoint_to_dict (line 102) | def test_workflow_checkpoint_to_dict(): function test_workflow_checkpoint_previous_checkpoint_id (line 122) | def test_workflow_checkpoint_previous_checkpoint_id(): function test_checkpoint_storage_protocol_compliance (line 137) | def test_checkpoint_storage_protocol_compliance(): function test_memory_checkpoint_storage_save_and_load (line 160) | async def test_memory_checkpoint_storage_save_and_load(): function test_memory_checkpoint_storage_load_nonexistent (line 183) | async def test_memory_checkpoint_storage_load_nonexistent(): function test_memory_checkpoint_storage_list (line 190) | async def test_memory_checkpoint_storage_list(): function test_memory_checkpoint_storage_delete (line 233) | async def test_memory_checkpoint_storage_delete(): function test_memory_checkpoint_storage_get_latest (line 254) | async def test_memory_checkpoint_storage_get_latest(): function test_workflow_checkpoint_chaining_via_previous_checkpoint_id (line 285) | async def test_workflow_checkpoint_chaining_via_previous_checkpoint_id(): function test_memory_checkpoint_storage_roundtrip_json_native_types (line 339) | async def test_memory_checkpoint_storage_roundtrip_json_native_types(): function test_memory_checkpoint_storage_roundtrip_datetime (line 366) | async def test_memory_checkpoint_storage_roundtrip_datetime(): function test_memory_checkpoint_storage_roundtrip_dataclass (line 392) | async def test_memory_checkpoint_storage_roundtrip_dataclass(): function test_memory_checkpoint_storage_roundtrip_tuple_and_set (line 418) | async def test_memory_checkpoint_storage_roundtrip_tuple_and_set(): function test_memory_checkpoint_storage_roundtrip_complex_nested_structures (line 447) | async def test_memory_checkpoint_storage_roundtrip_complex_nested_struct... function test_memory_checkpoint_storage_roundtrip_messages_with_complex_data (line 508) | async def test_memory_checkpoint_storage_roundtrip_messages_with_complex... function test_memory_checkpoint_storage_roundtrip_pending_request_info_events (line 569) | async def test_memory_checkpoint_storage_roundtrip_pending_request_info_... function test_memory_checkpoint_storage_roundtrip_full_checkpoint (line 630) | async def test_memory_checkpoint_storage_roundtrip_full_checkpoint(): function test_memory_checkpoint_storage_roundtrip_bytes (line 713) | async def test_memory_checkpoint_storage_roundtrip_bytes(): function test_memory_checkpoint_storage_roundtrip_empty_collections (line 739) | async def test_memory_checkpoint_storage_roundtrip_empty_collections(): function test_file_checkpoint_storage_save_and_load (line 774) | async def test_file_checkpoint_storage_save_and_load(): function test_file_checkpoint_storage_load_nonexistent (line 804) | async def test_file_checkpoint_storage_load_nonexistent(): function test_file_checkpoint_storage_list (line 812) | async def test_file_checkpoint_storage_list(): function test_file_checkpoint_storage_delete (line 849) | async def test_file_checkpoint_storage_delete(): function test_file_checkpoint_storage_directory_creation (line 869) | async def test_file_checkpoint_storage_directory_creation(): function test_file_checkpoint_storage_corrupted_file (line 886) | async def test_file_checkpoint_storage_corrupted_file(): function test_file_checkpoint_storage_json_serialization (line 900) | async def test_file_checkpoint_storage_json_serialization(): function test_file_checkpoint_storage_get_latest (line 933) | async def test_file_checkpoint_storage_get_latest(): function test_file_checkpoint_storage_list_ids_corrupted_file (line 965) | async def test_file_checkpoint_storage_list_ids_corrupted_file(): function test_file_checkpoint_storage_list_ids_empty (line 984) | async def test_file_checkpoint_storage_list_ids_empty(): function test_file_checkpoint_storage_roundtrip_json_native_types (line 993) | async def test_file_checkpoint_storage_roundtrip_json_native_types(): function test_file_checkpoint_storage_roundtrip_datetime (line 1021) | async def test_file_checkpoint_storage_roundtrip_datetime(): function test_file_checkpoint_storage_roundtrip_dataclass (line 1048) | async def test_file_checkpoint_storage_roundtrip_dataclass(): function test_file_checkpoint_storage_roundtrip_tuple_and_set (line 1075) | async def test_file_checkpoint_storage_roundtrip_tuple_and_set(): function test_file_checkpoint_storage_roundtrip_complex_nested_structures (line 1113) | async def test_file_checkpoint_storage_roundtrip_complex_nested_structur... function test_file_checkpoint_storage_roundtrip_messages_with_complex_data (line 1176) | async def test_file_checkpoint_storage_roundtrip_messages_with_complex_d... function test_file_checkpoint_storage_roundtrip_pending_request_info_events (line 1238) | async def test_file_checkpoint_storage_roundtrip_pending_request_info_ev... function test_file_checkpoint_storage_roundtrip_full_checkpoint (line 1300) | async def test_file_checkpoint_storage_roundtrip_full_checkpoint(): function test_file_checkpoint_storage_roundtrip_bytes (line 1384) | async def test_file_checkpoint_storage_roundtrip_bytes(): function test_file_checkpoint_storage_roundtrip_empty_collections (line 1411) | async def test_file_checkpoint_storage_roundtrip_empty_collections(): FILE: python/packages/core/tests/workflow/test_checkpoint_decode.py class SampleRequest (line 18) | class SampleRequest: class SampleResponse (line 26) | class SampleResponse: function test_roundtrip_simple_dataclass (line 37) | def test_roundtrip_simple_dataclass() -> None: function test_roundtrip_dataclass_with_nested_request (line 49) | def test_roundtrip_dataclass_with_nested_request() -> None: function test_roundtrip_nested_structures (line 68) | def test_roundtrip_nested_structures() -> None: function test_roundtrip_datetime (line 110) | def test_roundtrip_datetime() -> None: function test_roundtrip_primitives (line 121) | def test_roundtrip_primitives() -> None: function test_roundtrip_dict_with_mixed_values (line 127) | def test_roundtrip_dict_with_mixed_values() -> None: function test_decode_string (line 147) | def test_decode_string() -> None: function test_decode_integer (line 152) | def test_decode_integer() -> None: function test_decode_none (line 157) | def test_decode_none() -> None: function test_decode_plain_dict (line 165) | def test_decode_plain_dict() -> None: function test_decode_plain_list (line 171) | def test_decode_plain_list() -> None: function test_decode_raises_on_type_mismatch (line 180) | def test_decode_raises_on_type_mismatch() -> None: class NotADataclass (line 191) | class NotADataclass: # noqa: B903 method __init__ (line 194) | def __init__(self, value: str) -> None: function test_roundtrip_regular_class (line 198) | def test_roundtrip_regular_class() -> None: function test_roundtrip_tuple (line 209) | def test_roundtrip_tuple() -> None: function test_roundtrip_set (line 220) | def test_roundtrip_set() -> None: function test_roundtrip_nested_tuple_in_dict (line 231) | def test_roundtrip_nested_tuple_in_dict() -> None: function test_roundtrip_set_in_list (line 243) | def test_roundtrip_set_in_list() -> None: FILE: python/packages/core/tests/workflow/test_checkpoint_encode.py class SimpleDataclass (line 16) | class SimpleDataclass: class NestedDataclass (line 24) | class NestedDataclass: class ModelWithToDict (line 31) | class ModelWithToDict: method __init__ (line 34) | def __init__(self, data: str) -> None: method to_dict (line 37) | def to_dict(self) -> dict[str, Any]: method from_dict (line 41) | def from_dict(cls, d: dict[str, Any]) -> "ModelWithToDict": class UnknownObject (line 45) | class UnknownObject: method __init__ (line 48) | def __init__(self, value: str) -> None: method __str__ (line 51) | def __str__(self) -> str: function test_encode_string (line 58) | def test_encode_string() -> None: function test_encode_integer (line 63) | def test_encode_integer() -> None: function test_encode_float (line 68) | def test_encode_float() -> None: function test_encode_boolean_true (line 73) | def test_encode_boolean_true() -> None: function test_encode_boolean_false (line 78) | def test_encode_boolean_false() -> None: function test_encode_none (line 83) | def test_encode_none() -> None: function test_encode_empty_dict (line 91) | def test_encode_empty_dict() -> None: function test_encode_simple_dict (line 96) | def test_encode_simple_dict() -> None: function test_encode_dict_with_non_string_keys (line 103) | def test_encode_dict_with_non_string_keys() -> None: function test_encode_empty_list (line 110) | def test_encode_empty_list() -> None: function test_encode_simple_list (line 115) | def test_encode_simple_list() -> None: function test_encode_tuple (line 122) | def test_encode_tuple() -> None: function test_encode_set (line 131) | def test_encode_set() -> None: function test_encode_nested_dict (line 140) | def test_encode_nested_dict() -> None: function test_encode_list_of_dicts (line 147) | def test_encode_list_of_dicts() -> None: function test_encode_simple_dataclass (line 157) | def test_encode_simple_dataclass() -> None: function test_encode_nested_dataclass (line 168) | def test_encode_nested_dataclass() -> None: function test_encode_list_of_dataclasses (line 179) | def test_encode_list_of_dataclasses() -> None: function test_encode_dict_with_dataclass_values (line 194) | def test_encode_dict_with_dataclass_values() -> None: function test_encode_model_with_to_dict (line 207) | def test_encode_model_with_to_dict() -> None: function test_encode_unknown_object (line 216) | def test_encode_unknown_object() -> None: function test_encode_datetime (line 225) | def test_encode_datetime() -> None: function test_encode_type_marker_records_type_info (line 237) | def test_encode_type_marker_records_type_info() -> None: function test_encode_type_marker_uses_module_qualname_format (line 246) | def test_encode_type_marker_uses_module_qualname_format() -> None: function test_encode_result_is_json_serializable (line 261) | def test_encode_result_is_json_serializable() -> None: function test_encode_complex_mixed_structure (line 279) | def test_encode_complex_mixed_structure() -> None: function test_encode_preserves_dict_with_pickle_marker_key (line 306) | def test_encode_preserves_dict_with_pickle_marker_key() -> None: FILE: python/packages/core/tests/workflow/test_checkpoint_validation.py class StartExecutor (line 18) | class StartExecutor(Executor): method run (line 20) | async def run(self, message: str, ctx: WorkflowContext[str]) -> None: class FinishExecutor (line 24) | class FinishExecutor(Executor): method finish (line 26) | async def finish(self, message: str, ctx: WorkflowContext[Never, str])... function build_workflow (line 30) | def build_workflow(storage: InMemoryCheckpointStorage, finish_id: str = ... function test_resume_fails_when_graph_mismatch (line 40) | async def test_resume_fails_when_graph_mismatch() -> None: function test_resume_succeeds_when_graph_matches (line 65) | async def test_resume_succeeds_when_graph_matches() -> None: class SubStartExecutor (line 90) | class SubStartExecutor(Executor): method run (line 92) | async def run(self, message: str, ctx: WorkflowContext[str]) -> None: class SubFinishExecutor (line 96) | class SubFinishExecutor(Executor): method finish (line 98) | async def finish(self, message: str, ctx: WorkflowContext[Never, str])... function build_sub_workflow (line 102) | def build_sub_workflow(sub_finish_id: str = "sub_finish"): function build_parent_workflow (line 108) | def build_parent_workflow(storage: InMemoryCheckpointStorage, sub_finish... function test_resume_succeeds_when_sub_workflow_matches (line 123) | async def test_resume_succeeds_when_sub_workflow_matches() -> None: function test_resume_fails_when_sub_workflow_changes (line 147) | async def test_resume_fails_when_sub_workflow_changes() -> None: FILE: python/packages/core/tests/workflow/test_edge.py class MockMessage (line 32) | class MockMessage: class MockMessageSecondary (line 39) | class MockMessageSecondary: class MockExecutor (line 45) | class MockExecutor(Executor): method __init__ (line 48) | def __init__(self, *, id: str) -> None: method mock_handler (line 54) | async def mock_handler(self, message: MockMessage, ctx: WorkflowContex... class MockExecutorSecondary (line 60) | class MockExecutorSecondary(Executor): method __init__ (line 63) | def __init__(self, *, id: str) -> None: method mock_handler_secondary (line 69) | async def mock_handler_secondary(self, message: MockMessageSecondary, ... class MockAggregator (line 75) | class MockAggregator(Executor): method __init__ (line 78) | def __init__(self, *, id: str) -> None: method mock_aggregator_handler (line 84) | async def mock_aggregator_handler(self, message: list[MockMessage], ct... method mock_aggregator_handler_secondary (line 90) | async def mock_aggregator_handler_secondary( class MockAggregatorSecondary (line 100) | class MockAggregatorSecondary(Executor): method __init__ (line 103) | def __init__(self, *, id: str) -> None: method mock_aggregator_handler_combine (line 109) | async def mock_aggregator_handler_combine( function test_create_edge (line 122) | def test_create_edge(): function test_edge_can_handle (line 134) | def test_edge_can_handle(): function test_edge_should_route (line 142) | async def test_edge_should_route(): function test_single_edge_group (line 157) | def test_single_edge_group(): function test_single_edge_group_with_condition (line 170) | def test_single_edge_group_with_condition(): function test_single_edge_group_send_message (line 184) | async def test_single_edge_group_send_message() -> None: function test_single_edge_group_send_message_with_target (line 203) | async def test_single_edge_group_send_message_with_target() -> None: function test_single_edge_group_send_message_with_invalid_target (line 222) | async def test_single_edge_group_send_message_with_invalid_target() -> N... function test_single_edge_group_send_message_with_invalid_data (line 241) | async def test_single_edge_group_send_message_with_invalid_data() -> None: function test_single_edge_group_send_message_with_condition_pass (line 260) | async def test_single_edge_group_send_message_with_condition_pass() -> N... function test_single_edge_group_send_message_with_condition_fail (line 283) | async def test_single_edge_group_send_message_with_condition_fail() -> N... function test_single_edge_group_tracing_success (line 306) | async def test_single_edge_group_tracing_success(span_exporter: InMemory... function test_single_edge_group_tracing_condition_failure (line 357) | async def test_single_edge_group_tracing_condition_failure(span_exporter... function test_single_edge_group_tracing_type_mismatch (line 391) | async def test_single_edge_group_tracing_type_mismatch(span_exporter: In... function test_single_edge_group_tracing_target_mismatch (line 426) | async def test_single_edge_group_tracing_target_mismatch(span_exporter: ... function test_source_edge_group (line 467) | def test_source_edge_group(): function test_source_edge_group_invalid_number_of_targets (line 484) | def test_source_edge_group_invalid_number_of_targets() -> None: function test_source_edge_group_send_message (line 493) | async def test_source_edge_group_send_message() -> None: function test_source_edge_group_send_message_with_target (line 516) | async def test_source_edge_group_send_message_with_target() -> None: function test_source_edge_group_send_message_with_invalid_target (line 539) | async def test_source_edge_group_send_message_with_invalid_target() -> N... function test_source_edge_group_send_message_with_invalid_data (line 559) | async def test_source_edge_group_send_message_with_invalid_data() -> None: function test_source_edge_group_send_message_only_one_successful_send (line 579) | async def test_source_edge_group_send_message_only_one_successful_send()... function test_source_edge_group_with_selection_func (line 602) | def test_source_edge_group_with_selection_func(): function test_source_edge_group_with_selection_func_send_message (line 623) | async def test_source_edge_group_with_selection_func_send_message() -> N... function test_source_edge_group_with_selection_func_send_message_with_invalid_selection_result (line 652) | async def test_source_edge_group_with_selection_func_send_message_with_i... function test_source_edge_group_with_selection_func_send_message_with_target (line 676) | async def test_source_edge_group_with_selection_func_send_message_with_t... function test_source_edge_group_with_selection_func_send_message_with_target_not_in_selection (line 705) | async def test_source_edge_group_with_selection_func_send_message_with_t... function test_source_edge_group_with_selection_func_send_message_with_invalid_data (line 730) | async def test_source_edge_group_with_selection_func_send_message_with_i... function test_source_edge_group_with_selection_func_send_message_with_target_invalid_data (line 755) | async def test_source_edge_group_with_selection_func_send_message_with_t... function test_fan_out_edge_group_tracing_success (line 780) | async def test_fan_out_edge_group_tracing_success(span_exporter: InMemor... function test_fan_out_edge_group_tracing_with_target (line 832) | async def test_fan_out_edge_group_tracing_with_target(span_exporter: InM... function test_target_edge_group (line 892) | def test_target_edge_group(): function test_target_edge_group_invalid_number_of_sources (line 909) | def test_target_edge_group_invalid_number_of_sources(): function test_target_edge_group_send_message_buffer (line 918) | async def test_target_edge_group_send_message_buffer() -> None: function test_target_edge_group_send_message_with_invalid_target (line 957) | async def test_target_edge_group_send_message_with_invalid_target() -> N... function test_target_edge_group_send_message_with_invalid_data (line 978) | async def test_target_edge_group_send_message_with_invalid_data() -> None: function test_fan_in_edge_group_tracing_buffered (line 999) | async def test_fan_in_edge_group_tracing_buffered(span_exporter: InMemor... function test_fan_in_edge_group_tracing_type_mismatch (line 1091) | async def test_fan_in_edge_group_tracing_type_mismatch(span_exporter: In... function test_fan_in_edge_group_with_multiple_message_types (line 1127) | async def test_fan_in_edge_group_with_multiple_message_types() -> None: function test_fan_in_edge_group_with_multiple_message_types_failed (line 1158) | async def test_fan_in_edge_group_with_multiple_message_types_failed() ->... function test_switch_case_edge_group (line 1199) | def test_switch_case_edge_group() -> None: function test_switch_case_edge_group_invalid_number_of_cases (line 1226) | def test_switch_case_edge_group_invalid_number_of_cases(): function test_switch_case_edge_group_invalid_number_of_default_cases (line 1251) | def test_switch_case_edge_group_invalid_number_of_default_cases(): function test_switch_case_edge_group_send_message (line 1268) | async def test_switch_case_edge_group_send_message() -> None: function test_switch_case_edge_group_send_message_with_invalid_target (line 1306) | async def test_switch_case_edge_group_send_message_with_invalid_target()... function test_switch_case_edge_group_send_message_with_valid_target (line 1333) | async def test_switch_case_edge_group_send_message_with_valid_target() -... function test_switch_case_edge_group_send_message_with_invalid_data (line 1365) | async def test_switch_case_edge_group_send_message_with_invalid_data() -... FILE: python/packages/core/tests/workflow/test_executor.py class ForwardRefMessage (line 23) | class ForwardRefMessage: class ForwardRefTypeA (line 28) | class ForwardRefTypeA: class ForwardRefTypeB (line 33) | class ForwardRefTypeB: class ForwardRefResponse (line 38) | class ForwardRefResponse: function test_executor_without_id (line 42) | def test_executor_without_id(): function test_executor_handler_without_annotations (line 54) | def test_executor_handler_without_annotations(): function test_executor_invalid_handler_signature (line 68) | def test_executor_invalid_handler_signature(): function test_executor_with_valid_handlers (line 82) | def test_executor_with_valid_handlers(): function test_executor_handlers_with_output_types (line 106) | def test_executor_handlers_with_output_types(): function test_executor_invoked_event_contains_input_data (line 140) | async def test_executor_invoked_event_contains_input_data(): function test_executor_completed_event_contains_sent_messages (line 172) | async def test_executor_completed_event_contains_sent_messages(): function test_executor_completed_event_includes_yielded_outputs (line 211) | async def test_executor_completed_event_includes_yielded_outputs(): function test_executor_events_with_complex_message_types (line 236) | async def test_executor_events_with_complex_message_types(): function test_executor_output_types_property (line 290) | def test_executor_output_types_property(): function test_executor_workflow_output_types_property (line 339) | def test_executor_workflow_output_types_property(): function test_executor_output_and_workflow_output_types_combined (line 400) | def test_executor_output_and_workflow_output_types_combined(): function test_executor_output_types_includes_response_handlers (line 423) | def test_executor_output_types_includes_response_handlers(): function test_executor_workflow_output_types_includes_response_handlers (line 444) | def test_executor_workflow_output_types_includes_response_handlers(): function test_executor_multiple_response_handlers_output_types (line 475) | def test_executor_multiple_response_handlers_output_types(): function test_executor_response_handler_union_output_types (line 504) | def test_executor_response_handler_union_output_types(): function test_executor_invoked_event_data_not_mutated_by_handler (line 536) | async def test_executor_invoked_event_data_not_mutated_by_handler(): class TestHandlerExplicitTypes (line 571) | class TestHandlerExplicitTypes: method test_handler_with_explicit_input_type (line 574) | def test_handler_with_explicit_input_type(self): method test_handler_with_explicit_output_type (line 594) | def test_handler_with_explicit_output_type(self): method test_handler_with_explicit_input_and_output_types (line 612) | def test_handler_with_explicit_input_and_output_types(self): method test_handler_with_explicit_union_input_type (line 635) | def test_handler_with_explicit_union_input_type(self): method test_handler_with_explicit_union_output_type (line 656) | def test_handler_with_explicit_union_output_type(self): method test_handler_explicit_types_precedence_over_introspection (line 670) | def test_handler_explicit_types_precedence_over_introspection(self): method test_handler_fallback_to_introspection_when_no_explicit_types (line 690) | def test_handler_fallback_to_introspection_when_no_explicit_types(self): method test_handler_explicit_mode_requires_input (line 704) | def test_handler_explicit_mode_requires_input(self): method test_handler_explicit_input_type_allows_no_message_annotation (line 733) | def test_handler_explicit_input_type_allows_no_message_annotation(self): method test_handler_multiple_handlers_mixed_explicit_and_introspected (line 746) | def test_handler_multiple_handlers_mixed_explicit_and_introspected(self): method test_handler_with_string_forward_reference_input_type (line 769) | def test_handler_with_string_forward_reference_input_type(self): method test_handler_with_string_forward_reference_union (line 783) | def test_handler_with_string_forward_reference_union(self): method test_handler_with_string_forward_reference_output_type (line 797) | def test_handler_with_string_forward_reference_output_type(self): method test_handler_with_explicit_workflow_output_type (line 810) | def test_handler_with_explicit_workflow_output_type(self): method test_handler_with_explicit_workflow_output_and_output (line 829) | def test_handler_with_explicit_workflow_output_and_output(self): method test_handler_with_all_explicit_types (line 845) | def test_handler_with_all_explicit_types(self): method test_handler_with_union_workflow_output_type (line 865) | def test_handler_with_union_workflow_output_type(self): method test_handler_with_string_forward_reference_workflow_output_type (line 879) | def test_handler_with_string_forward_reference_workflow_output_type(se... method test_handler_with_string_forward_reference_union_workflow_output_type (line 892) | def test_handler_with_string_forward_reference_union_workflow_output_t... method test_handler_fallback_to_introspection_for_workflow_output_type (line 906) | def test_handler_fallback_to_introspection_for_workflow_output_type(se... FILE: python/packages/core/tests/workflow/test_executor_future.py class MyTypeA (line 13) | class MyTypeA(BaseModel): class MyTypeB (line 17) | class MyTypeB(BaseModel): class MyTypeC (line 21) | class MyTypeC(BaseModel): class TestExecutorFutureAnnotations (line 25) | class TestExecutorFutureAnnotations: method test_handler_decorator_future_annotations (line 28) | def test_handler_decorator_future_annotations(self): method test_handler_decorator_future_annotations_single_type_arg (line 43) | def test_handler_decorator_future_annotations_single_type_arg(self): method test_handler_decorator_future_annotations_complex (line 57) | def test_handler_decorator_future_annotations_complex(self): method test_handler_decorator_future_annotations_bare_context (line 70) | def test_handler_decorator_future_annotations_bare_context(self): method test_handler_decorator_future_annotations_explicit_types (line 84) | def test_handler_decorator_future_annotations_explicit_types(self): method test_handler_decorator_future_annotations_union_context (line 98) | def test_handler_decorator_future_annotations_union_context(self): method test_handler_unresolvable_annotation_raises (line 112) | def test_handler_unresolvable_annotation_raises(self): FILE: python/packages/core/tests/workflow/test_full_conversation.py class _SimpleAgent (line 31) | class _SimpleAgent(BaseAgent): method __init__ (line 34) | def __init__(self, *, reply_text: str, **kwargs: Any) -> None: method run (line 39) | def run( method run (line 48) | def run( method run (line 56) | def run( class _ToolHistoryAgent (line 77) | class _ToolHistoryAgent(BaseAgent): method __init__ (line 80) | def __init__(self, *, summary_text: str, **kwargs: Any) -> None: method _messages (line 84) | def _messages(self) -> list[Message]: method run (line 104) | def run( method run (line 113) | def run( method run (line 121) | def run( class _CaptureFullConversation (line 156) | class _CaptureFullConversation(Executor): method capture (line 160) | async def capture(self, response: AgentExecutorResponse, ctx: Workflow... function test_agent_executor_populates_full_conversation_non_streaming (line 173) | async def test_agent_executor_populates_full_conversation_non_streaming(... class _CaptureAgent (line 196) | class _CaptureAgent(BaseAgent): method __init__ (line 201) | def __init__(self, *, reply_text: str, **kwargs: Any) -> None: method run (line 206) | def run( method run (line 215) | def run( method run (line 223) | def run( function test_sequential_adapter_uses_full_conversation (line 254) | async def test_sequential_adapter_uses_full_conversation() -> None: function test_sequential_handoff_preserves_function_call_for_non_reasoning_model (line 273) | async def test_sequential_handoff_preserves_function_call_for_non_reason... class _RoundTripCoordinator (line 306) | class _RoundTripCoordinator(Executor): method __init__ (line 309) | def __init__(self, *, target_agent_id: str, id: str = "round_trip_coor... method handle_response (line 315) | async def handle_response( function test_agent_executor_full_conversation_round_trip_does_not_duplicate_history (line 339) | async def test_agent_executor_full_conversation_round_trip_does_not_dupl... class _SessionIdCapturingAgent (line 367) | class _SessionIdCapturingAgent(BaseAgent): method run (line 373) | def run( method run (line 382) | def run( method run (line 390) | def run( class _FullHistoryReplayCoordinator (line 406) | class _FullHistoryReplayCoordinator(Executor): method __init__ (line 410) | def __init__(self, *, target_exec: AgentExecutor, **kwargs: Any) -> None: method handle (line 415) | async def handle( function test_run_request_with_full_history_clears_service_session_id (line 434) | async def test_run_request_with_full_history_clears_service_session_id()... function test_from_response_preserves_service_session_id (line 463) | async def test_from_response_preserves_service_session_id() -> None: FILE: python/packages/core/tests/workflow/test_function_executor.py class FuncExecForwardRefMessage (line 20) | class FuncExecForwardRefMessage: class FuncExecForwardRefTypeA (line 25) | class FuncExecForwardRefTypeA: class FuncExecForwardRefTypeB (line 30) | class FuncExecForwardRefTypeB: class FuncExecForwardRefResponse (line 35) | class FuncExecForwardRefResponse: class TestFunctionExecutor (line 39) | class TestFunctionExecutor: method test_function_executor_basic (line 42) | def test_function_executor_basic(self): method test_executor_decorator (line 61) | def test_executor_decorator(self): method test_executor_decorator_without_id (line 77) | def test_executor_decorator_without_id(self): method test_executor_decorator_without_parentheses (line 86) | def test_executor_decorator_without_parentheses(self): method test_union_output_types (line 106) | def test_union_output_types(self): method test_none_output_type (line 134) | def test_none_output_type(self): method test_any_output_type (line 146) | def test_any_output_type(self): method test_validation_errors (line 167) | def test_validation_errors(self): method test_execution_in_workflow (line 217) | async def test_execution_in_workflow(self): method test_can_handle_method (line 249) | def test_can_handle_method(self): method test_duplicate_handler_registration (line 260) | def test_duplicate_handler_registration(self): method test_complex_type_annotations (line 282) | def test_complex_type_annotations(self): method test_single_parameter_function (line 294) | def test_single_parameter_function(self): method test_single_parameter_validation (line 311) | def test_single_parameter_validation(self): method test_single_parameter_can_handle (line 328) | def test_single_parameter_can_handle(self): method test_single_parameter_execution (line 339) | async def test_single_parameter_execution(self): method test_sync_function_basic (line 354) | def test_sync_function_basic(self): method test_sync_function_with_context (line 371) | def test_sync_function_with_context(self): method test_sync_function_can_handle (line 388) | def test_sync_function_can_handle(self): method test_sync_function_validation (line 399) | def test_sync_function_validation(self): method test_mixed_sync_async_decorator (line 423) | def test_mixed_sync_async_decorator(self): method test_sync_function_in_workflow (line 445) | async def test_sync_function_in_workflow(self): method test_sync_function_thread_execution (line 477) | async def test_sync_function_thread_execution(self): method test_executor_rejects_staticmethod (line 505) | def test_executor_rejects_staticmethod(self): method test_executor_rejects_classmethod (line 518) | def test_executor_rejects_classmethod(self): method test_async_staticmethod_detection_behavior (line 531) | async def test_async_staticmethod_detection_behavior(self): class TestExecutorExplicitTypes (line 562) | class TestExecutorExplicitTypes: method test_executor_with_explicit_input_type (line 565) | def test_executor_with_explicit_input_type(self): method test_executor_with_explicit_output_type (line 581) | def test_executor_with_explicit_output_type(self): method test_executor_with_explicit_input_and_output_types (line 596) | def test_executor_with_explicit_input_and_output_types(self): method test_executor_with_explicit_union_input_type (line 615) | def test_executor_with_explicit_union_input_type(self): method test_executor_with_explicit_union_output_type (line 631) | def test_executor_with_explicit_union_output_type(self): method test_executor_explicit_types_precedence_over_introspection (line 641) | def test_executor_explicit_types_precedence_over_introspection(self): method test_executor_fallback_to_introspection_when_no_explicit_types (line 658) | def test_executor_fallback_to_introspection_when_no_explicit_types(self): method test_executor_partial_explicit_types (line 669) | def test_executor_partial_explicit_types(self): method test_executor_explicit_input_type_allows_no_message_annotation (line 689) | def test_executor_explicit_input_type_allows_no_message_annotation(self): method test_executor_explicit_types_with_id (line 700) | def test_executor_explicit_types_with_id(self): method test_executor_explicit_types_with_single_param_function (line 711) | def test_executor_explicit_types_with_single_param_function(self): method test_executor_explicit_types_with_sync_function (line 723) | def test_executor_explicit_types_with_sync_function(self): method test_function_executor_constructor_with_explicit_types (line 733) | def test_function_executor_constructor_with_explicit_types(self): method test_executor_explicit_union_types_via_typing_union (line 746) | def test_executor_explicit_union_types_via_typing_union(self): method test_executor_with_string_forward_reference_input_type (line 761) | def test_executor_with_string_forward_reference_input_type(self): method test_executor_with_string_forward_reference_union (line 772) | def test_executor_with_string_forward_reference_union(self): method test_executor_with_string_forward_reference_output_type (line 783) | def test_executor_with_string_forward_reference_output_type(self): method test_executor_with_explicit_workflow_output_type (line 793) | def test_executor_with_explicit_workflow_output_type(self): method test_executor_with_explicit_workflow_output_type_precedence (line 809) | def test_executor_with_explicit_workflow_output_type_precedence(self): method test_executor_with_all_explicit_types (line 820) | def test_executor_with_all_explicit_types(self): method test_executor_with_union_workflow_output_type (line 838) | def test_executor_with_union_workflow_output_type(self): method test_executor_with_string_forward_reference_workflow_output_type (line 849) | def test_executor_with_string_forward_reference_workflow_output_type(s... method test_executor_with_string_forward_reference_union_workflow_output_type (line 859) | def test_executor_with_string_forward_reference_union_workflow_output_... method test_executor_fallback_to_introspection_for_workflow_output_type (line 870) | def test_executor_fallback_to_introspection_for_workflow_output_type(s... method test_function_executor_constructor_with_workflow_output_type (line 881) | def test_function_executor_constructor_with_workflow_output_type(self): FILE: python/packages/core/tests/workflow/test_function_executor_future.py class TestFunctionExecutorFutureAnnotations (line 10) | class TestFunctionExecutorFutureAnnotations: method test_executor_decorator_future_annotations (line 13) | def test_executor_decorator_future_annotations(self): method test_executor_decorator_future_annotations_complex (line 29) | def test_executor_decorator_future_annotations_complex(self): FILE: python/packages/core/tests/workflow/test_request_info_and_response.py class UserApprovalRequest (line 18) | class UserApprovalRequest: method __post_init__ (line 25) | def __post_init__(self): class CalculationRequest (line 33) | class CalculationRequest: method __post_init__ (line 40) | def __post_init__(self): class ApprovalRequiredExecutor (line 47) | class ApprovalRequiredExecutor(Executor, RequestInfoMixin): method __init__ (line 50) | def __init__(self, id: str): method start_process (line 56) | async def start_process(self, message: str, ctx: WorkflowContext) -> N... method handle_approval_response (line 66) | async def handle_approval_response( class CalculationExecutor (line 80) | class CalculationExecutor(Executor, RequestInfoMixin): method __init__ (line 83) | def __init__(self, id: str): method process_calculation (line 88) | async def process_calculation(self, message: str, ctx: WorkflowContext... method handle_calculation_response (line 104) | async def handle_calculation_response( class MultiRequestExecutor (line 113) | class MultiRequestExecutor(Executor, RequestInfoMixin): method __init__ (line 116) | def __init__(self, id: str): method start_multi_request (line 121) | async def start_multi_request(self, message: str, ctx: WorkflowContext... method handle_approval_response (line 134) | async def handle_approval_response( method handle_calculation_response (line 142) | async def handle_calculation_response( method _check_completion (line 149) | async def _check_completion(self, ctx: WorkflowContext[str]) -> None: class OutputCollector (line 161) | class OutputCollector(Executor): method __init__ (line 164) | def __init__(self, id: str): method collect_output (line 169) | async def collect_output(self, message: str, ctx: WorkflowContext) -> ... class TestRequestInfoAndResponse (line 174) | class TestRequestInfoAndResponse: method test_approval_workflow (line 177) | async def test_approval_workflow(self): method test_calculation_workflow (line 202) | async def test_calculation_workflow(self): method test_multiple_requests_workflow (line 229) | async def test_multiple_requests_workflow(self): method test_denied_approval_workflow (line 263) | async def test_denied_approval_workflow(self): method test_workflow_state_with_pending_requests (line 286) | async def test_workflow_state_with_pending_requests(self): method test_invalid_calculation_input (line 311) | async def test_invalid_calculation_input(self): FILE: python/packages/core/tests/workflow/test_request_info_event_rehydrate.py class MockRequest (line 30) | class MockRequest: ... class SimpleApproval (line 34) | class SimpleApproval: class SlottedApproval (line 41) | class SlottedApproval: class TimedApproval (line 46) | class TimedApproval: function test_rehydrate_request_info_event (line 50) | async def test_rehydrate_request_info_event() -> None: function test_request_info_event_serializes_non_json_payloads (line 83) | async def test_request_info_event_serializes_non_json_payloads() -> None: function test_checkpoint_with_pending_request_info_events (line 127) | async def test_checkpoint_with_pending_request_info_events(): function test_checkpoint_restore_with_responses_does_not_reemit_handled_requests (line 213) | async def test_checkpoint_restore_with_responses_does_not_reemit_handled... function test_checkpoint_restore_with_partial_responses_reemits_unhandled_requests (line 282) | async def test_checkpoint_restore_with_partial_responses_reemits_unhandl... FILE: python/packages/core/tests/workflow/test_request_info_mixin.py class TestRequestInfoMixin (line 14) | class TestRequestInfoMixin: method test_request_info_mixin_initialization (line 17) | def test_request_info_mixin_initialization(self): method test_response_handler_decorator_creates_metadata (line 35) | def test_response_handler_decorator_creates_metadata(self): method test_response_handler_with_workflow_context_types (line 54) | def test_response_handler_with_workflow_context_types(self): method test_response_handler_preserves_signature (line 67) | def test_response_handler_preserves_signature(self): method test_executor_with_response_handlers (line 82) | def test_executor_with_response_handlers(self): method test_executor_without_response_handlers (line 116) | def test_executor_without_response_handlers(self): method test_duplicate_response_handlers_raise_error (line 136) | def test_duplicate_response_handlers_raise_error(self): method test_response_handler_function_callable (line 161) | async def test_response_handler_function_callable(self): method test_inheritance_with_response_handlers (line 190) | def test_inheritance_with_response_handlers(self): method test_response_handler_spec_attributes (line 223) | def test_response_handler_spec_attributes(self): method test_multiple_discovery_calls_raise_error (line 251) | def test_multiple_discovery_calls_raise_error(self): method test_non_callable_attributes_ignored (line 281) | def test_non_callable_attributes_ignored(self): method test_same_request_type_different_response_types (line 306) | async def test_same_request_type_different_response_types(self): method test_different_request_types_same_response_type (line 361) | async def test_different_request_types_same_response_type(self): method test_complex_type_combinations (line 418) | def test_complex_type_combinations(self): method test_handler_key_uniqueness (line 477) | def test_handler_key_uniqueness(self): method test_no_false_matches_with_similar_types (line 521) | def test_no_false_matches_with_similar_types(self): method test_is_request_supported_with_exact_matches (line 553) | def test_is_request_supported_with_exact_matches(self): method test_is_request_supported_without_handlers (line 585) | def test_is_request_supported_without_handlers(self): method test_is_request_supported_before_discovery (line 603) | def test_is_request_supported_before_discovery(self): method test_is_request_supported_with_compatible_types (line 625) | def test_is_request_supported_with_compatible_types(self): method test_is_request_supported_with_multiple_handlers (line 676) | def test_is_request_supported_with_multiple_handlers(self): method test_is_request_supported_with_complex_types (line 721) | def test_is_request_supported_with_complex_types(self): method test_is_request_supported_with_inheritance (line 755) | def test_is_request_supported_with_inheritance(self): class TestResponseHandlerExplicitTypes (line 790) | class TestResponseHandlerExplicitTypes: method test_response_handler_with_explicit_types (line 793) | def test_response_handler_with_explicit_types(self): method test_response_handler_with_explicit_output_types (line 805) | def test_response_handler_with_explicit_output_types(self): method test_response_handler_with_union_types (line 818) | def test_response_handler_with_union_types(self): method test_response_handler_with_string_forward_references (line 829) | def test_response_handler_with_string_forward_references(self): method test_response_handler_explicit_missing_request_raises_error (line 840) | def test_response_handler_explicit_missing_request_raises_error(self): method test_response_handler_explicit_missing_response_raises_error (line 848) | def test_response_handler_explicit_missing_response_raises_error(self): method test_response_handler_explicit_only_output_raises_error (line 856) | def test_response_handler_explicit_only_output_raises_error(self): method test_executor_with_explicit_response_handlers (line 864) | def test_executor_with_explicit_response_handlers(self): method test_response_handler_explicit_callable (line 896) | def test_response_handler_explicit_callable(self): method test_mixed_introspection_and_explicit_handlers (line 925) | def test_mixed_introspection_and_explicit_handlers(self): FILE: python/packages/core/tests/workflow/test_runner.py class MockMessage (line 36) | class MockMessage: class MockExecutor (line 42) | class MockExecutor(Executor): method mock_handler (line 46) | async def mock_handler(self, message: MockMessage, ctx: WorkflowContex... function test_create_runner (line 54) | def test_create_runner(): function test_runner_run_until_convergence (line 82) | async def test_runner_run_until_convergence(): function test_runner_run_until_convergence_not_completed (line 120) | async def test_runner_run_until_convergence_not_completed(): function test_runner_run_iteration_preserves_message_order_per_edge_runner (line 154) | async def test_runner_run_iteration_preserves_message_order_per_edge_run... function test_runner_run_iteration_delivers_different_edge_runners_concurrently (line 182) | async def test_runner_run_iteration_delivers_different_edge_runners_conc... function test_fanout_edge_runner_delivers_to_multiple_targets_concurrently (line 229) | async def test_fanout_edge_runner_delivers_to_multiple_targets_concurren... function test_runner_already_running (line 302) | async def test_runner_already_running(): function test_runner_emits_runner_completion_for_agent_response_without_targets (line 338) | async def test_runner_emits_runner_completion_for_agent_response_without... class SlowExecutor (line 355) | class SlowExecutor(Executor): method __init__ (line 358) | def __init__(self, id: str, work_duration: float = 0.5): method handle (line 365) | async def handle(self, message: MockMessage, ctx: WorkflowContext[Mock... function test_runner_cancellation_stops_active_executor (line 375) | async def test_runner_cancellation_stops_active_executor(): class FailingExecutor (line 425) | class FailingExecutor(Executor): method __init__ (line 428) | def __init__(self, id: str, fail_on_data: int = 5): method handle (line 433) | async def handle(self, message: MockMessage, ctx: WorkflowContext[Mock... function test_runner_iteration_exception_drains_events (line 439) | async def test_runner_iteration_exception_drains_events(): function test_runner_reset_iteration_count (line 474) | async def test_runner_reset_iteration_count(): class CheckpointingContext (line 488) | class CheckpointingContext(InProcRunnerContext): method __init__ (line 491) | def __init__(self, storage: InMemoryCheckpointStorage | None = None): method has_checkpointing (line 496) | def has_checkpointing(self) -> bool: method create_checkpoint (line 499) | async def create_checkpoint( method load_checkpoint (line 517) | async def load_checkpoint(self, checkpoint_id: str) -> WorkflowCheckpo... method apply_checkpoint (line 523) | async def apply_checkpoint(self, checkpoint: WorkflowCheckpoint) -> None: class FailingCheckpointContext (line 530) | class FailingCheckpointContext(InProcRunnerContext): method has_checkpointing (line 533) | def has_checkpointing(self) -> bool: method create_checkpoint (line 536) | async def create_checkpoint( function test_runner_checkpoint_creation_failure (line 548) | async def test_runner_checkpoint_creation_failure(): function test_runner_restore_from_checkpoint_with_external_storage (line 583) | async def test_runner_restore_from_checkpoint_with_external_storage(): function test_runner_restore_from_checkpoint_no_storage (line 620) | async def test_runner_restore_from_checkpoint_no_storage(): function test_runner_restore_from_checkpoint_not_found (line 631) | async def test_runner_restore_from_checkpoint_not_found(): function test_runner_restore_from_checkpoint_graph_hash_mismatch (line 643) | async def test_runner_restore_from_checkpoint_graph_hash_mismatch(): function test_runner_restore_from_checkpoint_generic_exception (line 664) | async def test_runner_restore_from_checkpoint_generic_exception(): function test_runner_restore_executor_states_invalid_states_type (line 679) | async def test_runner_restore_executor_states_invalid_states_type(): function test_runner_restore_executor_states_invalid_executor_id_type (line 693) | async def test_runner_restore_executor_states_invalid_executor_id_type(): function test_runner_restore_executor_states_invalid_state_type (line 707) | async def test_runner_restore_executor_states_invalid_state_type(): function test_runner_restore_executor_states_invalid_state_keys (line 721) | async def test_runner_restore_executor_states_invalid_state_keys(): function test_runner_restore_executor_states_missing_executor (line 735) | async def test_runner_restore_executor_states_missing_executor(): function test_runner_set_executor_state_invalid_existing_states (line 748) | async def test_runner_set_executor_state_invalid_existing_states(): function test_runner_with_pre_loop_events (line 761) | async def test_runner_with_pre_loop_events(): class EventEmittingExecutor (line 781) | class EventEmittingExecutor(Executor): method handle (line 785) | async def handle(self, message: MockMessage, ctx: WorkflowContext[Mock... function test_runner_drains_straggler_events (line 792) | async def test_runner_drains_straggler_events(): function test_runner_restore_executor_states_no_states (line 827) | async def test_runner_restore_executor_states_no_states(): function test_runner_checkpoint_with_resumed_flag (line 840) | async def test_runner_checkpoint_with_resumed_flag(): class ExecutorThatFailsWithEvents (line 879) | class ExecutorThatFailsWithEvents(Executor): method __init__ (line 882) | def __init__(self, id: str, runner_ctx: RunnerContext, fail_on_iterati... method handle (line 889) | async def handle(self, message: MockMessage, ctx: WorkflowContext[Mock... class PassthroughExecutor (line 902) | class PassthroughExecutor(Executor): method handle (line 906) | async def handle(self, message: MockMessage, ctx: WorkflowContext[Mock... function test_runner_drains_events_on_iteration_exception (line 910) | async def test_runner_drains_events_on_iteration_exception(): class SlowEventEmittingExecutor (line 948) | class SlowEventEmittingExecutor(Executor): method __init__ (line 951) | def __init__(self, id: str, iterations_to_emit: int = 2): method handle (line 957) | async def handle(self, message: MockMessage, ctx: WorkflowContext[Mock... function test_runner_drains_straggler_events_at_iteration_end (line 966) | async def test_runner_drains_straggler_events_at_iteration_end(): FILE: python/packages/core/tests/workflow/test_serialization.py class SampleExecutor (line 27) | class SampleExecutor(Executor): method handle_str (line 31) | async def handle_str(self, message: str, ctx: WorkflowContext[str]) ->... class SampleAggregator (line 36) | class SampleAggregator(Executor): method handle_str_list (line 40) | async def handle_str_list(self, messages: list[str], ctx: WorkflowCont... class TestSerializationWorkflowClasses (line 46) | class TestSerializationWorkflowClasses: method test_executor_serialization (line 49) | def test_executor_serialization(self) -> None: method test_edge_serialization (line 70) | def test_edge_serialization(self) -> None: method test_edge_serialization_with_named_condition (line 88) | def test_edge_serialization_with_named_condition(self) -> None: method test_edge_serialization_with_lambda_condition (line 109) | def test_edge_serialization_with_lambda_condition(self) -> None: method test_single_edge_group_serialization (line 126) | def test_single_edge_group_serialization(self) -> None: method test_fan_out_edge_group_serialization (line 165) | def test_fan_out_edge_group_serialization(self) -> None: method test_fan_out_edge_group_serialization_with_selection_func (line 221) | def test_fan_out_edge_group_serialization_with_selection_func(self) ->... method test_fan_out_edge_group_serialization_with_lambda_selection_func (line 245) | def test_fan_out_edge_group_serialization_with_lambda_selection_func(s... method test_fan_in_edge_group_serialization (line 264) | def test_fan_in_edge_group_serialization(self) -> None: method test_switch_case_edge_group_serialization (line 308) | def test_switch_case_edge_group_serialization(self) -> None: method test_nested_workflow_executor_serialization (line 408) | def test_nested_workflow_executor_serialization(self) -> None: method test_switch_case_edge_group_serialization_with_named_condition (line 508) | def test_switch_case_edge_group_serialization_with_named_condition(sel... method test_workflow_serialization (line 537) | def test_workflow_serialization(self) -> None: method test_workflow_serialization_excludes_non_serializable_fields (line 610) | def test_workflow_serialization_excludes_non_serializable_fields(self)... method test_workflow_name_description_serialization (line 625) | def test_workflow_name_description_serialization(self) -> None: method test_executor_field_validation (line 666) | def test_executor_field_validation(self) -> None: method test_edge_field_validation (line 675) | def test_edge_field_validation(self) -> None: function test_comprehensive_edge_groups_workflow_serialization (line 691) | def test_comprehensive_edge_groups_workflow_serialization() -> None: FILE: python/packages/core/tests/workflow/test_state.py class TestStateBasicOperations (line 10) | class TestStateBasicOperations: method test_set_and_get (line 13) | def test_set_and_get(self) -> None: method test_get_with_default (line 18) | def test_get_with_default(self) -> None: method test_has_returns_true_for_existing_key (line 23) | def test_has_returns_true_for_existing_key(self) -> None: method test_has_returns_false_for_missing_key (line 28) | def test_has_returns_false_for_missing_key(self) -> None: method test_delete_existing_key (line 32) | def test_delete_existing_key(self) -> None: method test_delete_missing_key_raises (line 41) | def test_delete_missing_key_raises(self) -> None: method test_clear (line 46) | def test_clear(self) -> None: class TestSuperstepCaching (line 56) | class TestSuperstepCaching: method test_set_writes_to_pending_not_committed (line 59) | def test_set_writes_to_pending_not_committed(self) -> None: method test_commit_moves_pending_to_committed (line 70) | def test_commit_moves_pending_to_committed(self) -> None: method test_discard_clears_pending_without_committing (line 85) | def test_discard_clears_pending_without_committing(self) -> None: method test_pending_overrides_committed_on_get (line 101) | def test_pending_overrides_committed_on_get(self) -> None: method test_multiple_sets_before_commit (line 113) | def test_multiple_sets_before_commit(self) -> None: class TestDeleteWithSuperstepCaching (line 126) | class TestDeleteWithSuperstepCaching: method test_delete_pending_only_key (line 129) | def test_delete_pending_only_key(self) -> None: method test_delete_committed_key_marks_for_deletion (line 143) | def test_delete_committed_key_marks_for_deletion(self) -> None: method test_delete_committed_key_removed_on_commit (line 160) | def test_delete_committed_key_removed_on_commit(self) -> None: method test_delete_key_in_both_pending_and_committed (line 172) | def test_delete_key_in_both_pending_and_committed(self) -> None: method test_discard_after_delete_restores_committed_value (line 195) | def test_discard_after_delete_restores_committed_value(self) -> None: class TestFailureScenarios (line 210) | class TestFailureScenarios: method test_failure_before_commit_preserves_committed_state (line 213) | def test_failure_before_commit_preserves_committed_state(self) -> None: method test_no_partial_commits (line 233) | def test_no_partial_commits(self) -> None: method test_repeated_supersteps_are_isolated (line 248) | def test_repeated_supersteps_are_isolated(self) -> None: class TestExportImport (line 270) | class TestExportImport: method test_export_returns_committed_only (line 273) | def test_export_returns_committed_only(self) -> None: method test_import_merges_into_committed (line 285) | def test_import_merges_into_committed(self) -> None: method test_import_does_not_affect_pending (line 295) | def test_import_does_not_affect_pending(self) -> None: FILE: python/packages/core/tests/workflow/test_sub_workflow.py class EmailValidationRequest (line 26) | class EmailValidationRequest: class DomainCheckRequest (line 33) | class DomainCheckRequest: class ValidationResult (line 42) | class ValidationResult: class Coordinator (line 50) | class Coordinator(Executor): method __init__ (line 53) | def __init__(self, cache: dict[str, bool] | None = None) -> None: method start (line 60) | async def start(self, email: str, ctx: WorkflowContext[EmailValidation... method handle_domain_request (line 65) | async def handle_domain_request( method handle_domain_response (line 85) | async def handle_domain_response( method collect (line 99) | async def collect(self, result: ValidationResult, ctx: WorkflowContext... class EmailFormatValidator (line 103) | class EmailFormatValidator(Executor): method __init__ (line 106) | def __init__(self): method validate (line 110) | async def validate( class EmailDomainValidator (line 125) | class EmailDomainValidator(Executor): method __init__ (line 128) | def __init__(self): method validate_request (line 132) | async def validate_request( method handle_domain_response (line 147) | async def handle_domain_response( function create_email_validation_workflow (line 164) | def create_email_validation_workflow() -> Workflow: function test_basic_sub_workflow (line 176) | async def test_basic_sub_workflow() -> None: function test_sub_workflow_with_interception (line 214) | async def test_sub_workflow_with_interception(): function test_workflow_scoped_interception (line 265) | async def test_workflow_scoped_interception() -> None: function test_concurrent_sub_workflow_execution (line 361) | async def test_concurrent_sub_workflow_execution() -> None: class CheckpointRequest (line 472) | class CheckpointRequest: class TwoStepSubWorkflowExecutor (line 479) | class TwoStepSubWorkflowExecutor(Executor): method __init__ (line 482) | def __init__(self) -> None: method handle_start (line 487) | async def handle_start(self, msg: str, ctx: WorkflowContext) -> None: method handle_response (line 494) | async def handle_response( method on_checkpoint_save (line 511) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 514) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: class CheckpointTestCoordinator (line 518) | class CheckpointTestCoordinator(Executor): method __init__ (line 521) | def __init__(self) -> None: method start (line 526) | async def start(self, value: str, ctx: WorkflowContext[str]) -> None: method handle_sub_workflow_request (line 530) | async def handle_sub_workflow_request( method handle_response (line 541) | async def handle_response( method on_checkpoint_save (line 552) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 555) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: function _build_checkpoint_test_workflow (line 559) | def _build_checkpoint_test_workflow(storage: InMemoryCheckpointStorage) ... function test_sub_workflow_checkpoint_restore_no_duplicate_requests (line 574) | async def test_sub_workflow_checkpoint_restore_no_duplicate_requests() -... FILE: python/packages/core/tests/workflow/test_typing_utils.py function test_normalize_type_to_list_single_type (line 22) | def test_normalize_type_to_list_single_type() -> None: function test_normalize_type_to_list_none (line 32) | def test_normalize_type_to_list_none() -> None: function test_normalize_type_to_list_union_pipe_syntax (line 37) | def test_normalize_type_to_list_union_pipe_syntax() -> None: function test_normalize_type_to_list_union_typing_syntax (line 46) | def test_normalize_type_to_list_union_typing_syntax() -> None: function test_normalize_type_to_list_optional (line 55) | def test_normalize_type_to_list_optional() -> None: function test_normalize_type_to_list_custom_types (line 70) | def test_normalize_type_to_list_custom_types() -> None: function test_resolve_type_annotation_none (line 90) | def test_resolve_type_annotation_none() -> None: function test_resolve_type_annotation_actual_types (line 95) | def test_resolve_type_annotation_actual_types() -> None: function test_resolve_type_annotation_string_builtin (line 102) | def test_resolve_type_annotation_string_builtin() -> None: function test_resolve_type_annotation_string_union (line 111) | def test_resolve_type_annotation_string_union() -> None: function test_resolve_type_annotation_string_custom_type (line 117) | def test_resolve_type_annotation_string_custom_type() -> None: function test_resolve_type_annotation_string_typing_union (line 131) | def test_resolve_type_annotation_string_typing_union() -> None: function test_resolve_type_annotation_string_optional (line 137) | def test_resolve_type_annotation_string_optional() -> None: function test_resolve_type_annotation_unresolvable_raises (line 144) | def test_resolve_type_annotation_unresolvable_raises() -> None: function test_basic_types (line 153) | def test_basic_types() -> None: function test_union_types (line 160) | def test_union_types() -> None: function test_list_types (line 168) | def test_list_types() -> None: function test_tuple_types (line 180) | def test_tuple_types() -> None: function test_dict_types (line 190) | def test_dict_types() -> None: function test_set_types (line 199) | def test_set_types() -> None: function test_any_type (line 212) | def test_any_type() -> None: function test_nested_types (line 219) | def test_nested_types() -> None: function test_custom_type (line 225) | def test_custom_type() -> None: function test_custom_generic_type (line 237) | def test_custom_generic_type() -> None: function test_edge_cases (line 256) | def test_edge_cases() -> None: function test_serialize_type (line 265) | def test_serialize_type() -> None: function test_deserialize_type (line 287) | def test_deserialize_type() -> None: function test_serialize_deserialize_roundtrip (line 300) | def test_serialize_deserialize_roundtrip() -> None: function test_deserialize_type_error_handling (line 327) | def test_deserialize_type_error_handling() -> None: function test_type_compatibility_basic (line 340) | def test_type_compatibility_basic() -> None: function test_type_compatibility_unions (line 364) | def test_type_compatibility_unions() -> None: function test_type_compatibility_collections (line 376) | def test_type_compatibility_collections() -> None: function test_type_compatibility_tuples (line 397) | def test_type_compatibility_tuples() -> None: function test_type_compatibility_complex (line 409) | def test_type_compatibility_complex() -> None: function test_coerce_already_correct_type (line 429) | def test_coerce_already_correct_type() -> None: function test_coerce_int_to_float (line 436) | def test_coerce_int_to_float() -> None: function test_coerce_dict_to_dataclass (line 443) | def test_coerce_dict_to_dataclass() -> None: function test_coerce_dict_to_dataclass_bad_keys_returns_original (line 457) | def test_coerce_dict_to_dataclass_bad_keys_returns_original() -> None: function test_coerce_non_concrete_target_returns_original (line 470) | def test_coerce_non_concrete_target_returns_original() -> None: function test_coerce_unrelated_types_returns_original (line 479) | def test_coerce_unrelated_types_returns_original() -> None: function test_coerce_any_returns_original (line 486) | def test_coerce_any_returns_original() -> None: FILE: python/packages/core/tests/workflow/test_validation.py class StringExecutor (line 23) | class StringExecutor(Executor): method handle_string (line 25) | async def handle_string(self, message: str, ctx: WorkflowContext[str])... class StringAggregator (line 29) | class StringAggregator(Executor): method mock_handler (line 33) | async def mock_handler(self, messages: list[str], ctx: WorkflowContext... class IntExecutor (line 38) | class IntExecutor(Executor): method handle_int (line 40) | async def handle_int(self, message: int, ctx: WorkflowContext[int]) ->... class AnyExecutor (line 44) | class AnyExecutor(Executor): method handle_any (line 46) | async def handle_any(self, message: Any, ctx: WorkflowContext[Any]) ->... class NoOutputTypesExecutor (line 50) | class NoOutputTypesExecutor(Executor): method handle_message (line 52) | async def handle_message(self, message: str, ctx: WorkflowContext) -> ... class MultiTypeExecutor (line 56) | class MultiTypeExecutor(Executor): method handle_string (line 58) | async def handle_string(self, message: str, ctx: WorkflowContext[str])... method handle_int (line 62) | async def handle_int(self, message: int, ctx: WorkflowContext[str]) ->... function test_valid_workflow_passes_validation (line 66) | def test_valid_workflow_passes_validation(): function test_duplicate_executor_ids_fail_validation (line 80) | def test_duplicate_executor_ids_fail_validation(): function test_edge_duplication_validation_fails (line 90) | def test_edge_duplication_validation_fails(): function test_type_compatibility_validation_fails (line 101) | def test_type_compatibility_validation_fails(): function test_type_compatibility_with_any_type_passes (line 114) | def test_type_compatibility_with_any_type_passes(): function test_type_compatibility_with_no_output_types (line 124) | def test_type_compatibility_with_no_output_types(): function test_multi_type_executor_compatibility (line 134) | def test_multi_type_executor_compatibility(): function test_graph_connectivity_unreachable_executors (line 144) | def test_graph_connectivity_unreachable_executors(): function test_graph_connectivity_isolated_executors (line 157) | def test_graph_connectivity_isolated_executors(): function test_disconnected_start_executor_not_in_graph (line 177) | def test_disconnected_start_executor_not_in_graph(): function test_missing_start_executor (line 188) | def test_missing_start_executor(): function test_workflow_validation_error_base_class (line 193) | def test_workflow_validation_error_base_class(): function test_complex_workflow_validation (line 200) | def test_complex_workflow_validation(): function test_type_compatibility_inheritance (line 219) | def test_type_compatibility_inheritance(): function test_direct_validation_function (line 239) | def test_direct_validation_function(): function test_fan_out_validation (line 254) | def test_fan_out_validation(): function test_fan_in_validation (line 264) | def test_fan_in_validation(): function test_chain_validation (line 282) | def test_chain_validation(): function test_logging_for_missing_output_types (line 292) | def test_logging_for_missing_output_types(caplog: Any) -> None: function test_logging_for_missing_input_types (line 307) | def test_logging_for_missing_input_types(caplog: Any) -> None: function test_self_loop_detection_warning (line 328) | def test_self_loop_detection_warning(caplog: Any) -> None: function test_handler_validation_basic (line 341) | def test_handler_validation_basic(caplog: Any) -> None: function test_dead_end_detection (line 354) | def test_dead_end_detection(caplog: Any) -> None: function test_successful_type_compatibility_logging (line 368) | def test_successful_type_compatibility_logging(caplog: Any) -> None: function test_multiple_dead_ends_detection (line 381) | def test_multiple_dead_ends_detection(caplog: Any) -> None: function test_single_executor_workflow (line 397) | def test_single_executor_workflow(caplog: Any) -> None: function test_enhanced_type_compatibility_error_details (line 412) | def test_enhanced_type_compatibility_error_details(): function test_union_type_compatibility_validation (line 427) | def test_union_type_compatibility_validation() -> None: function test_generic_type_compatibility (line 447) | def test_generic_type_compatibility() -> None: function test_validation_enum_usage (line 467) | def test_validation_enum_usage() -> None: function test_handler_ctx_missing_annotation_raises (line 483) | def test_handler_ctx_missing_annotation_raises() -> None: function test_handler_ctx_invalid_t_out_entries_raises (line 495) | def test_handler_ctx_invalid_t_out_entries_raises() -> None: function test_handler_ctx_none_is_allowed (line 507) | def test_handler_ctx_none_is_allowed() -> None: function test_handler_ctx_any_is_allowed_but_skips_type_checks (line 522) | def test_handler_ctx_any_is_allowed_but_skips_type_checks(caplog: Any) -... class OutputExecutor (line 541) | class OutputExecutor(Executor): method handle_string (line 543) | async def handle_string(self, message: str, ctx: WorkflowContext[str, ... function test_output_validation_with_valid_output_executors (line 547) | def test_output_validation_with_valid_output_executors(): function test_output_validation_with_multiple_valid_output_executors (line 561) | def test_output_validation_with_multiple_valid_output_executors(): function test_output_validation_fails_for_nonexistent_executor (line 578) | def test_output_validation_fails_for_nonexistent_executor(): function test_output_validation_fails_for_executor_without_output_types (line 594) | def test_output_validation_fails_for_executor_without_output_types(): function test_output_validation_empty_list_passes (line 611) | def test_output_validation_empty_list_passes(): function test_output_validation_with_direct_validate_workflow_graph (line 623) | def test_output_validation_with_direct_validate_workflow_graph(): function test_output_validation_with_no_output_types_via_direct_validation (line 641) | def test_output_validation_with_no_output_types_via_direct_validation(): function test_output_validation_partial_invalid_list (line 656) | def test_output_validation_partial_invalid_list(): function test_output_validation_type_enum_value (line 671) | def test_output_validation_type_enum_value(): FILE: python/packages/core/tests/workflow/test_viz.py class MockExecutor (line 13) | class MockExecutor(Executor): method mock_handler (line 17) | async def mock_handler(self, message: str, ctx: WorkflowContext) -> None: class ListStrTargetExecutor (line 22) | class ListStrTargetExecutor(Executor): method handle (line 26) | async def handle(self, message: list[str], ctx: WorkflowContext) -> None: function basic_sub_workflow (line 31) | def basic_sub_workflow() -> dict[str, Any]: function test_workflow_viz_to_digraph (line 64) | def test_workflow_viz_to_digraph(): function test_workflow_viz_export_dot (line 84) | def test_workflow_viz_export_dot(): function test_workflow_viz_export_dot_with_filename (line 104) | def test_workflow_viz_export_dot_with_filename(tmp_path: Path): function test_workflow_viz_complex_workflow (line 125) | def test_workflow_viz_complex_workflow(): function test_workflow_viz_export_svg (line 161) | def test_workflow_viz_export_svg(): function test_workflow_viz_unsupported_format (line 177) | def test_workflow_viz_unsupported_format(): function test_workflow_viz_graphviz_binary_not_found (line 190) | def test_workflow_viz_graphviz_binary_not_found(): function test_workflow_viz_conditional_edge (line 218) | def test_workflow_viz_conditional_edge(): function test_workflow_viz_fan_in_edge_group (line 239) | def test_workflow_viz_fan_in_edge_group(): function test_workflow_viz_to_mermaid_basic (line 274) | def test_workflow_viz_to_mermaid_basic(): function test_workflow_viz_mermaid_conditional_edge (line 289) | def test_workflow_viz_mermaid_conditional_edge(): function test_workflow_viz_mermaid_fan_in_edge_group (line 303) | def test_workflow_viz_mermaid_fan_in_edge_group(): function test_workflow_viz_sub_workflow_digraph (line 335) | def test_workflow_viz_sub_workflow_digraph(basic_sub_workflow: dict[str,... function test_workflow_viz_sub_workflow_mermaid (line 359) | def test_workflow_viz_sub_workflow_mermaid(basic_sub_workflow: dict[str,... function test_workflow_viz_nested_sub_workflows (line 380) | def test_workflow_viz_nested_sub_workflows(): FILE: python/packages/core/tests/workflow/test_workflow.py class NumberMessage (line 37) | class NumberMessage: class IncrementExecutor (line 43) | class IncrementExecutor(Executor): method __init__ (line 46) | def __init__(self, id: str, *, limit: int = 10, increment: int = 1) ->... method mock_handler (line 52) | async def mock_handler(self, message: NumberMessage, ctx: WorkflowCont... class AggregatorExecutor (line 59) | class AggregatorExecutor(Executor): method mock_handler (line 63) | async def mock_handler(self, messages: list[NumberMessage], ctx: Workf... class MockRequest (line 69) | class MockRequest: class ApprovalMessage (line 77) | class ApprovalMessage: class MockExecutorRequestApproval (line 83) | class MockExecutorRequestApproval(Executor): method mock_handler_a (line 87) | async def mock_handler_a(self, message: NumberMessage, ctx: WorkflowCo... method mock_handler_b (line 93) | async def mock_handler_b( function test_workflow_run_streaming (line 108) | async def test_workflow_run_streaming() -> None: function test_workflow_run_stream_not_completed (line 129) | async def test_workflow_run_stream_not_completed(): function test_workflow_run (line 146) | async def test_workflow_run(): function test_workflow_run_not_completed (line 164) | async def test_workflow_run_not_completed(): function test_fan_out (line 180) | async def test_fan_out(): function test_fan_out_multiple_completed_events (line 205) | async def test_fan_out_multiple_completed_events(): function test_fan_in (line 229) | async def test_fan_in(): function simple_executor (line 257) | def simple_executor() -> Executor: function test_workflow_with_checkpointing_enabled (line 266) | async def test_workflow_with_checkpointing_enabled(simple_executor: Exec... function test_workflow_checkpointing_not_enabled_for_external_restore (line 284) | async def test_workflow_checkpointing_not_enabled_for_external_restore( function test_workflow_run_stream_from_checkpoint_no_checkpointing_enabled (line 304) | async def test_workflow_run_stream_from_checkpoint_no_checkpointing_enab... function test_workflow_run_stream_from_checkpoint_invalid_checkpoint (line 324) | async def test_workflow_run_stream_from_checkpoint_invalid_checkpoint( function test_workflow_run_stream_from_checkpoint_with_external_storage (line 344) | async def test_workflow_run_stream_from_checkpoint_with_external_storage( function test_workflow_run_from_checkpoint_non_streaming (line 383) | async def test_workflow_run_from_checkpoint_non_streaming(simple_executo... function test_workflow_run_stream_from_checkpoint_with_responses (line 414) | async def test_workflow_run_stream_from_checkpoint_with_responses( class StateTrackingMessage (line 460) | class StateTrackingMessage: class StateTrackingExecutor (line 467) | class StateTrackingExecutor(Executor): method handle_message (line 471) | async def handle_message( function test_workflow_multiple_runs_no_state_collision (line 491) | async def test_workflow_multiple_runs_no_state_collision(): function test_workflow_checkpoint_runtime_only_configuration (line 531) | async def test_workflow_checkpoint_runtime_only_configuration( function test_workflow_checkpoint_runtime_overrides_buildtime (line 574) | async def test_workflow_checkpoint_runtime_overrides_buildtime( function test_comprehensive_edge_groups_workflow (line 605) | async def test_comprehensive_edge_groups_workflow(): function test_workflow_with_simple_cycle_and_exit_condition (line 686) | async def test_workflow_with_simple_cycle_and_exit_condition(): function test_workflow_concurrent_execution_prevention (line 723) | async def test_workflow_concurrent_execution_prevention(): function test_workflow_concurrent_execution_prevention_streaming (line 755) | async def test_workflow_concurrent_execution_prevention_streaming(): function test_workflow_concurrent_execution_prevention_mixed_methods (line 791) | async def test_workflow_concurrent_execution_prevention_mixed_methods(): class _StreamingTestAgent (line 830) | class _StreamingTestAgent(BaseAgent): method __init__ (line 833) | def __init__(self, *, reply_text: str, **kwargs: Any) -> None: method run (line 838) | def run( method run (line 848) | def run( method run (line 857) | def run( function test_agent_streaming_vs_non_streaming (line 880) | async def test_agent_streaming_vs_non_streaming() -> None: function test_workflow_run_parameter_validation (line 935) | async def test_workflow_run_parameter_validation(simple_executor: Execut... function test_workflow_run_stream_parameter_validation (line 964) | async def test_workflow_run_stream_parameter_validation( class OutputProducerExecutor (line 985) | class OutputProducerExecutor(Executor): method __init__ (line 988) | def __init__(self, id: str, output_value: int) -> None: method handle_message (line 993) | async def handle_message(self, message: NumberMessage, ctx: WorkflowCo... class PassthroughExecutor (line 997) | class PassthroughExecutor(Executor): method __init__ (line 1000) | def __init__(self, id: str, output_value: int) -> None: method handle_message (line 1005) | async def handle_message(self, message: NumberMessage, ctx: WorkflowCo... function test_output_executors_empty_yields_all_outputs (line 1010) | async def test_output_executors_empty_yields_all_outputs() -> None: function test_output_executors_filters_outputs_non_streaming (line 1032) | async def test_output_executors_filters_outputs_non_streaming() -> None: function test_output_executors_filters_outputs_streaming (line 1057) | async def test_output_executors_filters_outputs_streaming() -> None: function test_output_executors_with_multiple_specified_executors (line 1082) | async def test_output_executors_with_multiple_specified_executors() -> N... function test_output_executors_with_nonexistent_executor_id (line 1107) | async def test_output_executors_with_nonexistent_executor_id() -> None: function test_output_executors_filtering_with_fan_in (line 1123) | async def test_output_executors_filtering_with_fan_in() -> None: function test_output_executors_filtering_with_run_responses (line 1169) | async def test_output_executors_filtering_with_run_responses() -> None: function test_output_executors_filtering_with_run_responses_streaming (line 1192) | async def test_output_executors_filtering_with_run_responses_streaming()... FILE: python/packages/core/tests/workflow/test_workflow_agent.py class SimpleExecutor (line 31) | class SimpleExecutor(Executor): method __init__ (line 34) | def __init__(self, id: str, response_text: str, streaming: bool = False): method handle_message (line 40) | async def handle_message( class RequestingExecutor (line 65) | class RequestingExecutor(Executor): method __init__ (line 68) | def __init__(self, id: str, streaming: bool = False): method handle_message (line 73) | async def handle_message(self, _: list[Message], ctx: WorkflowContext)... method handle_request_response (line 78) | async def handle_request_response( class ConversationHistoryCapturingExecutor (line 108) | class ConversationHistoryCapturingExecutor(Executor): method __init__ (line 111) | def __init__(self, id: str, streaming: bool = False): method handle_message (line 117) | async def handle_message( class TestWorkflowAgent (line 144) | class TestWorkflowAgent: method test_end_to_end_basic_workflow (line 147) | async def test_end_to_end_basic_workflow(self): method test_end_to_end_basic_workflow_streaming (line 190) | async def test_end_to_end_basic_workflow_streaming(self): method test_end_to_end_request_info_handling (line 220) | async def test_end_to_end_request_info_handling(self): method test_workflow_as_agent_method (line 295) | def test_workflow_as_agent_method(self) -> None: method test_workflow_as_agent_cannot_handle_agent_inputs (line 315) | def test_workflow_as_agent_cannot_handle_agent_inputs(self) -> None: method test_workflow_as_agent_yield_output_surfaces_as_agent_response (line 331) | async def test_workflow_as_agent_yield_output_surfaces_as_agent_respon... method test_workflow_as_agent_yield_output_surfaces_in_run_stream (line 360) | async def test_workflow_as_agent_yield_output_surfaces_in_run_stream(s... method test_workflow_as_agent_yield_output_with_content_types (line 380) | async def test_workflow_as_agent_yield_output_with_content_types(self)... method test_workflow_as_agent_yield_output_with_chat_message (line 408) | async def test_workflow_as_agent_yield_output_with_chat_message(self) ... method test_workflow_as_agent_yield_output_sets_raw_representation (line 430) | async def test_workflow_as_agent_yield_output_sets_raw_representation(... method test_workflow_as_agent_yield_output_with_list_of_chat_messages (line 471) | async def test_workflow_as_agent_yield_output_with_list_of_chat_messag... method test_session_conversation_history_included_in_workflow_run (line 514) | async def test_session_conversation_history_included_in_workflow_run(s... method test_session_conversation_history_included_in_workflow_stream (line 532) | async def test_session_conversation_history_included_in_workflow_strea... method test_empty_session_works_correctly (line 550) | async def test_empty_session_works_correctly(self) -> None: method test_workflow_as_agent_adds_default_history_provider (line 566) | async def test_workflow_as_agent_adds_default_history_provider(self) -... method test_multi_turn_session_stores_responses (line 581) | async def test_multi_turn_session_stores_responses(self) -> None: method test_multi_turn_session_stores_responses_streaming (line 612) | async def test_multi_turn_session_stores_responses_streaming(self) -> ... method test_multi_turn_session_roundtrip_serialization (line 639) | async def test_multi_turn_session_roundtrip_serialization(self) -> None: method test_workflow_agent_keeps_explicit_context_providers (line 667) | async def test_workflow_agent_keeps_explicit_context_providers(self) -... method test_checkpoint_storage_passed_to_workflow (line 681) | async def test_checkpoint_storage_passed_to_workflow(self) -> None: method test_agent_executor_output_response_false_filters_streaming_events (line 701) | async def test_agent_executor_output_response_false_filters_streaming_... method test_agent_executor_output_response_no_duplicate_from_workflow_output_event (line 811) | async def test_agent_executor_output_response_no_duplicate_from_workfl... class TestWorkflowAgentAuthorName (line 909) | class TestWorkflowAgentAuthorName: method test_agent_response_update_gets_executor_id_as_author_name (line 912) | async def test_agent_response_update_gets_executor_id_as_author_name(s... method test_agent_response_update_preserves_existing_author_name (line 934) | async def test_agent_response_update_preserves_existing_author_name(se... method test_multiple_executors_have_distinct_author_names (line 968) | async def test_multiple_executors_have_distinct_author_names(self): class TestWorkflowAgentMergeUpdates (line 991) | class TestWorkflowAgentMergeUpdates: method test_merge_updates_ordering_by_response_and_message_id (line 994) | def test_merge_updates_ordering_by_response_and_message_id(self): method test_merge_updates_metadata_aggregation (line 1096) | def test_merge_updates_metadata_aggregation(self): method test_merge_updates_function_result_ordering_github_2977 (line 1169) | def test_merge_updates_function_result_ordering_github_2977(self): method test_merge_updates_multiple_function_results_ordering_github_2977 (line 1280) | def test_merge_updates_multiple_function_results_ordering_github_2977(... method test_merge_updates_function_result_no_matching_call (line 1383) | def test_merge_updates_function_result_no_matching_call(self): FILE: python/packages/core/tests/workflow/test_workflow_builder.py class DummyAgent (line 28) | class DummyAgent(BaseAgent): method run (line 30) | def run( method run (line 40) | def run( method run (line 49) | def run( method _run_impl (line 61) | async def _run_impl(self, messages: AgentRunInputs | None = None) -> A... method _run_stream_impl (line 71) | async def _run_stream_impl(self) -> AsyncIterator[AgentResponseUpdate]: function test_builder_accepts_agents_directly (line 76) | def test_builder_accepts_agents_directly(): class MockMessage (line 88) | class MockMessage: class MockExecutor (line 94) | class MockExecutor(Executor): method mock_handler (line 98) | async def mock_handler(self, message: MockMessage, ctx: WorkflowContex... class MockAggregator (line 103) | class MockAggregator(Executor): method mock_handler (line 107) | async def mock_handler(self, messages: list[MockMessage], ctx: Workflo... function test_workflow_builder_without_start_executor_throws (line 112) | def test_workflow_builder_without_start_executor_throws(): function test_workflow_builder_fluent_api (line 118) | def test_workflow_builder_fluent_api(): function test_add_agent_reuses_same_wrapper (line 141) | def test_add_agent_reuses_same_wrapper(): function test_add_agent_duplicate_id_raises_error (line 159) | def test_add_agent_duplicate_id_raises_error(): function test_fan_out_edges_with_direct_instances (line 169) | def test_fan_out_edges_with_direct_instances(): function test_fan_in_edges_with_direct_instances (line 182) | def test_fan_in_edges_with_direct_instances(): function test_chain_with_direct_instances (line 200) | def test_chain_with_direct_instances(): function test_add_edge_with_condition (line 214) | def test_add_edge_with_condition(): function test_switch_case_with_agents (line 228) | def test_switch_case_with_agents(): function test_with_output_from_returns_builder (line 254) | def test_with_output_from_returns_builder(): function test_with_output_from_with_executor_instances (line 263) | def test_with_output_from_with_executor_instances(): function test_with_output_from_with_agent_instances (line 278) | def test_with_output_from_with_agent_instances(): function test_with_output_from_with_executor_instances_by_id (line 289) | def test_with_output_from_with_executor_instances_by_id(): function test_with_output_from_with_multiple_executors (line 303) | def test_with_output_from_with_multiple_executors(): function test_with_output_from_can_be_set_to_different_value (line 320) | def test_with_output_from_can_be_set_to_different_value(): function test_with_output_from_with_agent_instances_resolves_name (line 335) | def test_with_output_from_with_agent_instances_resolves_name(): function test_with_output_from_in_constructor (line 349) | def test_with_output_from_in_constructor(): function test_with_output_from_with_invalid_executor_raises_validation_error (line 367) | def test_with_output_from_with_invalid_executor_raises_validation_error(): FILE: python/packages/core/tests/workflow/test_workflow_context.py class MockExecutor (line 26) | class MockExecutor(Executor): method __init__ (line 29) | def __init__(self, id: str) -> None: method handle_message (line 33) | async def handle_message(self, message: str, ctx: WorkflowContext[str]... function make_context (line 39) | async def make_context( function test_executor_cannot_emit_framework_lifecycle_event (line 60) | async def test_executor_cannot_emit_framework_lifecycle_event(caplog: "L... function test_executor_emits_normal_event (line 75) | async def test_executor_emits_normal_event() -> None: class _TestEvent (line 85) | class _TestEvent(WorkflowEvent): method __init__ (line 86) | def __init__(self, data: Any = None) -> None: function test_workflow_context_type_annotations_no_parameter (line 90) | async def test_workflow_context_type_annotations_no_parameter() -> None: function test_workflow_context_type_annotations_message_type_parameter (line 119) | async def test_workflow_context_type_annotations_message_type_parameter(... function test_workflow_context_type_annotations_message_and_output_type_parameters (line 163) | async def test_workflow_context_type_annotations_message_and_output_type... function test_workflow_context_type_annotations_any (line 209) | async def test_workflow_context_type_annotations_any() -> None: function test_workflow_context_missing_annotation_error (line 233) | async def test_workflow_context_missing_annotation_error() -> None: function test_workflow_context_invalid_type_parameter_error (line 253) | async def test_workflow_context_invalid_type_parameter_error() -> None: FILE: python/packages/core/tests/workflow/test_workflow_kwargs.py function tool_with_kwargs (line 34) | def tool_with_kwargs( class _KwargsCapturingAgent (line 45) | class _KwargsCapturingAgent(BaseAgent): method __init__ (line 50) | def __init__(self, name: str = "test_agent") -> None: method run (line 55) | def run( method run (line 64) | def run( method run (line 73) | def run( class _OptionsAwareAgent (line 95) | class _OptionsAwareAgent(BaseAgent): method __init__ (line 101) | def __init__(self, name: str = "options_agent") -> None: method run (line 107) | def run( method run (line 116) | def run( method run (line 125) | def run( function test_sequential_kwargs_flow_to_agent (line 152) | async def test_sequential_kwargs_flow_to_agent() -> None: function test_sequential_kwargs_flow_to_multiple_agents (line 178) | async def test_sequential_kwargs_flow_to_multiple_agents() -> None: function test_sequential_run_kwargs_flow (line 197) | async def test_sequential_run_kwargs_flow() -> None: function test_sequential_run_options_does_not_conflict_with_agent_options (line 208) | async def test_sequential_run_options_does_not_conflict_with_agent_optio... function test_sequential_run_additional_function_arguments_flattened (line 250) | async def test_sequential_run_additional_function_arguments_flattened() ... function test_sequential_run_additional_function_arguments_merges_with_options (line 281) | async def test_sequential_run_additional_function_arguments_merges_with_... function test_concurrent_kwargs_flow_to_agents (line 314) | async def test_concurrent_kwargs_flow_to_agents() -> None: function test_groupchat_kwargs_flow_to_agents (line 348) | async def test_groupchat_kwargs_flow_to_agents() -> None: function test_kwargs_stored_in_state (line 391) | async def test_kwargs_stored_in_state() -> None: function test_empty_kwargs_stored_as_empty_dict (line 416) | async def test_empty_kwargs_stored_as_empty_dict() -> None: function test_kwargs_with_none_values (line 447) | async def test_kwargs_with_none_values() -> None: function test_kwargs_with_complex_nested_data (line 463) | async def test_kwargs_with_complex_nested_data() -> None: function test_kwargs_preserved_on_response_continuation (line 488) | async def test_kwargs_preserved_on_response_continuation() -> None: function test_kwargs_overridden_on_response_continuation (line 570) | async def test_kwargs_overridden_on_response_continuation() -> None: function test_kwargs_empty_value_passed_on_continuation (line 645) | async def test_kwargs_empty_value_passed_on_continuation() -> None: function test_kwargs_reset_context_stores_empty_dict (line 730) | async def test_kwargs_reset_context_stores_empty_dict() -> None: function test_kwargs_preserved_across_workflow_reruns (line 752) | async def test_kwargs_preserved_across_workflow_reruns() -> None: function test_handoff_kwargs_flow_to_agents (line 782) | async def test_handoff_kwargs_flow_to_agents() -> None: function test_magentic_kwargs_flow_to_agents (line 812) | async def test_magentic_kwargs_flow_to_agents() -> None: function test_magentic_kwargs_stored_in_state (line 864) | async def test_magentic_kwargs_stored_in_state() -> None: function test_workflow_as_agent_run_propagates_kwargs_to_underlying_agent (line 920) | async def test_workflow_as_agent_run_propagates_kwargs_to_underlying_age... function test_workflow_as_agent_run_stream_propagates_kwargs_to_underlying_agent (line 944) | async def test_workflow_as_agent_run_stream_propagates_kwargs_to_underly... function test_workflow_as_agent_propagates_kwargs_to_multiple_agents (line 970) | async def test_workflow_as_agent_propagates_kwargs_to_multiple_agents() ... function test_workflow_as_agent_kwargs_with_none_values (line 988) | async def test_workflow_as_agent_kwargs_with_none_values() -> None: function test_workflow_as_agent_kwargs_with_complex_nested_data (line 1003) | async def test_workflow_as_agent_kwargs_with_complex_nested_data() -> None: function test_subworkflow_kwargs_propagation (line 1032) | async def test_subworkflow_kwargs_propagation() -> None: function test_subworkflow_kwargs_accessible_via_state (line 1086) | async def test_subworkflow_kwargs_accessible_via_state() -> None: function test_nested_subworkflow_kwargs_propagation (line 1139) | async def test_nested_subworkflow_kwargs_propagation() -> None: FILE: python/packages/core/tests/workflow/test_workflow_observability.py class MockExecutor (line 22) | class MockExecutor(Executor): method __init__ (line 25) | def __init__(self, id: str = "mock_executor") -> None: method handle_message (line 31) | async def handle_message(self, message: str, ctx: WorkflowContext[str]... method processed_messages (line 37) | def processed_messages(self) -> list[str]: class SecondExecutor (line 42) | class SecondExecutor(Executor): method __init__ (line 45) | def __init__(self, id: str = "second_executor") -> None: method handle_message (line 51) | async def handle_message(self, message: str, ctx: WorkflowContext) -> ... method processed_messages (line 56) | def processed_messages(self) -> list[str]: class ProcessingExecutor (line 61) | class ProcessingExecutor(Executor): method __init__ (line 64) | def __init__(self, id: str, prefix: str = "processed") -> None: method handle_message (line 71) | async def handle_message(self, message: str, ctx: WorkflowContext[str]... method processed_messages (line 77) | def processed_messages(self) -> list[str]: class FanInAggregator (line 81) | class FanInAggregator(Executor): method __init__ (line 84) | def __init__(self, id: str = "aggregator") -> None: method handle_aggregated_data (line 90) | async def handle_aggregated_data(self, messages: list[str], ctx: Workf... method processed_messages (line 96) | def processed_messages(self) -> list[Any]: function test_span_creation_and_attributes (line 101) | async def test_span_creation_and_attributes(span_exporter: InMemorySpanE... function test_trace_context_handling (line 171) | async def test_trace_context_handling(span_exporter: InMemorySpanExporte... function test_trace_context_disabled_when_tracing_disabled (line 233) | async def test_trace_context_disabled_when_tracing_disabled( function test_end_to_end_workflow_tracing (line 261) | async def test_end_to_end_workflow_tracing(span_exporter: InMemorySpanEx... function test_workflow_error_handling_in_tracing (line 402) | async def test_workflow_error_handling_in_tracing(span_exporter: InMemor... function test_message_trace_context_serialization (line 438) | async def test_message_trace_context_serialization(span_exporter: InMemo... function test_workflow_build_error_tracing (line 474) | async def test_workflow_build_error_tracing(span_exporter: InMemorySpanE... FILE: python/packages/core/tests/workflow/test_workflow_states.py class FailingExecutor (line 23) | class FailingExecutor(Executor): method fail (line 27) | async def fail(self, msg: int, ctx: WorkflowContext) -> None: # pragm... function test_executor_failed_and_workflow_failed_events_streaming (line 31) | async def test_executor_failed_and_workflow_failed_events_streaming(): function test_executor_failed_event_emitted_on_direct_execute (line 64) | async def test_executor_failed_event_emitted_on_direct_execute(): class PassthroughExecutor (line 81) | class PassthroughExecutor(Executor): method passthrough (line 85) | async def passthrough(self, msg: int, ctx: WorkflowContext[int]) -> None: function test_executor_failed_event_from_second_executor_in_chain (line 89) | async def test_executor_failed_event_from_second_executor_in_chain(): class SimpleExecutor (line 121) | class SimpleExecutor(Executor): method run (line 125) | async def run(self, msg: str, ctx: WorkflowContext[str]) -> None: # p... class Requester (line 129) | class Requester(Executor): method ask (line 133) | async def ask(self, _: str, ctx: WorkflowContext) -> None: # pragma: ... function test_idle_with_pending_requests_status_streaming (line 137) | async def test_idle_with_pending_requests_status_streaming(): class Completer (line 152) | class Completer(Executor): method run (line 156) | async def run(self, msg: str, ctx: WorkflowContext[Never, str]) -> Non... function test_completed_status_streaming (line 160) | async def test_completed_status_streaming(): function test_started_and_completed_event_origins (line 170) | async def test_started_and_completed_event_origins(): function test_non_streaming_final_state_helpers (line 187) | async def test_non_streaming_final_state_helpers(): function test_run_includes_status_events_completed (line 202) | async def test_run_includes_status_events_completed(): function test_run_includes_status_events_idle_with_requests (line 211) | async def test_run_includes_status_events_idle_with_requests(): FILE: python/packages/declarative/agent_framework_declarative/_loader.py class ProviderTypeMapping (line 46) | class ProviderTypeMapping(TypedDict, total=True): class DeclarativeLoaderError (line 106) | class DeclarativeLoaderError(AgentException): class ProviderLookupError (line 112) | class ProviderLookupError(DeclarativeLoaderError): class AgentFactory (line 118) | class AgentFactory: method __init__ (line 166) | def __init__( method create_agent_from_yaml_path (line 264) | def create_agent_from_yaml_path(self, yaml_path: str | Path) -> Agent: method create_agent_from_yaml (line 318) | def create_agent_from_yaml(self, yaml_str: str) -> Agent: method create_agent_from_dict (line 391) | def create_agent_from_dict(self, agent_def: dict[str, Any]) -> Agent: method create_agent_from_yaml_path_async (line 457) | async def create_agent_from_yaml_path_async(self, yaml_path: str | Pat... method create_agent_from_yaml_async (line 487) | async def create_agent_from_yaml_async(self, yaml_str: str) -> Agent: method create_agent_from_dict_async (line 518) | async def create_agent_from_dict_async(self, agent_def: dict[str, Any]... method _create_agent_with_provider (line 574) | async def _create_agent_with_provider(self, prompt_agent: PromptAgent,... method _get_client (line 629) | def _get_client(self, prompt_agent: PromptAgent) -> SupportsChatGetRes... method _parse_chat_options (line 684) | def _parse_chat_options(self, model: Model | None) -> dict[str, Any]: method _parse_tools (line 712) | def _parse_tools(self, tools: list[Tool] | None) -> list[AFFunctionToo... method _parse_tool (line 718) | def _parse_tool(self, tool_resource: Tool) -> AFFunctionTool | dict[st... method _retrieve_provider_configuration (line 812) | def _retrieve_provider_configuration(self, model: Model) -> ProviderTy... FILE: python/packages/declarative/agent_framework_declarative/_models.py function _get_engine (line 19) | def _get_engine() -> Engine | None: function _try_powerfx_eval (line 44) | def _try_powerfx_eval(value: None, log_value: bool = True) -> None: ... function _try_powerfx_eval (line 48) | def _try_powerfx_eval(value: str, log_value: bool = True) -> str: ... function _try_powerfx_eval (line 51) | def _try_powerfx_eval(value: str | None, log_value: bool = True) -> str ... class Binding (line 83) | class Binding(SerializationMixin): method __init__ (line 86) | def __init__( class Property (line 95) | class Property(SerializationMixin): method __init__ (line 98) | def __init__( method from_dict (line 117) | def from_dict( class ArrayProperty (line 141) | class ArrayProperty(Property): method __init__ (line 144) | def __init__( class ObjectProperty (line 169) | class ObjectProperty(Property): method __init__ (line 172) | def __init__( class PropertySchema (line 206) | class PropertySchema(SerializationMixin): method __init__ (line 209) | def __init__( method from_dict (line 231) | def from_dict( method to_json_schema (line 240) | def to_json_schema(self) -> dict[str, Any]: class Connection (line 265) | class Connection(SerializationMixin): method __init__ (line 268) | def __init__( method from_dict (line 279) | def from_dict( class ReferenceConnection (line 312) | class ReferenceConnection(Connection): method __init__ (line 315) | def __init__( class RemoteConnection (line 332) | class RemoteConnection(Connection): method __init__ (line 335) | def __init__( class ApiKeyConnection (line 352) | class ApiKeyConnection(Connection): method __init__ (line 355) | def __init__( class AnonymousConnection (line 374) | class AnonymousConnection(Connection): method __init__ (line 377) | def __init__( class ModelOptions (line 400) | class ModelOptions(SerializationMixin): method __init__ (line 403) | def __init__( class Model (line 431) | class Model(SerializationMixin): method __init__ (line 434) | def __init__( class Format (line 453) | class Format(SerializationMixin): method __init__ (line 456) | def __init__( class Parser (line 467) | class Parser(SerializationMixin): method __init__ (line 470) | def __init__( class Template (line 479) | class Template(SerializationMixin): method __init__ (line 482) | def __init__( class AgentDefinition (line 495) | class AgentDefinition(SerializationMixin): method __init__ (line 498) | def __init__( method from_dict (line 521) | def from_dict( class Tool (line 540) | class Tool(SerializationMixin): method __init__ (line 543) | def __init__( method from_dict (line 567) | def from_dict( class FunctionTool (line 609) | class FunctionTool(Tool): method __init__ (line 612) | def __init__( class CustomTool (line 636) | class CustomTool(Tool): method __init__ (line 639) | def __init__( class WebSearchTool (line 660) | class WebSearchTool(Tool): method __init__ (line 663) | def __init__( class FileSearchTool (line 684) | class FileSearchTool(Tool): method __init__ (line 687) | def __init__( class McpServerApprovalMode (line 716) | class McpServerApprovalMode(SerializationMixin): method __init__ (line 719) | def __init__( class McpServerToolAlwaysRequireApprovalMode (line 726) | class McpServerToolAlwaysRequireApprovalMode(McpServerApprovalMode): method __init__ (line 729) | def __init__( class McpServerToolNeverRequireApprovalMode (line 736) | class McpServerToolNeverRequireApprovalMode(McpServerApprovalMode): method __init__ (line 739) | def __init__( class McpServerToolSpecifyApprovalMode (line 746) | class McpServerToolSpecifyApprovalMode(McpServerApprovalMode): method __init__ (line 749) | def __init__( class McpTool (line 760) | class McpTool(Tool): method __init__ (line 763) | def __init__( class OpenApiTool (line 798) | class OpenApiTool(Tool): method __init__ (line 801) | def __init__( class CodeInterpreterTool (line 822) | class CodeInterpreterTool(Tool): method __init__ (line 825) | def __init__( class PromptAgent (line 842) | class PromptAgent(AgentDefinition): method __init__ (line 845) | def __init__( class Resource (line 885) | class Resource(SerializationMixin): method __init__ (line 888) | def __init__( method from_dict (line 897) | def from_dict( class ModelResource (line 918) | class ModelResource(Resource): method __init__ (line 921) | def __init__( class ToolResource (line 931) | class ToolResource(Resource): method __init__ (line 934) | def __init__( class ProtocolVersionRecord (line 946) | class ProtocolVersionRecord(SerializationMixin): method __init__ (line 949) | def __init__( class EnvironmentVariable (line 958) | class EnvironmentVariable(SerializationMixin): method __init__ (line 961) | def __init__( class AgentManifest (line 970) | class AgentManifest(SerializationMixin): method __init__ (line 973) | def __init__( function agent_schema_dispatch (line 1046) | def agent_schema_dispatch(schema: dict[str, Any]) -> AgentSchemaSpec | N... FILE: python/packages/declarative/agent_framework_declarative/_workflows/_declarative_base.py class ConversationData (line 59) | class ConversationData(TypedDict): class DeclarativeStateData (line 73) | class DeclarativeStateData(TypedDict, total=False): function _make_powerfx_safe (line 111) | def _make_powerfx_safe(value: Any) -> Any: class DeclarativeWorkflowState (line 142) | class DeclarativeWorkflowState: method __init__ (line 157) | def __init__(self, state: State): method initialize (line 165) | def initialize(self, inputs: Mapping[str, Any] | None = None) -> None: method get_state_data (line 191) | def get_state_data(self) -> DeclarativeStateData: method set_state_data (line 200) | def set_state_data(self, data: DeclarativeStateData) -> None: method get (line 204) | def get(self, path: str, default: Any = None) -> Any: method set (line 260) | def set(self, path: str, value: Any) -> None: method append (line 318) | def append(self, path: str, value: Any) -> None: method eval (line 340) | def eval(self, expression: str) -> Any: method _eval_custom_function (line 428) | def _eval_custom_function(self, formula: str) -> Any | None: method _preprocess_custom_functions (line 485) | def _preprocess_custom_functions(self, formula: str) -> str: method _eval_and_replace_message_text (line 587) | def _eval_and_replace_message_text(self, inner_expr: str) -> str: method _parse_function_args (line 629) | def _parse_function_args(self, args_str: str) -> list[str]: method _to_powerfx_symbols (line 663) | def _to_powerfx_symbols(self) -> dict[str, Any]: method eval_if_expression (line 702) | def eval_if_expression(self, value: Any) -> Any: method interpolate_string (line 714) | def interpolate_string(self, text: str) -> str: class ActionTrigger (line 750) | class ActionTrigger: method __init__ (line 757) | def __init__(self, data: Any = None): class ActionComplete (line 766) | class ActionComplete: method __init__ (line 772) | def __init__(self, result: Any = None): class ConditionResult (line 782) | class ConditionResult: class LoopIterationResult (line 795) | class LoopIterationResult: class LoopControl (line 808) | class LoopControl: class DeclarativeActionExecutor (line 822) | class DeclarativeActionExecutor(Executor): method __init__ (line 830) | def __init__( method action_def (line 853) | def action_def(self) -> dict[str, Any]: method display_name (line 858) | def display_name(self) -> str | None: method _get_state (line 862) | def _get_state(self, state: State) -> DeclarativeWorkflowState: method _ensure_state_initialized (line 866) | async def _ensure_state_initialized( FILE: python/packages/declarative/agent_framework_declarative/_workflows/_declarative_builder.py class DeclarativeWorkflowBuilder (line 102) | class DeclarativeWorkflowBuilder: method __init__ (line 123) | def __init__( method build (line 161) | def build(self) -> Workflow: method _validate_workflow (line 207) | def _validate_workflow(self, actions: list[dict[str, Any]]) -> None: method _validate_actions_recursive (line 232) | def _validate_actions_recursive( method _has_alternate_field (line 296) | def _has_alternate_field(self, action_def: dict[str, Any], kind: str, ... method _validate_no_circular_gotos (line 312) | def _validate_no_circular_gotos( method _resolve_pending_gotos (line 333) | def _resolve_pending_gotos(self, builder: WorkflowBuilder) -> None: method _create_executors_for_actions (line 350) | def _create_executors_for_actions( method _create_executor_for_action (line 400) | def _create_executor_for_action( method _create_if_structure (line 467) | def _create_if_structure( method _create_switch_structure (line 576) | def _create_switch_structure( method _create_foreach_structure (line 717) | def _create_foreach_structure( method _create_goto_reference (line 804) | def _create_goto_reference( method _create_break_executor (line 836) | def _create_break_executor( method _create_continue_executor (line 864) | def _create_continue_executor( method _add_sequential_edge (line 892) | def _add_sequential_edge( method _get_source_exits (line 911) | def _get_source_exits(self, source: Any) -> list[Any]: method _wire_to_target (line 929) | def _wire_to_target( method _get_structure_entry (line 950) | def _get_structure_entry(self, entry: Any) -> Any: method _get_branch_exit (line 965) | def _get_branch_exit(self, branch_entry: Any) -> Any | None: method _collect_all_exits (line 999) | def _collect_all_exits(self, structure: Any) -> list[Any]: FILE: python/packages/declarative/agent_framework_declarative/_workflows/_executors_agents.py function _extract_json_from_response (line 40) | def _extract_json_from_response(text: str) -> Any: function _validate_conversation_history (line 174) | def _validate_conversation_history(messages: list[Message], agent_name: ... class AgentResult (line 248) | class AgentResult: class AgentExternalInputRequest (line 260) | class AgentExternalInputRequest: class AgentExternalInputResponse (line 305) | class AgentExternalInputResponse: class ExternalLoopState (line 336) | class ExternalLoopState: function _normalize_variable_path (line 354) | def _normalize_variable_path(variable: str) -> str: class InvokeAzureAgentExecutor (line 373) | class InvokeAzureAgentExecutor(DeclarativeActionExecutor): method __init__ (line 408) | def __init__( method _get_agent_name (line 425) | def _get_agent_name(self, state: Any) -> str | None: method _get_input_config (line 455) | def _get_input_config(self) -> tuple[dict[str, Any], Any, str | None, ... method _get_output_config (line 485) | def _get_output_config(self) -> tuple[str | None, str | None, str | No... method _get_conversation_id (line 511) | def _get_conversation_id(self) -> str | None: method _get_conversation_messages_path (line 519) | async def _get_conversation_messages_path( method _build_input_text (line 542) | async def _build_input_text(self, state: Any, arguments: dict[str, Any... method _get_agent (line 603) | def _get_agent(self, agent_name: str, ctx: WorkflowContext[Any, Any]) ... method _invoke_agent_and_store_results (line 607) | async def _invoke_agent_and_store_results( method handle_action (line 758) | async def handle_action( method handle_external_input_response (line 877) | async def handle_external_input_response( FILE: python/packages/declarative/agent_framework_declarative/_workflows/_executors_basic.py function _get_variable_path (line 24) | def _get_variable_path(action_def: dict[str, Any], key: str = "variable"... class SetValueExecutor (line 40) | class SetValueExecutor(DeclarativeActionExecutor): method handle_action (line 47) | async def handle_action( class SetVariableExecutor (line 66) | class SetVariableExecutor(DeclarativeActionExecutor): method handle_action (line 70) | async def handle_action( class CreateConversationExecutor (line 88) | class CreateConversationExecutor(DeclarativeActionExecutor): method handle_action (line 97) | async def handle_action( class SetTextVariableExecutor (line 123) | class SetTextVariableExecutor(DeclarativeActionExecutor): method handle_action (line 127) | async def handle_action( class SetMultipleVariablesExecutor (line 145) | class SetMultipleVariablesExecutor(DeclarativeActionExecutor): method handle_action (line 149) | async def handle_action( class AppendValueExecutor (line 182) | class AppendValueExecutor(DeclarativeActionExecutor): method handle_action (line 186) | async def handle_action( class ResetVariableExecutor (line 204) | class ResetVariableExecutor(DeclarativeActionExecutor): method handle_action (line 208) | async def handle_action( class ClearAllVariablesExecutor (line 225) | class ClearAllVariablesExecutor(DeclarativeActionExecutor): method handle_action (line 229) | async def handle_action( class SendActivityExecutor (line 245) | class SendActivityExecutor(DeclarativeActionExecutor): method handle_action (line 252) | async def handle_action( class EmitEventExecutor (line 282) | class EmitEventExecutor(DeclarativeActionExecutor): method handle_action (line 293) | async def handle_action( class EditTableExecutor (line 323) | class EditTableExecutor(DeclarativeActionExecutor): method handle_action (line 338) | async def handle_action( class EditTableV2Executor (line 401) | class EditTableV2Executor(DeclarativeActionExecutor): method handle_action (line 417) | async def handle_action( class ParseValueExecutor (line 513) | class ParseValueExecutor(DeclarativeActionExecutor): method handle_action (line 527) | async def handle_action( method _convert_to_type (line 551) | def _convert_to_type(self, value: Any, target_type: str) -> Any: FILE: python/packages/declarative/agent_framework_declarative/_workflows/_executors_control_flow.py class ConditionGroupEvaluatorExecutor (line 40) | class ConditionGroupEvaluatorExecutor(DeclarativeActionExecutor): method __init__ (line 51) | def __init__( method handle_action (line 69) | async def handle_action( class SwitchEvaluatorExecutor (line 101) | class SwitchEvaluatorExecutor(DeclarativeActionExecutor): method __init__ (line 113) | def __init__( method handle_action (line 131) | async def handle_action( class IfConditionEvaluatorExecutor (line 166) | class IfConditionEvaluatorExecutor(DeclarativeActionExecutor): method __init__ (line 173) | def __init__( method handle_action (line 191) | async def handle_action( class ForeachInitExecutor (line 208) | class ForeachInitExecutor(DeclarativeActionExecutor): method handle_action (line 215) | async def handle_action( class ForeachNextExecutor (line 275) | class ForeachNextExecutor(DeclarativeActionExecutor): method __init__ (line 281) | def __init__( method handle_action (line 299) | async def handle_action( method handle_loop_control (line 362) | async def handle_loop_control( class BreakLoopExecutor (line 385) | class BreakLoopExecutor(DeclarativeActionExecutor): method __init__ (line 391) | def __init__( method handle_action (line 409) | async def handle_action( class ContinueLoopExecutor (line 418) | class ContinueLoopExecutor(DeclarativeActionExecutor): method __init__ (line 424) | def __init__( method handle_action (line 442) | async def handle_action( class EndWorkflowExecutor (line 451) | class EndWorkflowExecutor(DeclarativeActionExecutor): method handle_action (line 459) | async def handle_action( class EndConversationExecutor (line 469) | class EndConversationExecutor(DeclarativeActionExecutor): method handle_action (line 473) | async def handle_action( class JoinExecutor (line 485) | class JoinExecutor(DeclarativeActionExecutor): method handle_action (line 493) | async def handle_action( class CancelDialogExecutor (line 503) | class CancelDialogExecutor(DeclarativeActionExecutor): method handle_action (line 511) | async def handle_action( class CancelAllDialogsExecutor (line 522) | class CancelAllDialogsExecutor(DeclarativeActionExecutor): method handle_action (line 530) | async def handle_action( FILE: python/packages/declarative/agent_framework_declarative/_workflows/_executors_external_input.py class ExternalInputRequest (line 27) | class ExternalInputRequest: class ExternalInputResponse (line 48) | class ExternalInputResponse: class QuestionExecutor (line 62) | class QuestionExecutor(DeclarativeActionExecutor): method handle_action (line 70) | async def handle_action( method handle_response (line 124) | async def handle_response( class ConfirmationExecutor (line 142) | class ConfirmationExecutor(DeclarativeActionExecutor): method handle_action (line 149) | async def handle_action( method handle_response (line 185) | async def handle_response( class WaitForInputExecutor (line 210) | class WaitForInputExecutor(DeclarativeActionExecutor): method handle_action (line 218) | async def handle_action( method handle_response (line 252) | async def handle_response( class RequestExternalInputExecutor (line 269) | class RequestExternalInputExecutor(DeclarativeActionExecutor): method handle_action (line 277) | async def handle_action( method handle_response (line 319) | async def handle_response( FILE: python/packages/declarative/agent_framework_declarative/_workflows/_executors_tools.py class ToolApprovalRequest (line 55) | class ToolApprovalRequest: class ToolApprovalResponse (line 76) | class ToolApprovalResponse: class ToolApprovalState (line 96) | class ToolApprovalState: class ToolInvocationResult (line 116) | class ToolInvocationResult: function _normalize_variable_path (line 141) | def _normalize_variable_path(variable: str) -> str: class BaseToolExecutor (line 162) | class BaseToolExecutor(DeclarativeActionExecutor): method __init__ (line 188) | def __init__( method _invoke_tool (line 206) | async def _invoke_tool( method _get_tool (line 229) | def _get_tool( method _get_output_config (line 265) | def _get_output_config(self) -> tuple[str | None, str | None, bool]: method _store_result (line 285) | def _store_result( method _format_messages (line 327) | async def _format_messages( method _execute_tool_invocation (line 384) | async def _execute_tool_invocation( method handle_action (line 449) | async def handle_action( method handle_approval_response (line 540) | async def handle_approval_response( class InvokeFunctionToolExecutor (line 618) | class InvokeFunctionToolExecutor(BaseToolExecutor): method _invoke_tool (line 667) | async def _invoke_tool( FILE: python/packages/declarative/agent_framework_declarative/_workflows/_factory.py class DeclarativeWorkflowError (line 35) | class DeclarativeWorkflowError(WorkflowException): class WorkflowFactory (line 41) | class WorkflowFactory: method __init__ (line 86) | def __init__( method create_workflow_from_yaml_path (line 148) | def create_workflow_from_yaml_path( method create_workflow_from_yaml (line 197) | def create_workflow_from_yaml( method create_workflow_from_definition (line 269) | def create_workflow_from_definition( method _create_workflow (line 354) | def _create_workflow( method _normalize_workflow_def (line 413) | def _normalize_workflow_def(self, workflow_def: dict[str, Any]) -> dic... method _validate_workflow_def (line 428) | def _validate_workflow_def(self, workflow_def: dict[str, Any]) -> None: method _get_actions_from_def (line 455) | def _get_actions_from_def(self, workflow_def: dict[str, Any]) -> list[... method _create_agent_from_def (line 483) | def _create_agent_from_def( method register_agent (line 521) | def register_agent(self, name: str, agent: SupportsAgentRun | AgentExe... method register_binding (line 567) | def register_binding(self, name: str, func: Any) -> WorkflowFactory: method register_tool (line 609) | def register_tool(self, name: str, func: Any) -> WorkflowFactory: method _convert_inputs_to_json_schema (line 664) | def _convert_inputs_to_json_schema(self, inputs_def: dict[str, Any]) -... FILE: python/packages/declarative/agent_framework_declarative/_workflows/_powerfx_functions.py function message_text (line 18) | def message_text(messages: Any) -> str: function user_message (line 90) | def user_message(text: str) -> dict[str, str]: function assistant_message (line 110) | def assistant_message(text: str) -> dict[str, str]: function agent_message (line 128) | def agent_message(text: str) -> dict[str, str]: function system_message (line 149) | def system_message(text: str) -> dict[str, str]: function if_func (line 167) | def if_func(condition: Any, true_value: Any, false_value: Any = None) ->... function is_blank (line 183) | def is_blank(value: Any) -> bool: function or_func (line 203) | def or_func(*args: Any) -> bool: function and_func (line 217) | def and_func(*args: Any) -> bool: function not_func (line 231) | def not_func(value: Any) -> bool: function count_rows (line 245) | def count_rows(table: Any) -> int: function first (line 265) | def first(table: Any) -> Any: function last (line 285) | def last(table: Any) -> Any: function find (line 305) | def find(substring: str | None, text: str | None) -> int | None: function upper (line 327) | def upper(text: str | None) -> str: function lower (line 343) | def lower(text: str | None) -> str: function concat_strings (line 359) | def concat_strings(*args: Any) -> str: function concat_text (line 373) | def concat_text(table: Any, field: str | None = None, separator: str = "... function for_all (line 406) | def for_all(table: Any, expression: str, field_mapping: dict[str, str] |... function search_table (line 441) | def search_table(table: Any, value: Any, column: str) -> list[Any]: FILE: python/packages/declarative/agent_framework_declarative/_workflows/_state.py class WorkflowState (line 31) | class WorkflowState: method __init__ (line 98) | def __init__( method inputs (line 129) | def inputs(self) -> Mapping[str, Any]: method outputs (line 134) | def outputs(self) -> dict[str, Any]: method local (line 139) | def local(self) -> dict[str, Any]: method system (line 144) | def system(self) -> dict[str, Any]: method agent (line 149) | def agent(self) -> dict[str, Any]: method conversation (line 154) | def conversation(self) -> dict[str, Any]: method get (line 158) | def get(self, path: str, default: Any = None) -> Any: method set (line 213) | def set(self, path: str, value: Any) -> None: method append (line 270) | def append(self, path: str, value: Any) -> None: method set_agent_result (line 293) | def set_agent_result( method add_conversation_message (line 318) | def add_conversation_message(self, message: Any) -> None: method to_powerfx_symbols (line 327) | def to_powerfx_symbols(self) -> dict[str, Any]: method eval (line 355) | def eval(self, expression: str) -> Any: method _eval_simple (line 388) | def _eval_simple(self, formula: str) -> Any: method _parse_function_args (line 563) | def _parse_function_args(self, args_str: str) -> list[str]: method eval_if_expression (line 604) | def eval_if_expression(self, value: Any) -> Any: method reset_local (line 623) | def reset_local(self) -> None: method reset_agent (line 630) | def reset_agent(self) -> None: method clone (line 634) | def clone(self) -> WorkflowState: FILE: python/packages/declarative/tests/conftest.py function pytest_collection_modifyitems (line 14) | def pytest_collection_modifyitems(config: pytest.Config, items: list[pyt... FILE: python/packages/declarative/tests/test_declarative_loader.py function test_agent_schema_dispatch_all_types (line 300) | def test_agent_schema_dispatch_all_types(yaml_content: str, expected_typ... function test_agent_schema_dispatch_unknown_kind (line 315) | def test_agent_schema_dispatch_unknown_kind(): function test_agent_schema_dispatch_complex_agent_manifest (line 325) | def test_agent_schema_dispatch_complex_agent_manifest(): function test_agent_schema_dispatch_prompt_agent_with_tools (line 364) | def test_agent_schema_dispatch_prompt_agent_with_tools(): function test_agent_schema_dispatch_model_resource (line 394) | def test_agent_schema_dispatch_model_resource(): function test_agent_schema_dispatch_property_schema_with_nested_properties (line 407) | def test_agent_schema_dispatch_property_schema_with_nested_properties(): function _get_agent_sample_yaml_files (line 441) | def _get_agent_sample_yaml_files() -> list[tuple[Path, Path]]: function test_agent_schema_dispatch_agent_samples (line 459) | def test_agent_schema_dispatch_agent_samples(yaml_file: Path, agent_samp... class TestAgentFactoryCreateFromDict (line 468) | class TestAgentFactoryCreateFromDict: method test_create_agent_from_dict_parses_prompt_agent (line 471) | def test_create_agent_from_dict_parses_prompt_agent(self): method test_create_agent_from_dict_matches_yaml (line 493) | def test_create_agent_from_dict_matches_yaml(self): method test_create_agent_from_dict_invalid_kind_raises (line 529) | def test_create_agent_from_dict_invalid_kind_raises(self): method test_create_agent_from_dict_without_model_or_client_raises (line 544) | def test_create_agent_from_dict_without_model_or_client_raises(self): method test_create_agent_from_dict_output_schema_in_default_options (line 559) | def test_create_agent_from_dict_output_schema_in_default_options(self): method test_create_agent_from_dict_chat_options_in_default_options (line 586) | def test_create_agent_from_dict_chat_options_in_default_options(self): class TestAgentFactorySafeMode (line 612) | class TestAgentFactorySafeMode: method test_agent_factory_safe_mode_default_is_true (line 615) | def test_agent_factory_safe_mode_default_is_true(self): method test_agent_factory_safe_mode_can_be_set_false (line 622) | def test_agent_factory_safe_mode_can_be_set_false(self): method test_agent_factory_safe_mode_blocks_env_in_yaml (line 629) | def test_agent_factory_safe_mode_blocks_env_in_yaml(self, monkeypatch): method test_agent_factory_safe_mode_false_allows_env_in_yaml (line 656) | def test_agent_factory_safe_mode_false_allows_env_in_yaml(self, monkey... method test_agent_factory_safe_mode_with_api_key_connection (line 681) | def test_agent_factory_safe_mode_with_api_key_connection(self, monkeyp... method test_agent_factory_safe_mode_false_resolves_api_key (line 716) | def test_agent_factory_safe_mode_false_resolves_api_key(self, monkeypa... class TestAgentFactoryMcpToolConnection (line 751) | class TestAgentFactoryMcpToolConnection: method _get_mcp_tools (line 754) | def _get_mcp_tools(self, agent): method test_mcp_tool_with_api_key_connection_sets_headers (line 759) | def test_mcp_tool_with_api_key_connection_sets_headers(self): method test_mcp_tool_with_remote_connection_sets_additional_properties (line 793) | def test_mcp_tool_with_remote_connection_sets_additional_properties(se... method test_mcp_tool_with_reference_connection_sets_additional_properties (line 827) | def test_mcp_tool_with_reference_connection_sets_additional_properties... method test_mcp_tool_with_anonymous_connection_no_headers_or_properties (line 861) | def test_mcp_tool_with_anonymous_connection_no_headers_or_properties(s... method test_mcp_tool_without_connection_preserves_existing_behavior (line 894) | def test_mcp_tool_without_connection_preserves_existing_behavior(self): method test_mcp_tool_with_remote_connection_with_endpoint (line 928) | def test_mcp_tool_with_remote_connection_with_endpoint(self): class TestAgentFactoryFilePath (line 964) | class TestAgentFactoryFilePath: method test_create_agent_from_yaml_path_file_not_found (line 967) | def test_create_agent_from_yaml_path_file_not_found(self, tmp_path): method test_create_agent_from_yaml_path_with_string_path (line 976) | def test_create_agent_from_yaml_path_with_string_path(self, tmp_path): method test_create_agent_from_yaml_path_with_path_object (line 995) | def test_create_agent_from_yaml_path_with_path_object(self, tmp_path): class TestAgentFactoryAsyncMethods (line 1015) | class TestAgentFactoryAsyncMethods: method test_create_agent_from_yaml_path_async_file_not_found (line 1019) | async def test_create_agent_from_yaml_path_async_file_not_found(self, ... method test_create_agent_from_yaml_async_with_client (line 1029) | async def test_create_agent_from_yaml_async_with_client(self): method test_create_agent_from_dict_async_with_client (line 1048) | async def test_create_agent_from_dict_async_with_client(self): method test_create_agent_from_dict_async_invalid_kind_raises (line 1067) | async def test_create_agent_from_dict_async_invalid_kind_raises(self): method test_create_agent_from_yaml_path_async_with_string_path (line 1082) | async def test_create_agent_from_yaml_path_async_with_string_path(self... class TestAgentFactoryProviderLookup (line 1102) | class TestAgentFactoryProviderLookup: method test_provider_lookup_error_for_unknown_provider (line 1105) | def test_provider_lookup_error_for_unknown_provider(self): method test_additional_mappings_override_default (line 1125) | def test_additional_mappings_override_default(self): class TestAgentFactoryConnectionHandling (line 1144) | class TestAgentFactoryConnectionHandling: method test_reference_connection_requires_connections_dict (line 1147) | def test_reference_connection_requires_connections_dict(self): method test_reference_connection_not_found_raises (line 1168) | def test_reference_connection_not_found_raises(self): method test_model_without_id_uses_provided_client (line 1189) | def test_model_without_id_uses_provided_client(self): method test_model_without_id_and_no_client_raises (line 1209) | def test_model_without_id_and_no_client_raises(self): class TestAgentFactoryChatOptions (line 1227) | class TestAgentFactoryChatOptions: method test_parse_chat_options_with_all_fields (line 1230) | def test_parse_chat_options_with_all_fields(self): method test_parse_chat_options_empty_model (line 1266) | def test_parse_chat_options_empty_model(self): method test_parse_chat_options_with_additional_properties (line 1274) | def test_parse_chat_options_with_additional_properties(self): class TestAgentFactoryToolParsing (line 1295) | class TestAgentFactoryToolParsing: method test_parse_tools_returns_none_for_empty_list (line 1298) | def test_parse_tools_returns_none_for_empty_list(self): method test_parse_function_tool_with_bindings (line 1309) | def test_parse_function_tool_with_bindings(self): method test_parse_file_search_tool_with_all_options (line 1338) | def test_parse_file_search_tool_with_all_options(self): method test_parse_unsupported_tool_kind_raises (line 1369) | def test_parse_unsupported_tool_kind_raises(self): class TestProviderResponseFormat (line 1381) | class TestProviderResponseFormat: method _make_mock_prompt_agent (line 1385) | def _make_mock_prompt_agent(*, with_output_schema: bool = False) -> Ma... method _make_mock_provider (line 1411) | def _make_mock_provider() -> tuple[MagicMock, AsyncMock]: method test_response_format_in_default_options (line 1420) | async def test_response_format_in_default_options(self): method test_no_default_options_without_output_schema (line 1454) | async def test_no_default_options_without_output_schema(self): FILE: python/packages/declarative/tests/test_declarative_models.py class TestBinding (line 51) | class TestBinding: method test_binding_creation (line 54) | def test_binding_creation(self): method test_binding_from_dict (line 59) | def test_binding_from_dict(self): method test_binding_to_dict (line 65) | def test_binding_to_dict(self): class TestProperty (line 72) | class TestProperty: method test_property_creation (line 75) | def test_property_creation(self): method test_property_from_dict (line 93) | def test_property_from_dict(self): method test_property_from_dict_type_maps_to_kind (line 106) | def test_property_from_dict_type_maps_to_kind(self): method test_property_from_dict_kind_takes_precedence_over_type (line 118) | def test_property_from_dict_kind_takes_precedence_over_type(self): method test_property_from_dict_type_dispatches_to_array (line 128) | def test_property_from_dict_type_dispatches_to_array(self): method test_property_from_dict_type_dispatches_to_object (line 139) | def test_property_from_dict_type_dispatches_to_object(self): class TestArrayProperty (line 151) | class TestArrayProperty: method test_array_property_creation (line 154) | def test_array_property_creation(self): method test_array_property_from_dict (line 162) | def test_array_property_from_dict(self): class TestObjectProperty (line 176) | class TestObjectProperty: method test_object_property_creation (line 179) | def test_object_property_creation(self): method test_object_property_from_dict (line 190) | def test_object_property_from_dict(self): method test_object_property_with_dict_properties (line 206) | def test_object_property_with_dict_properties(self): class TestPropertySchema (line 232) | class TestPropertySchema: method test_property_schema_creation (line 235) | def test_property_schema_creation(self): method test_property_schema_from_dict (line 241) | def test_property_schema_from_dict(self): method test_property_schema_with_dict_properties (line 254) | def test_property_schema_with_dict_properties(self): method test_property_schema_with_type_field_produces_correct_json_schema (line 277) | def test_property_schema_with_type_field_produces_correct_json_schema(... class TestConnection (line 301) | class TestConnection: method test_connection_creation (line 304) | def test_connection_creation(self): method test_connection_from_dict (line 308) | def test_connection_from_dict(self): class TestReferenceConnection (line 314) | class TestReferenceConnection: method test_reference_connection_creation (line 317) | def test_reference_connection_creation(self): method test_reference_connection_from_dict (line 323) | def test_reference_connection_from_dict(self): class TestRemoteConnection (line 331) | class TestRemoteConnection: method test_remote_connection_creation (line 334) | def test_remote_connection_creation(self): method test_remote_connection_from_dict (line 339) | def test_remote_connection_from_dict(self): class TestApiKeyConnection (line 346) | class TestApiKeyConnection: method test_api_key_connection_creation (line 349) | def test_api_key_connection_creation(self): method test_api_key_connection_from_dict (line 355) | def test_api_key_connection_from_dict(self): class TestAnonymousConnection (line 362) | class TestAnonymousConnection: method test_anonymous_connection_creation (line 365) | def test_anonymous_connection_creation(self): method test_anonymous_connection_from_dict (line 370) | def test_anonymous_connection_from_dict(self): class TestModelOptions (line 377) | class TestModelOptions: method test_model_options_creation (line 380) | def test_model_options_creation(self): method test_model_options_from_dict (line 386) | def test_model_options_from_dict(self): class TestModel (line 394) | class TestModel: method test_model_creation (line 397) | def test_model_creation(self): method test_model_from_dict (line 402) | def test_model_from_dict(self): method test_model_with_connection (line 408) | def test_model_with_connection(self): class TestFormat (line 418) | class TestFormat: method test_format_creation (line 421) | def test_format_creation(self): method test_format_from_dict (line 427) | def test_format_from_dict(self): class TestParser (line 434) | class TestParser: method test_parser_creation (line 437) | def test_parser_creation(self): method test_parser_from_dict (line 442) | def test_parser_from_dict(self): class TestTemplate (line 449) | class TestTemplate: method test_template_creation (line 452) | def test_template_creation(self): method test_template_from_dict (line 460) | def test_template_from_dict(self): class TestAgentDefinition (line 470) | class TestAgentDefinition: method test_agent_definition_creation (line 473) | def test_agent_definition_creation(self): method test_agent_definition_from_dict (line 481) | def test_agent_definition_from_dict(self): class TestFunctionTool (line 491) | class TestFunctionTool: method test_function_tool_creation (line 494) | def test_function_tool_creation(self): method test_function_tool_from_dict (line 503) | def test_function_tool_from_dict(self): method test_function_tool_with_dict_bindings (line 514) | def test_function_tool_with_dict_bindings(self): class TestCustomTool (line 539) | class TestCustomTool: method test_custom_tool_creation (line 542) | def test_custom_tool_creation(self): method test_custom_tool_from_dict (line 553) | def test_custom_tool_from_dict(self): class TestWebSearchTool (line 565) | class TestWebSearchTool: method test_web_search_tool_creation (line 568) | def test_web_search_tool_creation(self): method test_web_search_tool_from_dict (line 579) | def test_web_search_tool_from_dict(self): class TestFileSearchTool (line 592) | class TestFileSearchTool: method test_file_search_tool_creation (line 595) | def test_file_search_tool_creation(self): method test_file_search_tool_from_dict (line 606) | def test_file_search_tool_from_dict(self): class TestMcpServerApprovalMode (line 619) | class TestMcpServerApprovalMode: method test_always_approval_mode (line 622) | def test_always_approval_mode(self): method test_always_approval_mode_from_dict (line 626) | def test_always_approval_mode_from_dict(self): method test_never_approval_mode (line 631) | def test_never_approval_mode(self): method test_never_approval_mode_from_dict (line 635) | def test_never_approval_mode_from_dict(self): method test_specify_approval_mode (line 640) | def test_specify_approval_mode(self): method test_specify_approval_mode_from_dict (line 649) | def test_specify_approval_mode_from_dict(self): class TestMcpTool (line 661) | class TestMcpTool: method test_mcp_tool_creation (line 664) | def test_mcp_tool_creation(self): method test_mcp_tool_from_dict (line 675) | def test_mcp_tool_from_dict(self): method test_mcp_tool_with_simplified_approval_mode (line 688) | def test_mcp_tool_with_simplified_approval_mode(self): method test_mcp_tool_approval_mode_equivalence (line 704) | def test_mcp_tool_approval_mode_equivalence(self): class TestOpenApiTool (line 727) | class TestOpenApiTool: method test_openapi_tool_creation (line 730) | def test_openapi_tool_creation(self): method test_openapi_tool_from_dict (line 741) | def test_openapi_tool_from_dict(self): class TestCodeInterpreterTool (line 753) | class TestCodeInterpreterTool: method test_code_interpreter_tool_creation (line 756) | def test_code_interpreter_tool_creation(self): method test_code_interpreter_tool_from_dict (line 767) | def test_code_interpreter_tool_from_dict(self): class TestPromptAgent (line 780) | class TestPromptAgent: method test_prompt_agent_creation (line 783) | def test_prompt_agent_creation(self): method test_prompt_agent_from_dict (line 794) | def test_prompt_agent_from_dict(self): method test_prompt_agent_with_tools (line 807) | def test_prompt_agent_with_tools(self): class TestResource (line 823) | class TestResource: method test_resource_creation (line 826) | def test_resource_creation(self): method test_resource_from_dict (line 831) | def test_resource_from_dict(self): class TestModelResource (line 837) | class TestModelResource: method test_model_resource_creation (line 840) | def test_model_resource_creation(self): method test_model_resource_from_dict (line 846) | def test_model_resource_from_dict(self): class TestToolResource (line 858) | class TestToolResource: method test_tool_resource_creation (line 861) | def test_tool_resource_creation(self): method test_tool_resource_from_dict (line 867) | def test_tool_resource_from_dict(self): class TestProtocolVersionRecord (line 879) | class TestProtocolVersionRecord: method test_protocol_version_record_creation (line 882) | def test_protocol_version_record_creation(self): method test_protocol_version_record_from_dict (line 887) | def test_protocol_version_record_from_dict(self): class TestEnvironmentVariable (line 894) | class TestEnvironmentVariable: method test_environment_variable_creation (line 897) | def test_environment_variable_creation(self): method test_environment_variable_from_dict (line 902) | def test_environment_variable_from_dict(self): class TestTryPowerfxEval (line 919) | class TestTryPowerfxEval: method test_no_evaluation_without_equals_prefix (line 922) | def test_no_evaluation_without_equals_prefix(self): method test_none_value_returns_none (line 928) | def test_none_value_returns_none(self): method test_empty_string_returns_empty (line 932) | def test_empty_string_returns_empty(self): method test_simple_powerfx_expressions (line 937) | def test_simple_powerfx_expressions(self): method test_env_variable_access (line 950) | def test_env_variable_access(self, monkeypatch): method test_env_variable_with_string_concatenation (line 968) | def test_env_variable_with_string_concatenation(self, monkeypatch): method test_string_comparison_operators (line 987) | def test_string_comparison_operators(self, monkeypatch): method test_string_in_operator (line 1005) | def test_string_in_operator(self): method test_string_exactin_operator (line 1013) | def test_string_exactin_operator(self): method test_logical_operators_with_strings (line 1021) | def test_logical_operators_with_strings(self): method test_parentheses_for_precedence (line 1045) | def test_parentheses_for_precedence(self): method test_env_with_special_characters (line 1058) | def test_env_with_special_characters(self, monkeypatch): method test_safe_mode_blocks_env_access (line 1074) | def test_safe_mode_blocks_env_access(self, monkeypatch): method test_safe_mode_context_isolation (line 1089) | def test_safe_mode_context_isolation(self, monkeypatch): class TestAgentManifest (line 1114) | class TestAgentManifest: method test_agent_manifest_creation (line 1117) | def test_agent_manifest_creation(self): method test_agent_manifest_from_dict (line 1122) | def test_agent_manifest_from_dict(self): method test_agent_manifest_with_resources (line 1130) | def test_agent_manifest_with_resources(self): method test_agent_manifest_complete (line 1149) | def test_agent_manifest_complete(self): method test_agent_manifest_with_dict_resources (line 1169) | def test_agent_manifest_with_dict_resources(self): FILE: python/packages/declarative/tests/test_function_tool_executor.py class TestInvokeFunctionToolExecutor (line 54) | class TestInvokeFunctionToolExecutor: method test_basic_sync_function_invocation (line 58) | async def test_basic_sync_function_invocation(self): method test_async_function_invocation (line 92) | async def test_async_function_invocation(self): method test_expression_function_name (line 123) | async def test_expression_function_name(self): method test_function_not_found (line 156) | async def test_function_not_found(self): method test_function_execution_error (line 183) | async def test_function_execution_error(self): method test_function_with_no_output_config (line 213) | async def test_function_with_no_output_config(self): class TestInvokeFunctionToolWithWorkflowFactory (line 248) | class TestInvokeFunctionToolWithWorkflowFactory: method test_register_tool_method (line 252) | async def test_register_tool_method(self): method test_fluent_registration (line 284) | async def test_fluent_registration(self): class TestToolInvocationResult (line 333) | class TestToolInvocationResult: method test_success_result (line 336) | def test_success_result(self): method test_error_result (line 348) | def test_error_result(self): method test_rejected_result (line 358) | def test_rejected_result(self): class TestToolApprovalTypes (line 370) | class TestToolApprovalTypes: method test_approval_request (line 373) | def test_approval_request(self): method test_approval_response_approved (line 384) | def test_approval_response_approved(self): method test_approval_response_rejected (line 390) | def test_approval_response_rejected(self): method test_approval_state (line 396) | def test_approval_state(self): class TestInvokeFunctionToolEdgeCases (line 412) | class TestInvokeFunctionToolEdgeCases: method test_missing_function_name_field_raises_validation_error (line 415) | def test_missing_function_name_field_raises_validation_error(self): method test_empty_function_name_expression (line 436) | async def test_empty_function_name_expression(self): method test_messages_output_configuration (line 462) | async def test_messages_output_configuration(self): method test_function_returning_none (line 495) | async def test_function_returning_none(self): method test_function_with_complex_return_type (line 524) | async def test_function_with_complex_return_type(self): method test_function_with_list_argument (line 560) | async def test_function_with_list_argument(self): method test_auto_send_disabled (line 590) | async def test_auto_send_disabled(self): method test_function_with_only_result_output (line 620) | async def test_function_with_only_result_output(self): method test_function_with_only_messages_output (line 649) | async def test_function_with_only_messages_output(self): method test_function_string_return (line 678) | async def test_function_string_return(self): class TestInvokeFunctionToolBuilder (line 707) | class TestInvokeFunctionToolBuilder: method test_executor_registered_in_all_executors (line 710) | def test_executor_registered_in_all_executors(self): method test_builder_creates_tool_executor (line 717) | def test_builder_creates_tool_executor(self): function mock_state (line 750) | def mock_state() -> MagicMock: function mock_context (line 783) | def mock_context(mock_state: MagicMock) -> MagicMock: class TestNormalizeVariablePath (line 798) | class TestNormalizeVariablePath: method test_known_prefix_local (line 801) | def test_known_prefix_local(self): method test_known_prefix_system (line 804) | def test_known_prefix_system(self): method test_known_prefix_workflow (line 807) | def test_known_prefix_workflow(self): method test_known_prefix_agent (line 810) | def test_known_prefix_agent(self): method test_known_prefix_conversation (line 813) | def test_known_prefix_conversation(self): method test_dotted_unknown_prefix (line 816) | def test_dotted_unknown_prefix(self): method test_bare_name_gets_local_prefix (line 820) | def test_bare_name_gets_local_prefix(self): method test_bare_name_with_underscore (line 824) | def test_bare_name_with_underscore(self): class TestNonDictOutputConfig (line 833) | class TestNonDictOutputConfig: method test_output_as_string_is_ignored (line 837) | async def test_output_as_string_is_ignored(self): method test_output_as_list_is_ignored (line 858) | async def test_output_as_list_is_ignored(self): class TestNonCallableTool (line 884) | class TestNonCallableTool: method test_non_callable_stores_error (line 888) | async def test_non_callable_stores_error(self): class TestNonDictArguments (line 918) | class TestNonDictArguments: method test_non_dict_arguments_ignored (line 922) | async def test_non_dict_arguments_ignored(self): class TestFormatMessagesSerialization (line 956) | class TestFormatMessagesSerialization: method test_non_serializable_result_uses_str_fallback (line 960) | async def test_non_serializable_result_uses_str_fallback(self): method test_format_messages_directly_with_non_serializable (line 994) | async def test_format_messages_directly_with_non_serializable(self): class TestApprovalFlow (line 1026) | class TestApprovalFlow: method _init_state (line 1029) | def _init_state(self, mock_state: MagicMock) -> None: method test_approval_required_emits_request (line 1048) | async def test_approval_required_emits_request(self, mock_state, mock_... method test_approval_response_approved (line 1086) | async def test_approval_response_approved(self, mock_state, mock_conte... method test_approval_response_rejected (line 1139) | async def test_approval_response_rejected(self, mock_state, mock_conte... method test_approval_response_missing_state (line 1189) | async def test_approval_response_missing_state(self, mock_state, mock_... class TestStateRegistryLookup (line 1224) | class TestStateRegistryLookup: method test_tool_found_in_state_registry (line 1228) | async def test_tool_found_in_state_registry(self, mock_state, mock_con... method _init_state (line 1252) | def _init_state(self, mock_state: MagicMock) -> None: method test_tool_not_found_in_state_registry_key_error (line 1270) | async def test_tool_not_found_in_state_registry_key_error(self, mock_s... method test_tool_not_in_registry_returns_none (line 1286) | async def test_tool_not_in_registry_returns_none(self, mock_state, moc... class TestMissingFunctionNameRuntime (line 1307) | class TestMissingFunctionNameRuntime: method _init_state (line 1310) | def _init_state(self, mock_state: MagicMock) -> None: method test_missing_function_name_stores_error_in_result_var (line 1328) | async def test_missing_function_name_stores_error_in_result_var(self, ... method test_empty_function_name_with_result_var (line 1354) | async def test_empty_function_name_with_result_var(self, mock_state, m... FILE: python/packages/declarative/tests/test_graph_coverage.py function mock_state (line 39) | def mock_state() -> MagicMock: function mock_context (line 66) | def mock_context(mock_state: MagicMock) -> MagicMock: class TestDeclarativeWorkflowStateExtended (line 81) | class TestDeclarativeWorkflowStateExtended: method test_get_with_local_namespace (line 84) | async def test_get_with_local_namespace(self, mock_state): method test_get_with_system_namespace (line 94) | async def test_get_with_system_namespace(self, mock_state): method test_get_with_workflow_namespace (line 103) | async def test_get_with_workflow_namespace(self, mock_state): method test_get_with_inputs_shorthand (line 111) | async def test_get_with_inputs_shorthand(self, mock_state): method test_get_agent_namespace (line 119) | async def test_get_agent_namespace(self, mock_state): method test_get_conversation_namespace (line 128) | async def test_get_conversation_namespace(self, mock_state): method test_get_custom_namespace (line 137) | async def test_get_custom_namespace(self, mock_state): method test_get_object_attribute_access (line 150) | async def test_get_object_attribute_access(self, mock_state): method test_set_with_local_namespace (line 165) | async def test_set_with_local_namespace(self, mock_state): method test_set_with_system_namespace (line 174) | async def test_set_with_system_namespace(self, mock_state): method test_set_workflow_outputs (line 183) | async def test_set_workflow_outputs(self, mock_state): method test_set_workflow_inputs_raises_error (line 192) | async def test_set_workflow_inputs_raises_error(self, mock_state): method test_set_workflow_directly_raises_error (line 200) | async def test_set_workflow_directly_raises_error(self, mock_state): method test_set_unknown_workflow_subnamespace_raises_error (line 208) | async def test_set_unknown_workflow_subnamespace_raises_error(self, mo... method test_set_creates_custom_namespace (line 216) | async def test_set_creates_custom_namespace(self, mock_state): method test_set_cannot_replace_entire_namespace (line 225) | async def test_set_cannot_replace_entire_namespace(self, mock_state): method test_append_to_nonlist_raises_error (line 233) | async def test_append_to_nonlist_raises_error(self, mock_state): method test_eval_empty_string (line 242) | async def test_eval_empty_string(self, mock_state): method test_eval_non_string_returns_as_is (line 250) | async def test_eval_non_string_returns_as_is(self, mock_state): method test_eval_simple_and_operator (line 263) | async def test_eval_simple_and_operator(self, mock_state): method test_eval_simple_or_operator (line 278) | async def test_eval_simple_or_operator(self, mock_state): method test_eval_negation (line 293) | async def test_eval_negation(self, mock_state): method test_eval_not_function (line 303) | async def test_eval_not_function(self, mock_state): method test_eval_comparison_operators (line 313) | async def test_eval_comparison_operators(self, mock_state): method test_eval_arithmetic_operators (line 328) | async def test_eval_arithmetic_operators(self, mock_state): method test_eval_string_literal (line 341) | async def test_eval_string_literal(self, mock_state): method test_eval_float_literal (line 350) | async def test_eval_float_literal(self, mock_state): method test_eval_variable_reference_with_namespace_mappings (line 362) | async def test_eval_variable_reference_with_namespace_mappings(self, m... method test_eval_if_expression_with_dict (line 377) | async def test_eval_if_expression_with_dict(self, mock_state): method test_eval_if_expression_with_list (line 387) | async def test_eval_if_expression_with_list(self, mock_state): method test_interpolate_string_with_local_vars (line 396) | async def test_interpolate_string_with_local_vars(self, mock_state): method test_interpolate_string_with_system_vars (line 406) | async def test_interpolate_string_with_system_vars(self, mock_state): method test_interpolate_string_with_none_value (line 415) | async def test_interpolate_string_with_none_value(self, mock_state): class TestBasicExecutorsCoverage (line 429) | class TestBasicExecutorsCoverage: method test_set_variable_executor (line 432) | async def test_set_variable_executor(self, mock_context, mock_state): method test_set_variable_executor_with_nested_variable (line 452) | async def test_set_variable_executor_with_nested_variable(self, mock_c... method test_set_text_variable_executor (line 473) | async def test_set_text_variable_executor(self, mock_context, mock_sta... method test_set_multiple_variables_executor (line 494) | async def test_set_multiple_variables_executor(self, mock_context, moc... method test_append_value_executor (line 518) | async def test_append_value_executor(self, mock_context, mock_state): method test_reset_variable_executor (line 539) | async def test_reset_variable_executor(self, mock_context, mock_state): method test_clear_all_variables_executor (line 559) | async def test_clear_all_variables_executor(self, mock_context, mock_s... method test_send_activity_with_dict_activity (line 578) | async def test_send_activity_with_dict_activity(self, mock_context, mo... method test_send_activity_with_string_activity (line 597) | async def test_send_activity_with_string_activity(self, mock_context, ... method test_send_activity_with_expression (line 616) | async def test_send_activity_with_expression(self, mock_context, mock_... method test_emit_event_executor_graph_mode (line 635) | async def test_emit_event_executor_graph_mode(self, mock_context, mock... method test_emit_event_executor_interpreter_mode (line 657) | async def test_emit_event_executor_interpreter_mode(self, mock_context... class TestAgentExecutorsCoverage (line 687) | class TestAgentExecutorsCoverage: method test_normalize_variable_path_all_cases (line 690) | async def test_normalize_variable_path_all_cases(self): method test_agent_executor_get_agent_name_string (line 711) | async def test_agent_executor_get_agent_name_string(self, mock_context... method test_agent_executor_get_agent_name_dict (line 729) | async def test_agent_executor_get_agent_name_dict(self, mock_context, ... method test_agent_executor_get_agent_name_legacy (line 747) | async def test_agent_executor_get_agent_name_legacy(self, mock_context... method test_agent_executor_get_agent_name_string_expression (line 765) | async def test_agent_executor_get_agent_name_string_expression(self, m... method test_agent_executor_get_agent_name_dict_expression (line 786) | async def test_agent_executor_get_agent_name_dict_expression(self, moc... method test_agent_executor_get_agent_name_legacy_expression (line 807) | async def test_agent_executor_get_agent_name_legacy_expression(self, m... method test_agent_executor_get_agent_name_expression_returns_none (line 828) | async def test_agent_executor_get_agent_name_expression_returns_none(s... method test_agent_executor_get_input_config_simple (line 849) | async def test_agent_executor_get_input_config_simple(self, mock_conte... method test_agent_executor_get_input_config_full (line 868) | async def test_agent_executor_get_input_config_full(self, mock_context... method test_agent_executor_get_output_config_simple (line 891) | async def test_agent_executor_get_output_config_simple(self, mock_cont... method test_agent_executor_get_output_config_full (line 910) | async def test_agent_executor_get_output_config_full(self, mock_contex... method test_agent_executor_build_input_text_from_string_messages (line 935) | async def test_agent_executor_build_input_text_from_string_messages(se... method test_agent_executor_build_input_text_from_message_list (line 952) | async def test_agent_executor_build_input_text_from_message_list(self,... method test_agent_executor_build_input_text_from_message_with_text_attr (line 976) | async def test_agent_executor_build_input_text_from_message_with_text_... method test_agent_executor_build_input_text_fallback_chain (line 992) | async def test_agent_executor_build_input_text_fallback_chain(self, mo... method test_agent_executor_build_input_text_from_system_last_message (line 1008) | async def test_agent_executor_build_input_text_from_system_last_messag... method test_agent_executor_missing_agent_name (line 1024) | async def test_agent_executor_missing_agent_name(self, mock_context, m... method test_agent_executor_with_working_agent (line 1043) | async def test_agent_executor_with_working_agent(self, mock_context, m... method test_agent_executor_with_agent_from_registry (line 1083) | async def test_agent_executor_with_agent_from_registry(self, mock_cont... method test_agent_executor_parses_json_response (line 1116) | async def test_agent_executor_parses_json_response(self, mock_context,... class TestControlFlowCoverage (line 1154) | class TestControlFlowCoverage: method test_foreach_with_source_alias (line 1158) | async def test_foreach_with_source_alias(self, mock_context, mock_state): method test_foreach_next_continues_iteration (line 1184) | async def test_foreach_next_continues_iteration(self, mock_context, mo... method test_switch_evaluator_with_value_cases (line 1221) | async def test_switch_evaluator_with_value_cases(self, mock_context, m... method test_switch_evaluator_default_case (line 1249) | async def test_switch_evaluator_default_case(self, mock_context, mock_... method test_switch_evaluator_no_value (line 1276) | async def test_switch_evaluator_no_value(self, mock_context, mock_state): method test_join_executor_accepts_condition_result (line 1295) | async def test_join_executor_accepts_condition_result(self, mock_conte... method test_break_loop_executor (line 1313) | async def test_break_loop_executor(self, mock_context, mock_state): method test_continue_loop_executor (line 1331) | async def test_continue_loop_executor(self, mock_context, mock_state): method test_foreach_next_no_loop_state (line 1349) | async def test_foreach_next_no_loop_state(self, mock_context, mock_sta... method test_foreach_next_loop_complete (line 1371) | async def test_foreach_next_loop_complete(self, mock_context, mock_sta... method test_foreach_next_handle_break_control (line 1405) | async def test_foreach_next_handle_break_control(self, mock_context, m... method test_foreach_next_handle_continue_control (line 1439) | async def test_foreach_next_handle_continue_control(self, mock_context... method test_end_workflow_executor (line 1474) | async def test_end_workflow_executor(self, mock_context, mock_state): method test_end_conversation_executor (line 1491) | async def test_end_conversation_executor(self, mock_context, mock_state): method test_condition_group_evaluator_first_match (line 1509) | async def test_condition_group_evaluator_first_match(self, mock_contex... method test_condition_group_evaluator_no_match (line 1535) | async def test_condition_group_evaluator_no_match(self, mock_context, ... method test_condition_group_evaluator_boolean_true_condition (line 1560) | async def test_condition_group_evaluator_boolean_true_condition(self, ... method test_if_condition_evaluator_true (line 1584) | async def test_if_condition_evaluator_true(self, mock_context, mock_st... method test_if_condition_evaluator_false (line 1605) | async def test_if_condition_evaluator_false(self, mock_context, mock_s... class TestDeclarativeActionExecutorBase (line 1631) | class TestDeclarativeActionExecutorBase: method test_ensure_state_initialized_with_dict_input (line 1634) | async def test_ensure_state_initialized_with_dict_input(self, mock_con... method test_ensure_state_initialized_with_string_input (line 1651) | async def test_ensure_state_initialized_with_string_input(self, mock_c... method test_ensure_state_initialized_with_custom_object (line 1667) | async def test_ensure_state_initialized_with_custom_object(self, mock_... method test_executor_display_name_property (line 1686) | async def test_executor_display_name_property(self, mock_context, mock... method test_executor_action_def_property (line 1702) | async def test_executor_action_def_property(self, mock_context, mock_s... class TestHumanInputExecutorsCoverage (line 1719) | class TestHumanInputExecutorsCoverage: method test_wait_for_input_executor_with_prompt (line 1722) | async def test_wait_for_input_executor_with_prompt(self, mock_context,... method test_wait_for_input_executor_no_prompt (line 1751) | async def test_wait_for_input_executor_no_prompt(self, mock_context, m... method test_request_external_input_executor (line 1776) | async def test_request_external_input_executor(self, mock_context, moc... method test_question_executor_with_choices (line 1808) | async def test_question_executor_with_choices(self, mock_context, mock... class TestAgentExternalLoopCoverage (line 1850) | class TestAgentExternalLoopCoverage: method test_agent_executor_with_external_loop (line 1854) | async def test_agent_executor_with_external_loop(self, mock_context, m... method test_agent_executor_agent_error_handling (line 1894) | async def test_agent_executor_agent_error_handling(self, mock_context,... method test_agent_executor_string_result (line 1928) | async def test_agent_executor_string_result(self, mock_context, mock_s... class TestPowerFxFunctionsCoverage (line 1963) | class TestPowerFxFunctionsCoverage: method test_eval_lower_upper_functions (line 1966) | async def test_eval_lower_upper_functions(self, mock_state): method test_eval_if_function (line 1978) | async def test_eval_if_function(self, mock_state): method test_eval_not_function (line 1991) | async def test_eval_not_function(self, mock_state): method test_eval_and_or_functions (line 2000) | async def test_eval_and_or_functions(self, mock_state): class TestBuilderControlFlowCreation (line 2019) | class TestBuilderControlFlowCreation: method test_create_goto_reference (line 2022) | def test_create_goto_reference(self): method test_create_goto_reference_auto_id (line 2049) | def test_create_goto_reference_auto_id(self): method test_create_goto_reference_no_target (line 2071) | def test_create_goto_reference_no_target(self): method test_goto_invalid_target_raises_error (line 2091) | def test_goto_invalid_target_raises_error(self): method test_create_break_executor (line 2110) | def test_create_break_executor(self): method test_create_break_executor_no_loop_context (line 2143) | def test_create_break_executor_no_loop_context(self): method test_create_continue_executor (line 2169) | def test_create_continue_executor(self): method test_create_continue_executor_no_loop_context (line 2202) | def test_create_continue_executor_no_loop_context(self): class TestBuilderEdgeWiring (line 2224) | class TestBuilderEdgeWiring: method test_wire_to_target_with_if_structure (line 2227) | def test_wire_to_target_with_if_structure(self): method test_wire_to_target_normal_executor (line 2262) | def test_wire_to_target_normal_executor(self): method test_collect_all_exits_for_nested_structure (line 2284) | def test_collect_all_exits_for_nested_structure(self): method test_collect_all_exits_for_simple_executor (line 2311) | def test_collect_all_exits_for_simple_executor(self): method test_get_branch_exit_with_chain (line 2326) | def test_get_branch_exit_with_chain(self): method test_get_branch_exit_none (line 2345) | def test_get_branch_exit_none(self): method test_get_branch_exit_returns_none_for_goto_terminator (line 2355) | def test_get_branch_exit_returns_none_for_goto_terminator(self): method test_get_branch_exit_returns_none_for_end_workflow_terminator (line 2382) | def test_get_branch_exit_returns_none_for_end_workflow_terminator(self): method test_get_branch_exit_returns_none_for_goto_in_chain (line 2399) | def test_get_branch_exit_returns_none_for_goto_in_chain(self): method test_get_branch_exit_returns_executor_for_non_terminator (line 2423) | def test_get_branch_exit_returns_executor_for_non_terminator(self): class TestAgentExecutorExternalLoop (line 2444) | class TestAgentExecutorExternalLoop: method test_handle_external_input_response_no_state (line 2447) | async def test_handle_external_input_response_no_state(self, mock_cont... method test_handle_external_input_response_agent_not_found (line 2475) | async def test_handle_external_input_response_agent_not_found(self, mo... class TestBuilderValidation (line 2521) | class TestBuilderValidation: method test_duplicate_explicit_action_id_raises_error (line 2524) | def test_duplicate_explicit_action_id_raises_error(self): method test_duplicate_id_in_nested_actions (line 2542) | def test_duplicate_id_in_nested_actions(self): method test_missing_required_field_sendactivity (line 2564) | def test_missing_required_field_sendactivity(self): method test_missing_required_field_setvalue (line 2581) | def test_missing_required_field_setvalue(self): method test_setvalue_accepts_alternate_variable_field (line 2597) | def test_setvalue_accepts_alternate_variable_field(self): method test_missing_required_field_foreach (line 2611) | def test_missing_required_field_foreach(self): method test_self_referencing_goto_raises_error (line 2627) | def test_self_referencing_goto_raises_error(self): method test_validation_can_be_disabled (line 2643) | def test_validation_can_be_disabled(self): method test_validation_in_switch_branches (line 2665) | def test_validation_in_switch_branches(self): method test_validation_in_foreach_body (line 2695) | def test_validation_in_foreach_body(self): class TestExpressionEdgeCases (line 2719) | class TestExpressionEdgeCases: method test_division_with_valid_values (line 2722) | async def test_division_with_valid_values(self, mock_state): method test_multiplication_normal (line 2732) | async def test_multiplication_normal(self, mock_state): class TestLongMessageTextHandling (line 2744) | class TestLongMessageTextHandling: method test_short_message_text_embedded_inline (line 2747) | async def test_short_message_text_embedded_inline(self, mock_state): method test_long_message_text_stored_in_temp_variable (line 2764) | async def test_long_message_text_stored_in_temp_variable(self, mock_st... method test_find_with_long_message_text (line 2781) | async def test_find_with_long_message_text(self, mock_state): method test_find_without_keyword_in_long_text (line 2794) | async def test_find_without_keyword_in_long_text(self, mock_state): class TestCreateConversationExecutor (line 2807) | class TestCreateConversationExecutor: method test_basic_creation (line 2810) | async def test_basic_creation(self, mock_context, mock_state): method test_no_conversation_id_param (line 2839) | async def test_no_conversation_id_param(self, mock_context, mock_state): method test_multiple_conversations (line 2860) | async def test_multiple_conversations(self, mock_context, mock_state): class TestDeclarativeWorkflowStateConversationIdInit (line 2896) | class TestDeclarativeWorkflowStateConversationIdInit: method test_conversation_id_is_not_default (line 2899) | async def test_conversation_id_is_not_default(self, mock_state): method test_conversations_dict_initialized (line 2912) | async def test_conversations_dict_initialized(self, mock_state): method test_each_initialize_generates_unique_id (line 2924) | async def test_each_initialize_generates_unique_id(self, mock_state): FILE: python/packages/declarative/tests/test_graph_executors.py class TestDeclarativeWorkflowState (line 33) | class TestDeclarativeWorkflowState: method mock_state (line 37) | def mock_state(self): method test_initialize_state (line 54) | async def test_initialize_state(self, mock_state): method test_get_and_set_values (line 69) | async def test_get_and_set_values(self, mock_state): method test_get_inputs (line 82) | async def test_get_inputs(self, mock_state): method test_append_value (line 96) | async def test_append_value(self, mock_state): method test_eval_expression (line 113) | async def test_eval_expression(self, mock_state): class TestDeclarativeActionExecutor (line 138) | class TestDeclarativeActionExecutor: method mock_context (line 142) | def mock_context(self, mock_state): method mock_state (line 151) | def mock_state(self): method test_set_value_executor (line 168) | async def test_set_value_executor(self, mock_context, mock_state): method test_send_activity_executor (line 190) | async def test_send_activity_executor(self, mock_context, mock_state): method test_foreach_init_with_items (line 210) | async def test_foreach_init_with_items(self, mock_context, mock_state): method test_foreach_init_empty (line 235) | async def test_foreach_init_empty(self, mock_context, mock_state): class TestDeclarativeWorkflowBuilder (line 258) | class TestDeclarativeWorkflowBuilder: method test_all_action_executors_available (line 261) | def test_all_action_executors_available(self): method test_build_empty_workflow (line 276) | def test_build_empty_workflow(self): method test_build_simple_workflow (line 284) | def test_build_simple_workflow(self): method test_build_workflow_with_if (line 301) | def test_build_workflow_with_if(self): method test_build_workflow_with_foreach (line 330) | def test_build_workflow_with_foreach(self): method test_build_workflow_with_switch (line 356) | def test_build_workflow_with_switch(self): class TestAgentExecutors (line 397) | class TestAgentExecutors: method mock_context (line 401) | def mock_context(self, mock_state): method mock_state (line 410) | def mock_state(self): method test_invoke_agent_not_found (line 427) | async def test_invoke_agent_not_found(self, mock_context, mock_state): class TestHumanInputExecutors (line 453) | class TestHumanInputExecutors: method mock_context (line 457) | def mock_context(self, mock_state): method mock_state (line 467) | def mock_state(self): method test_question_executor (line 484) | async def test_question_executor(self, mock_context, mock_state): method test_confirmation_executor (line 513) | async def test_confirmation_executor(self, mock_context, mock_state): class TestParseValueExecutor (line 544) | class TestParseValueExecutor: method mock_context (line 548) | def mock_context(self, mock_state): method mock_state (line 557) | def mock_state(self): method test_parse_value_string (line 574) | async def test_parse_value_string(self, mock_context, mock_state): method test_parse_value_number (line 595) | async def test_parse_value_number(self, mock_context, mock_state): method test_parse_value_float (line 616) | async def test_parse_value_float(self, mock_context, mock_state): method test_parse_value_boolean_true (line 637) | async def test_parse_value_boolean_true(self, mock_context, mock_state): method test_parse_value_boolean_false (line 658) | async def test_parse_value_boolean_false(self, mock_context, mock_state): method test_parse_value_object_from_json (line 679) | async def test_parse_value_object_from_json(self, mock_context, mock_s... method test_parse_value_array_from_json (line 700) | async def test_parse_value_array_from_json(self, mock_context, mock_st... method test_parse_value_no_type_conversion (line 721) | async def test_parse_value_no_type_conversion(self, mock_context, mock... class TestEditTableExecutor (line 741) | class TestEditTableExecutor: method mock_context (line 745) | def mock_context(self, mock_state): method mock_state (line 754) | def mock_state(self): method test_edit_table_add (line 771) | async def test_edit_table_add(self, mock_context, mock_state): method test_edit_table_insert_at_index (line 792) | async def test_edit_table_insert_at_index(self, mock_context, mock_sta... method test_edit_table_remove_by_value (line 814) | async def test_edit_table_remove_by_value(self, mock_context, mock_sta... method test_edit_table_remove_by_index (line 835) | async def test_edit_table_remove_by_index(self, mock_context, mock_sta... method test_edit_table_clear (line 856) | async def test_edit_table_clear(self, mock_context, mock_state): method test_edit_table_update_at_index (line 876) | async def test_edit_table_update_at_index(self, mock_context, mock_sta... method test_edit_table_creates_new_list (line 898) | async def test_edit_table_creates_new_list(self, mock_context, mock_st... class TestEditTableV2Executor (line 918) | class TestEditTableV2Executor: method mock_context (line 922) | def mock_context(self, mock_state): method mock_state (line 931) | def mock_state(self): method test_edit_table_v2_add (line 948) | async def test_edit_table_v2_add(self, mock_context, mock_state): method test_edit_table_v2_add_or_update_new (line 969) | async def test_edit_table_v2_add_or_update_new(self, mock_context, moc... method test_edit_table_v2_add_or_update_existing (line 991) | async def test_edit_table_v2_add_or_update_existing(self, mock_context... method test_edit_table_v2_remove_by_key (line 1013) | async def test_edit_table_v2_remove_by_key(self, mock_context, mock_st... method test_edit_table_v2_clear (line 1035) | async def test_edit_table_v2_clear(self, mock_context, mock_state): method test_edit_table_v2_update_by_key (line 1055) | async def test_edit_table_v2_update_by_key(self, mock_context, mock_st... class TestCancelDialogExecutors (line 1077) | class TestCancelDialogExecutors: method mock_context (line 1081) | def mock_context(self, mock_state): method mock_state (line 1090) | def mock_state(self): method test_cancel_dialog_executor (line 1107) | async def test_cancel_dialog_executor(self, mock_context, mock_state): method test_cancel_all_dialogs_executor (line 1124) | async def test_cancel_all_dialogs_executor(self, mock_context, mock_st... class TestExtractJsonFromResponse (line 1141) | class TestExtractJsonFromResponse: method test_pure_json_object (line 1144) | def test_pure_json_object(self): method test_pure_json_array (line 1154) | def test_pure_json_array(self): method test_json_in_markdown_code_block (line 1164) | def test_json_in_markdown_code_block(self): method test_json_in_plain_code_block (line 1178) | def test_json_in_plain_code_block(self): method test_json_with_leading_text (line 1192) | def test_json_with_leading_text(self): method test_json_with_trailing_text (line 1202) | def test_json_with_trailing_text(self): method test_nested_json_object (line 1212) | def test_nested_json_object(self): method test_json_with_array_inside (line 1222) | def test_json_with_array_inside(self): method test_json_with_escaped_quotes (line 1232) | def test_json_with_escaped_quotes(self): method test_empty_string_returns_none (line 1242) | def test_empty_string_returns_none(self): method test_whitespace_only_returns_none (line 1251) | def test_whitespace_only_returns_none(self): method test_no_json_raises_error (line 1260) | def test_no_json_raises_error(self): method test_json_with_braces_in_string (line 1271) | def test_json_with_braces_in_string(self): method test_multiple_json_objects_returns_last (line 1281) | def test_multiple_json_objects_returns_last(self): method test_multiple_json_objects_with_different_schemas (line 1292) | def test_multiple_json_objects_with_different_schemas(self): method test_multiple_json_objects_with_text_between (line 1303) | def test_multiple_json_objects_with_text_between(self): class TestPowerFxConditionalImport (line 1314) | class TestPowerFxConditionalImport: method test_import_guard_exists (line 1317) | def test_import_guard_exists(self): method test_eval_raises_when_engine_unavailable (line 1328) | def test_eval_raises_when_engine_unavailable(self): method test_eval_passes_through_plain_strings_without_engine (line 1348) | def test_eval_passes_through_plain_strings_without_engine(self): class TestExecutorKwargsForwarding (line 1370) | class TestExecutorKwargsForwarding: method test_invoke_agent_forwards_kwargs (line 1374) | async def test_invoke_agent_forwards_kwargs(self): method test_invoke_agent_merges_caller_options (line 1445) | async def test_invoke_agent_merges_caller_options(self): FILE: python/packages/declarative/tests/test_graph_workflow_integration.py class TestGraphBasedWorkflowExecution (line 35) | class TestGraphBasedWorkflowExecution: method test_simple_sequential_workflow (line 39) | async def test_simple_sequential_workflow(self): method test_workflow_with_conditional (line 62) | async def test_workflow_with_conditional(self): method test_workflow_with_foreach_loop (line 94) | async def test_workflow_with_foreach_loop(self): method test_workflow_with_switch (line 125) | async def test_workflow_with_switch(self): class TestWorkflowFactory (line 168) | class TestWorkflowFactory: method test_factory_creates_workflow (line 171) | def test_factory_creates_workflow(self): method test_workflow_execution (line 193) | async def test_workflow_execution(self): class TestGraphWorkflowCheckpointing (line 223) | class TestGraphWorkflowCheckpointing: method test_workflow_has_multiple_executors (line 226) | def test_workflow_has_multiple_executors(self): method test_workflow_executor_connectivity (line 246) | def test_workflow_executor_connectivity(self): class TestGraphWorkflowVisualization (line 267) | class TestGraphWorkflowVisualization: method test_workflow_can_be_built (line 270) | def test_workflow_can_be_built(self): class TestGraphWorkflowStateManagement (line 305) | class TestGraphWorkflowStateManagement: method test_state_persists_across_executors (line 309) | async def test_state_persists_across_executors(self): method test_multiple_variables (line 329) | async def test_multiple_variables(self): FILE: python/packages/declarative/tests/test_powerfx_functions.py class TestMessageText (line 23) | class TestMessageText: method test_message_text_from_string (line 26) | def test_message_text_from_string(self): method test_message_text_from_single_dict (line 30) | def test_message_text_from_single_dict(self): method test_message_text_from_list (line 35) | def test_message_text_from_list(self): method test_message_text_from_none (line 43) | def test_message_text_from_none(self): method test_message_text_empty_list (line 47) | def test_message_text_empty_list(self): class TestUserMessage (line 52) | class TestUserMessage: method test_user_message_creates_dict (line 55) | def test_user_message_creates_dict(self): method test_user_message_with_none (line 60) | def test_user_message_with_none(self): class TestAssistantMessage (line 66) | class TestAssistantMessage: method test_assistant_message_creates_dict (line 69) | def test_assistant_message_creates_dict(self): class TestSystemMessage (line 75) | class TestSystemMessage: method test_system_message_creates_dict (line 78) | def test_system_message_creates_dict(self): class TestIsBlank (line 84) | class TestIsBlank: method test_is_blank_none (line 87) | def test_is_blank_none(self): method test_is_blank_empty_string (line 91) | def test_is_blank_empty_string(self): method test_is_blank_whitespace (line 95) | def test_is_blank_whitespace(self): method test_is_blank_empty_list (line 99) | def test_is_blank_empty_list(self): method test_is_blank_non_empty (line 103) | def test_is_blank_non_empty(self): class TestCountRows (line 110) | class TestCountRows: method test_count_rows_list (line 113) | def test_count_rows_list(self): method test_count_rows_empty (line 117) | def test_count_rows_empty(self): method test_count_rows_none (line 121) | def test_count_rows_none(self): class TestFirstLast (line 126) | class TestFirstLast: method test_first_returns_first_item (line 129) | def test_first_returns_first_item(self): method test_last_returns_last_item (line 133) | def test_last_returns_last_item(self): method test_first_empty_returns_none (line 137) | def test_first_empty_returns_none(self): method test_last_empty_returns_none (line 141) | def test_last_empty_returns_none(self): class TestFind (line 146) | class TestFind: method test_find_substring (line 149) | def test_find_substring(self): method test_find_not_found (line 154) | def test_find_not_found(self): method test_find_at_start (line 159) | def test_find_at_start(self): class TestUpperLower (line 165) | class TestUpperLower: method test_upper (line 168) | def test_upper(self): method test_lower (line 172) | def test_lower(self): method test_upper_none (line 176) | def test_upper_none(self): class TestConcatText (line 181) | class TestConcatText: method test_concat_simple_list (line 184) | def test_concat_simple_list(self): method test_concat_with_field (line 188) | def test_concat_with_field(self): class TestSearchTable (line 194) | class TestSearchTable: method test_search_finds_matching (line 197) | def test_search_finds_matching(self): method test_search_case_insensitive (line 208) | def test_search_case_insensitive(self): method test_search_partial_match (line 214) | def test_search_partial_match(self): class TestCustomFunctionsRegistry (line 221) | class TestCustomFunctionsRegistry: method test_all_functions_registered (line 224) | def test_all_functions_registered(self): class TestMessageTextEdgeCases (line 251) | class TestMessageTextEdgeCases: method test_message_text_dict_with_text_attr_content (line 254) | def test_message_text_dict_with_text_attr_content(self): method test_message_text_dict_content_non_string (line 264) | def test_message_text_dict_content_non_string(self): method test_message_text_list_with_string_items (line 269) | def test_message_text_list_with_string_items(self): method test_message_text_list_with_content_objects (line 274) | def test_message_text_list_with_content_objects(self): method test_message_text_list_with_content_text_attr (line 285) | def test_message_text_list_with_content_text_attr(self): method test_message_text_list_with_non_string_content (line 300) | def test_message_text_list_with_non_string_content(self): method test_message_text_object_with_text_attr (line 306) | def test_message_text_object_with_text_attr(self): method test_message_text_object_with_content_attr (line 315) | def test_message_text_object_with_content_attr(self): method test_message_text_object_with_non_string_content (line 324) | def test_message_text_object_with_non_string_content(self): method test_message_text_list_with_empty_content_object (line 333) | def test_message_text_list_with_empty_content_object(self): class TestAgentMessage (line 343) | class TestAgentMessage: method test_agent_message_creates_dict (line 346) | def test_agent_message_creates_dict(self): method test_agent_message_with_none (line 353) | def test_agent_message_with_none(self): class TestIfFunc (line 361) | class TestIfFunc: method test_if_true_condition (line 364) | def test_if_true_condition(self): method test_if_false_condition (line 370) | def test_if_false_condition(self): method test_if_truthy_value (line 376) | def test_if_truthy_value(self): method test_if_falsy_value (line 383) | def test_if_falsy_value(self): method test_if_no_false_value (line 391) | def test_if_no_false_value(self): class TestOrFunc (line 398) | class TestOrFunc: method test_or_all_false (line 401) | def test_or_all_false(self): method test_or_one_true (line 407) | def test_or_one_true(self): method test_or_all_true (line 413) | def test_or_all_true(self): method test_or_empty (line 419) | def test_or_empty(self): class TestAndFunc (line 426) | class TestAndFunc: method test_and_all_true (line 429) | def test_and_all_true(self): method test_and_one_false (line 435) | def test_and_one_false(self): method test_and_all_false (line 441) | def test_and_all_false(self): method test_and_empty (line 447) | def test_and_empty(self): class TestNotFunc (line 454) | class TestNotFunc: method test_not_true (line 457) | def test_not_true(self): method test_not_false (line 463) | def test_not_false(self): method test_not_truthy (line 469) | def test_not_truthy(self): method test_not_falsy (line 476) | def test_not_falsy(self): class TestIsBlankEdgeCases (line 485) | class TestIsBlankEdgeCases: method test_is_blank_empty_dict (line 488) | def test_is_blank_empty_dict(self): method test_is_blank_non_empty_dict (line 492) | def test_is_blank_non_empty_dict(self): class TestCountRowsEdgeCases (line 497) | class TestCountRowsEdgeCases: method test_count_rows_dict (line 500) | def test_count_rows_dict(self): method test_count_rows_tuple (line 504) | def test_count_rows_tuple(self): method test_count_rows_non_iterable (line 508) | def test_count_rows_non_iterable(self): class TestFirstLastEdgeCases (line 514) | class TestFirstLastEdgeCases: method test_first_none (line 517) | def test_first_none(self): method test_last_none (line 521) | def test_last_none(self): method test_first_tuple (line 525) | def test_first_tuple(self): method test_last_tuple (line 529) | def test_last_tuple(self): class TestFindEdgeCases (line 534) | class TestFindEdgeCases: method test_find_none_substring (line 537) | def test_find_none_substring(self): method test_find_none_text (line 541) | def test_find_none_text(self): method test_find_both_none (line 545) | def test_find_both_none(self): class TestLowerEdgeCases (line 550) | class TestLowerEdgeCases: method test_lower_none (line 553) | def test_lower_none(self): class TestConcatStrings (line 558) | class TestConcatStrings: method test_concat_strings_basic (line 561) | def test_concat_strings_basic(self): method test_concat_strings_with_none (line 567) | def test_concat_strings_with_none(self): method test_concat_strings_empty (line 573) | def test_concat_strings_empty(self): class TestConcatTextEdgeCases (line 580) | class TestConcatTextEdgeCases: method test_concat_text_none (line 583) | def test_concat_text_none(self): method test_concat_text_non_list (line 587) | def test_concat_text_non_list(self): method test_concat_text_with_field_attr (line 591) | def test_concat_text_with_field_attr(self): method test_concat_text_with_none_values (line 601) | def test_concat_text_with_none_values(self): class TestForAll (line 608) | class TestForAll: method test_for_all_with_list_of_dicts (line 611) | def test_for_all_with_list_of_dicts(self): method test_for_all_with_non_dict_items (line 619) | def test_for_all_with_non_dict_items(self): method test_for_all_with_none (line 627) | def test_for_all_with_none(self): method test_for_all_with_non_list (line 633) | def test_for_all_with_non_list(self): method test_for_all_empty_list (line 639) | def test_for_all_empty_list(self): class TestSearchTableEdgeCases (line 646) | class TestSearchTableEdgeCases: method test_search_table_none (line 649) | def test_search_table_none(self): method test_search_table_non_list (line 653) | def test_search_table_non_list(self): method test_search_table_with_object_attr (line 657) | def test_search_table_with_object_attr(self): method test_search_table_no_matching_column (line 669) | def test_search_table_no_matching_column(self): method test_search_table_empty_value (line 675) | def test_search_table_empty_value(self): FILE: python/packages/declarative/tests/test_powerfx_yaml_compatibility.py class TestPowerFxBuiltinFunctions (line 38) | class TestPowerFxBuiltinFunctions: method mock_state (line 42) | def mock_state(self): method test_concat_simple (line 61) | async def test_concat_simple(self, mock_state): method test_concat_multiple_args (line 71) | async def test_concat_multiple_args(self, mock_state): method test_concat_with_local_namespace (line 82) | async def test_concat_with_local_namespace(self, mock_state): method test_if_with_isblank (line 92) | async def test_if_with_isblank(self, mock_state): method test_not_function (line 107) | async def test_not_function(self, mock_state): method test_or_function (line 121) | async def test_or_function(self, mock_state): method test_upper_function (line 139) | async def test_upper_function(self, mock_state): method test_find_function (line 149) | async def test_find_function(self, mock_state): class TestPowerFxSystemVariables (line 164) | class TestPowerFxSystemVariables: method mock_state (line 168) | def mock_state(self): method test_system_conversation_id (line 183) | async def test_system_conversation_id(self, mock_state): method test_system_last_message_text (line 193) | async def test_system_last_message_text(self, mock_state): method test_system_last_message_exit_check (line 203) | async def test_system_last_message_exit_check(self, mock_state): class TestPowerFxComparisonOperators (line 218) | class TestPowerFxComparisonOperators: method mock_state (line 222) | def mock_state(self): method test_less_than (line 237) | async def test_less_than(self, mock_state): method test_less_than_with_local (line 249) | async def test_less_than_with_local(self, mock_state): method test_equality (line 261) | async def test_equality(self, mock_state): method test_inequality (line 273) | async def test_inequality(self, mock_state): class TestPowerFxArithmetic (line 284) | class TestPowerFxArithmetic: method mock_state (line 288) | def mock_state(self): method test_addition (line 303) | async def test_addition(self, mock_state): class TestPowerFxCustomFunctions (line 314) | class TestPowerFxCustomFunctions: method mock_state (line 318) | def mock_state(self): method test_agent_message_function (line 334) | async def test_agent_message_function(self, mock_state): method test_agent_message_with_empty_string (line 348) | async def test_agent_message_with_empty_string(self, mock_state): method test_user_message_with_variable (line 360) | async def test_user_message_with_variable(self, mock_state): method test_user_message_with_simple_variable (line 373) | async def test_user_message_with_simple_variable(self, mock_state): method test_message_text_with_list (line 385) | async def test_message_text_with_list(self, mock_state): method test_message_text_empty_list (line 400) | async def test_message_text_empty_list(self, mock_state): class TestPowerFxNestedVariables (line 410) | class TestPowerFxNestedVariables: method mock_state (line 414) | def mock_state(self): method test_nested_local_variable (line 429) | async def test_nested_local_variable(self, mock_state): method test_nested_routing_parameters (line 439) | async def test_nested_routing_parameters(self, mock_state): method test_nested_ticket_parameters (line 449) | async def test_nested_ticket_parameters(self, mock_state): class TestPowerFxUndefinedVariables (line 460) | class TestPowerFxUndefinedVariables: method mock_state (line 464) | def mock_state(self): method test_undefined_local_variable_returns_none (line 479) | async def test_undefined_local_variable_returns_none(self, mock_state): method test_undefined_nested_variable_returns_none (line 488) | async def test_undefined_nested_variable_returns_none(self, mock_state): method test_undefined_variable_returns_none_with_non_english_ui_culture (line 497) | async def test_undefined_variable_returns_none_with_non_english_ui_cul... class TestStringInterpolation (line 532) | class TestStringInterpolation: method mock_state (line 536) | def mock_state(self): method test_interpolate_local_variable (line 551) | async def test_interpolate_local_variable(self, mock_state): method test_interpolate_routing_team (line 561) | async def test_interpolate_routing_team(self, mock_state): class TestWorkflowInputsAccess (line 572) | class TestWorkflowInputsAccess: method mock_state (line 576) | def mock_state(self): method test_inputs_name (line 591) | async def test_inputs_name(self, mock_state): method test_inputs_problem (line 604) | async def test_inputs_problem(self, mock_state): FILE: python/packages/declarative/tests/test_workflow_factory.py class TestWorkflowFactoryValidation (line 22) | class TestWorkflowFactoryValidation: method test_missing_actions_raises (line 25) | def test_missing_actions_raises(self): method test_actions_not_list_raises (line 35) | def test_actions_not_list_raises(self): method test_action_missing_kind_raises (line 44) | def test_action_missing_kind_raises(self): method test_valid_minimal_workflow (line 55) | def test_valid_minimal_workflow(self): class TestWorkflowFactoryExecution (line 71) | class TestWorkflowFactoryExecution: method test_execute_set_value_workflow (line 75) | async def test_execute_set_value_workflow(self): method test_execute_send_activity_workflow (line 96) | async def test_execute_send_activity_workflow(self): method test_execute_foreach_workflow (line 114) | async def test_execute_foreach_workflow(self): method test_execute_if_workflow (line 137) | async def test_execute_if_workflow(self): method test_entry_join_executor_initializes_workflow_inputs (line 163) | async def test_entry_join_executor_initializes_workflow_inputs(self): method test_entry_join_executor_initializes_workflow_inputs_string (line 209) | async def test_entry_join_executor_initializes_workflow_inputs_string(... class TestWorkflowFactoryAgentRegistration (line 232) | class TestWorkflowFactoryAgentRegistration: method test_register_agent (line 235) | def test_register_agent(self): method test_register_binding (line 246) | def test_register_binding(self): class TestWorkflowFactoryFromPath (line 259) | class TestWorkflowFactoryFromPath: method test_nonexistent_file_raises (line 262) | def test_nonexistent_file_raises(self, tmp_path): method test_load_from_file (line 268) | def test_load_from_file(self, tmp_path): class TestDisplayNameMetadata (line 287) | class TestDisplayNameMetadata: method test_action_with_display_name (line 291) | async def test_action_with_display_name(self): class TestWorkflowFactoryToolRegistration (line 316) | class TestWorkflowFactoryToolRegistration: method test_register_tool_basic (line 319) | def test_register_tool_basic(self): method test_register_multiple_tools (line 333) | def test_register_multiple_tools(self): method test_register_tool_non_callable_raises (line 349) | def test_register_tool_non_callable_raises(self): method test_register_binding_non_callable_raises (line 356) | def test_register_binding_non_callable_raises(self): class TestWorkflowFactoryEdgeCases (line 364) | class TestWorkflowFactoryEdgeCases: method test_empty_actions_list (line 367) | def test_empty_actions_list(self): method test_unknown_action_kind (line 376) | def test_unknown_action_kind(self): method test_workflow_with_description (line 387) | def test_workflow_with_description(self): method test_workflow_with_expression_value (line 404) | async def test_workflow_with_expression_value(self): method test_workflow_with_nested_if (line 428) | async def test_workflow_with_nested_if(self): method test_load_from_string_path (line 453) | def test_load_from_string_path(self, tmp_path): class TestWorkflowFactorySwitch (line 473) | class TestWorkflowFactorySwitch: method test_switch_with_matching_case (line 477) | async def test_switch_with_matching_case(self): method test_switch_with_default (line 507) | async def test_switch_with_default(self): class TestWorkflowFactoryMultipleActionTypes (line 542) | class TestWorkflowFactoryMultipleActionTypes: method test_set_multiple_variables (line 546) | async def test_set_multiple_variables(self): method test_append_value (line 571) | async def test_append_value(self): method test_emit_event (line 597) | async def test_emit_event(self): class TestWorkflowFactoryYamlErrors (line 620) | class TestWorkflowFactoryYamlErrors: method test_invalid_yaml_raises (line 623) | def test_invalid_yaml_raises(self): method test_non_dict_workflow_raises (line 635) | def test_non_dict_workflow_raises(self): class TestWorkflowFactoryTriggerFormat (line 642) | class TestWorkflowFactoryTriggerFormat: method test_trigger_based_workflow (line 645) | def test_trigger_based_workflow(self): method test_trigger_workflow_without_id (line 662) | def test_trigger_workflow_without_id(self): class TestWorkflowFactoryAgentCreation (line 679) | class TestWorkflowFactoryAgentCreation: method test_agent_creation_with_file_reference (line 682) | def test_agent_creation_with_file_reference(self, tmp_path): method test_agent_connection_definition_raises (line 724) | def test_agent_connection_definition_raises(self): method test_invalid_agent_definition_raises (line 739) | def test_invalid_agent_definition_raises(self): method test_preregistered_agent_not_overwritten (line 754) | def test_preregistered_agent_not_overwritten(self): class TestWorkflowFactoryInputSchema (line 776) | class TestWorkflowFactoryInputSchema: method test_inputs_to_json_schema_basic (line 779) | def test_inputs_to_json_schema_basic(self): method test_inputs_schema_with_optional_field (line 806) | def test_inputs_schema_with_optional_field(self): method test_inputs_schema_with_default_value (line 828) | def test_inputs_schema_with_default_value(self): method test_inputs_schema_with_enum (line 846) | def test_inputs_schema_with_enum(self): method test_inputs_schema_type_mappings (line 867) | def test_inputs_schema_type_mappings(self): method test_inputs_schema_simple_format (line 899) | def test_inputs_schema_simple_format(self): class TestWorkflowFactoryChaining (line 920) | class TestWorkflowFactoryChaining: method test_fluent_agent_registration (line 923) | def test_fluent_agent_registration(self): method test_fluent_binding_registration (line 937) | def test_fluent_binding_registration(self): method test_fluent_mixed_registration (line 951) | def test_fluent_mixed_registration(self): FILE: python/packages/declarative/tests/test_workflow_samples_integration.py function get_workflow_sample_files (line 19) | def get_workflow_sample_files(): class TestWorkflowSampleParsing (line 26) | class TestWorkflowSampleParsing: method sample_files (line 30) | def sample_files(self): method test_samples_directory_exists (line 34) | def test_samples_directory_exists(self): method test_samples_exist (line 38) | def test_samples_exist(self, sample_files): method test_sample_yaml_is_valid (line 43) | def test_sample_yaml_is_valid(self, yaml_file): method test_sample_has_trigger (line 53) | def test_sample_has_trigger(self, yaml_file): method test_sample_has_actions (line 63) | def test_sample_has_actions(self, yaml_file): method test_sample_actions_have_kind (line 73) | def test_sample_actions_have_kind(self, yaml_file): class TestWorkflowDefinitionParsing (line 105) | class TestWorkflowDefinitionParsing: method test_extract_actions_from_sample (line 109) | def test_extract_actions_from_sample(self, yaml_file): method test_extract_agent_names_from_sample (line 144) | def test_extract_agent_names_from_sample(self, yaml_file): class TestHandlerCoverage (line 184) | class TestHandlerCoverage: method all_action_kinds (line 188) | def all_action_kinds(self): method test_executors_exist_for_sample_actions (line 219) | def test_executors_exist_for_sample_actions(self, all_action_kinds): FILE: python/packages/declarative/tests/test_workflow_state.py class TestWorkflowStateInitialization (line 10) | class TestWorkflowStateInitialization: method test_empty_initialization (line 13) | def test_empty_initialization(self): method test_initialization_with_inputs (line 21) | def test_initialization_with_inputs(self): method test_inputs_are_immutable (line 27) | def test_inputs_are_immutable(self): class TestWorkflowStateGetSet (line 34) | class TestWorkflowStateGetSet: method test_set_and_get_turn_variable (line 37) | def test_set_and_get_turn_variable(self): method test_set_and_get_nested_turn_variable (line 43) | def test_set_and_get_nested_turn_variable(self): method test_set_and_get_workflow_output (line 49) | def test_set_and_get_workflow_output(self): method test_get_with_default (line 56) | def test_get_with_default(self): method test_get_workflow_inputs (line 62) | def test_get_workflow_inputs(self): method test_set_custom_namespace (line 67) | def test_set_custom_namespace(self): class TestWorkflowStateAppend (line 74) | class TestWorkflowStateAppend: method test_append_to_nonexistent_list (line 77) | def test_append_to_nonexistent_list(self): method test_append_to_existing_list (line 83) | def test_append_to_existing_list(self): method test_append_to_non_list_raises (line 90) | def test_append_to_non_list_raises(self): class TestWorkflowStateAgentResult (line 98) | class TestWorkflowStateAgentResult: method test_set_agent_result (line 101) | def test_set_agent_result(self): method test_get_agent_result_via_path (line 113) | def test_get_agent_result_via_path(self): method test_reset_agent (line 119) | def test_reset_agent(self): class TestWorkflowStateConversation (line 127) | class TestWorkflowStateConversation: method test_add_conversation_message (line 130) | def test_add_conversation_message(self): method test_get_conversation_history (line 138) | def test_get_conversation_history(self): class TestWorkflowStatePowerFx (line 146) | class TestWorkflowStatePowerFx: method test_eval_non_expression (line 149) | def test_eval_non_expression(self): method test_eval_if_expression_with_literal (line 154) | def test_eval_if_expression_with_literal(self): method test_eval_if_expression_with_non_expression_string (line 160) | def test_eval_if_expression_with_non_expression_string(self): method test_to_powerfx_symbols (line 165) | def test_to_powerfx_symbols(self): class TestWorkflowStateClone (line 177) | class TestWorkflowStateClone: method test_clone_creates_copy (line 180) | def test_clone_creates_copy(self): method test_clone_is_independent (line 189) | def test_clone_is_independent(self): class TestWorkflowStateResetTurn (line 201) | class TestWorkflowStateResetTurn: method test_reset_local_clears_turn_variables (line 204) | def test_reset_local_clears_turn_variables(self): method test_reset_local_preserves_other_state (line 216) | def test_reset_local_preserves_other_state(self): class TestWorkflowStateEvalSimple (line 228) | class TestWorkflowStateEvalSimple: method test_negation_prefix (line 231) | def test_negation_prefix(self): method test_not_function (line 239) | def test_not_function(self): method test_and_operator (line 247) | def test_and_operator(self): method test_or_operator (line 256) | def test_or_operator(self): method test_or_operator_double_pipe (line 265) | def test_or_operator_double_pipe(self): method test_less_than (line 272) | def test_less_than(self): method test_greater_than (line 279) | def test_greater_than(self): method test_less_than_or_equal (line 286) | def test_less_than_or_equal(self): method test_greater_than_or_equal (line 293) | def test_greater_than_or_equal(self): method test_not_equal (line 300) | def test_not_equal(self): method test_equal (line 307) | def test_equal(self): method test_addition_numeric (line 314) | def test_addition_numeric(self): method test_addition_string_concat (line 321) | def test_addition_string_concat(self): method test_addition_with_none (line 328) | def test_addition_with_none(self): method test_subtraction (line 335) | def test_subtraction(self): method test_subtraction_with_none (line 342) | def test_subtraction_with_none(self): method test_multiplication (line 348) | def test_multiplication(self): method test_multiplication_with_none (line 355) | def test_multiplication_with_none(self): method test_division (line 361) | def test_division(self): method test_division_by_zero (line 368) | def test_division_by_zero(self): method test_string_literal_double_quotes (line 375) | def test_string_literal_double_quotes(self): method test_string_literal_single_quotes (line 380) | def test_string_literal_single_quotes(self): method test_integer_literal (line 385) | def test_integer_literal(self): method test_float_literal (line 390) | def test_float_literal(self): method test_boolean_true_literal (line 395) | def test_boolean_true_literal(self): method test_boolean_false_literal (line 402) | def test_boolean_false_literal(self): method test_variable_reference (line 409) | def test_variable_reference(self): method test_unknown_expression_returned_as_is (line 415) | def test_unknown_expression_returned_as_is(self): method test_agent_namespace_reference (line 421) | def test_agent_namespace_reference(self): method test_conversation_namespace_reference (line 427) | def test_conversation_namespace_reference(self): method test_workflow_inputs_reference (line 434) | def test_workflow_inputs_reference(self): class TestWorkflowStateParseFunctionArgs (line 440) | class TestWorkflowStateParseFunctionArgs: method test_simple_args (line 443) | def test_simple_args(self): method test_string_args_with_commas (line 449) | def test_string_args_with_commas(self): method test_nested_function_args (line 455) | def test_nested_function_args(self): method test_empty_args (line 461) | def test_empty_args(self): method test_single_arg (line 467) | def test_single_arg(self): method test_deeply_nested_parens (line 473) | def test_deeply_nested_parens(self): class TestWorkflowStateEvalIfExpression (line 480) | class TestWorkflowStateEvalIfExpression: method test_dict_values_evaluated (line 483) | def test_dict_values_evaluated(self): method test_list_values_evaluated (line 490) | def test_list_values_evaluated(self): method test_nested_dict_in_list (line 497) | def test_nested_dict_in_list(self): class TestWorkflowStateSetErrors (line 505) | class TestWorkflowStateSetErrors: method test_set_workflow_directly_raises (line 508) | def test_set_workflow_directly_raises(self): method test_set_unknown_workflow_namespace_raises (line 514) | def test_set_unknown_workflow_namespace_raises(self): method test_set_namespace_root_raises (line 520) | def test_set_namespace_root_raises(self): class TestWorkflowStateGetEdgeCases (line 527) | class TestWorkflowStateGetEdgeCases: method test_get_empty_path (line 530) | def test_get_empty_path(self): method test_get_unknown_namespace (line 535) | def test_get_unknown_namespace(self): method test_get_with_object_attribute (line 541) | def test_get_with_object_attribute(self): method test_get_unknown_workflow_subspace (line 551) | def test_get_unknown_workflow_subspace(self): class TestWorkflowStateConversationIdInit (line 557) | class TestWorkflowStateConversationIdInit: method test_conversation_id_is_not_default (line 560) | def test_conversation_id_is_not_default(self): method test_conversations_dict_initialized (line 570) | def test_conversations_dict_initialized(self): method test_each_instance_generates_unique_id (line 580) | def test_each_instance_generates_unique_id(self): FILE: python/packages/devui/agent_framework_devui/__init__.py function register_cleanup (line 27) | def register_cleanup(entity: Any, *hooks: Callable[[], Any]) -> None: function _get_registered_cleanup_hooks (line 76) | def _get_registered_cleanup_hooks(entity: Any) -> list[Callable[[], Any]... function serve (line 89) | def serve( function main (line 246) | def main() -> None: FILE: python/packages/devui/agent_framework_devui/_cli.py function setup_logging (line 13) | def setup_logging(level: str = "INFO") -> None: function create_cli_parser (line 19) | def create_cli_parser() -> argparse.ArgumentParser: function get_version (line 98) | def get_version() -> str: function validate_directory (line 108) | def validate_directory(directory: str) -> str: function print_startup_info (line 126) | def print_startup_info( function main (line 147) | def main() -> None: FILE: python/packages/devui/agent_framework_devui/_conversations.py class ConversationStore (line 39) | class ConversationStore(ABC): method create_conversation (line 47) | def create_conversation( method get_conversation (line 62) | def get_conversation(self, conversation_id: str) -> Conversation | None: method update_conversation (line 74) | def update_conversation(self, conversation_id: str, metadata: dict[str... method delete_conversation (line 90) | def delete_conversation(self, conversation_id: str) -> ConversationDel... method add_items (line 105) | async def add_items(self, conversation_id: str, items: list[dict[str, ... method list_items (line 121) | async def list_items( method get_item (line 141) | async def get_item(self, conversation_id: str, item_id: str) -> Conver... method get_session (line 157) | def get_session(self, conversation_id: str) -> AgentSession | None: method list_conversations_by_metadata (line 172) | async def list_conversations_by_metadata(self, metadata_filter: dict[s... method add_trace (line 184) | def add_trace(self, conversation_id: str, trace_event: dict[str, Any])... method get_traces (line 197) | def get_traces(self, conversation_id: str) -> list[dict[str, Any]]: class InMemoryConversationStore (line 209) | class InMemoryConversationStore(ConversationStore): method __init__ (line 216) | def __init__(self) -> None: method create_conversation (line 227) | def create_conversation( method get_conversation (line 257) | def get_conversation(self, conversation_id: str) -> Conversation | None: method update_conversation (line 270) | def update_conversation(self, conversation_id: str, metadata: dict[str... method delete_conversation (line 285) | def delete_conversation(self, conversation_id: str) -> ConversationDel... method add_items (line 296) | async def add_items(self, conversation_id: str, items: list[dict[str, ... method list_items (line 358) | async def list_items( method get_item (line 535) | async def get_item(self, conversation_id: str, item_id: str) -> Conver... method get_session (line 598) | def get_session(self, conversation_id: str) -> AgentSession | None: method add_trace (line 603) | def add_trace(self, conversation_id: str, trace_event: dict[str, Any])... method get_traces (line 619) | def get_traces(self, conversation_id: str) -> list[dict[str, Any]]: method list_conversations_by_metadata (line 631) | async def list_conversations_by_metadata(self, metadata_filter: dict[s... method _list_all_checkpoints (line 667) | def _list_all_checkpoints(checkpoint_storage: Any) -> list[WorkflowChe... class CheckpointConversationManager (line 680) | class CheckpointConversationManager: method __init__ (line 688) | def __init__(self, conversation_store: ConversationStore): method get_checkpoint_storage (line 696) | def get_checkpoint_storage(self, conversation_id: str) -> InMemoryChec... FILE: python/packages/devui/agent_framework_devui/_deployment.py class DeploymentManager (line 21) | class DeploymentManager: method __init__ (line 24) | def __init__(self) -> None: method deploy (line 28) | async def deploy(self, config: DeploymentConfig, entity_path: Path) ->... method _validate_prerequisites (line 145) | async def _validate_prerequisites(self) -> None: method _generate_dockerfile (line 223) | async def _generate_dockerfile(self, entity_path: Path, config: Deploy... method _discover_container_app_environment (line 277) | async def _discover_container_app_environment(self, resource_group: st... method _deploy_to_azure (line 318) | async def _deploy_to_azure( method _extract_fqdn_from_output (line 516) | def _extract_fqdn_from_output(self, output: str, app_name: str) -> str: method list_deployments (line 541) | async def list_deployments(self, entity_id: str | None = None) -> list... method get_deployment (line 554) | async def get_deployment(self, deployment_id: str) -> Deployment | None: method delete_deployment (line 565) | async def delete_deployment(self, deployment_id: str) -> None: FILE: python/packages/devui/agent_framework_devui/_discovery.py class EntityDiscovery (line 23) | class EntityDiscovery: method __init__ (line 26) | def __init__(self, entities_dir: str | None = None): method discover_entities (line 37) | async def discover_entities(self) -> list[EntityInfo]: method get_entity_info (line 53) | def get_entity_info(self, entity_id: str) -> EntityInfo | None: method get_entity_object (line 64) | def get_entity_object(self, entity_id: str) -> Any | None: method load_entity (line 75) | async def load_entity(self, entity_id: str, checkpoint_manager: Any = ... method _load_directory_entity (line 157) | async def _load_directory_entity(self, entity_id: str, entity_info: En... method list_entities (line 220) | def list_entities(self) -> list[EntityInfo]: method get_cleanup_hooks (line 228) | def get_cleanup_hooks(self, entity_id: str) -> list[Any]: method invalidate_entity (line 239) | def invalidate_entity(self, entity_id: str) -> None: method invalidate_all (line 280) | def invalidate_all(self) -> None: method register_entity (line 290) | def register_entity(self, entity_id: str, entity_info: EntityInfo, ent... method create_entity_info_from_object (line 313) | async def create_entity_info_from_object( method _scan_entities_directory (line 409) | async def _scan_entities_directory(self, entities_dir: Path) -> None: method _looks_like_entity (line 441) | def _looks_like_entity(self, dir_path: Path) -> bool: method _detect_entity_type (line 456) | def _detect_entity_type(self, dir_path: Path) -> str: method _check_deployment_support (line 483) | def _check_deployment_support(self, entity_path: Path, source: str) ->... method _register_sparse_entity (line 508) | def _register_sparse_entity(self, dir_path: Path) -> None: method _has_entity_exports (line 540) | def _has_entity_exports(self, file_path: Path) -> bool: method _register_sparse_file_entity (line 570) | def _register_sparse_file_entity(self, file_path: Path) -> None: method _load_env_for_entity (line 607) | def _load_env_for_entity(self, entity_path: Path) -> bool: method _load_env_file (line 630) | def _load_env_file(self, env_path: Path) -> bool: method _load_module_from_pattern (line 645) | def _load_module_from_pattern(self, pattern: str) -> tuple[Any | None,... method _load_module_from_file (line 681) | def _load_module_from_file(self, file_path: Path, module_name: str) ->... method _find_entity_in_module (line 707) | async def _find_entity_in_module(self, module: Any, entity_id: str, mo... method _is_valid_entity (line 736) | def _is_valid_entity(self, obj: Any, expected_type: str) -> bool: method _is_valid_agent (line 752) | def _is_valid_agent(self, obj: Any) -> bool: method _is_valid_workflow (line 782) | def _is_valid_workflow(self, obj: Any) -> bool: method _register_entity_from_object (line 795) | async def _register_entity_from_object( method _extract_tools_from_object (line 867) | async def _extract_tools_from_object(self, obj: Any, obj_type: str) ->... method _generate_entity_id (line 940) | def _generate_entity_id(self, entity: Any, entity_type: str, source: s... FILE: python/packages/devui/agent_framework_devui/_executor.py function _get_event_type (line 24) | def _get_event_type(event: Any) -> str | None: class EntityNotFoundError (line 32) | class EntityNotFoundError(Exception): class AgentFrameworkExecutor (line 38) | class AgentFrameworkExecutor: method __init__ (line 41) | def __init__( method _setup_instrumentation_provider (line 71) | def _setup_instrumentation_provider(self) -> None: method _setup_agent_framework_instrumentation (line 96) | def _setup_agent_framework_instrumentation(self) -> None: method _get_request_conversation_id (line 114) | def _get_request_conversation_id(self, request: AgentFrameworkRequest)... method _track_approval_request (line 126) | def _track_approval_request(self, event: dict[str, Any]) -> None: method _ensure_mcp_connections (line 138) | async def _ensure_mcp_connections(self, agent: Any) -> None: method discover_entities (line 197) | async def discover_entities(self) -> list[EntityInfo]: method get_entity_info (line 205) | def get_entity_info(self, entity_id: str) -> EntityInfo: method execute_streaming (line 222) | async def execute_streaming(self, request: AgentFrameworkRequest) -> A... method execute_sync (line 258) | async def execute_sync(self, request: AgentFrameworkRequest) -> OpenAI... method execute_entity (line 273) | async def execute_entity(self, entity_id: str, request: AgentFramework... method _execute_agent (line 328) | async def _execute_agent( method _execute_workflow (line 406) | async def _execute_workflow( method _convert_input_to_chat_message (line 581) | def _convert_input_to_chat_message(self, input_data: Any) -> Any: method _convert_openai_input_to_chat_message (line 612) | def _convert_openai_input_to_chat_message(self, input_items: list[Any]... method _extract_user_message_fallback (line 794) | def _extract_user_message_fallback(self, input_data: Any) -> str: method _is_openai_multimodal_format (line 816) | def _is_openai_multimodal_format(self, input_data: Any) -> bool: method _parse_workflow_input (line 834) | async def _parse_workflow_input(self, workflow: Any, raw_input: Any) -... method _get_start_executor_message_types (line 871) | def _get_start_executor_message_types(self, workflow: Any) -> tuple[An... method _extract_workflow_hil_responses (line 903) | def _extract_workflow_hil_responses(self, input_data: Any) -> dict[str... method _get_or_create_conversation (line 970) | def _get_or_create_conversation(self, conversation_id: str, entity_id:... method _parse_structured_workflow_input (line 991) | def _parse_structured_workflow_input(self, workflow: Any, input_data: ... method _parse_raw_workflow_input (line 1029) | def _parse_raw_workflow_input(self, workflow: Any, raw_input: str) -> ... method _enrich_request_info_event_with_response_schema (line 1067) | def _enrich_request_info_event_with_response_schema(self, event: Any, ... FILE: python/packages/devui/agent_framework_devui/_mapper.py function _to_str_dict (line 64) | def _to_str_dict(value: Any) -> dict[str, Any] | None: function _stringify_name (line 71) | def _stringify_name(value: Any) -> str: function _serialize_content_recursive (line 75) | def _serialize_content_recursive(value: Any) -> Any: class MessageMapper (line 130) | class MessageMapper: method __init__ (line 133) | def __init__(self, max_contexts: int = 1000) -> None: method convert_event (line 162) | async def convert_event(self, raw_event: Any, request: AgentFrameworkR... method aggregate_to_response (line 237) | async def aggregate_to_response(self, events: Sequence[Any], request: ... method _get_or_create_context (line 424) | def _get_or_create_context(self, request: AgentFrameworkRequest) -> di... method _next_sequence (line 459) | def _next_sequence(self, context: dict[str, Any]) -> int: method _serialize_value (line 471) | def _serialize_value(self, value: Any) -> Any: method _serialize_request_data (line 557) | def _serialize_request_data(self, request_data: Any) -> dict[str, Any]: method _convert_agent_update (line 613) | async def _convert_agent_update(self, update: Any, context: dict[str, ... method _convert_agent_response (line 711) | async def _convert_agent_response(self, response: Any, context: dict[s... method _convert_agent_lifecycle_event (line 760) | async def _convert_agent_lifecycle_event(self, event: Any, context: di... method _convert_workflow_event (line 842) | async def _convert_workflow_event(self, event: Any, context: dict[str,... method _map_text_content (line 1261) | async def _map_text_content(self, content: Any, context: dict[str, Any... method _map_reasoning_content (line 1265) | async def _map_reasoning_content(self, content: Any, context: dict[str... method _map_function_call_content (line 1276) | async def _map_function_call_content( method _get_active_function_call (line 1352) | def _get_active_function_call(self, content: Any, context: dict[str, A... method _map_function_result_content (line 1380) | async def _map_function_result_content( method _map_error_content (line 1426) | async def _map_error_content(self, content: Any, context: dict[str, An... method _map_usage_content (line 1436) | async def _map_usage_content(self, content: Any, context: dict[str, An... method _map_data_content (line 1465) | async def _map_data_content( method _map_uri_content (line 1608) | async def _map_uri_content( method _map_hosted_file_content (line 1693) | async def _map_hosted_file_content(self, content: Any, context: dict[s... method _map_hosted_vector_store_content (line 1713) | async def _map_hosted_vector_store_content( method _map_approval_request_content (line 1734) | async def _map_approval_request_content(self, content: Any, context: d... method _map_approval_response_content (line 1760) | async def _map_approval_response_content(self, content: Any, context: ... method _create_text_delta_event (line 1773) | def _create_text_delta_event(self, text: str, context: dict[str, Any])... method _create_error_event (line 1785) | async def _create_error_event(self, message: str, context: dict[str, A... method _create_unknown_event (line 1791) | async def _create_unknown_event(self, event_data: Any, context: dict[s... method _create_unknown_content_event (line 1796) | async def _create_unknown_content_event(self, content: Any, context: d... method _create_error_response (line 1802) | async def _create_error_response(self, error_message: str, request: Ag... FILE: python/packages/devui/agent_framework_devui/_openai/_executor.py function _extract_error_details (line 25) | def _extract_error_details(body: Any) -> tuple[str | None, str | None, s... class OpenAIExecutor (line 45) | class OpenAIExecutor: method __init__ (line 58) | def __init__(self, conversation_store: ConversationStore): method is_configured (line 72) | def is_configured(self) -> bool: method _get_client (line 80) | def _get_client(self) -> AsyncOpenAI: method execute_streaming (line 101) | async def execute_streaming(self, request: AgentFrameworkRequest) -> A... method execute_sync (line 238) | async def execute_sync(self, request: AgentFrameworkRequest) -> OpenAI... method close (line 283) | async def close(self) -> None: FILE: python/packages/devui/agent_framework_devui/_server.py function _extract_error_details (line 35) | def _extract_error_details(body: object) -> tuple[str | None, str | None... class DevServer (line 67) | class DevServer: method __init__ (line 70) | def __init__( method set_pending_entities (line 109) | def set_pending_entities(self, entities: list[Any]) -> None: method _is_dev_mode (line 113) | def _is_dev_mode(self) -> bool: method _format_error (line 121) | def _format_error(self, error: Exception, context: str = "Operation") ... method _require_developer_mode (line 142) | def _require_developer_mode(self, feature: str = "operation") -> None: method _ensure_executor (line 165) | async def _ensure_executor(self) -> AgentFrameworkExecutor: method _ensure_openai_executor (line 197) | async def _ensure_openai_executor(self) -> OpenAIExecutor: method _cleanup_entities (line 220) | async def _cleanup_entities(self) -> None: method create_app (line 315) | def create_app(self) -> FastAPI: method _register_routes (line 415) | def _register_routes(self, app: FastAPI) -> None: method _stream_execution (line 1149) | async def _stream_execution( method _stream_openai_execution (line 1221) | async def _stream_openai_execution( method _stream_with_cancellation (line 1278) | async def _stream_with_cancellation( method _mount_ui (line 1372) | def _mount_ui(self, app: FastAPI) -> None: method register_entities (line 1380) | def register_entities(self, entities: list[Any]) -> None: method get_app (line 1390) | def get_app(self) -> FastAPI: FILE: python/packages/devui/agent_framework_devui/_session.py class RequestRecord (line 15) | class RequestRecord(TypedDict): class SessionData (line 29) | class SessionData(TypedDict): class SessionManager (line 42) | class SessionManager: method __init__ (line 45) | def __init__(self) -> None: method create_session (line 49) | def create_session(self, session_id: str | None = None) -> str: method get_session (line 72) | def get_session(self, session_id: str) -> SessionData | None: method close_session (line 83) | def close_session(self, session_id: str) -> None: method add_request_record (line 93) | def add_request_record( method update_request_record (line 124) | def update_request_record(self, session_id: str, request_id: str, upda... method get_session_history (line 142) | def get_session_history(self, session_id: str) -> SessionSummary | None: method get_active_sessions (line 175) | def get_active_sessions(self) -> list[SessionSummary]: method cleanup_old_sessions (line 198) | def cleanup_old_sessions(self, max_age_hours: int = 24) -> None: FILE: python/packages/devui/agent_framework_devui/_tracing.py class SimpleTraceCollector (line 20) | class SimpleTraceCollector(SpanExporter): method __init__ (line 23) | def __init__(self, response_id: str | None = None, entity_id: str | No... method export (line 34) | def export(self, spans: Sequence[Any]) -> SpanExportResult: method force_flush (line 58) | def force_flush(self, timeout_millis: int = 30000) -> bool: method get_pending_events (line 62) | def get_pending_events(self) -> list[ResponseTraceEvent]: method _convert_span_to_trace_event (line 72) | def _convert_span_to_trace_event(self, span: Any) -> ResponseTraceEven... function capture_traces (line 125) | def capture_traces(response_id: str | None = None, entity_id: str | None... FILE: python/packages/devui/agent_framework_devui/_utils.py function _string_key_dict (line 17) | def _string_key_dict(value: object) -> dict[str, Any] | None: function extract_agent_metadata (line 29) | def extract_agent_metadata(entity_object: Any) -> dict[str, Any]: function extract_executor_message_types (line 103) | def extract_executor_message_types(executor: Any) -> list[Any]: function _contains_chat_message (line 133) | def _contains_chat_message(type_hint: Any) -> bool: function select_primary_input_type (line 148) | def select_primary_input_type(message_types: list[Any]) -> Any | None: function is_serialization_mixin (line 184) | def is_serialization_mixin(cls: type) -> bool: function _type_to_schema (line 201) | def _type_to_schema(type_hint: Any, field_name: str) -> dict[str, Any]: function generate_schema_from_serialization_mixin (line 265) | def generate_schema_from_serialization_mixin(cls: type[Any]) -> dict[str... function generate_schema_from_dataclass (line 310) | def generate_schema_from_dataclass(cls: type[Any]) -> dict[str, Any]: function extract_response_type_from_executor (line 342) | def extract_response_type_from_executor(executor: Any, request_type: typ... function generate_input_schema (line 404) | def generate_input_schema(input_type: type) -> dict[str, Any]: function parse_input_for_type (line 454) | def parse_input_for_type(input_data: Any, target_type: type) -> Any: function _parse_string_input (line 487) | def _parse_string_input(input_str: str, target_type: type) -> Any: function _parse_dict_input (line 588) | def _parse_dict_input(input_dict: dict[str, Any], target_type: type) -> ... FILE: python/packages/devui/agent_framework_devui/models/_discovery_models.py class EnvVarRequirement (line 14) | class EnvVarRequirement(BaseModel): class EntityInfo (line 23) | class EntityInfo(BaseModel): class DiscoveryResponse (line 60) | class DiscoveryResponse(BaseModel): class DeploymentConfig (line 71) | class DeploymentConfig(BaseModel): method validate_app_name (line 84) | def validate_app_name(cls, v: str) -> str: method validate_resource_group (line 113) | def validate_resource_group(cls, v: str) -> str: method validate_region (line 140) | def validate_region(cls, v: str) -> str: method validate_entity_id (line 160) | def validate_entity_id(cls, v: str) -> str: method validate_ui_mode (line 176) | def validate_ui_mode(cls, v: str) -> str: class DeploymentEvent (line 184) | class DeploymentEvent(BaseModel): class Deployment (line 193) | class Deployment(BaseModel): FILE: python/packages/devui/agent_framework_devui/models/_openai_custom.py class AgentStartedEvent (line 20) | class AgentStartedEvent: class AgentCompletedEvent (line 26) | class AgentCompletedEvent: class AgentFailedEvent (line 33) | class AgentFailedEvent: class ExecutorActionItem (line 39) | class ExecutorActionItem(BaseModel): class CustomResponseOutputItemAddedEvent (line 56) | class CustomResponseOutputItemAddedEvent(BaseModel): class CustomResponseOutputItemDoneEvent (line 69) | class CustomResponseOutputItemDoneEvent(BaseModel): class ResponseWorkflowEventComplete (line 82) | class ResponseWorkflowEventComplete(BaseModel): class ResponseTraceEventComplete (line 100) | class ResponseTraceEventComplete(BaseModel): class ResponseFunctionResultComplete (line 119) | class ResponseFunctionResultComplete(BaseModel): class ResponseRequestInfoEvent (line 142) | class ResponseRequestInfoEvent(BaseModel): class ResponseOutputImage (line 191) | class ResponseOutputImage(BaseModel): class ResponseOutputFile (line 218) | class ResponseOutputFile(BaseModel): class ResponseOutputData (line 248) | class ResponseOutputData(BaseModel): class AgentFrameworkExtraBody (line 276) | class AgentFrameworkExtraBody(BaseModel): class AgentFrameworkRequest (line 286) | class AgentFrameworkRequest(BaseModel): method get_entity_id (line 318) | def get_entity_id(self) -> str | None: method _get_conversation_id (line 327) | def _get_conversation_id(self) -> str | None: method to_openai_params (line 340) | def to_openai_params(self) -> dict[str, Any]: class ResponseTraceEvent (line 346) | class ResponseTraceEvent(BaseModel): class OpenAIError (line 354) | class OpenAIError(BaseModel): method create (line 360) | def create(cls, message: str, type: str = "invalid_request_error", cod... method to_dict (line 365) | def to_dict(self) -> dict[str, Any]: method to_json (line 369) | def to_json(self) -> str: class MetaResponse (line 374) | class MetaResponse(BaseModel): FILE: python/packages/devui/agent_framework_devui/ui/assets/index.js function KE (line 1) | function KE(e,n){for(var r=0;r{let r=!1;const a=e.map(l=>{const c=Sv(l,n);... function rt (line 49) | function rt(...e){return w.useCallback(ad(...e),e)} function ja (line 49) | function ja(e){const n=lC(e),r=w.forwardRef((a,l)=>{const{children:c,...... function lC (line 49) | function lC(e){const n=w.forwardRef((r,a)=>{const{children:l,...c}=r;if(... function cC (line 49) | function cC(e){const n=({children:r})=>o.jsx(o.Fragment,{children:r});re... function uC (line 49) | function uC(e){return w.isValidElement(e)&&typeof e.type=="function"&&"_... function dC (line 49) | function dC(e,n){const r={...n};for(const a in n){const l=e[a],c=n[a];/^... function fC (line 49) | function fC(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get... function ww (line 49) | function ww(e){var n,r,a="";if(typeof e=="string"||typeof e=="number")a+... function Nw (line 49) | function Nw(){for(var e,n,r=0,a="",l=arguments.length;r... function We (line 49) | function We(...e){return YC(Nw(e))} function Le (line 49) | function Le({className:e,variant:n,size:r,asChild:a=!1,...l}){const c=a?... function ut (line 49) | function ut({className:e,variant:n,...r}){return o.jsx("div",{className:... function ke (line 49) | function ke(e,n,{checkForDefaultPrevented:r=!0}={}){return function(l){i... function Kn (line 49) | function Kn(e,n=[]){let r=[];function a(c,d){const f=w.createContext(d),... function ZC (line 49) | function ZC(...e){const n=e[0];if(e.length===1)return n;const r=()=>{con... function Ar (line 49) | function Ar({prop:e,defaultProp:n,onChange:r=()=>{},caller:a}){const[l,c... function KC (line 49) | function KC({defaultProp:e,onChange:n}){const[r,a]=w.useState(e),l=w.use... function QC (line 49) | function QC(e){return typeof e=="function"} function Ow (line 49) | function Ow(e,n){e&&Nl.flushSync(()=>e.dispatchEvent(n))} function Tp (line 49) | function Tp(e){const n=e+"CollectionProvider",[r,a]=Kn(n),[l,c]=r(n,{col... function jl (line 49) | function jl(e){const n=w.useContext(tk);return e||n||"ltr"} function Zt (line 49) | function Zt(e){const n=w.useRef(e);return w.useEffect(()=>{n.current=e})... function nk (line 49) | function nk(e,n=globalThis?.document){const r=Zt(e);w.useEffect(()=>{con... function lk (line 49) | function lk(e,n=globalThis?.document){const r=Zt(e),a=w.useRef(!1),l=w.u... function ck (line 49) | function ck(e,n=globalThis?.document){const r=Zt(e),a=w.useRef(!1);retur... function Rv (line 49) | function Rv(){const e=new CustomEvent(qh);document.dispatchEvent(e)} function Iw (line 49) | function Iw(e,n,r,{discrete:a}){const l=r.originalEvent.target,c=new Cus... function Lw (line 49) | function Lw(){w.useEffect(()=>{const e=document.querySelectorAll("[data-... function Dv (line 49) | function Dv(){const e=document.createElement("span");return e.setAttribu... method pause (line 49) | pause(){this.paused=!0} method resume (line 49) | resume(){this.paused=!1} function dk (line 49) | function dk(e,{select:n=!1}={}){const r=document.activeElement;for(const... function fk (line 49) | function fk(e){const n=$w(e),r=zv(n,e),a=zv(n.reverse(),e);return[r,a]} function $w (line 49) | function $w(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_... function zv (line 49) | function zv(e,n){for(const r of e)if(!mk(r,{upTo:n}))return r} function mk (line 49) | function mk(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")ret... function hk (line 49) | function hk(e){return e instanceof HTMLInputElement&&"select"in e} function Er (line 49) | function Er(e,{select:n=!1}={}){if(e&&e.focus){const r=document.activeEl... function pk (line 49) | function pk(){let e=[];return{add(n){const r=e[0];n!==r&&r?.pause(),e=Lv... function Lv (line 49) | function Lv(e,n){const r=[...e],a=r.indexOf(n);return a!==-1&&r.splice(a... function gk (line 49) | function gk(e){return e.filter(n=>n.tagName!=="A")} function Mr (line 49) | function Mr(e){const[n,r]=w.useState(xk());return Wt(()=>{r(a=>a??String... function Fh (line 49) | function Fh(e,n,r){return jn(e,Rr(n,r))} function Gs (line 49) | function Gs(e,n){return typeof e=="function"?e(n):e} function Xs (line 49) | function Xs(e){return e.split("-")[0]} function Pa (line 49) | function Pa(e){return e.split("-")[1]} function Mp (line 49) | function Mp(e){return e==="x"?"y":"x"} function Rp (line 49) | function Rp(e){return e==="y"?"height":"width"} function cs (line 49) | function cs(e){return Nk.has(Xs(e))?"y":"x"} function Dp (line 49) | function Dp(e){return Mp(cs(e))} function jk (line 49) | function jk(e,n,r){r===void 0&&(r=!1);const a=Pa(e),l=Dp(e),c=Rp(l);let ... function Sk (line 49) | function Sk(e){const n=Ou(e);return[Yh(e),n,Yh(n)]} function Yh (line 49) | function Yh(e){return e.replace(/start|end/g,n=>wk[n])} function Ck (line 49) | function Ck(e,n,r){switch(e){case"top":case"bottom":return r?n?Pv:$v:n?$... function kk (line 49) | function kk(e,n,r,a){const l=Pa(e);let c=Ck(Xs(e),r==="start",a);return ... function Ou (line 49) | function Ou(e){return e.replace(/left|right|bottom|top/g,n=>bk[n])} function Tk (line 49) | function Tk(e){return{top:0,right:0,bottom:0,left:0,...e}} function Pw (line 49) | function Pw(e){return typeof e!="number"?Tk(e):{top:e,right:e,bottom:e,l... function zu (line 49) | function zu(e){const{x:n,y:r,width:a,height:l}=e;return{width:a,height:l... function Hv (line 49) | function Hv(e,n,r){let{reference:a,floating:l}=e;const c=cs(n),d=Dp(n),f... function ol (line 49) | async function ol(e,n){var r;n===void 0&&(n={});const{x:a,y:l,platform:c... method fn (line 49) | async fn(n){const{x:r,y:a,placement:l,rects:c,platform:d,elements:f,midd... method fn (line 49) | async fn(n){var r,a;const{placement:l,middlewareData:c,rects:d,initialPl... function Uv (line 49) | function Uv(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:... function Bv (line 49) | function Bv(e){return vk.some(n=>e[n]>=0)} method fn (line 49) | async fn(n){const{rects:r}=n,{strategy:a="referenceHidden",...l}=Gs(e,n)... function Ok (line 49) | async function Ok(e,n){const{placement:r,platform:a,elements:l}=e,c=awai... method fn (line 49) | async fn(n){var r,a;const{x:l,y:c,placement:d,middlewareData:f}=n,m=awai... method fn (line 49) | async fn(n){const{x:r,y:a,placement:l}=n,{mainAxis:c=!0,crossAxis:d=!1,l... method fn (line 49) | fn(n){const{x:r,y:a,placement:l,rects:c,middlewareData:d}=n,{offset:f=0,... method fn (line 49) | async fn(n){var r,a;const{placement:l,rects:c,platform:d,elements:f}=n,{... function ld (line 49) | function ld(){return typeof window<"u"} function Ha (line 49) | function Ha(e){return Uw(e)?(e.nodeName||"").toLowerCase():"#document"} function _n (line 49) | function _n(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.... function gs (line 49) | function gs(e){var n;return(n=(Uw(e)?e.ownerDocument:e.document)||window... function Uw (line 49) | function Uw(e){return ld()?e instanceof Node||e instanceof _n(e).Node:!1} function Xn (line 49) | function Xn(e){return ld()?e instanceof Element||e instanceof _n(e).Elem... function ms (line 49) | function ms(e){return ld()?e instanceof HTMLElement||e instanceof _n(e).... function Vv (line 49) | function Vv(e){return!ld()||typeof ShadowRoot>"u"?!1:e instanceof Shadow... function Sl (line 49) | function Sl(e){const{overflow:n,overflowX:r,overflowY:a,display:l}=Zn(e)... function Uk (line 49) | function Uk(e){return Hk.has(Ha(e))} function cd (line 49) | function cd(e){return Bk.some(n=>{try{return e.matches(n)}catch{return!1... function Op (line 49) | function Op(e){const n=zp(),r=Xn(e)?Zn(e):e;return Vk.some(a=>r[a]?r[a]!... function Yk (line 49) | function Yk(e){let n=Dr(e);for(;ms(n)&&!Sa(n);){if(Op(n))return n;if(cd(... function zp (line 49) | function zp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-web... function Sa (line 49) | function Sa(e){return Gk.has(Ha(e))} function Zn (line 49) | function Zn(e){return _n(e).getComputedStyle(e)} function ud (line 49) | function ud(e){return Xn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollT... function Dr (line 49) | function Dr(e){if(Ha(e)==="html")return e;const n=e.assignedSlot||e.pare... function Bw (line 49) | function Bw(e){const n=Dr(e);return Sa(n)?e.ownerDocument?e.ownerDocumen... function al (line 49) | function al(e,n,r){var a;n===void 0&&(n=[]),r===void 0&&(r=!0);const l=B... function Gh (line 49) | function Gh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameE... function Vw (line 49) | function Vw(e){const n=Zn(e);let r=parseFloat(n.width)||0,a=parseFloat(n... function Ip (line 49) | function Ip(e){return Xn(e)?e:e.contextElement} function xa (line 49) | function xa(e){const n=Ip(e);if(!ms(n))return ds(1);const r=n.getBoundin... function qw (line 49) | function qw(e){const n=_n(e);return!zp()||!n.visualViewport?Xk:{x:n.visu... function Zk (line 49) | function Zk(e,n,r){return n===void 0&&(n=!1),!r||n&&r!==_n(e)?!1:n} function po (line 49) | function po(e,n,r,a){n===void 0&&(n=!1),r===void 0&&(r=!1);const l=e.get... function dd (line 49) | function dd(e,n){const r=ud(e).scrollLeft;return n?n.left+r:po(gs(e)).le... function Fw (line 49) | function Fw(e,n){const r=e.getBoundingClientRect(),a=r.left+n.scrollLeft... function Wk (line 49) | function Wk(e){let{elements:n,rect:r,offsetParent:a,strategy:l}=e;const ... function Kk (line 49) | function Kk(e){return Array.from(e.getClientRects())} function Qk (line 49) | function Qk(e){const n=gs(e),r=ud(e),a=e.ownerDocument.body,l=jn(n.scrol... function Jk (line 49) | function Jk(e,n){const r=_n(e),a=gs(e),l=r.visualViewport;let c=a.client... function t4 (line 49) | function t4(e,n){const r=po(e,!0,n==="fixed"),a=r.top+e.clientTop,l=r.le... function Fv (line 49) | function Fv(e,n,r){let a;if(n==="viewport")a=Jk(e,r);else if(n==="docume... function Yw (line 49) | function Yw(e,n){const r=Dr(e);return r===n||!Xn(r)||Sa(r)?!1:Zn(r).posi... function n4 (line 49) | function n4(e,n){const r=n.get(e);if(r)return r;let a=al(e,[],!1).filter... function s4 (line 49) | function s4(e){let{element:n,boundary:r,rootBoundary:a,strategy:l}=e;con... function r4 (line 49) | function r4(e){const{width:n,height:r}=Vw(e);return{width:n,height:r}} function o4 (line 49) | function o4(e,n,r){const a=ms(n),l=gs(n),c=r==="fixed",d=po(e,!0,c,n);le... function dh (line 49) | function dh(e){return Zn(e).position==="static"} function Yv (line 49) | function Yv(e,n){if(!ms(e)||Zn(e).position==="fixed")return null;if(n)re... function Gw (line 49) | function Gw(e,n){const r=_n(e);if(cd(e))return r;if(!ms(e)){let l=Dr(e);... function i4 (line 49) | function i4(e){return Zn(e).direction==="rtl"} function Xw (line 49) | function Xw(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.heigh... function c4 (line 49) | function c4(e,n){let r=null,a;const l=gs(e);function c(){var f;clearTime... function u4 (line 49) | function u4(e,n,r,a){a===void 0&&(a={});const{ancestorScroll:l=!0,ancest... function Iu (line 49) | function Iu(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typ... function Zw (line 49) | function Zw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||... function Xv (line 49) | function Xv(e,n){const r=Zw(e);return Math.round(n*r)/r} function fh (line 49) | function fh(e){const n=w.useRef(e);return yu(()=>{n.current=e}),n} function b4 (line 49) | function b4(e){e===void 0&&(e={});const{placement:n="bottom",strategy:r=... function n (line 49) | function n(r){return{}.hasOwnProperty.call(r,"current")} method fn (line 49) | fn(r){const{element:a,padding:l}=typeof e=="function"?e(r):e;return a&&n... function Lp (line 49) | function Lp(e){const[n,r]=w.useState(void 0);return Wt(()=>{if(e){r({wid... function z4 (line 49) | function z4(e){return e!==null} method fn (line 49) | fn(n){const{placement:r,rects:a,middlewareData:l}=n,d=l.arrow?.centerOff... function o1 (line 49) | function o1(e){const[n,r="center"]=e.split("-");return[n,r]} function $4 (line 49) | function $4(e,n){return w.useReducer((r,a)=>n[r][a]??r,e)} function P4 (line 49) | function P4(e){const[n,r]=w.useState(),a=w.useRef(null),l=w.useRef(e),c=... function tu (line 49) | function tu(e){return e?.animationName||"none"} function H4 (line 49) | function H4(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get... function X4 (line 49) | function X4(e,n){return n!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="Ar... function Z4 (line 49) | function Z4(e,n,r){const a=X4(e.key,r);if(!(n==="vertical"&&["ArrowLeft"... function u1 (line 49) | function u1(e,n=!1){const r=document.activeElement;for(const a of e)if(a... function W4 (line 49) | function W4(e,n){return e.map((r,a)=>e[(n+a)%e.length])} function p1 (line 49) | function p1(e,n){var r={};for(var a in e)Object.prototype.hasOwnProperty... function e3 (line 49) | function e3(e,n,r){if(r||arguments.length===2)for(var a=0,l=n.length,c;a... function ph (line 49) | function ph(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e} function s3 (line 49) | function s3(e,n){var r=w.useState(function(){return{value:e,callback:n,f... function o3 (line 49) | function o3(e,n){var r=s3(null,function(a){return e.forEach(function(l){... function a3 (line 49) | function a3(e){return e} function i3 (line 49) | function i3(e,n){n===void 0&&(n=a3);var r=[],a=!1,l={read:function(){if(... function l3 (line 49) | function l3(e){e===void 0&&(e={});var n=i3(null);return n.options=ls({as... function c3 (line 49) | function c3(e,n){return e.useMedium(n),g1} function d3 (line 49) | function d3(){if(!document)return null;var e=document.createElement("sty... function f3 (line 49) | function f3(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(docum... function m3 (line 49) | function m3(e){var n=document.head||document.getElementsByTagName("head"... function D3 (line 89) | function D3(e){var n=w.useRef([]),r=w.useRef([0,0]),a=w.useRef(),l=w.use... function O3 (line 89) | function O3(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.ho... function q1 (line 89) | function q1(e){return e?"open":"closed"} function $u (line 89) | function $u(e){return e==="indeterminate"} function Kp (line 89) | function Kp(e){return $u(e)?"indeterminate":e?"checked":"unchecked"} function oT (line 89) | function oT(e){const n=document.activeElement;for(const r of e)if(r===n|... function aT (line 89) | function aT(e,n){return e.map((r,a)=>e[(n+a)%e.length])} function iT (line 89) | function iT(e,n,r){const l=n.length>1&&Array.from(n).every(h=>h===n[0])?... function lT (line 89) | function lT(e,n){const{x:r,y:a}=e;let l=!1;for(let c=0,d=n.length-1;cn.pointerType==="mouse"?e(n):void 0} function bd (line 449) | function bd({...e}){return o.jsx(GT,{"data-slot":"dropdown-menu",...e})} function wd (line 449) | function wd({...e}){return o.jsx(XT,{"data-slot":"dropdown-menu-trigger"... function Nd (line 449) | function Nd({className:e,sideOffset:n=4,...r}){return o.jsx(ZT,{children... function $t (line 449) | function $t({className:e,inset:n,variant:r="default",...a}){return o.jsx... function yh (line 449) | function yh({className:e,inset:n,...r}){return o.jsx(KT,{"data-slot":"dr... function va (line 449) | function va({className:e,...n}){return o.jsx(JT,{"data-slot":"dropdown-m... function Vu (line 449) | function Vu({size:e="md",className:n}){return o.jsx(Or,{className:We("an... function YM (line 449) | function YM({agents:e,workflows:n,entities:r,selectedItem:a,onSelect:l,o... function g (line 449) | function g(b){(Array.isArray(e)?e:[e]).forEach(j=>{let N=j==="class",S=N... function x (line 449) | function x(b){f&&h.includes(b)&&(m.style.colorScheme=b)} function y (line 449) | function y(){return window.matchMedia("(prefers-color-scheme: dark)").ma... function s5 (line 449) | function s5(){const{setTheme:e}=WM();return o.jsxs(bd,{children:[o.jsx(w... function a5 (line 449) | function a5(e,n=o5){const r=Nn.useSyncExternalStore(e.subscribe,Nn.useCa... function h5 (line 454) | function h5(e,n){let r;try{r=e()}catch{return}return{getItem:l=>{var c;c... method then (line 454) | then(a){return ep(a)(r)} method catch (line 454) | catch(a){return this} method then (line 454) | then(a){return this} method catch (line 454) | catch(a){return ep(a)(r)} function ab (line 454) | function ab({agents:e,workflows:n,entities:r,selectedItem:a,onSelect:l,o... function tp (line 454) | function tp(e,[n,r]){return Math.min(r,Math.max(n,e))} function x5 (line 454) | function x5(e,n){return w.useReducer((r,a)=>n[r][a]??r,e)} function x (line 454) | function x(y,b){return E5(y,d.current,f,b)} function H (line 454) | function H(q){if(_.current){const X=q.clientX-_.current.left,W=q.clientY... function Fu (line 454) | function Fu(e){return e?parseInt(e,10):0} function bN (line 454) | function bN(e,n){const r=e/n;return isNaN(r)?0:r} function jd (line 454) | function jd(e){const n=bN(e.viewport,e.content),r=e.scrollbar.paddingSta... function E5 (line 454) | function E5(e,n,r,a="ltr"){const l=jd(r),c=l/2,d=n||c,f=l-d,m=r.scrollba... function ib (line 454) | function ib(e,n,r="ltr"){const a=jd(n),l=n.scrollbar.paddingStart+n.scro... function wN (line 454) | function wN(e,n){return r=>{if(e[0]===e[1]||n[0]===n[1])return n[0];cons... function NN (line 454) | function NN(e,n){return e>0&&e()=>... function Ca (line 454) | function Ca(e,n){const r=Zt(n);Wt(()=>{let a=0;if(e){const l=new ResizeO... function DN (line 454) | function DN(e,n){return`${e}-trigger-${n}`} function ON (line 454) | function ON(e,n){return`${e}-content-${n}`} function fg (line 454) | function fg(e){const n=w.useRef({value:e,previous:e});return w.useMemo((... function I5 (line 454) | function I5(e){const{__scopeCheckbox:n,checked:r,children:a,defaultCheck... function L5 (line 454) | function L5(e){return typeof e=="function"} function Tr (line 454) | function Tr(e){return e==="indeterminate"} function YN (line 454) | function YN(e){return Tr(e)?"indeterminate":e?"checked":"unchecked"} function co (line 454) | function co({className:e,...n}){return o.jsx(UN,{"data-slot":"checkbox",... function W5 (line 454) | function W5(e,n){const r=Math.abs(n.top-e.y),a=Math.abs(n.bottom-e.y),l=... function K5 (line 454) | function K5(e,n,r=5){const a=[];switch(n){case"top":a.push({x:e.x-r,y:e.... function Q5 (line 454) | function Q5(e){const{top:n,right:r,bottom:a,left:l}=e;return[{x:l,y:n},{... function J5 (line 454) | function J5(e,n){const{x:r,y:a}=e;let l=!1;for(let c=0,d=n.length-1;cr.xa.x... function tR (line 454) | function tR(e){if(e.length<=1)return e.slice();const n=[];for(let a=0;a<... function cR (line 454) | function cR(e){return e.type==="text"} function uR (line 454) | function uR(e){return e.type==="tool_call"||e.type==="function_call"} function dR (line 454) | function dR(e){return e.type==="tool_result"||e.type==="function_result"... function fR (line 454) | function fR(e){if(!e)return[];try{return JSON.parse(e)}catch{return[]}} function mR (line 454) | function mR(e){const n={system:0,user:0,assistant:0,toolCalls:0,toolResu... function hR (line 454) | function hR(e){const n=e.filter(l=>l.type==="response.trace.completed"),... function pR (line 454) | function pR(e){if(e.length===0)return{totalInput:0,totalOutput:0,totalTo... function gR (line 454) | function gR(e){return e.reduce((n,r)=>({system:n.system+r.composition.sy... function In (line 454) | function In(e){return e>=1e3?`${(e/1e3).toFixed(1)}k`:String(e)} function lb (line 454) | function lb({segments:e,maxValue:n,height:r=20,renderLabel:a}){const l=e... function xR (line 454) | function xR(e,n){return[{key:"input",value:e,color:Pt.input,label:"Input... function yR (line 454) | function yR(e){return[{key:"system",value:e.system,color:Pt.system,label... function o2 (line 454) | function o2({composition:e,className:n=""}){const{system:r,user:a,assist... function vR (line 454) | function vR({turn:e,index:n,maxValue:r,maxCompositionValue:a,cumulativeI... function wh (line 454) | function wh({label:e,value:n,icon:r,color:a="default"}){const l={default... function bR (line 454) | function bR({events:e}){const n=le(x=>x.contextInspectorViewMode),r=le(x... function a2 (line 454) | function a2(){return o.jsx("div",{className:"flex items-center gap-2 py-... function i2 (line 454) | function i2(e){const n=[];let r=!1;for(let a=0;ac.debugTraceSubTab),r=le(c=>c.setD... function MR (line 456) | function MR({events:e}){const n=gg(e),r=[],a=n.filter(m=>m.type==="respo... function RR (line 456) | function RR({event:e}){const n="_uiTimestamp"in e&&typeof e._uiTimestamp... function DR (line 456) | function DR({events:e,isStreaming:n=!1,onMinimize:r}){const a=le(d=>d.de... function Ir (line 456) | function Ir({open:e,onOpenChange:n,children:r}){if(!e)return null;const ... function Lr (line 456) | function Lr({children:e,className:n=""}){const a=n.includes("w-[")||n.in... function $r (line 456) | function $r({children:e,className:n=""}){return o.jsx("div",{className:`... function Pr (line 456) | function Pr({children:e,className:n=""}){return o.jsx("h2",{className:`t... function OR (line 456) | function OR({children:e,className:n=""}){return o.jsx("p",{className:`te... function So (line 456) | function So({onClose:e}){return o.jsx(Le,{variant:"ghost",size:"sm",onCl... function zR (line 456) | function zR({children:e}){return o.jsx("div",{className:"flex justify-en... function as (line 456) | function as({className:e,type:n,...r}){return o.jsx("input",{type:n,"dat... function kt (line 456) | function kt({className:e,...n}){return o.jsx(LR,{"data-slot":"label",cla... function p2 (line 456) | function p2(e){return e?"checked":"unchecked"} function cb (line 456) | function cb({open:e,onOpenChange:n,onBackendUrlChange:r}){const[a,l]=w.u... function c (line 456) | function c(d){const f=new Event("vite:preloadError",{cancelable:!0});if(... function Yu (line 456) | function Yu(e){return`${x2}${e}`} function YR (line 456) | function YR(e){let n="";for(const r of e)r.type==="response.output_text.... function v2 (line 456) | function v2(e){try{const n=Yu(e.conversationId),r=JSON.stringify(e);loca... function ba (line 456) | function ba(e){try{const n=Yu(e),r=localStorage.getItem(n);if(!r)return ... function Nh (line 456) | function Nh(e,n,r,a){try{const l=ba(e),c="sequence_number"in n?n.sequenc... function jh (line 456) | function jh(e){try{const n=ba(e);n&&(n.completed=!0,n.timestamp=Date.now... function Eu (line 456) | function Eu(e){try{const n=Yu(e);localStorage.removeItem(n)}catch(n){con... function b2 (line 456) | function b2(){try{const e=Object.keys(localStorage),n=Date.now();for(con... function GR (line 456) | function GR(){b2()} function w2 (line 456) | function w2(){const[e,n]=w.useState(!1),r=w.useRef(null),a=w.useCallback... function Gu (line 456) | function Gu(e){return e instanceof DOMException&&e.name==="AbortError"} function XR (line 456) | function XR(e={}){const{onDrop:n,disabled:r=!1}=e,[a,l]=w.useState(!1),[... function KR (line 456) | function KR(){const e=localStorage.getItem("devui_backend_url");return e... function QR (line 456) | function QR(e){return new Promise(n=>setTimeout(n,e))} class JR (line 456) | class JR{baseUrl;authToken=null;constructor(n){this.baseUrl=n||KR(),this... method constructor (line 456) | constructor(n){this.baseUrl=n||KR(),this.authToken=localStorage.getIte... method setBaseUrl (line 456) | setBaseUrl(n){this.baseUrl=n} method getBaseUrl (line 456) | getBaseUrl(){return this.baseUrl} method setAuthToken (line 456) | setAuthToken(n){this.authToken=n,n?localStorage.setItem("devui_auth_to... method getAuthToken (line 456) | getAuthToken(){return this.authToken} method clearAuthToken (line 456) | clearAuthToken(){this.setAuthToken(null)} method request (line 456) | async request(n,r={}){const a=`${this.baseUrl}${n}`,l={"Content-Type":... method getHealth (line 456) | async getHealth(){return this.request("/health")} method getMeta (line 456) | async getMeta(){return this.request("/meta")} method getEntities (line 456) | async getEntities(){const r=(await this.request("/v1/entities")).entit... method getAgents (line 456) | async getAgents(){const{agents:n}=await this.getEntities();return n} method getWorkflows (line 456) | async getWorkflows(){const{workflows:n}=await this.getEntities();retur... method getAgentInfo (line 456) | async getAgentInfo(n){return this.request(`/v1/entities/${n}/info?type... method getWorkflowInfo (line 456) | async getWorkflowInfo(n){return this.request(`/v1/entities/${n}/info?t... method reloadEntity (line 456) | async reloadEntity(n){return this.request(`/v1/entities/${n}/reload`,{... method createConversation (line 456) | async createConversation(n){const{oaiMode:r}=await _u(()=>Promise.reso... method listConversations (line 456) | async listConversations(n){const r=n?`/v1/conversations?agent_id=${enc... method getConversation (line 456) | async getConversation(n){const r=await this.request(`/v1/conversations... method deleteConversation (line 456) | async deleteConversation(n){try{return await this.request(`/v1/convers... method listConversationItems (line 456) | async listConversationItems(n,r){const a=new URLSearchParams;r?.limit&... method getConversationItem (line 456) | async getConversationItem(n,r){const a=`/v1/conversations/${n}/items/$... method deleteConversationItem (line 456) | async deleteConversationItem(n,r){const a=await fetch(`${this.baseUrl}... method streamOpenAIResponse (line 456) | async*streamOpenAIResponse(n,r,a,l){const{oaiMode:c}=await _u(()=>Prom... method streamAgentExecutionOpenAI (line 457) | async*streamAgentExecutionOpenAI(n,r,a,l){const c={metadata:{entity_id... method streamAgentExecutionOpenAIDirect (line 457) | async*streamAgentExecutionOpenAIDirect(n,r,a,l,c){yield*this.streamOpe... method streamWorkflowExecutionOpenAI (line 457) | async*streamWorkflowExecutionOpenAI(n,r,a){const l={metadata:{entity_i... method runAgentSync (line 457) | async runAgentSync(n,r){const{oaiMode:a}=await _u(()=>Promise.resolve(... method runWorkflowSync (line 457) | async runWorkflowSync(n,r){const a={metadata:{entity_id:n},input:JSON.... method clearStreamingState (line 457) | clearStreamingState(n){Eu(n)} method streamDeployment (line 457) | async*streamDeployment(n){const r=await fetch(`${this.baseUrl}/v1/depl... method listWorkflowSessions (line 458) | async listWorkflowSessions(n){const r=`/v1/conversations?entity_id=${e... method createWorkflowSession (line 458) | async createWorkflowSession(n,r){const a={entity_id:n,type:"workflow_s... method deleteWorkflowSession (line 458) | async deleteWorkflowSession(n,r){if(!await this.deleteConversation(r))... function eD (line 458) | function eD({open:e,onClose:n,agentName:r="Agent",entity:a}){const c=le(... function tD (line 519) | function tD({className:e,...n}){return o.jsx("div",{"data-slot":"card",c... function nD (line 519) | function nD({className:e,...n}){return o.jsx("div",{"data-slot":"card-he... function N2 (line 519) | function N2({className:e,...n}){return o.jsx("div",{"data-slot":"card-ti... function sD (line 519) | function sD({className:e,...n}){return o.jsx("div",{"data-slot":"card-de... function rD (line 519) | function rD({className:e,...n}){return o.jsx("div",{"data-slot":"card-co... function oD (line 519) | function oD({className:e,...n}){return o.jsx("div",{"data-slot":"card-fo... function E2 (line 519) | function E2({children:e,copyable:n=!1}){const[r,a]=w.useState(!1),l=()=>... function iu (line 519) | function iu({number:e,title:n,description:r,code:a,action:l,copyable:c=!... function iD (line 519) | function iD({sample:e,open:n,onOpenChange:r}){const a=e.requiredEnvVars&... function lD (line 531) | function lD({sample:e}){const[n,r]=w.useState(!1),a=e.type==="workflow"?... function _h (line 531) | function _h({samples:e}){return o.jsx("div",{className:"grid grid-cols-1... function db (line 531) | function db({onClose:e,variant:n="inline",hasExistingEntities:r=!1}){ret... function tl (line 531) | function tl({className:e,...n}){return o.jsx("textarea",{"data-slot":"te... function cD (line 531) | function cD({onFilesSelected:e,accept:n="image/*,.pdf,audio/*,.wav,.mp3,... function uD (line 531) | function uD(e){if(e===0)return"0 Bytes";const n=1024,r=["Bytes","KB","MB... function dD (line 531) | function dD(e,n){return n.split(",").map(a=>a.trim()).some(a=>{if(a.star... function fD (line 531) | function fD({attachments:e,onRemoveAttachment:n,className:r=""}){return ... function mD (line 531) | function mD({attachment:e,onRemove:n}){const[r,a]=w.useState(!1),l=()=>{... function xg (line 531) | function xg({onSubmit:e,isSubmitting:n=!1,isStreaming:r=!1,onCancel:a,is... function hD (line 535) | function hD({code:e,language:n}){const[r,a]=w.useState(!1),l=w.useRef(nu... function pD (line 539) | function pD({content:e,className:n=""}){const r=e.split(` function wn (line 545) | function wn(e) { const n = []; let r = e, a = 0; for (; r.length > 0;) {... function nl (line 545) | function nl(e) { const n = []; let r = e, a = 0; for (; r.length > 0;) {... function gD (line 545) | function gD({ content: e, className: n, isStreaming: r }) { if (e.type !... function xD (line 545) | function xD({ content: e, className: n }) { const [r, a] = w.useState(!1... function yD (line 545) | function yD(e, n) { const [r, a] = w.useState(null); return w.useEffect(... function vD (line 545) | function vD({ content: e, className: n }) { const [r, a] = w.useState(!0... function bD (line 545) | function bD({ content: e, className: n }) { const [r, a] = w.useState(!1... function wD (line 545) | function wD({ content: e, className: n }) { const [r, a] = w.useState(!1... function ND (line 545) | function ND({ content: e, className: n, isStreaming: r }) { switch (e.ty... function jD (line 545) | function jD({ name: e, arguments: n, className: r }) { const [a, l] = w.... function SD (line 545) | function SD({ output: e, call_id: n, className: r }) { const [a, l] = w.... function _D (line 545) | function _D({ item: e, className: n }) { if (e.type === "message") { con... function W2 (line 545) | function W2(e) { return e === "" || e === void 0 } function K2 (line 545) | function K2(e) { const n = Zt(e), r = w.useRef(""), a = w.useRef(0), l =... function Q2 (line 545) | function Q2(e, n, r) { const l = n.length > 1 && Array.from(n).every(h =... function XD (line 545) | function XD(e, n) { return e.map((r, a) => e[(n + a) % e.length]) } function vg (line 545) | function vg({ ...e }) { return o.jsx(ZD, { "data-slot": "select", ...e }) } function bg (line 545) | function bg({ ...e }) { return o.jsx(KD, { "data-slot": "select-value", ... function wg (line 545) | function wg({ className: e, size: n = "default", children: r, ...a }) { ... function Ng (line 545) | function Ng({ className: e, children: n, position: r = "popper", ...a })... function jg (line 545) | function jg({ className: e, children: n, ...r }) { return o.jsxs(n6, { "... function i6 (line 545) | function i6({ className: e, ...n }) { return o.jsx(o6, { "data-slot": "s... function l6 (line 545) | function l6({ className: e, ...n }) { return o.jsx(a6, { "data-slot": "s... function io (line 545) | function io({ title: e, icon: n, children: r, className: a = "" }) { ret... function c6 (line 545) | function c6({ agent: e, open: n, onOpenChange: r }) { const a = e.source... function u6 (line 545) | function u6({ item: e, toolCalls: n = [], toolResults: r = [] }) { function d6 (line 552) | function d6({selectedAgent:e,onDebugEvent:n}){const r=le(re=>re.currentC... function fb (line 552) | function fb({message:e="Loading...",description:n,size:r="md",className:... function f6 (line 552) | function f6(e){return["name","title","id","key","label","type","status",... function m6 (line 552) | function m6(e){if(e.type)return e;if(e.anyOf&&e.anyOf.length>0){const n=... function J2 (line 552) | function J2(e,n){return n.format==="textarea"||!!n.description&&n.descri... function h6 (line 552) | function h6(e,n){const r=J2(e,n),a=!!n.description&&n.description.length... function ej (line 552) | function ej(e,n){if(e.type!=="object"||!e.properties)return!1;const r=e.... function Eh (line 552) | function Eh({name:e,schema:n,value:r,onChange:a,isRequired:l=!1,isReadOn... function cp (line 552) | function cp({schema:e,values:n,onChange:r,disabled:a=!1,readOnlyFields:l... function tj (line 552) | function tj(e,n){return(e.required||[]).every(a=>{const l=n[a];return l!... function p6 (line 552) | function p6(e,n){const r=e.required||[],a={};return Object.keys(n).forEa... function g6 (line 552) | function g6({inputSchema:e,inputTypeName:n,onSubmit:r,isSubmitting:a=!1,... function x6 (line 552) | function x6(e,n,r="LR"){if(e.length===0)return e;if(e.length===1)return ... function y6 (line 552) | function y6(e){if(typeof e!="object"||e===null)return!1;const n=e;return... function nj (line 552) | function nj(e){return y6(e)?e:null} function sj (line 552) | function sj(e){if(!e||e.type!=="object"||!e.properties)return!1;const n=... function Cu (line 552) | function Cu(e,n=50,r="..."){return e.length<=n?e:e.substring(0,n)+r} function up (line 552) | function up(e,n,r){if(!e)return console.warn("convertWorkflowDumpToNodes... function dp (line 552) | function dp(e){if(!e)return console.warn("convertWorkflowDumpToEdges: wo... function rj (line 552) | function rj(e){if(e.executors&&typeof e.executors=="object"&&!Array.isAr... function oj (line 552) | function oj(e){if(e.edge_groups&&Array.isArray(e.edge_groups)){const r=[... function fp (line 552) | function fp(e,n,r="LR"){return x6(e,n,r)} function v6 (line 552) | function v6(e,n){const r={};let a=!1;const l={};return e.forEach(c=>{if(... function b6 (line 552) | function b6(e,n,r=!0){return e.map(a=>{const l=n[a.id];return l?{...a,da... function w6 (line 552) | function w6(e){const n={};return e.forEach(a=>{if(a.type==="response.out... function N6 (line 552) | function N6(e,n){const r=w6(n),a={};return n.forEach(l=>{if(l.type==="re... function Ch (line 552) | function Ch(e){const n=new Map,r=new Set;return e.forEach(a=>{const l=`$... function aj (line 552) | function aj({inputSchema:e,onRun:n,onCancel:r,isSubmitting:a,isCancellin... function Dt (line 552) | function Dt(e){if(typeof e=="string"||typeof e=="number")return""+e;let ... function Dd (line 552) | function Dd(){for(var e=0,n=arguments.length,r={},a;e=0&&(n=e.slice(0,r)... function E6 (line 552) | function E6(e){return function(){var n=this.ownerDocument,r=this.namespa... function C6 (line 552) | function C6(e){return function(){return this.ownerDocument.createElement... function ij (line 552) | function ij(e){var n=Od(e);return(n.local?C6:E6)(n)} function k6 (line 552) | function k6(){} function Sg (line 552) | function Sg(e){return e==null?k6:function(){return this.querySelector(e)}} function T6 (line 552) | function T6(e){typeof e!="function"&&(e=Sg(e));for(var n=this._groups,r=... function A6 (line 552) | function A6(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)} function M6 (line 552) | function M6(){return[]} function lj (line 552) | function lj(e){return e==null?M6:function(){return this.querySelectorAll... function R6 (line 552) | function R6(e){return function(){return A6(e.apply(this,arguments))}} function D6 (line 552) | function D6(e){typeof e=="function"?e=R6(e):e=lj(e);for(var n=this._grou... function cj (line 552) | function cj(e){return function(){return this.matches(e)}} function uj (line 552) | function uj(e){return function(n){return n.matches(e)}} function z6 (line 552) | function z6(e){return function(){return O6.call(this.children,e)}} function I6 (line 552) | function I6(){return this.firstElementChild} function L6 (line 552) | function L6(e){return this.select(e==null?I6:z6(typeof e=="function"?e:u... function P6 (line 552) | function P6(){return Array.from(this.children)} function H6 (line 552) | function H6(e){return function(){return $6.call(this.children,e)}} function U6 (line 552) | function U6(e){return this.selectAll(e==null?P6:H6(typeof e=="function"?... function B6 (line 552) | function B6(e){typeof e!="function"&&(e=cj(e));for(var n=this._groups,r=... function dj (line 552) | function dj(e){return new Array(e.length)} function V6 (line 552) | function V6(){return new En(this._enter||this._groups.map(dj),this._pare... function Zu (line 552) | function Zu(e,n){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.... function q6 (line 552) | function q6(e){return function(){return e}} function F6 (line 552) | function F6(e,n,r,a,l,c){for(var d=0,f,m=n.length,h=c.length;dn?1:e>=n?0:NaN} function nO (line 552) | function nO(){var e=arguments[0];return arguments[0]=this,e.apply(null,a... function sO (line 552) | function sO(){return Array.from(this)} function rO (line 552) | function rO(){for(var e=this._groups,n=0,r=e.length;n1?this.each((n==null?pO:typeo... function Ta (line 552) | function Ta(e,n){return e.style.getPropertyValue(n)||fj(e).getComputedSt... function vO (line 552) | function vO(e){return function(){delete this[e]}} function bO (line 552) | function bO(e,n){return function(){this[e]=n}} function wO (line 552) | function wO(e,n){return function(){var r=n.apply(this,arguments);r==null... function NO (line 552) | function NO(e,n){return arguments.length>1?this.each((n==null?vO:typeof ... function mj (line 552) | function mj(e){return e.trim().split(/^|\s+/)} function _g (line 552) | function _g(e){return e.classList||new hj(e)} function hj (line 552) | function hj(e){this._node=e,this._names=mj(e.getAttribute("class")||"")} function pj (line 552) | function pj(e,n){for(var r=_g(e),a=-1,l=n.length;++a>16&255,e>>8&255,e&255,1)} function cu (line 552) | function cu(e,n,r,a){return a<=0&&(e=n=r=NaN),new fn(e,n,r,a)} function v8 (line 552) | function v8(e){return e instanceof Ml||(e=yo(e)),e?(e=e.rgb(),new fn(e.r... function pp (line 552) | function pp(e,n,r,a){return arguments.length===1?v8(e):new fn(e,n,r,a??1)} function fn (line 552) | function fn(e,n,r,a){this.r=+e,this.g=+n,this.b=+r,this.opacity=+a} method brighter (line 552) | brighter(e){return e=e==null?Wu:Math.pow(Wu,e),new fn(this.r*e,this.g*e,... method darker (line 552) | darker(e){return e=e==null?fl:Math.pow(fl,e),new fn(this.r*e,this.g*e,th... method rgb (line 552) | rgb(){return this} method clamp (line 552) | clamp(){return new fn(mo(this.r),mo(this.g),mo(this.b),Ku(this.opacity))} method displayable (line 552) | displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5... function vb (line 552) | function vb(){return`#${fo(this.r)}${fo(this.g)}${fo(this.b)}`} function b8 (line 552) | function b8(){return`#${fo(this.r)}${fo(this.g)}${fo(this.b)}${fo((isNaN... function bb (line 552) | function bb(){const e=Ku(this.opacity);return`${e===1?"rgb(":"rgba("}${m... function Ku (line 552) | function Ku(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))} function mo (line 552) | function mo(e){return Math.max(0,Math.min(255,Math.round(e)||0))} function fo (line 552) | function fo(e){return e=mo(e),(e<16?"0":"")+e.toString(16)} function wb (line 552) | function wb(e,n,r,a){return a<=0?e=n=r=NaN:r<=0||r>=1?e=n=NaN:n<=0&&(e=N... function jj (line 552) | function jj(e){if(e instanceof Yn)return new Yn(e.h,e.s,e.l,e.opacity);i... function w8 (line 552) | function w8(e,n,r,a){return arguments.length===1?jj(e):new Yn(e,n,r,a??1)} function Yn (line 552) | function Yn(e,n,r,a){this.h=+e,this.s=+n,this.l=+r,this.opacity=+a} method brighter (line 552) | brighter(e){return e=e==null?Wu:Math.pow(Wu,e),new Yn(this.h,this.s,this... method darker (line 552) | darker(e){return e=e==null?fl:Math.pow(fl,e),new Yn(this.h,this.s,this.l... method rgb (line 552) | rgb(){var e=this.h%360+(this.h<0)*360,n=isNaN(e)||isNaN(this.s)?0:this.s... method clamp (line 552) | clamp(){return new Yn(Nb(this.h),uu(this.s),uu(this.l),Ku(this.opacity))} method displayable (line 552) | displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&th... method formatHsl (line 552) | formatHsl(){const e=Ku(this.opacity);return`${e===1?"hsl(":"hsla("}${Nb(... function Nb (line 552) | function Nb(e){return e=(e||0)%360,e<0?e+360:e} function uu (line 552) | function uu(e){return Math.max(0,Math.min(1,e||0))} function Th (line 552) | function Th(e,n,r){return(e<60?n+(r-n)*e/60:e<180?r:e<240?n+(r-n)*(240-e... function N8 (line 552) | function N8(e,n){return function(r){return e+r*n}} function j8 (line 552) | function j8(e,n,r){return e=Math.pow(e,r),n=Math.pow(n,r)-e,r=1/r,functi... function S8 (line 552) | function S8(e){return(e=+e)==1?Sj:function(n,r){return r-n?j8(n,r,e):Cg(... function Sj (line 552) | function Sj(e,n){var r=n-e;return r?N8(e,r):Cg(isNaN(e)?n:e)} function a (line 552) | function a(l,c){var d=r((l=pp(l)).r,(c=pp(c)).r),f=r(l.g,c.g),m=r(l.b,c.... function _8 (line 552) | function _8(e,n){n||(n=[]);var r=e?Math.min(n.length,e.length):0,a=n.sli... function E8 (line 552) | function E8(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)} function C8 (line 552) | function C8(e,n){var r=n?n.length:0,a=e?Math.min(r,e.length):0,l=new Arr... function k8 (line 552) | function k8(e,n){var r=new Date;return e=+e,n=+n,function(a){return r.se... function is (line 552) | function is(e,n){return e=+e,n=+n,function(r){return e*(1-r)+n*r}} function T8 (line 552) | function T8(e,n){var r={},a={},l;(e===null||typeof e!="object")&&(e={}),... function A8 (line 552) | function A8(e){return function(){return e}} function M8 (line 552) | function M8(e){return function(n){return e(n)+""}} function _j (line 552) | function _j(e,n){var r=gp.lastIndex=Ah.lastIndex=0,a,l,c,d=-1,f=[],m=[];... function sl (line 552) | function sl(e,n){var r=typeof n,a;return n==null||r==="boolean"?Cg(n):(r... function Ej (line 552) | function Ej(e,n,r,a,l,c){var d,f,m;return(d=Math.sqrt(e*e+n*n))&&(e/=d,n... function R8 (line 552) | function R8(e){const n=new(typeof DOMMatrix=="function"?DOMMatrix:WebKit... function D8 (line 552) | function D8(e){return e==null||(du||(du=document.createElementNS("http:/... function Cj (line 552) | function Cj(e,n,r,a){function l(h){return h.length?h.pop()+" ":""}functi... function Sb (line 552) | function Sb(e){return((e=Math.exp(e))+1/e)/2} function L8 (line 552) | function L8(e){return((e=Math.exp(e))-1/e)/2} function $8 (line 552) | function $8(e){return((e=Math.exp(2*e))-1)/(e+1)} function l (line 552) | function l(c,d){var f=c[0],m=c[1],h=c[2],g=d[0],x=d[1],y=d[2],b=g-f,j=x-... function kg (line 552) | function kg(){return vo||(Tj(P8),vo=hl.now()+zd)} function P8 (line 552) | function P8(){vo=0} function td (line 552) | function td(){this._call=this._time=this._next=null} function Aj (line 552) | function Aj(e,n,r){var a=new td;return a.restart(e,n,r),a} function H8 (line 552) | function H8(){kg(),++Aa;for(var e=Ju,n;e;)(n=vo-e._time)>=0&&e._call.cal... function _b (line 552) | function _b(){vo=(ed=hl.now())+zd,Aa=Qi=0;try{H8()}finally{Aa=0,B8(),vo=0}} function U8 (line 552) | function U8(){var e=hl.now(),n=e-ed;n>kj&&(zd-=n,ed=e)} function B8 (line 552) | function B8(){for(var e,n=Ju,r,a=1/0;n;)n._call?(a>n._time&&(a=n._time),... function yp (line 552) | function yp(e){if(!Aa){Qi&&(Qi=clearTimeout(Qi));var n=e-vo;n>24?(e<1/0&... function Eb (line 552) | function Eb(e,n,r){var a=new td;return n=n==null?0:+n,a.restart(l=>{a.st... function Id (line 552) | function Id(e,n,r,a,l,c){var d=e.__transition;if(!d)e.__transition={};el... function Tg (line 552) | function Tg(e,n){var r=Qn(e,n);if(r.state>Mj)throw new Error("too late; ... function ys (line 552) | function ys(e,n){var r=Qn(e,n);if(r.state>Au)throw new Error("too late; ... function Qn (line 552) | function Qn(e,n){var r=e.__transition;if(!r||!(r=r[n]))throw new Error("... function F8 (line 552) | function F8(e,n,r){var a=e.__transition,l;a[n]=r,r.timer=Aj(c,0,r.time);... function Ru (line 552) | function Ru(e,n){var r=e.__transition,a,l,c=!0,d;if(r){n=n==null?null:n+... function Y8 (line 552) | function Y8(e){return this.each(function(){Ru(this,e)})} function G8 (line 552) | function G8(e,n){var r,a;return function(){var l=ys(this,e),c=l.tween;if... function X8 (line 552) | function X8(e,n,r){var a,l;if(typeof r!="function")throw new Error;retur... function Z8 (line 552) | function Z8(e,n){var r=this._id;if(e+="",arguments.length<2){for(var a=Q... function Ag (line 552) | function Ag(e,n,r){var a=e._id;return e.each(function(){var l=ys(this,a)... function Rj (line 552) | function Rj(e,n){var r;return(typeof n=="number"?is:n instanceof yo?Qu:(... function W8 (line 552) | function W8(e){return function(){this.removeAttribute(e)}} function K8 (line 552) | function K8(e){return function(){this.removeAttributeNS(e.space,e.local)}} function Q8 (line 552) | function Q8(e,n,r){var a,l=r+"",c;return function(){var d=this.getAttrib... function J8 (line 552) | function J8(e,n,r){var a,l=r+"",c;return function(){var d=this.getAttrib... function e9 (line 552) | function e9(e,n,r){var a,l,c;return function(){var d,f=r(this),m;return ... function t9 (line 552) | function t9(e,n,r){var a,l,c;return function(){var d,f=r(this),m;return ... function n9 (line 552) | function n9(e,n){var r=Od(e),a=r==="transform"?z8:Rj;return this.attrTwe... function s9 (line 552) | function s9(e,n){return function(r){this.setAttribute(e,n.call(this,r))}} function r9 (line 552) | function r9(e,n){return function(r){this.setAttributeNS(e.space,e.local,... function o9 (line 552) | function o9(e,n){var r,a;function l(){var c=n.apply(this,arguments);retu... function a9 (line 552) | function a9(e,n){var r,a;function l(){var c=n.apply(this,arguments);retu... function i9 (line 552) | function i9(e,n){var r="attr."+e;if(arguments.length<2)return(r=this.twe... function l9 (line 552) | function l9(e,n){return function(){Tg(this,e).delay=+n.apply(this,argume... function c9 (line 552) | function c9(e,n){return n=+n,function(){Tg(this,e).delay=n}} function u9 (line 552) | function u9(e){var n=this._id;return arguments.length?this.each((typeof ... function d9 (line 552) | function d9(e,n){return function(){ys(this,e).duration=+n.apply(this,arg... function f9 (line 552) | function f9(e,n){return n=+n,function(){ys(this,e).duration=n}} function m9 (line 552) | function m9(e){var n=this._id;return arguments.length?this.each((typeof ... function h9 (line 552) | function h9(e,n){if(typeof n!="function")throw new Error;return function... function p9 (line 552) | function p9(e){var n=this._id;return arguments.length?this.each(h9(n,e))... function g9 (line 552) | function g9(e,n){return function(){var r=n.apply(this,arguments);if(type... function x9 (line 552) | function x9(e){if(typeof e!="function")throw new Error;return this.each(... function y9 (line 552) | function y9(e){typeof e!="function"&&(e=cj(e));for(var n=this._groups,r=... function v9 (line 552) | function v9(e){if(e._id!==this._id)throw new Error;for(var n=this._group... function b9 (line 552) | function b9(e){return(e+"").trim().split(/^|\s+/).every(function(n){var ... function w9 (line 552) | function w9(e,n,r){var a,l,c=b9(n)?Tg:ys;return function(){var d=c(this,... function N9 (line 552) | function N9(e,n){var r=this._id;return arguments.length<2?Qn(this.node()... function j9 (line 552) | function j9(e){return function(){var n=this.parentNode;for(var r in this... function S9 (line 552) | function S9(){return this.on("end.remove",j9(this._id))} function _9 (line 552) | function _9(e){var n=this._name,r=this._id;typeof e!="function"&&(e=Sg(e... function E9 (line 552) | function E9(e){var n=this._name,r=this._id;typeof e!="function"&&(e=lj(e... function k9 (line 552) | function k9(){return new C9(this._groups,this._parents)} function T9 (line 552) | function T9(e,n){var r,a,l;return function(){var c=Ta(this,e),d=(this.st... function Dj (line 552) | function Dj(e){return function(){this.style.removeProperty(e)}} function A9 (line 552) | function A9(e,n,r){var a,l=r+"",c;return function(){var d=Ta(this,e);ret... function M9 (line 552) | function M9(e,n,r){var a,l,c;return function(){var d=Ta(this,e),f=r(this... function R9 (line 552) | function R9(e,n){var r,a,l,c="style."+n,d="end."+c,f;return function(){v... function D9 (line 552) | function D9(e,n,r){var a=(e+="")=="transform"?O8:Rj;return n==null?this.... function O9 (line 552) | function O9(e,n,r){return function(a){this.style.setProperty(e,n.call(th... function z9 (line 552) | function z9(e,n,r){var a,l;function c(){var d=n.apply(this,arguments);re... function I9 (line 552) | function I9(e,n,r){var a="style."+(e+="");if(arguments.length<2)return(a... function L9 (line 552) | function L9(e){return function(){this.textContent=e}} function $9 (line 552) | function $9(e){return function(){var n=e(this);this.textContent=n??""}} function P9 (line 552) | function P9(e){return this.tween("text",typeof e=="function"?$9(Ag(this,... function H9 (line 552) | function H9(e){return function(n){this.textContent=e.call(this,n)}} function U9 (line 552) | function U9(e){var n,r;function a(){var l=e.apply(this,arguments);return... function B9 (line 552) | function B9(e){var n="text";if(arguments.length<1)return(n=this.tween(n)... function V9 (line 552) | function V9(){for(var e=this._name,n=this._id,r=Oj(),a=this._groups,l=a.... function q9 (line 552) | function q9(){var e,n,r=this,a=r._id,l=r.size();return new Promise(funct... function Zs (line 552) | function Zs(e,n,r,a){this._groups=e,this._parents=n,this._name=r,this._i... function Oj (line 552) | function Oj(){return++F9} function Y9 (line 552) | function Y9(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2} function X9 (line 552) | function X9(e,n){for(var r;!(r=e.__transition)||!(r=r[n]);)if(!(e=e.pare... function Z9 (line 552) | function Z9(e){var n,r;e instanceof Zs?(n=e._id,e=e._name):(n=Oj(),(r=G9... function W9 (line 552) | function W9(e,{sourceEvent:n,target:r,transform:a,dispatch:l}){Object.de... function Bs (line 552) | function Bs(e,n,r){this.k=e,this.x=n,this.y=r} function zj (line 552) | function zj(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Ld;return e._... function Mh (line 552) | function Mh(e){e.stopImmediatePropagation()} function Xi (line 552) | function Xi(e){e.preventDefault(),e.stopImmediatePropagation()} function K9 (line 552) | function K9(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button} function Q9 (line 552) | function Q9(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGEle... function Tb (line 552) | function Tb(){return this.__zoom||Ld} function J9 (line 552) | function J9(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*... function ez (line 552) | function ez(){return navigator.maxTouchPoints||"ontouchstart"in this} function tz (line 552) | function tz(e,n,r){var a=e.invertX(n[0][0])-r[0][0],l=e.invertX(n[1][0])... function Ij (line 552) | function Ij(){var e=K9,n=Q9,r=tz,a=J9,l=ez,c=[0,1/0],d=[[-1/0,-1/0],[1/0... function Hj (line 552) | function Hj(e){return e===null?null:e?"valid":"invalid"} function oz (line 552) | function oz(e,n){const r=new Map,a=n?.nodes?new Set(n.nodes.map(l=>l.id)... function az (line 552) | async function az({nodes:e,width:n,height:r,panZoom:a,minZoom:l,maxZoom:... function Bj (line 552) | function Bj({nodeId:e,nextPosition:n,nodeLookup:r,nodeOrigin:a=[0,0],nod... function iz (line 552) | async function iz({nodesToRemove:e=[],edgesToRemove:n=[],nodes:r,edges:a... function Vj (line 552) | function Vj(e,n,r){const{width:a,height:l}=Ws(r),{x:c,y:d}=r.internals.p... function ma (line 552) | function ma(e,n){if(typeof e=="number")return Math.floor((n-n/(1+e))*.5)... function cz (line 552) | function cz(e,n,r){if(typeof e=="string"||typeof e=="number"){const a=ma... function uz (line 552) | function uz(e,n,r,a,l,c){const{x:d,y:f}=rd(e,[n,r,a]),{x:m,y:h}=rd({x:e.... function Oa (line 552) | function Oa(e){return e!=null&&e!=="parent"} function Ws (line 552) | function Ws(e){return{width:e.measured?.width??e.width??e.initialWidth??... function Yj (line 552) | function Yj(e){return(e.measured?.width??e.width??e.initialWidth)!==void... function Gj (line 552) | function Gj(e,n={width:0,height:0},r,a,l){const c={...e},d=a.get(r);if(d... function Db (line 552) | function Db(e,n){if(e.size!==n.size)return!1;for(const r of e)if(!n.has(... function dz (line 552) | function dz(){let e,n;return{promise:new Promise((a,l)=>{e=a,n=l}),resol... function fz (line 552) | function fz(e){return{...$j,...e||{}}} function rl (line 552) | function rl(e,{snapGrid:n=[0,0],snapToGrid:r=!1,transform:a,containerBou... function Zj (line 552) | function Zj(e){const n=e.composedPath?.()?.[0]||e.target;return n?.nodeT... function Kj (line 552) | function Kj({sourceX:e,sourceY:n,targetX:r,targetY:a,sourceControlX:l,so... function mu (line 552) | function mu(e,n){return e>=0?.5*e:n*25*Math.sqrt(-e)} function zb (line 552) | function zb({pos:e,x1:n,y1:r,x2:a,y2:l,c}){switch(e){case Ue.Left:return... function Qj (line 552) | function Qj({sourceX:e,sourceY:n,sourcePosition:r=Ue.Bottom,targetX:a,ta... function Jj (line 552) | function Jj({sourceX:e,sourceY:n,targetX:r,targetY:a}){const l=Math.abs(... function hz (line 552) | function hz({sourceNode:e,targetNode:n,selected:r=!1,zIndex:a,elevateOnS... function pz (line 552) | function pz({sourceNode:e,targetNode:n,width:r,height:a,transform:l}){co... function eS (line 552) | function eS({sourceX:e,sourceY:n,targetX:r,targetY:a}){const[l,c,d,f]=Jj... function bz (line 552) | function bz({source:e,sourcePosition:n=Ue.Bottom,target:r,targetPosition... function wz (line 552) | function wz(e,n,r,a){const l=Math.min(Lb(e,n)/2,Lb(n,r)/2,a),{x:c,y:d}=n... function Np (line 552) | function Np({sourceX:e,sourceY:n,sourcePosition:r=Ue.Bottom,targetX:a,ta... function $b (line 552) | function $b(e){return e&&!!(e.internals.handleBounds||e.handles?.length)... function Nz (line 552) | function Nz(e){const{sourceNode:n,targetNode:r}=e;if(!$b(n)||!$b(r))retu... function Pb (line 552) | function Pb(e){if(!e)return null;const n=[],r=[];for(const a of e)a.widt... function vl (line 552) | function vl(e,n,r=Ue.Left,a=!1){const l=(n?.x??0)+e.internals.positionAb... function Hb (line 552) | function Hb(e,n){return e&&(n?e.find(r=>r.id===n):e[0])||null} function jp (line 552) | function jp(e,n){return e?typeof e=="string"?e:`${n?`${n}__`:""}${Object... function jz (line 552) | function jz(e,{id:n,defaultColor:r,defaultMarkerStart:a,defaultMarkerEnd... function Ig (line 552) | function Ig(e,n){const r={...e};for(const a in n)n[a]!==void 0&&(r[a]=n[... function _z (line 552) | function _z(e,n,r){const a=Ig(zg,r);for(const l of e.values())if(l.paren... function Sp (line 552) | function Sp(e,n,r,a){const l=Ig(Sz,a);let c=e.length>0;const d=new Map(n... function Ez (line 552) | function Ez(e,n){if(!e.parentId)return;const r=n.get(e.parentId);r?r.set... function Lg (line 552) | function Lg(e,n,r,a){const{elevateNodesOnSelect:l,nodeOrigin:c,nodeExten... function tS (line 552) | function tS(e,n){return(Gn(e.zIndex)?e.zIndex:0)+(e.selected?n:0)} function Cz (line 552) | function Cz(e,n,r,a,l){const{x:c,y:d}=n.internals.positionAbsolute,f=Ws(... function $g (line 552) | function $g(e,n,r,a=[0,0]){const l=[],c=new Map;for(const d of e){const ... function kz (line 552) | function kz(e,n,r,a,l,c){const d=a?.querySelector(".xyflow__viewport");l... function Tz (line 552) | async function Tz({delta:e,panZoom:n,transform:r,translateExtent:a,width... function Ub (line 552) | function Ub(e,n,r,a,l,c){let d=l;const f=a.get(d)||new Map;a.set(d,f.set... function nS (line 552) | function nS(e,n,r){e.clear(),n.clear();for(const a of r){const{source:l,... function sS (line 552) | function sS(e,n){if(!e.parentId)return!1;const r=n.get(e.parentId);retur... function Bb (line 552) | function Bb(e,n,r){let a=e;do{if(a?.matches?.(n))return!0;if(a===r)retur... function Az (line 552) | function Az(e,n,r,a){const l=new Map;for(const[c,d]of e)if((d.selected||... function Rh (line 552) | function Rh({nodeId:e,dragItems:n,nodeLookup:r,dragging:a=!0}){const l=[... function Mz (line 552) | function Mz({dragItems:e,snapGrid:n,x:r,y:a}){const l=e.values().next().... function Rz (line 552) | function Rz({onNodeMouseDown:e,getStoreItems:n,onDragStart:r,onDrag:a,on... function Dz (line 552) | function Dz(e,n,r){const a=[],l={x:e.x-r,y:e.y-r,width:r*2,height:r*2};f... function zz (line 552) | function zz(e,n,r,a){let l=[],c=1/0;const d=Dz(e,r,n+Oz);for(const f of ... function rS (line 552) | function rS(e,n,r,a,l,c=!1){const d=a.get(e);if(!d)return null;const f=l... function oS (line 552) | function oS(e,n){return e||(n?.classList.contains("target")?"target":n?.... function Iz (line 552) | function Iz(e,n){let r=null;return n?r=!0:e&&!n&&(r=!1),r} function Lz (line 552) | function Lz(e,{connectionMode:n,connectionRadius:r,handleId:a,nodeId:l,e... function iS (line 552) | function iS(e,{handle:n,connectionMode:r,fromNodeId:a,fromHandleId:l,fro... function $z (line 552) | function $z({domNode:e,panZoom:n,getTransform:r,getViewScale:a}){const l... function Uz (line 552) | function Uz({zoomPanValues:e,noWheelClassName:n,d3Selection:r,d3Zoom:a,p... function Bz (line 552) | function Bz({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:r}){ret... function Vz (line 552) | function Vz({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:r}){retur... function qz (line 552) | function qz({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:r,onTransform... function Fz (line 552) | function Fz({zoomPanValues:e,panOnDrag:n,panOnScroll:r,onDraggingChange:... function Yz (line 552) | function Yz({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:r,pan... function Gz (line 552) | function Gz({domNode:e,minZoom:n,maxZoom:r,paneClickDistance:a,translate... function Xz (line 552) | function Xz({width:e,prevWidth:n,height:r,prevHeight:a,affectsX:l,affect... function Zz (line 552) | function Zz(e){const n=e.includes("right")||e.includes("left"),r=e.inclu... function Sr (line 552) | function Sr(e,n){return Math.max(0,n-e)} function _r (line 552) | function _r(e,n){return Math.max(0,e-n)} function hu (line 552) | function hu(e,n,r){return Math.max(0,n-e,e-r)} function Vb (line 552) | function Vb(e,n){return e?!n:n} function Wz (line 552) | function Wz(e,n,r,a,l,c,d,f){let{affectsX:m,affectsY:h}=n;const{isHorizo... function Qz (line 552) | function Qz(e){return[[0,0],[e.measured.width,e.measured.height]]} function Jz (line 552) | function Jz(e,n,r){const a=n.position.x+e.position.x,l=n.position.y+e.po... function eI (line 552) | function eI({domNode:e,nodeId:n,getStoreItems:r,onChange:a,onEnd:l}){con... function tI (line 560) | function tI(){if(qb)return $h;qb=1;var e=wl();function n(x,y){return x==... function nI (line 560) | function nI(){return Fb||(Fb=1,Lh.exports=tI()),Lh.exports} function sI (line 568) | function sI(){if(Yb)return Ih;Yb=1;var e=wl(),n=nI();function r(h,g){ret... function rI (line 568) | function rI(){return Gb||(Gb=1,zh.exports=sI()),zh.exports} function dS (line 568) | function dS(e,n=dI,r){const a=uI(e.subscribe,e.getState,e.getServerState... function bt (line 568) | function bt(e,n){if(Object.is(e,n))return!0;if(typeof e!="object"||e===n... function at (line 568) | function at(e,n){const r=w.useContext(Ud);if(r===null)throw new Error(fS... function wt (line 568) | function wt(){const e=w.useContext(Ud);if(e===null)throw new Error(fS);r... function yI (line 568) | function yI({rfId:e}){const n=at(gI);return o.jsx("div",{id:`${pI}-${e}`... function vI (line 568) | function vI({rfId:e,disableKeyboardA11y:n}){const r=at(xI);return o.jsxs... function bI (line 568) | function bI({proOptions:e,position:n="bottom-right"}){return e?.hideAttr... function NI (line 568) | function NI(e,n){return bt(e.selectedNodes.map(pu),n.selectedNodes.map(p... function jI (line 568) | function jI({onSelectionChange:e}){const n=wt(),{selectedNodes:r,selecte... function _I (line 568) | function _I({onSelectionChange:e}){const n=at(SI);return e||n?o.jsx(jI,{... function TI (line 568) | function TI(e){const{setNodes:n,setEdges:r,setMinZoom:a,setMaxZoom:l,set... function Jb (line 568) | function Jb(){return typeof window>"u"||!window.matchMedia?null:window.m... function AI (line 568) | function AI(e){const[n,r]=w.useState(e==="system"?null:e);return w.useEf... function bl (line 568) | function bl(e=null,n={target:ew,actInsideInputWithModifier:!0}){const[r,... function tw (line 573) | function tw(e,n,r){return e.filter(a=>r||a.length===n.size).some(a=>a.ev... function nw (line 573) | function nw(e,n){return n.includes(e)?"code":"key"} function gS (line 573) | function gS(e,n){const r=[],a=new Map,l=[];for(const c of e)if(c.type===... function RI (line 573) | function RI(e,n){switch(e.type){case"select":{n.selected=e.selected;brea... function xS (line 573) | function xS(e,n){return gS(e,n)} function yS (line 573) | function yS(e,n){return gS(e,n)} function lo (line 573) | function lo(e,n){return{id:e,type:"select",selected:n}} function ga (line 573) | function ga(e,n=new Set,r=!1){const a=[];for(const[l,c]of e){const d=n.h... function sw (line 573) | function sw({items:e=[],lookup:n}){const r=[],a=new Map(e.map(l=>[l.id,l... function rw (line 573) | function rw(e){return{id:e.id,type:"remove"}} function vS (line 573) | function vS(e){return w.forwardRef(e)} function aw (line 573) | function aw(e){const[n,r]=w.useState(BigInt(0)),[a]=w.useState(()=>zI(()... function zI (line 573) | function zI(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:r=>{n.pus... function II (line 573) | function II({children:e}){const n=wt(),r=w.useCallback(f=>{const{nodes:m... function LI (line 573) | function LI(){const e=w.useContext(bS);if(!e)throw new Error("useBatchCo... function Va (line 573) | function Va(){const e=MI(),n=wt(),r=LI(),a=at($I),l=w.useMemo(()=>{const... function HI (line 573) | function HI({deleteKeyCode:e,multiSelectionKeyCode:n}){const r=wt(),{del... function UI (line 573) | function UI(e){const n=wt();w.useEffect(()=>{const r=()=>{if(!e.current)... function VI (line 573) | function VI({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:r=!0,panO... function FI (line 573) | function FI(){const{userSelectionActive:e,userSelectionRect:n}=at(qI,bt)... function GI (line 573) | function GI({isSelecting:e,selectionKeyPressed:n,selectionMode:r=gl.Full... function Ep (line 573) | function Ep({id:e,store:n,unselect:r=!1,nodeRef:a}){const{addSelectedNod... function wS (line 573) | function wS({nodeRef:e,disabled:n=!1,noDragClassName:r,handleSelector:a,... function NS (line 573) | function NS(){const e=wt();return w.useCallback(r=>{const{nodeExtent:a,s... function QI (line 573) | function QI({type:e="source",position:n=Ue.Top,isValidConnection:r,isCon... function JI (line 573) | function JI({data:e,isConnectable:n,sourcePosition:r=Ue.Bottom}){return ... function eL (line 573) | function eL({data:e,isConnectable:n,targetPosition:r=Ue.Top,sourcePositi... function tL (line 573) | function tL(){return null} function nL (line 573) | function nL({data:e,isConnectable:n,targetPosition:r=Ue.Top}){return o.j... function sL (line 573) | function sL(e){return e.internals.handleBounds===void 0?{width:e.width??... function oL (line 573) | function oL({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA1... function SS (line 573) | function SS({children:e,onPaneClick:n,onPaneMouseEnter:r,onPaneMouseMove... function cL (line 573) | function cL(e){return at(w.useCallback(lL(e),[e]),bt)} function dL (line 573) | function dL(){const e=at(uL),[n]=w.useState(()=>typeof ResizeObserver>"u... function fL (line 573) | function fL({node:e,nodeType:n,hasDimensions:r,resizeObserver:a}){const ... function mL (line 573) | function mL({id:e,onClick:n,onMouseEnter:r,onMouseMove:a,onMouseLeave:l,... function _S (line 573) | function _S(e){const{nodesDraggable:n,nodesConnectable:r,nodesFocusable:... function gL (line 573) | function gL(e){return at(w.useCallback(r=>{if(!e)return r.edges.map(l=>l... function vL (line 573) | function vL(e){const n=wt();return w.useMemo(()=>Object.prototype.hasOwn... function CS (line 573) | function CS({x:e,y:n,label:r,labelStyle:a,labelShowBg:l=!0,labelBgStyle:... function Il (line 573) | function Il({path:e,labelX:n,labelY:r,label:a,labelStyle:l,labelShowBg:c... function dw (line 573) | function dw({pos:e,x1:n,y1:r,x2:a,y2:l}){return e===Ue.Left||e===Ue.Righ... function kS (line 573) | function kS({sourceX:e,sourceY:n,sourcePosition:r=Ue.Bottom,targetX:a,ta... function TS (line 573) | function TS(e){return w.memo(({id:n,sourceX:r,sourceY:a,targetX:l,target... function MS (line 573) | function MS(e){return w.memo(({id:n,sourceX:r,sourceY:a,targetX:l,target... function OS (line 573) | function OS(e){return w.memo(({id:n,...r})=>{const a=e.isInternal?void 0... function IS (line 573) | function IS(e){return w.memo(({id:n,sourceX:r,sourceY:a,targetX:l,target... function $S (line 573) | function $S(e){return w.memo(({id:n,sourceX:r,sourceY:a,targetX:l,target... function pw (line 573) | function pw({position:e,centerX:n,centerY:r,radius:a=10,onMouseDown:l,on... function TL (line 573) | function TL({isReconnectable:e,reconnectRadius:n,edge:r,sourceX:a,source... function AL (line 573) | function AL({id:e,edgesFocusable:n,edgesReconnectable:r,elementsSelectab... function HS (line 573) | function HS({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:r,edg... function OL (line 573) | function OL({children:e}){const n=at(DL);return o.jsx("div",{className:"... function zL (line 573) | function zL(e){const n=Va(),r=w.useRef(!1);w.useEffect(()=>{!r.current&&... function LL (line 573) | function LL(e){const n=at(IL),r=wt();return w.useEffect(()=>{e&&(n?.(e),... function $L (line 573) | function $L(e){return e.connection.inProgress?{...e.connection,to:zl(e.c... function PL (line 573) | function PL(e){return $L} function HL (line 573) | function HL(e){const n=PL();return at(n,bt)} function BL (line 573) | function BL({containerStyle:e,style:n,type:r,component:a}){const{nodesCo... function gw (line 573) | function gw(e=VL){w.useRef(e),wt(),w.useEffect(()=>{},[e])} function qL (line 573) | function qL(){wt(),w.useRef(!1),w.useEffect(()=>{},[])} function BS (line 573) | function BS({nodeTypes:e,edgeTypes:n,onInit:r,onNodeClick:a,onEdgeClick:... function j (line 573) | async function j(){const{nodeLookup:N,panZoom:S,fitViewOptions:_,fitView... function GL (line 573) | function GL({initialNodes:e,initialEdges:n,defaultNodes:r,defaultEdges:a... function XL (line 573) | function XL({children:e,nodes:n,edges:r,defaultNodes:a,defaultEdges:l,wi... function WL (line 573) | function WL({nodes:e,edges:n,defaultNodes:r,defaultEdges:a,className:l,n... function QL (line 573) | function QL(e){const[n,r]=w.useState(e),a=w.useCallback(l=>r(c=>xS(l,c))... function JL (line 573) | function JL(e){const[n,r]=w.useState(e),a=w.useCallback(l=>r(c=>yS(l,c))... function e7 (line 573) | function e7(e){return at(w.useCallback(r=>r.nodeLookup.get(e),[e]),bt)} function t7 (line 573) | function t7({dimensions:e,lineWidth:n,variant:r,className:a}){return o.j... function n7 (line 573) | function n7({radius:e,className:n}){return o.jsx("circle",{cx:e,cy:e,r:e... function VS (line 573) | function VS({id:e,variant:n=Ys.Dots,gap:r=20,size:a,lineWidth:l=1,offset... function a7 (line 573) | function a7(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",vie... function i7 (line 573) | function i7(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",vie... function l7 (line 573) | function l7(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",vie... function c7 (line 573) | function c7(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",vie... function u7 (line 573) | function u7(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",vie... function gu (line 573) | function gu({children:e,className:n,...r}){return o.jsx("button",{type:"... function qS (line 573) | function qS({style:e,showZoom:n=!0,showFitView:r=!0,showInteractive:a=!0... function m7 (line 573) | function m7({id:e,x:n,y:r,width:a,height:l,style:c,color:d,strokeColor:f... function g7 (line 573) | function g7({nodeStrokeColor:e,nodeColor:n,nodeClassName:r="",nodeBorder... function x7 (line 573) | function x7({id:e,nodeColorFunc:n,nodeStrokeColorFunc:r,nodeClassNameFun... function FS (line 573) | function FS({style:e,className:n,nodeStrokeColor:r,nodeColor:a,nodeClass... function k7 (line 574) | function k7({nodeId:e,position:n,variant:r=za.Handle,className:a,style:l... function D7 (line 574) | function D7({workflowDump:e,onNodeSelect:n,viewOptions:r,onToggleViewOpt... function O7 (line 574) | function O7({nodes:e,nodeUpdates:n,isStreaming:r,animateRun:a}){const{fi... function xu (line 607) | function xu({title:e,icon:n,children:r,className:a=""}){return o.jsxs("d... function L7 (line 607) | function L7({workflow:e,open:n,onOpenChange:r}){const a=e.source==="dire... function $7 (line 607) | function $7({session:e,checkpoints:n,open:r,onOpenChange:a}){const[l,c]=... function P7 (line 607) | function P7({request:e,response:n,onResponseChange:r,onSubmit:a,isSubmit... function H7 (line 607) | function H7(e,n=!0){switch(e){case"running":return o.jsx(Or,{className:`... function U7 (line 607) | function U7(e){switch(e){case"running":return"bg-[#643FB2]/10 text-[#643... function B7 (line 607) | function B7({run:e,isExpanded:n,onToggle:r,onClick:a,isSelected:l,isStre... function V7 (line 607) | function V7({events:e,itemOutputs:n,currentExecutorId:r,isStreaming:a,on... function q7 (line 610) | function q7({selectedWorkflow:e,onDebugEvent:n}){const[r,a]=w.useState(n... function GS (line 616) | function GS({message:e,type:n="info",duration:r=4e3,onClose:a}){const[l,... function F7 (line 616) | function F7({toasts:e,onRemove:n}){return o.jsx("div",{className:"fixed ... function Y7 (line 616) | function Y7(){const[e,n]=w.useState(!1),[r,a]=w.useState(""),[l,c]=w.use... function G7 (line 616) | function G7({children:e,attribute:n="class",defaultTheme:r="dark",enable... FILE: python/packages/devui/frontend/src/App.tsx function App (line 23) | function App() { FILE: python/packages/devui/frontend/src/components/features/agent/agent-details-modal.tsx type AgentDetailsModalProps (line 24) | interface AgentDetailsModalProps { type DetailCardProps (line 30) | interface DetailCardProps { function DetailCard (line 37) | function DetailCard({ title, icon, children, className = "" }: DetailCar... function AgentDetailsModal (line 49) | function AgentDetailsModal({ FILE: python/packages/devui/frontend/src/components/features/agent/agent-view.tsx type DebugEventHandler (line 45) | type DebugEventHandler = (event: ExtendedResponseStreamEvent | "clear") ... type AgentViewProps (line 47) | interface AgentViewProps { type ConversationItemBubbleProps (line 52) | interface ConversationItemBubbleProps { function ConversationItemBubble (line 58) | function ConversationItemBubble({ item, toolCalls = [], toolResults = []... function AgentView (line 261) | function AgentView({ selectedAgent, onDebugEvent }: AgentViewProps) { FILE: python/packages/devui/frontend/src/components/features/agent/context-inspector.tsx type TraceEventData (line 42) | interface TraceEventData { type ContextComposition (line 57) | interface ContextComposition { type TurnData (line 67) | interface TurnData { type ContextInspectorProps (line 80) | interface ContextInspectorProps { function parseComposition (line 85) | function parseComposition(messagesJson: string | unknown): ContextCompos... function extractTurnData (line 166) | function extractTurnData(events: ExtendedResponseStreamEvent[]): TurnDat... function calculateStats (line 267) | function calculateStats(turns: TurnData[]) { function aggregateComposition (line 306) | function aggregateComposition(turns: TurnData[]): ContextComposition { function formatTokenCount (line 321) | function formatTokenCount(n: number): string { constant SEGMENT_COLORS (line 329) | const SEGMENT_COLORS = { type BarSegment (line 342) | interface BarSegment { function SegmentedBar (line 351) | function SegmentedBar({ function createTokenSegments (line 425) | function createTokenSegments(input: number, output: number): BarSegment[] { function createCompositionSegments (line 433) | function createCompositionSegments(composition: ContextComposition): Bar... function CompositionBreakdown (line 444) | function CompositionBreakdown({ function TurnRow (line 494) | function TurnRow({ function StatCard (line 641) | function StatCard({ function ContextInspector (line 670) | function ContextInspector({ events }: ContextInspectorProps) { FILE: python/packages/devui/frontend/src/components/features/agent/message-renderers/OpenAIContentRenderer.tsx type ContentRendererProps (line 21) | interface ContentRendererProps { function TextContentRenderer (line 28) | function TextContentRenderer({ content, className, isStreaming }: Conten... function ImageContentRenderer (line 44) | function ImageContentRenderer({ content, className }: ContentRendererPro... function useBase64ToBlobUrl (line 84) | function useBase64ToBlobUrl(data: string | undefined, mimeType: string):... function FileContentRenderer (line 133) | function FileContentRenderer({ content, className }: ContentRendererProp... function DataContentRenderer (line 260) | function DataContentRenderer({ content, className }: ContentRendererProp... function FunctionApprovalRequestRenderer (line 305) | function FunctionApprovalRequestRenderer({ content, className }: Content... function OpenAIContentRenderer (line 371) | function OpenAIContentRenderer({ content, className, isStreaming }: Cont... type FunctionCallRendererProps (line 393) | interface FunctionCallRendererProps { function FunctionCallRenderer (line 399) | function FunctionCallRenderer({ name, arguments: args, className }: Func... type FunctionResultRendererProps (line 438) | interface FunctionResultRendererProps { function FunctionResultRenderer (line 444) | function FunctionResultRenderer({ output, call_id, className }: Function... FILE: python/packages/devui/frontend/src/components/features/agent/message-renderers/OpenAIMessageRenderer.tsx type OpenAIMessageRendererProps (line 13) | interface OpenAIMessageRendererProps { function OpenAIMessageRenderer (line 18) | function OpenAIMessageRenderer({ FILE: python/packages/devui/frontend/src/components/features/gallery/gallery-view.tsx type GalleryViewProps (line 36) | interface GalleryViewProps { function SampleEntityCard (line 43) | function SampleEntityCard({ function SampleEntityGrid (line 191) | function SampleEntityGrid({ samples }: { samples: SampleEntity[] }) { function GalleryView (line 204) | function GalleryView({ FILE: python/packages/devui/frontend/src/components/features/gallery/setup-instructions-modal.tsx type SetupInstructionsModalProps (line 26) | interface SetupInstructionsModalProps { function CodeBlock (line 32) | function CodeBlock({ children, copyable = false }: { children: string; c... function SetupStep (line 60) | function SetupStep({ function SetupInstructionsModal (line 92) | function SetupInstructionsModal({ FILE: python/packages/devui/frontend/src/components/features/workflow/checkpoint-info-modal.tsx type CheckpointInfoModalProps (line 28) | interface CheckpointInfoModalProps { function CheckpointInfoModal (line 35) | function CheckpointInfoModal({ FILE: python/packages/devui/frontend/src/components/features/workflow/execution-timeline.tsx type ExecutorRun (line 30) | interface ExecutorRun { type ExecutionTimelineProps (line 41) | interface ExecutionTimelineProps { function getStateIcon (line 69) | function getStateIcon(state: ExecutorState, isStreaming: boolean = true) { function getStateBadgeClass (line 84) | function getStateBadgeClass(state: ExecutorState) { function ExecutorRunItem (line 99) | function ExecutorRunItem({ function ExecutionTimeline (line 208) | function ExecutionTimeline({ FILE: python/packages/devui/frontend/src/components/features/workflow/executor-node.tsx type ExecutorState (line 13) | type ExecutorState = type ExecutorNodeData (line 20) | interface ExecutorNodeData extends Record { FILE: python/packages/devui/frontend/src/components/features/workflow/hil-timeline-item.tsx type HilRequest (line 13) | interface HilRequest { type HilTimelineItemProps (line 19) | interface HilTimelineItemProps { function HilTimelineItem (line 27) | function HilTimelineItem({ FILE: python/packages/devui/frontend/src/components/features/workflow/run-workflow-button.tsx type RunWorkflowButtonProps (line 39) | interface RunWorkflowButtonProps { function RunWorkflowButton (line 51) | function RunWorkflowButton({ FILE: python/packages/devui/frontend/src/components/features/workflow/schema-form-renderer.tsx function isShortField (line 21) | function isShortField(fieldName: string): boolean { function resolveSchemaType (line 42) | function resolveSchemaType(schema: JSONSchemaProperty): JSONSchemaProper... function shouldFieldBeTextarea (line 84) | function shouldFieldBeTextarea( function getFieldColumnSpan (line 95) | function getFieldColumnSpan( function detectChatMessagePattern (line 121) | function detectChatMessagePattern( type FormFieldProps (line 143) | interface FormFieldProps { function FormField (line 152) | function FormField({ type SchemaFormRendererProps (line 400) | interface SchemaFormRendererProps { function SchemaFormRenderer (line 411) | function SchemaFormRenderer({ function validateSchemaForm (line 573) | function validateSchemaForm( function filterEmptyOptionalFields (line 585) | function filterEmptyOptionalFields( FILE: python/packages/devui/frontend/src/components/features/workflow/self-loop-edge.tsx type SelfLoopEdgeProps (line 4) | interface SelfLoopEdgeProps { FILE: python/packages/devui/frontend/src/components/features/workflow/workflow-details-modal.tsx type WorkflowDetailsModalProps (line 24) | interface WorkflowDetailsModalProps { type DetailCardProps (line 30) | interface DetailCardProps { function DetailCard (line 37) | function DetailCard({ title, icon, children, className = "" }: DetailCar... function WorkflowDetailsModal (line 49) | function WorkflowDetailsModal({ FILE: python/packages/devui/frontend/src/components/features/workflow/workflow-flow.tsx function ViewOptionsPanel (line 59) | function ViewOptionsPanel({ type WorkflowFlowProps (line 212) | interface WorkflowFlowProps { function WorkflowAnimationHandler (line 233) | function WorkflowAnimationHandler({ FILE: python/packages/devui/frontend/src/components/features/workflow/workflow-input-form.tsx type WorkflowInputFormProps (line 23) | interface WorkflowInputFormProps { function WorkflowInputForm (line 31) | function WorkflowInputForm({ FILE: python/packages/devui/frontend/src/components/features/workflow/workflow-session-manager.tsx type WorkflowSessionManagerProps (line 12) | interface WorkflowSessionManagerProps { FILE: python/packages/devui/frontend/src/components/features/workflow/workflow-view.tsx type DebugEventHandler (line 45) | type DebugEventHandler = (event: ExtendedResponseStreamEvent | "clear") ... type WorkflowViewProps (line 47) | interface WorkflowViewProps { function WorkflowView (line 55) | function WorkflowView({ FILE: python/packages/devui/frontend/src/components/layout/app-header.tsx type AppHeaderProps (line 14) | interface AppHeaderProps { function AppHeader (line 25) | function AppHeader({ FILE: python/packages/devui/frontend/src/components/layout/debug-panel.tsx function MessageSeparator (line 29) | function MessageSeparator() { function addSeparatorsToEvents (line 38) | function addSeparatorsToEvents(events: ExtendedResponseStreamEvent[]): (... type EventDataBase (line 63) | interface EventDataBase { type FunctionCallData (line 70) | interface FunctionCallData extends EventDataBase { type WorkflowEventData (line 77) | interface WorkflowEventData extends EventDataBase { type TraceEventData (line 82) | interface TraceEventData extends EventDataBase { type TraceNode (line 97) | interface TraceNode { type TraceGroup (line 104) | interface TraceGroup { type DebugPanelProps (line 112) | interface DebugPanelProps { function getFunctionResultFromEvent (line 119) | function getFunctionResultFromEvent(event: ExtendedResponseStreamEvent): { function processEventsForDisplay (line 137) | function processEventsForDisplay( type EventItemProps (line 408) | interface EventItemProps { function getEventSummary (line 412) | function getEventSummary(event: ExtendedResponseStreamEvent): string { function getEventIcon (line 508) | function getEventIcon(type: string) { function getEventColor (line 535) | function getEventColor(type: string) { function EventItem (line 562) | function EventItem({ event }: EventItemProps) { function EventExpandedContent (line 645) | function EventExpandedContent({ function EventsTab (line 1089) | function EventsTab({ function buildTraceHierarchy (line 1153) | function buildTraceHierarchy(traceEvents: ExtendedResponseStreamEvent[])... function parseEscapedJson (line 1245) | function parseEscapedJson(value: unknown): unknown { function formatTraceAttributes (line 1277) | function formatTraceAttributes(attributes: Record): str... function getOperationColor (line 1287) | function getOperationColor(operationName: string): string { function TraceTreeNode (line 1301) | function TraceTreeNode({ node, depth = 0 }: { node: TraceNode; depth?: n... function TraceGroupItem (line 1419) | function TraceGroupItem({ group }: { group: TraceGroup }) { function TracesTab (line 1473) | function TracesTab({ events }: { events: ExtendedResponseStreamEvent[] }) { function ToolsTab (line 1568) | function ToolsTab({ events }: { events: ExtendedResponseStreamEvent[] }) { function ToolEventItem (line 1647) | function ToolEventItem({ event }: { event: ExtendedResponseStreamEvent }) { function DebugPanel (line 1749) | function DebugPanel({ FILE: python/packages/devui/frontend/src/components/layout/deployment-modal.tsx type DeploymentModalProps (line 30) | interface DeploymentModalProps { type Tab (line 37) | type Tab = "docker" | "azure"; function DeploymentModal (line 39) | function DeploymentModal({ FILE: python/packages/devui/frontend/src/components/layout/entity-selector.tsx type EntitySelectorProps (line 20) | interface EntitySelectorProps { function EntitySelector (line 34) | function EntitySelector({ FILE: python/packages/devui/frontend/src/components/layout/settings-modal.tsx type SettingsModalProps (line 20) | interface SettingsModalProps { type Tab (line 26) | type Tab = "general" | "proxy" | "about"; constant PRESET_MODELS (line 29) | const PRESET_MODELS = [ function SettingsModal (line 37) | function SettingsModal({ FILE: python/packages/devui/frontend/src/components/mode-toggle.tsx function ModeToggle (line 14) | function ModeToggle() { FILE: python/packages/devui/frontend/src/components/theme-provider.tsx type ThemeProviderProps (line 6) | interface ThemeProviderProps { function ThemeProvider (line 14) | function ThemeProvider({ FILE: python/packages/devui/frontend/src/components/ui/attachment-gallery.tsx type AttachmentItem (line 8) | interface AttachmentItem { type AttachmentGalleryProps (line 15) | interface AttachmentGalleryProps { function AttachmentGallery (line 21) | function AttachmentGallery({ type AttachmentPreviewProps (line 41) | interface AttachmentPreviewProps { function AttachmentPreview (line 46) | function AttachmentPreview({ attachment, onRemove }: AttachmentPreviewPr... FILE: python/packages/devui/frontend/src/components/ui/badge.tsx type BadgeProps (line 26) | interface BadgeProps function Badge (line 30) | function Badge({ className, variant, ...props }: BadgeProps) { FILE: python/packages/devui/frontend/src/components/ui/button.tsx function Button (line 38) | function Button({ FILE: python/packages/devui/frontend/src/components/ui/card.tsx function Card (line 5) | function Card({ className, ...props }: React.ComponentProps<"div">) { function CardHeader (line 18) | function CardHeader({ className, ...props }: React.ComponentProps<"div">) { function CardTitle (line 31) | function CardTitle({ className, ...props }: React.ComponentProps<"div">) { function CardDescription (line 41) | function CardDescription({ className, ...props }: React.ComponentProps<"... function CardAction (line 51) | function CardAction({ className, ...props }: React.ComponentProps<"div">) { function CardContent (line 64) | function CardContent({ className, ...props }: React.ComponentProps<"div"... function CardFooter (line 74) | function CardFooter({ className, ...props }: React.ComponentProps<"div">) { FILE: python/packages/devui/frontend/src/components/ui/chat-message-input.tsx type ChatMessageInputProps (line 23) | interface ChatMessageInputProps { function ChatMessageInput (line 41) | function ChatMessageInput({ FILE: python/packages/devui/frontend/src/components/ui/checkbox.tsx function Checkbox (line 9) | function Checkbox({ FILE: python/packages/devui/frontend/src/components/ui/dialog.tsx type DialogProps (line 5) | interface DialogProps { type DialogContentProps (line 11) | interface DialogContentProps { type DialogHeaderProps (line 16) | interface DialogHeaderProps { type DialogTitleProps (line 21) | interface DialogTitleProps { type DialogDescriptionProps (line 26) | interface DialogDescriptionProps { type DialogFooterProps (line 31) | interface DialogFooterProps { function Dialog (line 35) | function Dialog({ open, onOpenChange, children }: DialogProps) { function DialogContent (line 74) | function DialogContent({ function DialogHeader (line 91) | function DialogHeader({ children, className = "" }: DialogHeaderProps) { function DialogTitle (line 99) | function DialogTitle({ children, className = "" }: DialogTitleProps) { function DialogDescription (line 103) | function DialogDescription({ children, className = "" }: DialogDescripti... function DialogClose (line 107) | function DialogClose({ onClose }: { onClose: () => void }) { function DialogFooter (line 120) | function DialogFooter({ children }: DialogFooterProps) { FILE: python/packages/devui/frontend/src/components/ui/dropdown-menu.tsx function DropdownMenu (line 7) | function DropdownMenu({ function DropdownMenuPortal (line 13) | function DropdownMenuPortal({ function DropdownMenuTrigger (line 21) | function DropdownMenuTrigger({ function DropdownMenuContent (line 32) | function DropdownMenuContent({ function DropdownMenuGroup (line 52) | function DropdownMenuGroup({ function DropdownMenuItem (line 60) | function DropdownMenuItem({ function DropdownMenuCheckboxItem (line 83) | function DropdownMenuCheckboxItem({ function DropdownMenuRadioGroup (line 109) | function DropdownMenuRadioGroup({ function DropdownMenuRadioItem (line 120) | function DropdownMenuRadioItem({ function DropdownMenuLabel (line 144) | function DropdownMenuLabel({ function DropdownMenuSeparator (line 164) | function DropdownMenuSeparator({ function DropdownMenuShortcut (line 177) | function DropdownMenuShortcut({ function DropdownMenuSub (line 193) | function DropdownMenuSub({ function DropdownMenuSubTrigger (line 199) | function DropdownMenuSubTrigger({ function DropdownMenuSubContent (line 223) | function DropdownMenuSubContent({ FILE: python/packages/devui/frontend/src/components/ui/file-upload.tsx type FileUploadProps (line 9) | interface FileUploadProps { function FileUpload (line 18) | function FileUpload({ function formatFileSize (line 117) | function formatFileSize(bytes: number): string { function isFileAccepted (line 125) | function isFileAccepted(file: File, accept: string): boolean { FILE: python/packages/devui/frontend/src/components/ui/input.tsx function Input (line 5) | function Input({ className, type, ...props }: React.ComponentProps<"inpu... FILE: python/packages/devui/frontend/src/components/ui/label.tsx function Label (line 6) | function Label({ FILE: python/packages/devui/frontend/src/components/ui/loading-spinner.tsx type LoadingSpinnerProps (line 4) | interface LoadingSpinnerProps { function LoadingSpinner (line 9) | function LoadingSpinner({ size = "md", className }: LoadingSpinnerProps) { FILE: python/packages/devui/frontend/src/components/ui/loading-state.tsx type LoadingStateProps (line 4) | interface LoadingStateProps { function LoadingState (line 12) | function LoadingState({ FILE: python/packages/devui/frontend/src/components/ui/markdown-renderer.tsx type MarkdownRendererProps (line 23) | interface MarkdownRendererProps { type CodeBlockProps (line 28) | interface CodeBlockProps { function CodeBlock (line 36) | function CodeBlock({ code, language }: CodeBlockProps) { function MarkdownRenderer (line 129) | function MarkdownRenderer({ function parseInlineMarkdown (line 404) | function parseInlineMarkdown(text: string): React.ReactNode[] { function parseBoldItalicLinks (line 450) | function parseBoldItalicLinks(text: string): React.ReactNode[] { FILE: python/packages/devui/frontend/src/components/ui/select.tsx function Select (line 7) | function Select({ function SelectGroup (line 13) | function SelectGroup({ function SelectValue (line 19) | function SelectValue({ function SelectTrigger (line 25) | function SelectTrigger({ function SelectContent (line 51) | function SelectContent({ function SelectLabel (line 86) | function SelectLabel({ function SelectItem (line 99) | function SelectItem({ function SelectSeparator (line 123) | function SelectSeparator({ function SelectScrollUpButton (line 136) | function SelectScrollUpButton({ function SelectScrollDownButton (line 154) | function SelectScrollDownButton({ FILE: python/packages/devui/frontend/src/components/ui/textarea.tsx function Textarea (line 5) | function Textarea({ className, ...props }: React.ComponentProps<"textare... FILE: python/packages/devui/frontend/src/components/ui/toast.tsx type ToastProps (line 9) | interface ToastProps { function Toast (line 16) | function Toast({ message, type = "info", duration = 4000, onClose }: Toa... type ToastData (line 63) | interface ToastData { type ToastContainerProps (line 70) | interface ToastContainerProps { function ToastContainer (line 75) | function ToastContainer({ toasts, onRemove }: ToastContainerProps) { FILE: python/packages/devui/frontend/src/data/gallery/sample-entities.ts type EnvVarRequirement (line 5) | interface EnvVarRequirement { type SampleEntity (line 12) | interface SampleEntity { constant SAMPLE_ENTITIES (line 25) | const SAMPLE_ENTITIES: SampleEntity[] = [ constant SAMPLE_CATEGORIES (line 134) | const SAMPLE_CATEGORIES = { FILE: python/packages/devui/frontend/src/hooks/use-drag-drop.ts type UseDragDropOptions (line 8) | interface UseDragDropOptions { type UseDragDropReturn (line 15) | interface UseDragDropReturn { function useDragDrop (line 31) | function useDragDrop(options: UseDragDropOptions = {}): UseDragDropReturn { FILE: python/packages/devui/frontend/src/hooks/useCancellableRequest.ts function useCancellableRequest (line 12) | function useCancellableRequest() { function isAbortError (line 68) | function isAbortError(error: unknown): boolean { FILE: python/packages/devui/frontend/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: python/packages/devui/frontend/src/services/api.ts type BackendEntityInfo (line 28) | interface BackendEntityInfo { type DiscoveryResponse (line 55) | interface DiscoveryResponse { type ConversationApiResponse (line 60) | interface ConversationApiResponse { constant DEFAULT_API_BASE_URL (line 67) | const DEFAULT_API_BASE_URL = constant RETRY_INTERVAL_MS (line 73) | const RETRY_INTERVAL_MS = 1000; constant MAX_RETRY_ATTEMPTS (line 74) | const MAX_RETRY_ATTEMPTS = 10; function getBackendUrl (line 77) | function getBackendUrl(): string { function sleep (line 85) | function sleep(ms: number): Promise { class ApiClient (line 89) | class ApiClient { method constructor (line 93) | constructor(baseUrl?: string) { method setBaseUrl (line 100) | setBaseUrl(url: string) { method getBaseUrl (line 104) | getBaseUrl(): string { method setAuthToken (line 109) | setAuthToken(token: string | null): void { method getAuthToken (line 119) | getAuthToken(): string | null { method clearAuthToken (line 124) | clearAuthToken(): void { method request (line 128) | private async request( method getHealth (line 181) | async getHealth(): Promise { method getMeta (line 186) | async getMeta(): Promise { method getEntities (line 191) | async getEntities(): Promise<{ method getAgents (line 278) | async getAgents(): Promise { method getWorkflows (line 283) | async getWorkflows(): Promise { method getAgentInfo (line 288) | async getAgentInfo(agentId: string): Promise { method getWorkflowInfo (line 293) | async getWorkflowInfo( method reloadEntity (line 302) | async reloadEntity(entityId: string): Promise<{ success: boolean; mess... method createConversation (line 316) | async createConversation( method listConversations (line 348) | async listConversations( method getConversation (line 372) | async getConversation(conversationId: string): Promise { method deleteConversation (line 385) | async deleteConversation(conversationId: string): Promise { method listConversationItems (line 398) | async listConversationItems( method getConversationItem (line 423) | async getConversationItem( method deleteConversationItem (line 431) | async deleteConversationItem( method streamOpenAIResponse (line 447) | private async *streamOpenAIResponse( method streamAgentExecutionOpenAI (line 762) | async *streamAgentExecutionOpenAI( method streamAgentExecutionOpenAIDirect (line 779) | async *streamAgentExecutionOpenAIDirect( method streamWorkflowExecutionOpenAI (line 791) | async *streamWorkflowExecutionOpenAI( method runAgentSync (line 816) | async runAgentSync( method runWorkflowSync (line 856) | async runWorkflowSync( method clearStreamingState (line 877) | clearStreamingState(conversationId: string): void { method streamDeployment (line 882) | async* streamDeployment(config: { method listWorkflowSessions (line 953) | async listWorkflowSessions(entityId: string): Promise<{ data: import("... method createWorkflowSession (line 978) | async createWorkflowSession( method deleteWorkflowSession (line 1004) | async deleteWorkflowSession(_entityId: string, conversationId: string)... FILE: python/packages/devui/frontend/src/services/streaming-state.ts type StreamingState (line 12) | interface StreamingState { constant STORAGE_KEY_PREFIX (line 23) | const STORAGE_KEY_PREFIX = "devui_streaming_state_"; constant STATE_EXPIRY_MS (line 24) | const STATE_EXPIRY_MS = 24 * 60 * 60 * 1000; function getStorageKey (line 29) | function getStorageKey(conversationId: string): string { function extractAccumulatedText (line 36) | function extractAccumulatedText(events: ExtendedResponseStreamEvent[]): ... function saveStreamingState (line 49) | function saveStreamingState(state: StreamingState): void { function loadStreamingState (line 72) | function loadStreamingState(conversationId: string): StreamingState | nu... function updateStreamingState (line 105) | function updateStreamingState( function markStreamingCompleted (line 137) | function markStreamingCompleted(conversationId: string): void { function clearStreamingState (line 153) | function clearStreamingState(conversationId: string): void { function clearExpiredStreamingStates (line 165) | function clearExpiredStreamingStates(): void { function initStreamingState (line 196) | function initStreamingState(): void { FILE: python/packages/devui/frontend/src/stores/devuiStore.ts type DevUIState (line 25) | interface DevUIState { type DevUIActions (line 113) | interface DevUIActions { type DevUIStore (line 197) | type DevUIStore = DevUIState & DevUIActions; FILE: python/packages/devui/frontend/src/types/agent-framework.ts type ResponseInputTextParam (line 7) | interface ResponseInputTextParam { type ResponseInputImageParam (line 13) | interface ResponseInputImageParam { type ResponseInputFileParam (line 24) | interface ResponseInputFileParam { type ResponseInputFunctionApprovalParam (line 38) | interface ResponseInputFunctionApprovalParam { type ResponseInputContent (line 53) | type ResponseInputContent = type EasyInputMessage (line 59) | interface EasyInputMessage { type ResponseInputItem (line 65) | type ResponseInputItem = EasyInputMessage; type ResponseInputParam (line 66) | type ResponseInputParam = ResponseInputItem[]; type AgentFrameworkExtraBody (line 69) | interface AgentFrameworkExtraBody { type AgentFrameworkRequest (line 76) | interface AgentFrameworkRequest { type Role (line 104) | type Role = "system" | "user" | "assistant" | "tool"; type FinishReason (line 105) | type FinishReason = "content_filter" | "length" | "stop" | "tool_calls"; type CreatedAtT (line 106) | type CreatedAtT = string; type ContentType (line 109) | type ContentType = type BaseContent (line 122) | interface BaseContent { type TextContent (line 130) | interface TextContent extends BaseContent { type FunctionCallContent (line 135) | interface FunctionCallContent extends BaseContent { type FunctionResultContent (line 143) | interface FunctionResultContent extends BaseContent { type TextReasoningContent (line 150) | interface TextReasoningContent extends BaseContent { type DataContent (line 156) | interface DataContent extends BaseContent { type UriContent (line 162) | interface UriContent extends BaseContent { type ErrorContent (line 168) | interface ErrorContent extends BaseContent { type UsageContent (line 174) | interface UsageContent extends BaseContent { type HostedFileContent (line 179) | interface HostedFileContent extends BaseContent { type HostedVectorStoreContent (line 184) | interface HostedVectorStoreContent extends BaseContent { type Content (line 190) | type Content = type UsageDetails (line 203) | interface UsageDetails { type AgentResponseUpdate (line 211) | interface AgentResponseUpdate { type AgentResponse (line 225) | interface AgentResponse { type Message (line 235) | interface Message { type ChatResponseUpdate (line 246) | interface ChatResponseUpdate { type AgentThread (line 263) | interface AgentThread { type WorkflowEvent (line 269) | interface WorkflowEvent { type WorkflowStartedEvent (line 275) | interface WorkflowStartedEvent extends WorkflowEvent { type WorkflowCompletedEvent (line 280) | interface WorkflowCompletedEvent extends WorkflowEvent { type WorkflowOutputEvent (line 285) | interface WorkflowOutputEvent extends WorkflowEvent { type WorkflowWarningEvent (line 291) | interface WorkflowWarningEvent extends WorkflowEvent { type WorkflowErrorEvent (line 295) | interface WorkflowErrorEvent extends WorkflowEvent { type ExecutorEvent (line 299) | interface ExecutorEvent extends WorkflowEvent { type AgentRunUpdateEvent (line 303) | interface AgentRunUpdateEvent extends ExecutorEvent { type AgentRunEvent (line 307) | interface AgentRunEvent extends ExecutorEvent { type SpanEvent (line 312) | interface SpanEvent { type TraceSpan (line 319) | interface TraceSpan { function isTextContent (line 333) | function isTextContent(content: Content): content is TextContent { function isFunctionCallContent (line 337) | function isFunctionCallContent( function isFunctionResultContent (line 343) | function isFunctionResultContent( FILE: python/packages/devui/frontend/src/types/index.ts type AgentType (line 6) | type AgentType = "agent" | "workflow"; type AgentSource (line 7) | type AgentSource = "directory" | "in_memory" | "remote_gallery"; type StreamEventType (line 8) | type StreamEventType = type EnvVarRequirement (line 17) | interface EnvVarRequirement { type AgentInfo (line 24) | interface AgentInfo { type JSONSchemaProperty (line 47) | interface JSONSchemaProperty { type JSONSchema (line 75) | interface JSONSchema { type WorkflowInfo (line 86) | interface WorkflowInfo extends Omit { type Conversation (line 98) | interface Conversation { type RunAgentRequest (line 105) | interface RunAgentRequest { type RunWorkflowRequest (line 110) | interface RunWorkflowRequest { type OAIProxyMode (line 117) | interface OAIProxyMode { type HealthResponse (line 168) | interface HealthResponse { type MetaResponse (line 174) | interface MetaResponse { type Message (line 188) | interface Message { type AppState (line 205) | interface AppState { type ChatState (line 214) | interface ChatState { type PendingApproval (line 221) | interface PendingApproval { type DeploymentConfig (line 231) | interface DeploymentConfig { type DeploymentEvent (line 241) | interface DeploymentEvent { type Deployment (line 248) | interface Deployment { type WorkflowSession (line 261) | interface WorkflowSession { type CheckpointInfo (line 279) | interface CheckpointInfo { type FullCheckpoint (line 288) | interface FullCheckpoint { type PendingRequestInfoEvent (line 301) | interface PendingRequestInfoEvent { type CheckpointItem (line 311) | interface CheckpointItem { FILE: python/packages/devui/frontend/src/types/openai.ts type ResponseErrorCode (line 7) | type ResponseErrorCode = type ResponseError (line 27) | interface ResponseError { type ResponseUsage (line 33) | interface ResponseUsage { type ResponseStreamEvent (line 46) | interface ResponseStreamEvent { type ResponseCreatedEvent (line 64) | interface ResponseCreatedEvent { type ResponseInProgressEvent (line 75) | interface ResponseInProgressEvent { type ResponseCompletedEvent (line 84) | interface ResponseCompletedEvent { type ResponseFailedEvent (line 98) | interface ResponseFailedEvent { type ResponseWorkflowEventComplete (line 109) | interface ResponseWorkflowEventComplete { type ResponseFunctionCallComplete (line 125) | interface ResponseFunctionCallComplete { type ResponseFunctionCallDelta (line 137) | interface ResponseFunctionCallDelta { type ResponseFunctionCallArgumentsDelta (line 148) | interface ResponseFunctionCallArgumentsDelta { type ResponseFunctionToolCall (line 161) | interface ResponseFunctionToolCall { type ResponseOutputImageItem (line 171) | interface ResponseOutputImageItem { type ResponseOutputFileItem (line 179) | interface ResponseOutputFileItem { type ResponseOutputDataItem (line 188) | interface ResponseOutputDataItem { type WorkflowItem (line 197) | interface WorkflowItem { type ExecutorActionItem (line 205) | interface ExecutorActionItem extends WorkflowItem { function isExecutorAction (line 214) | function isExecutorAction(item: WorkflowItem): item is ExecutorActionItem { type ResponseOutputItem (line 219) | type ResponseOutputItem = type ResponseOutputItemAddedEvent (line 229) | interface ResponseOutputItemAddedEvent { type ResponseOutputItemDoneEvent (line 236) | interface ResponseOutputItemDoneEvent { type ResponseTraceEventComplete (line 244) | interface ResponseTraceEventComplete { type ResponseTraceComplete (line 259) | interface ResponseTraceComplete { type ResponseErrorEvent (line 282) | interface ResponseErrorEvent extends ResponseStreamEvent { type ResponseFunctionApprovalRequestedEvent (line 291) | interface ResponseFunctionApprovalRequestedEvent { type ResponseFunctionApprovalRespondedEvent (line 304) | interface ResponseFunctionApprovalRespondedEvent { type ResponseFunctionResultComplete (line 314) | interface ResponseFunctionResultComplete { type ResponseRequestInfoEvent (line 326) | interface ResponseRequestInfoEvent { type TurnSeparatorEvent (line 340) | interface TurnSeparatorEvent { type StructuredEvent (line 347) | type StructuredEvent = type ExtendedResponseStreamEvent (line 368) | type ExtendedResponseStreamEvent = ResponseStreamEvent | StructuredEvent; type ResponseTextDeltaEvent (line 371) | interface ResponseTextDeltaEvent extends ResponseStreamEvent { type OpenAIResponse (line 382) | interface OpenAIResponse { type ResponseOutputMessage (line 394) | interface ResponseOutputMessage { type ResponseOutputText (line 402) | interface ResponseOutputText { type OpenAIError (line 414) | interface OpenAIError { type MessageTextContent (line 427) | interface MessageTextContent { type MessageInputTextContent (line 432) | interface MessageInputTextContent { type AnnotationFileCitation (line 438) | interface AnnotationFileCitation { type AnnotationURLCitation (line 445) | interface AnnotationURLCitation { type AnnotationContainerFileCitation (line 453) | interface AnnotationContainerFileCitation { type AnnotationFilePath (line 462) | interface AnnotationFilePath { type OutputTextAnnotation (line 468) | type OutputTextAnnotation = type LogprobTopLogprob (line 475) | interface LogprobTopLogprob { type Logprob (line 481) | interface Logprob { type MessageOutputTextContent (line 488) | interface MessageOutputTextContent { type MessageInputImage (line 495) | interface MessageInputImage { type MessageInputFile (line 502) | interface MessageInputFile { type MessageFunctionApprovalRequestContent (line 511) | interface MessageFunctionApprovalRequestContent { type MessageFunctionApprovalResponseContent (line 523) | interface MessageFunctionApprovalResponseContent { type MessageOutputImage (line 541) | interface MessageOutputImage { type MessageOutputFile (line 548) | interface MessageOutputFile { type MessageOutputData (line 556) | interface MessageOutputData { type MessageContent (line 563) | type MessageContent = type ConversationMessage (line 576) | interface ConversationMessage { type ConversationFunctionCall (line 591) | interface ConversationFunctionCall { type ConversationFunctionCallOutput (line 602) | interface ConversationFunctionCallOutput { type ConversationItem (line 612) | type ConversationItem = type Conversation (line 618) | interface Conversation { type TraceAttributeKey (line 683) | type TraceAttributeKey = (typeof TraceAttributes)[keyof typeof TraceAttr... type TypedTraceAttributes (line 689) | interface TypedTraceAttributes { type TraceTextPart (line 734) | interface TraceTextPart { type TraceToolCallPart (line 742) | interface TraceToolCallPart { type TraceToolResultPart (line 751) | interface TraceToolResultPart { type TraceMessagePart (line 759) | type TraceMessagePart = TraceTextPart | TraceToolCallPart | TraceToolRes... function isTextPart (line 762) | function isTextPart(part: TraceMessagePart): part is TraceTextPart { function isToolCallPart (line 766) | function isToolCallPart(part: TraceMessagePart): part is TraceToolCallPa... function isToolResultPart (line 770) | function isToolResultPart(part: TraceMessagePart): part is TraceToolResu... type TraceMessage (line 782) | interface TraceMessage { function getTraceAttribute (line 790) | function getTraceAttribute( function parseTraceMessages (line 800) | function parseTraceMessages(jsonString: string | undefined): TraceMessag... type TraceSpan (line 810) | interface TraceSpan { type ConversationItemsListResponse (line 832) | interface ConversationItemsListResponse { FILE: python/packages/devui/frontend/src/types/workflow.ts type Executor (line 7) | interface Executor { type AgentExecutor (line 16) | interface AgentExecutor extends Executor { type FunctionExecutor (line 22) | interface FunctionExecutor extends Executor { type RequestInfoExecutor (line 27) | interface RequestInfoExecutor extends Executor { type WorkflowExecutor (line 31) | interface WorkflowExecutor extends Executor { type MagenticOrchestratorExecutor (line 36) | interface MagenticOrchestratorExecutor extends Executor { type MagenticAgentExecutor (line 40) | interface MagenticAgentExecutor extends Executor { type Edge (line 47) | interface Edge { type EdgeGroup (line 56) | interface EdgeGroup { type SingleEdgeGroup (line 65) | interface SingleEdgeGroup extends EdgeGroup { type FanOutEdgeGroup (line 69) | interface FanOutEdgeGroup extends EdgeGroup { type FanInEdgeGroup (line 74) | interface FanInEdgeGroup extends EdgeGroup { type SwitchCaseEdgeGroup (line 78) | interface SwitchCaseEdgeGroup extends EdgeGroup { type Workflow (line 90) | interface Workflow { function isWorkflow (line 101) | function isWorkflow(obj: unknown): obj is Workflow { function isExecutor (line 118) | function isExecutor(obj: unknown): obj is Executor { function isEdge (line 129) | function isEdge(obj: unknown): obj is Edge { function isEdgeGroup (line 140) | function isEdgeGroup(obj: unknown): obj is EdgeGroup { type WorkflowDump (line 157) | type WorkflowDump = Workflow | Record; function getTypedWorkflow (line 162) | function getTypedWorkflow(workflowDump: WorkflowDump): Workflow | null { FILE: python/packages/devui/frontend/src/utils/simple-layout.ts function applySimpleLayout (line 8) | function applySimpleLayout( FILE: python/packages/devui/frontend/src/utils/workflow-utils.ts function isChatMessageSchema (line 29) | function isChatMessageSchema(schema: JSONSchemaProperty | undefined): bo... function truncateText (line 73) | function truncateText(text: string, maxLength: number = 50, ellipsis: st... type WorkflowDumpExecutor (line 78) | interface WorkflowDumpExecutor { type RawExecutorData (line 86) | interface RawExecutorData { type WorkflowDumpConnection (line 94) | interface WorkflowDumpConnection { type WorkflowDump (line 100) | interface WorkflowDump { type NodeUpdate (line 108) | interface NodeUpdate { function convertWorkflowDumpToNodes (line 119) | function convertWorkflowDumpToNodes( function convertWorkflowDumpToEdges (line 187) | function convertWorkflowDumpToEdges( function getExecutorsFromDump (line 250) | function getExecutorsFromDump( function getConnectionsFromDump (line 311) | function getConnectionsFromDump( function applyDagreLayout (line 369) | function applyDagreLayout( function processWorkflowEvents (line 381) | function processWorkflowEvents( function updateNodesWithEvents (line 531) | function updateNodesWithEvents( function getCurrentlyExecutingExecutors (line 560) | function getCurrentlyExecutingExecutors( function updateEdgesWithSequenceAnalysis (line 618) | function updateEdgesWithSequenceAnalysis( function consolidateBidirectionalEdges (line 721) | function consolidateBidirectionalEdges(edges: Edge[]): Edge[] { FILE: python/packages/devui/frontend/src/vite-env.d.ts type ImportMetaEnv (line 3) | interface ImportMetaEnv { type ImportMeta (line 7) | interface ImportMeta { FILE: python/packages/devui/tests/devui/capture_messages.py function start_server (line 27) | def start_server() -> tuple[str, Any]: function capture_agent_stream_with_tracing (line 87) | def capture_agent_stream_with_tracing(client: OpenAI, agent_id: str, sce... function capture_workflow_stream_with_tracing (line 126) | def capture_workflow_stream_with_tracing( function main (line 171) | def main(): FILE: python/packages/devui/tests/devui/conftest.py class MockChatClient (line 56) | class MockChatClient: method __init__ (line 62) | def __init__(self) -> None: method get_response (line 68) | async def get_response( method get_streaming_response (line 78) | async def get_streaming_response( class MockBaseChatClient (line 91) | class MockBaseChatClient(BaseChatClient[OptionsCoT], Generic[OptionsCoT]): method __init__ (line 99) | def __init__(self, **kwargs: Any): method _inner_get_response (line 107) | def _inner_get_response( method _stream_impl (line 127) | async def _stream_impl(self, messages: Sequence[Message]) -> AsyncIter... class MockAgent (line 146) | class MockAgent(BaseAgent): method __init__ (line 149) | def __init__( method run (line 160) | def run( method _run (line 173) | async def _run( method _run_stream (line 183) | def _run_stream( class MockToolCallingAgent (line 199) | class MockToolCallingAgent(BaseAgent): method __init__ (line 202) | def __init__(self, **kwargs: Any): method run (line 206) | def run( method _run (line 219) | async def _run( method _run_stream (line 228) | def _run_stream( function _create_agent_run_response (line 276) | def _create_agent_run_response(text: str = "Test response") -> AgentResp... function _create_agent_executor_response (line 281) | def _create_agent_executor_response( function create_agent_run_response (line 303) | def create_agent_run_response(text: str = "Test response") -> AgentRespo... function create_executor_invoked_event (line 308) | def create_executor_invoked_event(executor_id: str = "test_executor") ->... function create_executor_completed_event (line 313) | def create_executor_completed_event( function create_executor_failed_event (line 327) | def create_executor_failed_event( function mapper (line 342) | def mapper() -> MessageMapper: function test_request (line 348) | def test_request() -> AgentFrameworkRequest: function mock_chat_client (line 358) | def mock_chat_client() -> MockChatClient: function mock_base_chat_client (line 364) | def mock_base_chat_client() -> MockBaseChatClient: function mock_agent (line 370) | def mock_agent() -> MockAgent: function mock_tool_agent (line 376) | def mock_tool_agent() -> MockToolCallingAgent: function agent_run_response (line 382) | def agent_run_response() -> AgentResponse: function executor_completed_event (line 388) | def executor_completed_event() -> WorkflowEvent[Any]: function executor_invoked_event (line 400) | def executor_invoked_event() -> WorkflowEvent[Any]: function executor_failed_event (line 406) | def executor_failed_event() -> WorkflowEvent[WorkflowErrorDetails]: function test_entities_dir (line 413) | def test_entities_dir() -> str: function executor_with_real_agent (line 427) | async def executor_with_real_agent() -> tuple[AgentFrameworkExecutor, st... function sequential_workflow (line 460) | async def sequential_workflow() -> tuple[AgentFrameworkExecutor, str, Mo... function concurrent_workflow (line 504) | async def concurrent_workflow() -> tuple[AgentFrameworkExecutor, str, Mo... FILE: python/packages/devui/tests/devui/test_approval_validation.py function executor (line 28) | def executor(tmp_path: Any) -> AgentFrameworkExecutor: function test_track_approval_request_stores_data (line 40) | def test_track_approval_request_stores_data(executor: AgentFrameworkExec... function test_track_approval_request_ignores_empty_id (line 60) | def test_track_approval_request_ignores_empty_id(executor: AgentFramewor... function test_track_approval_request_ignores_non_string_id (line 71) | def test_track_approval_request_ignores_non_string_id(executor: AgentFra... function _make_approval_response_input (line 87) | def _make_approval_response_input( function test_forged_approval_rejected_unknown_request_id (line 109) | def test_forged_approval_rejected_unknown_request_id(executor: AgentFram... function test_valid_approval_accepted_with_server_data (line 127) | def test_valid_approval_accepted_with_server_data(executor: AgentFramewo... function test_approval_consumed_on_use (line 158) | def test_approval_consumed_on_use(executor: AgentFrameworkExecutor) -> N... function test_rejected_approval_uses_server_data (line 178) | def test_rejected_approval_uses_server_data(executor: AgentFrameworkExec... function test_multiple_approvals_independent (line 200) | def test_multiple_approvals_independent(executor: AgentFrameworkExecutor... FILE: python/packages/devui/tests/devui/test_checkpoints.py class WorkflowTestData (line 24) | class WorkflowTestData: class WorkflowHILRequest (line 31) | class WorkflowHILRequest: class WorkflowTestExecutor (line 37) | class WorkflowTestExecutor(Executor): method __init__ (line 40) | def __init__(self, id: str) -> None: method process (line 45) | async def process(self, data: WorkflowTestData, ctx: WorkflowContext) ... method handle_response (line 53) | async def handle_response( function conversation_store (line 62) | def conversation_store(): function checkpoint_manager (line 68) | def checkpoint_manager(conversation_store): function test_workflow (line 74) | def test_workflow(): class TestCheckpointConversationManager (line 87) | class TestCheckpointConversationManager: method test_conversation_scoped_checkpoint_save (line 91) | async def test_conversation_scoped_checkpoint_save(self, checkpoint_ma... method test_conversation_isolation (line 126) | async def test_conversation_isolation(self, checkpoint_manager, test_w... method test_list_checkpoints_in_session (line 165) | async def test_list_checkpoints_in_session(self, checkpoint_manager, t... method test_checkpoints_appear_as_conversation_items (line 203) | async def test_checkpoints_appear_as_conversation_items(self, checkpoi... method test_load_checkpoint_from_session (line 248) | async def test_load_checkpoint_from_session(self, checkpoint_manager, ... class TestCheckpointStorage (line 284) | class TestCheckpointStorage: method test_checkpoint_storage_protocol (line 288) | async def test_checkpoint_storage_protocol(self, checkpoint_manager, t... class TestIntegration (line 333) | class TestIntegration: method test_manual_checkpoint_save_via_injected_storage (line 337) | async def test_manual_checkpoint_save_via_injected_storage(self, check... method test_checkpoint_roundtrip_via_storage (line 375) | async def test_checkpoint_roundtrip_via_storage(self, checkpoint_manag... method test_workflow_auto_saves_checkpoints_to_injected_storage (line 415) | async def test_workflow_auto_saves_checkpoints_to_injected_storage(sel... FILE: python/packages/devui/tests/devui/test_cleanup_hooks.py function cleanup_registry (line 17) | def cleanup_registry(): class MockAgent (line 26) | class MockAgent: method __init__ (line 29) | def __init__(self, name: str = "TestAgent"): method run (line 36) | async def run(self, messages=None, *, stream: bool = False, thread=Non... class MockCredential (line 51) | class MockCredential: method __init__ (line 54) | def __init__(self): method close (line 57) | async def close(self): class MockSyncResource (line 62) | class MockSyncResource: method __init__ (line 65) | def __init__(self): method close (line 68) | def close(self): function test_register_cleanup_single_hook (line 74) | async def test_register_cleanup_single_hook(): function test_register_cleanup_multiple_hooks (line 100) | async def test_register_cleanup_multiple_hooks(): function test_register_cleanup_incremental (line 137) | async def test_register_cleanup_incremental(): function test_no_cleanup_hooks (line 165) | async def test_no_cleanup_hooks(): function test_mixed_async_sync_hooks (line 180) | async def test_mixed_async_sync_hooks(): function test_cleanup_hook_error_handling (line 211) | async def test_cleanup_hook_error_handling(): function test_register_cleanup_no_hooks_error (line 249) | def test_register_cleanup_no_hooks_error(): function test_cleanup_with_file_based_discovery (line 258) | async def test_cleanup_with_file_based_discovery(): function test_cleanup_execution_order (line 320) | async def test_cleanup_execution_order(): function test_custom_cleanup_logic (line 352) | async def test_custom_cleanup_logic(): FILE: python/packages/devui/tests/devui/test_conversations.py function test_create_conversation (line 14) | async def test_create_conversation(): function test_get_conversation (line 26) | async def test_get_conversation(): function test_get_conversation_not_found (line 42) | async def test_get_conversation_not_found(): function test_update_conversation (line 52) | async def test_update_conversation(): function test_delete_conversation (line 67) | async def test_delete_conversation(): function test_get_session (line 86) | async def test_get_session(): function test_get_session_not_found (line 102) | async def test_get_session_not_found(): function test_list_conversations_by_metadata (line 112) | async def test_list_conversations_by_metadata(): function test_add_items (line 135) | async def test_add_items(): function test_list_items (line 159) | async def test_list_items(): function test_list_items_pagination (line 181) | async def test_list_items_pagination(): function test_list_items_converts_function_calls (line 200) | async def test_list_items_converts_function_calls(): function test_list_items_handles_images_and_files (line 277) | async def test_list_items_handles_images_and_files(): FILE: python/packages/devui/tests/devui/test_discovery.py function test_discover_agents (line 14) | async def test_discover_agents(test_entities_dir): function test_discover_workflows (line 32) | async def test_discover_workflows(test_entities_dir): function test_empty_directory (line 50) | async def test_empty_directory(): function test_discovery_accepts_agents_with_only_run (line 59) | async def test_discovery_accepts_agents_with_only_run(): function test_lazy_loading (line 120) | async def test_lazy_loading(): function test_type_detection (line 166) | async def test_type_detection(): function test_hot_reload (line 224) | async def test_hot_reload(): function test_in_memory_entities_bypass_lazy_loading (line 284) | async def test_in_memory_entities_bypass_lazy_loading(): function run_tests (line 312) | async def run_tests(): FILE: python/packages/devui/tests/devui/test_execution.py function executor (line 34) | async def executor(test_entities_dir): function test_executor_entity_discovery (line 46) | async def test_executor_entity_discovery(executor): function test_executor_get_entity_info (line 68) | async def test_executor_get_entity_info(executor): function test_agent_sync_execution (line 84) | async def test_agent_sync_execution(executor_with_real_agent): function test_agent_sync_execution_respects_model_field (line 111) | async def test_agent_sync_execution_respects_model_field(executor_with_r... function test_chat_client_receives_correct_messages (line 130) | async def test_chat_client_receives_correct_messages(executor_with_real_... function test_workflow_streaming_execution (line 167) | async def test_workflow_streaming_execution(): function test_workflow_sync_execution (line 212) | async def test_workflow_sync_execution(): function test_full_pipeline_agent_events_are_json_serializable (line 252) | async def test_full_pipeline_agent_events_are_json_serializable(executor... function test_full_pipeline_workflow_events_are_json_serializable (line 295) | async def test_full_pipeline_workflow_events_are_json_serializable(): function test_get_entity_info_raises_for_invalid_id (line 374) | async def test_get_entity_info_raises_for_invalid_id(executor): function test_request_extracts_entity_id_from_metadata (line 380) | async def test_request_extracts_entity_id_from_metadata(executor): function test_executor_get_start_executor_message_types (line 394) | async def test_executor_get_start_executor_message_types(sequential_work... function test_executor_select_primary_input_prefers_string (line 406) | def test_executor_select_primary_input_prefers_string(): function test_executor_parse_structured_extracts_input_for_string_workflow (line 418) | async def test_executor_parse_structured_extracts_input_for_string_workf... function test_executor_parse_raw_string_for_string_workflow (line 443) | async def test_executor_parse_raw_string_for_string_workflow(): function test_executor_parse_converts_to_chat_message_for_sequential_workflow (line 468) | async def test_executor_parse_converts_to_chat_message_for_sequential_wo... function test_executor_parse_stringified_json_workflow_input (line 482) | async def test_executor_parse_stringified_json_workflow_input(): function test_extract_workflow_hil_responses_handles_stringified_json (line 518) | def test_extract_workflow_hil_responses_handles_stringified_json(): function test_executor_handles_streaming_agent (line 539) | async def test_executor_handles_streaming_agent(): function test_full_pipeline_sequential_workflow (line 605) | async def test_full_pipeline_sequential_workflow(sequential_workflow): function test_full_pipeline_concurrent_workflow (line 640) | async def test_full_pipeline_concurrent_workflow(concurrent_workflow): function test_full_pipeline_workflow_output_event_serialization (line 680) | async def test_full_pipeline_workflow_output_event_serialization(): function test_workflow_error_yields_dict_event_without_crash (line 744) | async def test_workflow_error_yields_dict_event_without_crash(): function run_tests (line 791) | async def run_tests(): FILE: python/packages/devui/tests/devui/test_mapper.py function create_test_content (line 50) | def create_test_content(content_type: str, **kwargs: Any) -> Any: function create_test_agent_update (line 67) | def create_test_agent_update(contents: list[Any]) -> AgentResponseUpdate: function test_critical_isinstance_bug_detection (line 77) | async def test_critical_isinstance_bug_detection(mapper: MessageMapper, ... function test_text_content_mapping (line 97) | async def test_text_content_mapping(mapper: MessageMapper, test_request:... function test_function_call_mapping (line 124) | async def test_function_call_mapping(mapper: MessageMapper, test_request... function test_function_result_content_with_string_result (line 142) | async def test_function_result_content_with_string_result( function test_function_result_content_with_nested_content_objects (line 162) | async def test_function_result_content_with_nested_content_objects( function test_error_content_mapping (line 181) | async def test_error_content_mapping(mapper: MessageMapper, test_request... function test_mixed_content_types (line 194) | async def test_mixed_content_types(mapper: MessageMapper, test_request: ... function test_agent_lifecycle_events (line 216) | async def test_agent_lifecycle_events(mapper: MessageMapper, test_reques... function test_agent_run_response_mapping (line 245) | async def test_agent_run_response_mapping(mapper: MessageMapper, test_re... function test_executor_invoked_event (line 262) | async def test_executor_invoked_event(mapper: MessageMapper, test_reques... function test_executor_completed_event_simple_data (line 278) | async def test_executor_completed_event_simple_data(mapper: MessageMappe... function test_executor_completed_event_with_agent_response (line 300) | async def test_executor_completed_event_with_agent_response( function test_executor_completed_event_serialization_to_json (line 340) | async def test_executor_completed_event_serialization_to_json( function test_executor_failed_event (line 375) | async def test_executor_failed_event(mapper: MessageMapper, test_request... function test_workflow_started_event (line 399) | async def test_workflow_started_event(mapper: MessageMapper, test_reques... function test_workflow_status_event (line 411) | async def test_workflow_status_event(mapper: MessageMapper, test_request... function test_magentic_executor_event_with_agent_delta_metadata (line 426) | async def test_magentic_executor_event_with_agent_delta_metadata( function test_magentic_orchestrator_message_event (line 459) | async def test_magentic_orchestrator_message_event(mapper: MessageMapper... function test_magentic_events_use_same_event_class_as_other_workflows (line 491) | async def test_magentic_events_use_same_event_class_as_other_workflows( function test_unknown_content_fallback (line 542) | async def test_unknown_content_fallback(mapper: MessageMapper, test_requ... function test_workflow_output_event (line 564) | async def test_workflow_output_event(mapper: MessageMapper, test_request... function test_workflow_output_event_with_list_data (line 580) | async def test_workflow_output_event_with_list_data(mapper: MessageMappe... function test_workflow_failed_event (line 602) | async def test_workflow_failed_event(mapper: MessageMapper, test_request... function test_workflow_failed_event_with_extra (line 628) | async def test_workflow_failed_event_with_extra(mapper: MessageMapper, t... function test_workflow_failed_event_with_traceback (line 650) | async def test_workflow_failed_event_with_traceback(mapper: MessageMappe... function test_workflow_warning_event (line 672) | async def test_workflow_warning_event(mapper: MessageMapper, test_reques... function test_workflow_error_event (line 685) | async def test_workflow_error_event(mapper: MessageMapper, test_request:... function test_request_info_event (line 703) | async def test_request_info_event(mapper: MessageMapper, test_request: A... function test_superstep_started_event (line 732) | async def test_superstep_started_event(mapper: MessageMapper, test_reque... function test_superstep_completed_event (line 744) | async def test_superstep_completed_event(mapper: MessageMapper, test_req... FILE: python/packages/devui/tests/devui/test_multimodal_workflow.py class TestMultimodalWorkflowInput (line 21) | class TestMultimodalWorkflowInput: method test_is_openai_multimodal_format_detects_message_format (line 24) | def test_is_openai_multimodal_format_detects_message_format(self): method test_convert_openai_input_to_chat_message_with_image (line 50) | def test_convert_openai_input_to_chat_message_with_image(self): method test_parse_workflow_input_handles_json_string_with_multimodal (line 89) | async def test_parse_workflow_input_handles_json_string_with_multimoda... method test_parse_workflow_input_still_handles_simple_dict (line 129) | async def test_parse_workflow_input_still_handles_simple_dict(self): FILE: python/packages/devui/tests/devui/test_openai_sdk_integration.py function devui_server (line 23) | def devui_server() -> Generator[str, None, None]: function test_openai_sdk_responses_create_with_entity_id (line 99) | def test_openai_sdk_responses_create_with_entity_id(devui_server: str) -... function test_openai_sdk_responses_create_streaming (line 134) | def test_openai_sdk_responses_create_streaming(devui_server: str) -> None: function test_openai_sdk_with_conversations (line 179) | def test_openai_sdk_with_conversations(devui_server: str) -> None: function test_openai_sdk_with_model_and_entity_id (line 232) | def test_openai_sdk_with_model_and_entity_id(devui_server: str) -> None: FILE: python/packages/devui/tests/devui/test_schema_generation.py class InputData (line 18) | class InputData: class Address (line 24) | class Address: class PersonData (line 31) | class PersonData: function test_builtin_types_schema_generation (line 37) | def test_builtin_types_schema_generation(): function test_dataclass_schema_generation (line 55) | def test_dataclass_schema_generation(): function test_chat_message_schema_generation (line 69) | def test_chat_message_schema_generation(): function test_pydantic_model_schema_generation (line 82) | def test_pydantic_model_schema_generation(): function test_nested_dataclass_schema_generation (line 107) | def test_nested_dataclass_schema_generation(): function test_schema_generation_error_handling (line 122) | def test_schema_generation_error_handling(): function test_extract_response_type_from_executor (line 136) | def test_extract_response_type_from_executor(): function test_extract_response_type_no_match (line 198) | def test_extract_response_type_no_match(): FILE: python/packages/devui/tests/devui/test_server.py class _StubExecutor (line 16) | class _StubExecutor: method __init__ (line 19) | def __init__(self, *, input_types=None, handlers=None): function test_server_health_endpoint (line 29) | async def test_server_health_endpoint(test_entities_dir): function test_server_entities_endpoint (line 40) | async def test_server_entities_endpoint(test_entities_dir): function test_server_execution_sync (line 56) | async def test_server_execution_sync(test_entities_dir): function test_server_execution_streaming (line 76) | async def test_server_execution_streaming(test_entities_dir): function test_configuration (line 100) | def test_configuration(): function test_extract_executor_message_types_prefers_input_types (line 110) | def test_extract_executor_message_types_prefers_input_types(): function test_extract_executor_message_types_falls_back_to_handlers (line 119) | def test_extract_executor_message_types_falls_back_to_handlers(): function test_select_primary_input_type_prefers_string_and_dict (line 129) | def test_select_primary_input_type_prefers_string_and_dict(): function test_credential_cleanup (line 141) | async def test_credential_cleanup() -> None: function test_credential_cleanup_error_handling (line 174) | async def test_credential_cleanup_error_handling() -> None: function test_multiple_credential_attributes (line 206) | async def test_multiple_credential_attributes() -> None: function test_ui_mode_configuration (line 241) | def test_ui_mode_configuration(): function test_api_restrictions_in_user_mode (line 251) | async def test_api_restrictions_in_user_mode(): function run_tests (line 334) | async def run_tests(): function test_checkpoint_api_endpoints (line 367) | async def test_checkpoint_api_endpoints(test_entities_dir): FILE: python/packages/durabletask/agent_framework_durabletask/_callbacks.py class AgentCallbackContext (line 16) | class AgentCallbackContext: class AgentResponseCallbackProtocol (line 25) | class AgentResponseCallbackProtocol(Protocol): method on_streaming_response_update (line 28) | async def on_streaming_response_update( method on_agent_response (line 35) | async def on_agent_response( FILE: python/packages/durabletask/agent_framework_durabletask/_client.py class DurableAIAgentClient (line 23) | class DurableAIAgentClient(DurableAgentProvider[AgentResponse]): method __init__ (line 49) | def __init__( method get_agent (line 73) | def get_agent(self, agent_name: str) -> DurableAIAgent[AgentResponse]: FILE: python/packages/durabletask/agent_framework_durabletask/_constants.py class DurableStateFields (line 41) | class DurableStateFields: class ContentTypes (line 102) | class ContentTypes: class ApiResponseFields (line 121) | class ApiResponseFields: FILE: python/packages/durabletask/agent_framework_durabletask/_durable_agent_state.py class DurableAgentStateEntryJsonType (line 53) | class DurableAgentStateEntryJsonType(str, Enum): function _parse_created_at (line 63) | def _parse_created_at(value: Any) -> datetime: function _parse_messages (line 83) | def _parse_messages(data: dict[str, Any]) -> list[DurableAgentStateMessa... function _parse_history_entries (line 102) | def _parse_history_entries(data_dict: dict[str, Any]) -> list[DurableAge... function _parse_contents (line 130) | def _parse_contents(data: dict[str, Any]) -> list[DurableAgentStateConte... class DurableAgentStateContent (line 232) | class DurableAgentStateContent: method to_dict (line 250) | def to_dict(self) -> dict[str, Any]: method to_ai_content (line 261) | def to_ai_content(self) -> Any: method from_ai_content (line 273) | def from_ai_content(content: Any) -> DurableAgentStateContent: class DurableAgentStateData (line 317) | class DurableAgentStateData: method __init__ (line 335) | def __init__( method to_dict (line 349) | def to_dict(self) -> dict[str, Any]: method from_dict (line 358) | def from_dict(cls, data_dict: dict[str, Any]) -> DurableAgentStateData: class DurableAgentState (line 365) | class DurableAgentState: method __init__ (line 400) | def __init__(self, schema_version: str = SCHEMA_VERSION): method to_dict (line 409) | def to_dict(self) -> dict[str, Any]: method to_json (line 416) | def to_json(self) -> str: method from_dict (line 420) | def from_dict(cls, state: dict[str, Any]) -> DurableAgentState: method from_json (line 437) | def from_json(cls, json_str: str) -> DurableAgentState: method message_count (line 446) | def message_count(self) -> int: method try_get_agent_response (line 450) | def try_get_agent_response(self, correlation_id: str) -> AgentResponse... class DurableAgentStateEntry (line 477) | class DurableAgentStateEntry: method __init__ (line 509) | def __init__( method to_dict (line 523) | def to_dict(self) -> dict[str, Any]: method from_dict (line 532) | def from_dict(cls, data: dict[str, Any]) -> DurableAgentStateEntry: class DurableAgentStateRequest (line 545) | class DurableAgentStateRequest(DurableAgentStateEntry): method __init__ (line 566) | def __init__( method to_dict (line 587) | def to_dict(self) -> dict[str, Any]: method from_dict (line 598) | def from_dict(cls, data: dict[str, Any]) -> DurableAgentStateRequest: method from_run_request (line 613) | def from_run_request(request: RunRequest) -> DurableAgentStateRequest: class DurableAgentStateResponse (line 625) | class DurableAgentStateResponse(DurableAgentStateEntry): method __init__ (line 644) | def __init__( method to_dict (line 663) | def to_dict(self) -> dict[str, Any]: method from_dict (line 670) | def from_dict(cls, data: dict[str, Any]) -> DurableAgentStateResponse: method from_run_response (line 688) | def from_run_response(correlation_id: str, response: AgentResponse) ->... method to_run_response (line 698) | def to_run_response( class DurableAgentStateMessage (line 713) | class DurableAgentStateMessage: method __init__ (line 734) | def __init__( method to_dict (line 748) | def to_dict(self) -> dict[str, Any]: method from_dict (line 769) | def from_dict(cls, data: dict[str, Any]) -> DurableAgentStateMessage: method text (line 782) | def text(self) -> str: method from_run_request (line 791) | def from_run_request(request: RunRequest) -> DurableAgentStateMessage: method from_chat_message (line 806) | def from_chat_message(chat_message: Message) -> DurableAgentStateMessage: method to_chat_message (line 826) | def to_chat_message(self) -> Any: class DurableAgentStateDataContent (line 850) | class DurableAgentStateDataContent(DurableAgentStateContent): method __init__ (line 866) | def __init__(self, uri: str, media_type: str | None = None) -> None: method to_dict (line 870) | def to_dict(self) -> dict[str, Any]: method from_data_content (line 878) | def from_data_content(content: Content) -> DurableAgentStateDataContent: method to_ai_content (line 883) | def to_ai_content(self) -> Content: class DurableAgentStateErrorContent (line 887) | class DurableAgentStateErrorContent(DurableAgentStateContent): method __init__ (line 905) | def __init__(self, message: str | None = None, error_code: str | None ... method to_dict (line 910) | def to_dict(self) -> dict[str, Any]: method from_error_content (line 919) | def from_error_content(content: Content) -> DurableAgentStateErrorCont... method to_ai_content (line 924) | def to_ai_content(self) -> Content: class DurableAgentStateFunctionCallContent (line 928) | class DurableAgentStateFunctionCallContent(DurableAgentStateContent): method __init__ (line 947) | def __init__(self, call_id: str, name: str, arguments: dict[str, Any])... method to_dict (line 952) | def to_dict(self) -> dict[str, Any]: method from_function_call_content (line 961) | def from_function_call_content(content: Content) -> DurableAgentStateF... method to_ai_content (line 980) | def to_ai_content(self) -> Content: class DurableAgentStateFunctionResultContent (line 984) | class DurableAgentStateFunctionResultContent(DurableAgentStateContent): method __init__ (line 1001) | def __init__(self, call_id: str, result: Any | None = None) -> None: method to_dict (line 1005) | def to_dict(self) -> dict[str, Any]: method from_function_result_content (line 1013) | def from_function_result_content(content: Content) -> DurableAgentStat... method to_ai_content (line 1018) | def to_ai_content(self) -> Content: class DurableAgentStateHostedFileContent (line 1022) | class DurableAgentStateHostedFileContent(DurableAgentStateContent): method __init__ (line 1036) | def __init__(self, file_id: str) -> None: method to_dict (line 1039) | def to_dict(self) -> dict[str, Any]: method from_hosted_file_content (line 1043) | def from_hosted_file_content(content: Content) -> DurableAgentStateHos... method to_ai_content (line 1048) | def to_ai_content(self) -> Content: class DurableAgentStateHostedVectorStoreContent (line 1052) | class DurableAgentStateHostedVectorStoreContent(DurableAgentStateContent): method __init__ (line 1067) | def __init__(self, vector_store_id: str) -> None: method to_dict (line 1070) | def to_dict(self) -> dict[str, Any]: method from_hosted_vector_store_content (line 1077) | def from_hosted_vector_store_content( method to_ai_content (line 1084) | def to_ai_content(self) -> Content: class DurableAgentStateTextContent (line 1088) | class DurableAgentStateTextContent(DurableAgentStateContent): method __init__ (line 1100) | def __init__(self, text: str | None) -> None: method to_dict (line 1103) | def to_dict(self) -> dict[str, Any]: method from_text_content (line 1107) | def from_text_content(content: Content) -> DurableAgentStateTextContent: method to_ai_content (line 1110) | def to_ai_content(self) -> Content: class DurableAgentStateTextReasoningContent (line 1114) | class DurableAgentStateTextReasoningContent(DurableAgentStateContent): method __init__ (line 1126) | def __init__(self, text: str | None) -> None: method to_dict (line 1129) | def to_dict(self) -> dict[str, Any]: method from_text_reasoning_content (line 1133) | def from_text_reasoning_content(content: Content) -> DurableAgentState... method to_ai_content (line 1136) | def to_ai_content(self) -> Content: class DurableAgentStateUriContent (line 1140) | class DurableAgentStateUriContent(DurableAgentStateContent): method __init__ (line 1156) | def __init__(self, uri: str, media_type: str) -> None: method to_dict (line 1160) | def to_dict(self) -> dict[str, Any]: method from_uri_content (line 1168) | def from_uri_content(content: Content) -> DurableAgentStateUriContent: method to_ai_content (line 1175) | def to_ai_content(self) -> Content: class DurableAgentStateUsage (line 1179) | class DurableAgentStateUsage: method __init__ (line 1206) | def __init__( method to_dict (line 1218) | def to_dict(self) -> dict[str, Any]: method from_dict (line 1229) | def from_dict(cls, data: dict[str, Any]) -> DurableAgentStateUsage: method from_usage (line 1238) | def from_usage(usage: UsageDetails | MutableMapping[str, Any] | None) ... method to_usage_details (line 1254) | def to_usage_details(self) -> UsageDetails: class DurableAgentStateUsageContent (line 1266) | class DurableAgentStateUsageContent(DurableAgentStateContent): method __init__ (line 1281) | def __init__(self, usage: DurableAgentStateUsage | None) -> None: method to_dict (line 1284) | def to_dict(self) -> dict[str, Any]: method from_usage_content (line 1291) | def from_usage_content(content: Content) -> DurableAgentStateUsageCont... method to_ai_content (line 1294) | def to_ai_content(self) -> Content: class DurableAgentStateUnknownContent (line 1298) | class DurableAgentStateUnknownContent(DurableAgentStateContent): method __init__ (line 1313) | def __init__(self, content: Any) -> None: method to_dict (line 1316) | def to_dict(self) -> dict[str, Any]: method from_unknown_content (line 1320) | def from_unknown_content(content: Any) -> DurableAgentStateUnknownCont... method to_ai_content (line 1325) | def to_ai_content(self) -> Content: FILE: python/packages/durabletask/agent_framework_durabletask/_entities.py class AgentEntityStateProviderMixin (line 34) | class AgentEntityStateProviderMixin: method _get_state_dict (line 45) | def _get_state_dict(self) -> dict[str, Any]: method _set_state_dict (line 48) | def _set_state_dict(self, state: dict[str, Any]) -> None: method _get_thread_id_from_entity (line 51) | def _get_thread_id_from_entity(self) -> str: method thread_id (line 55) | def thread_id(self) -> str: method state (line 59) | def state(self) -> DurableAgentState: method state (line 66) | def state(self, value: DurableAgentState) -> None: method persist_state (line 70) | def persist_state(self) -> None: method reset (line 76) | def reset(self) -> None: class AgentEntity (line 83) | class AgentEntity: method __init__ (line 92) | def __init__( method state (line 106) | def state(self) -> DurableAgentState: method state (line 110) | def state(self, value: DurableAgentState) -> None: method persist_state (line 113) | def persist_state(self) -> None: method reset (line 116) | def reset(self) -> None: method _is_error_response (line 119) | def _is_error_response(self, entry: DurableAgentStateEntry) -> bool: method run (line 125) | async def run( method _invoke_agent (line 193) | async def _invoke_agent( method _consume_stream (line 245) | async def _consume_stream( method _notify_stream_update (line 262) | async def _notify_stream_update( method _notify_final_response (line 282) | async def _notify_final_response( method _build_callback_context (line 302) | def _build_callback_context( class DurableTaskEntityStateProvider (line 318) | class DurableTaskEntityStateProvider(DurableEntity, AgentEntityStateProv... method __init__ (line 325) | def __init__(self) -> None: method _get_state_dict (line 328) | def _get_state_dict(self) -> dict[str, Any]: method _set_state_dict (line 332) | def _set_state_dict(self, state: dict[str, Any]) -> None: method _get_thread_id_from_entity (line 335) | def _get_thread_id_from_entity(self) -> str: FILE: python/packages/durabletask/agent_framework_durabletask/_executors.py class DurableAgentTask (line 37) | class DurableAgentTask(CompositeTask[AgentResponse], CompletableTask[Age... method __init__ (line 47) | def __init__( method on_child_completed (line 64) | def on_child_completed(self, task: Task[Any]) -> None: class DurableAgentExecutor (line 106) | class DurableAgentExecutor(ABC, Generic[TaskT]): method run_durable_agent (line 114) | def run_durable_agent( method get_new_session (line 127) | def get_new_session( method _create_session_id (line 142) | def _create_session_id( method generate_unique_id (line 154) | def generate_unique_id(self) -> str: method get_run_request (line 158) | def get_run_request( method _create_acceptance_response (line 184) | def _create_acceptance_response(self, correlation_id: str) -> AgentRes... class ClientAgentExecutor (line 209) | class ClientAgentExecutor(DurableAgentExecutor[AgentResponse]): method __init__ (line 217) | def __init__( method run_durable_agent (line 227) | def run_durable_agent( method _signal_agent_entity (line 268) | def _signal_agent_entity( method _poll_for_agent_response (line 303) | def _poll_for_agent_response( method _handle_agent_response (line 341) | def _handle_agent_response( method _poll_entity_for_response (line 404) | def _poll_entity_for_response( class OrchestrationAgentExecutor (line 441) | class OrchestrationAgentExecutor(DurableAgentExecutor[DurableAgentTask]): method __init__ (line 444) | def __init__(self, context: OrchestrationContext): method generate_unique_id (line 448) | def generate_unique_id(self) -> str: method get_run_request (line 452) | def get_run_request( method run_durable_agent (line 470) | def run_durable_agent( FILE: python/packages/durabletask/agent_framework_durabletask/_models.py function serialize_response_format (line 35) | def serialize_response_format(response_format: type[BaseModel] | None) -... function _deserialize_response_format (line 53) | def _deserialize_response_format(response_format: Any) -> type[BaseModel... class RunRequest (line 97) | class RunRequest: method __init__ (line 125) | def __init__( method coerce_role (line 150) | def coerce_role(value: str | None) -> str: method to_dict (line 159) | def to_dict(self) -> dict[str, Any]: method from_json (line 179) | def from_json(cls, data: str) -> RunRequest: method from_dict (line 189) | def from_dict(cls, data: dict[str, Any]) -> RunRequest: class AgentSessionId (line 219) | class AgentSessionId: method to_entity_name (line 228) | def to_entity_name(name: str) -> str: method with_random_key (line 232) | def with_random_key(name: str) -> AgentSessionId: method entity_name (line 236) | def entity_name(self) -> str: method __str__ (line 239) | def __str__(self) -> str: method __repr__ (line 242) | def __repr__(self) -> str: method parse (line 246) | def parse(session_id_string: str, agent_name: str | None = None) -> Ag... class DurableAgentSession (line 276) | class DurableAgentSession(AgentSession): method __init__ (line 281) | def __init__( method to_dict (line 291) | def to_dict(self) -> dict[str, Any]: method from_session_id (line 298) | def from_session_id( method from_dict (line 313) | def from_dict(cls, data: dict[str, Any]) -> DurableAgentSession: FILE: python/packages/durabletask/agent_framework_durabletask/_orchestration_context.py class DurableAIAgentOrchestrationContext (line 21) | class DurableAIAgentOrchestrationContext(DurableAgentProvider[DurableAge... method __init__ (line 48) | def __init__(self, context: OrchestrationContext): method get_agent (line 58) | def get_agent(self, agent_name: str) -> DurableAIAgent[DurableAgentTask]: FILE: python/packages/durabletask/agent_framework_durabletask/_response_utils.py function load_agent_response (line 14) | def load_agent_response(agent_response: AgentResponse | dict[str, Any] |... function ensure_response_format (line 41) | def ensure_response_format( FILE: python/packages/durabletask/agent_framework_durabletask/_shim.py class DurableAgentProvider (line 26) | class DurableAgentProvider(ABC, Generic[TaskT]): method get_agent (line 36) | def get_agent(self, agent_name: str) -> DurableAIAgent[TaskT]: class DurableAIAgent (line 51) | class DurableAIAgent(SupportsAgentRun, Generic[TaskT]): method __init__ (line 74) | def __init__(self, executor: DurableAgentExecutor[TaskT], name: str, *... method run (line 88) | def run( # type: ignore[override] method create_session (line 136) | def create_session(self, *, session_id: str | None = None) -> DurableA... method get_session (line 140) | def get_session(self, service_session_id: str, *, session_id: str | No... method _normalize_messages (line 144) | def _normalize_messages(self, messages: AgentRunInputs | None) -> str: FILE: python/packages/durabletask/agent_framework_durabletask/_worker.py class DurableAIAgentWorker (line 24) | class DurableAIAgentWorker: method __init__ (line 53) | def __init__( method add_agent (line 69) | def add_agent( method start (line 115) | def start(self) -> None: method stop (line 125) | def stop(self) -> None: method registered_agent_names (line 135) | def registered_agent_names(self) -> list[str]: method __create_agent_entity (line 143) | def __create_agent_entity( FILE: python/packages/durabletask/tests/integration_tests/conftest.py function _get_dts_endpoint (line 38) | def _get_dts_endpoint() -> str: function _check_dts_available (line 43) | def _check_dts_available(endpoint: str | None = None) -> bool: function _check_redis_available (line 58) | def _check_redis_available() -> bool: function create_dts_client (line 82) | def create_dts_client(endpoint: str, taskhub: str) -> DurableTaskSchedul... function create_agent_client (line 100) | def create_agent_client( class OrchestrationHelper (line 125) | class OrchestrationHelper: method __init__ (line 128) | def __init__(self, dts_client: DurableTaskSchedulerClient): method wait_for_orchestration (line 136) | def wait_for_orchestration( method wait_for_orchestration_with_output (line 171) | def wait_for_orchestration_with_output( method get_orchestration_status (line 194) | def get_orchestration_status(self, instance_id: str) -> Any | None: method raise_event (line 212) | def raise_event( method wait_for_notification (line 227) | def wait_for_notification(self, instance_id: str, timeout_seconds: int... function pytest_configure (line 278) | def pytest_configure(config: pytest.Config) -> None: function pytest_collection_modifyitems (line 290) | def pytest_collection_modifyitems(config: pytest.Config, items: list[pyt... function dts_endpoint (line 322) | def dts_endpoint() -> str: function dts_available (line 328) | def dts_available(dts_endpoint: str) -> bool: function check_azure_openai_env (line 337) | def check_azure_openai_env() -> None: function unique_taskhub (line 347) | def unique_taskhub() -> str: function worker_process (line 354) | def worker_process( function orchestration_helper (line 454) | def orchestration_helper(worker_process: dict[str, Any]) -> Orchestratio... function agent_client_factory (line 461) | def agent_client_factory(worker_process: dict[str, Any]) -> type: FILE: python/packages/durabletask/tests/integration_tests/test_01_dt_single_agent.py class TestSingleAgent (line 26) | class TestSingleAgent: method setup (line 30) | def setup(self, agent_client_factory: type) -> None: method test_agent_registration (line 35) | def test_agent_registration(self) -> None: method test_single_interaction (line 41) | def test_single_interaction(self): method test_conversation_continuity (line 52) | def test_conversation_continuity(self): method test_multiple_sessions (line 69) | def test_multiple_sessions(self): FILE: python/packages/durabletask/tests/integration_tests/test_02_dt_multi_agent.py class TestMultiAgent (line 30) | class TestMultiAgent: method setup (line 34) | def setup(self, agent_client_factory: type) -> None: method test_multiple_agents_registered (line 39) | def test_multiple_agents_registered(self) -> None: method test_weather_agent_with_tool (line 49) | def test_weather_agent_with_tool(self): method test_math_agent_with_tool (line 68) | def test_math_agent_with_tool(self): method test_multiple_calls_to_same_agent (line 87) | def test_multiple_calls_to_same_agent(self): FILE: python/packages/durabletask/tests/integration_tests/test_03_dt_single_agent_streaming.py class TestSampleReliableStreaming (line 47) | class TestSampleReliableStreaming: method setup (line 51) | def setup(self, agent_client_factory: type, orchestration_helper) -> N... method _get_stream_handler (line 61) | async def _get_stream_handler(self) -> RedisStreamResponseHandler: # ... method _stream_from_redis (line 73) | async def _stream_from_redis( method test_agent_run_and_stream (line 122) | def test_agent_run_and_stream(self) -> None: method test_stream_with_cursor_resumption (line 176) | def test_stream_with_cursor_resumption(self) -> None: FILE: python/packages/durabletask/tests/integration_tests/test_04_dt_single_agent_orchestration_chaining.py class TestSingleAgentOrchestrationChaining (line 35) | class TestSingleAgentOrchestrationChaining: method setup (line 39) | def setup(self, agent_client_factory: type, orchestration_helper) -> N... method test_agent_registered (line 45) | def test_agent_registered(self): method test_chaining_context_preserved (line 51) | def test_chaining_context_preserved(self): method test_multiple_orchestration_instances (line 75) | def test_multiple_orchestration_instances(self): FILE: python/packages/durabletask/tests/integration_tests/test_05_dt_multi_agent_orchestration_concurrency.py class TestMultiAgentOrchestrationConcurrency (line 35) | class TestMultiAgentOrchestrationConcurrency: method setup (line 39) | def setup(self, agent_client_factory: type, orchestration_helper) -> N... method test_agents_registered (line 45) | def test_agents_registered(self): method test_different_prompts (line 55) | def test_different_prompts(self): FILE: python/packages/durabletask/tests/integration_tests/test_06_dt_multi_agent_orchestration_conditionals.py class TestMultiAgentOrchestrationConditionals (line 35) | class TestMultiAgentOrchestrationConditionals: method setup (line 39) | def setup(self, agent_client_factory: type, orchestration_helper) -> N... method test_agents_registered (line 45) | def test_agents_registered(self): method test_conditional_branching (line 55) | def test_conditional_branching(self): FILE: python/packages/durabletask/tests/integration_tests/test_07_dt_single_agent_orchestration_hitl.py class TestSingleAgentOrchestrationHITL (line 35) | class TestSingleAgentOrchestrationHITL: method setup (line 39) | def setup(self, agent_client_factory: type, orchestration_helper) -> N... method test_agent_registered (line 45) | def test_agent_registered(self): method test_hitl_orchestration_with_approval (line 51) | def test_hitl_orchestration_with_approval(self): method test_hitl_orchestration_with_rejection_and_feedback (line 88) | def test_hitl_orchestration_with_rejection_and_feedback(self): method test_hitl_orchestration_timeout (line 138) | def test_hitl_orchestration_timeout(self): FILE: python/packages/durabletask/tests/test_agent_session_id.py class TestAgentSessionId (line 13) | class TestAgentSessionId: method test_init_creates_session_id (line 16) | def test_init_creates_session_id(self) -> None: method test_with_random_key_generates_guid (line 23) | def test_with_random_key_generates_guid(self) -> None: method test_with_random_key_unique_keys (line 32) | def test_with_random_key_unique_keys(self) -> None: method test_str_representation (line 39) | def test_str_representation(self) -> None: method test_repr_representation (line 46) | def test_repr_representation(self) -> None: method test_parse_valid_session_id (line 55) | def test_parse_valid_session_id(self) -> None: method test_parse_invalid_format_no_prefix (line 62) | def test_parse_invalid_format_no_prefix(self) -> None: method test_parse_invalid_format_single_part (line 69) | def test_parse_invalid_format_single_part(self) -> None: method test_parse_with_multiple_at_signs_in_key (line 76) | def test_parse_with_multiple_at_signs_in_key(self) -> None: method test_parse_round_trip (line 83) | def test_parse_round_trip(self) -> None: method test_to_entity_name_adds_prefix (line 92) | def test_to_entity_name_adds_prefix(self) -> None: method test_parse_with_agent_name_override (line 97) | def test_parse_with_agent_name_override(self) -> None: method test_parse_without_agent_name_uses_parsed_name (line 104) | def test_parse_without_agent_name_uses_parsed_name(self) -> None: method test_parse_plain_string_with_agent_name (line 111) | def test_parse_plain_string_with_agent_name(self) -> None: method test_parse_plain_string_without_agent_name_raises (line 118) | def test_parse_plain_string_without_agent_name_raises(self) -> None: class TestDurableAgentSession (line 126) | class TestDurableAgentSession: method test_init_with_durable_session_id (line 129) | def test_init_with_durable_session_id(self) -> None: method test_init_without_durable_session_id (line 137) | def test_init_without_durable_session_id(self) -> None: method test_durable_session_id_setter (line 143) | def test_durable_session_id_setter(self) -> None: method test_from_session_id (line 155) | def test_from_session_id(self) -> None: method test_init_with_service_session_id (line 166) | def test_init_with_service_session_id(self) -> None: method test_to_dict_with_durable_session_id (line 175) | def test_to_dict_with_durable_session_id(self) -> None: method test_to_dict_without_durable_session_id (line 186) | def test_to_dict_without_durable_session_id(self) -> None: method test_from_dict_with_durable_session_id (line 195) | def test_from_dict_with_durable_session_id(self) -> None: method test_from_dict_without_durable_session_id (line 213) | def test_from_dict_without_durable_session_id(self) -> None: method test_round_trip_serialization (line 228) | def test_round_trip_serialization(self) -> None: method test_from_dict_invalid_durable_session_id_type (line 241) | def test_from_dict_invalid_durable_session_id_type(self) -> None: class TestAgentSessionCompatibility (line 254) | class TestAgentSessionCompatibility: method test_agent_session_to_dict (line 257) | def test_agent_session_to_dict(self) -> None: method test_agent_session_from_dict (line 266) | def test_agent_session_from_dict(self) -> None: method test_durable_session_is_agent_session (line 276) | def test_durable_session_is_agent_session(self) -> None: class TestModelIntegration (line 284) | class TestModelIntegration: method test_session_id_string_format (line 287) | def test_session_id_string_format(self) -> None: method test_session_with_durable_id_preserves_on_serialization (line 294) | def test_session_with_durable_id_preserves_on_serialization(self) -> N... FILE: python/packages/durabletask/tests/test_client.py function mock_grpc_client (line 20) | def mock_grpc_client() -> Mock: function agent_client (line 26) | def agent_client(mock_grpc_client: Mock) -> DurableAIAgentClient: function agent_client_with_custom_polling (line 32) | def agent_client_with_custom_polling(mock_grpc_client: Mock) -> DurableA... class TestDurableAIAgentClientGetAgent (line 41) | class TestDurableAIAgentClientGetAgent: method test_get_agent_returns_durable_agent_shim (line 44) | def test_get_agent_returns_durable_agent_shim(self, agent_client: Dura... method test_get_agent_shim_has_correct_name (line 51) | def test_get_agent_shim_has_correct_name(self, agent_client: DurableAI... method test_get_agent_multiple_times_returns_new_instances (line 57) | def test_get_agent_multiple_times_returns_new_instances(self, agent_cl... method test_get_agent_different_agents (line 64) | def test_get_agent_different_agents(self, agent_client: DurableAIAgent... class TestDurableAIAgentClientIntegration (line 73) | class TestDurableAIAgentClientIntegration: method test_client_agent_has_working_run_method (line 76) | def test_client_agent_has_working_run_method(self, agent_client: Durab... method test_client_agent_can_create_sessions (line 83) | def test_client_agent_can_create_sessions(self, agent_client: DurableA... class TestDurableAIAgentClientPollingConfiguration (line 92) | class TestDurableAIAgentClientPollingConfiguration: method test_client_uses_default_polling_parameters (line 95) | def test_client_uses_default_polling_parameters(self, agent_client: Du... method test_client_accepts_custom_polling_parameters (line 100) | def test_client_accepts_custom_polling_parameters( method test_client_validates_max_poll_retries (line 107) | def test_client_validates_max_poll_retries(self, mock_grpc_client: Moc... method test_client_validates_poll_interval_seconds (line 117) | def test_client_validates_poll_interval_seconds(self, mock_grpc_client... FILE: python/packages/durabletask/tests/test_durable_agent_state.py class TestDurableAgentStateRequestOrchestrationId (line 23) | class TestDurableAgentStateRequestOrchestrationId: method test_request_with_orchestration_id (line 26) | def test_request_with_orchestration_id(self) -> None: method test_request_to_dict_includes_orchestration_id (line 42) | def test_request_to_dict_includes_orchestration_id(self) -> None: method test_request_to_dict_excludes_orchestration_id_when_none (line 61) | def test_request_to_dict_excludes_orchestration_id_when_none(self) -> ... method test_request_from_dict_with_orchestration_id (line 78) | def test_request_from_dict_with_orchestration_id(self) -> None: method test_request_from_run_request_with_orchestration_id (line 92) | def test_request_from_run_request_with_orchestration_id(self) -> None: method test_request_from_run_request_without_orchestration_id (line 104) | def test_request_from_run_request_without_orchestration_id(self) -> None: class TestDurableAgentStateMessageCreatedAt (line 116) | class TestDurableAgentStateMessageCreatedAt: method test_message_from_run_request_without_created_at_preserves_none (line 119) | def test_message_from_run_request_without_created_at_preserves_none(se... method test_message_from_run_request_with_created_at_parses_correctly (line 136) | def test_message_from_run_request_with_created_at_parses_correctly(sel... class TestDurableAgentState (line 152) | class TestDurableAgentState: method test_schema_version (line 155) | def test_schema_version(self) -> None: method test_to_dict_serialization (line 160) | def test_to_dict_serialization(self) -> None: method test_from_dict_deserialization (line 170) | def test_from_dict_deserialization(self) -> None: method test_round_trip_serialization (line 197) | def test_round_trip_serialization(self) -> None: class TestDurableAgentStateUsage (line 221) | class TestDurableAgentStateUsage: method test_usage_init_with_defaults (line 224) | def test_usage_init_with_defaults(self) -> None: method test_usage_init_with_values (line 233) | def test_usage_init_with_values(self) -> None: method test_usage_to_dict (line 247) | def test_usage_to_dict(self) -> None: method test_usage_to_dict_with_extension_data (line 261) | def test_usage_to_dict_with_extension_data(self) -> None: method test_usage_from_dict (line 275) | def test_usage_from_dict(self) -> None: method test_usage_from_usage_details (line 291) | def test_usage_from_usage_details(self) -> None: method test_usage_from_usage_details_with_extension_fields (line 306) | def test_usage_from_usage_details_with_extension_fields(self) -> None: method test_usage_from_usage_none (line 324) | def test_usage_from_usage_none(self) -> None: method test_usage_to_usage_details (line 330) | def test_usage_to_usage_details(self) -> None: method test_usage_to_usage_details_with_extension_data (line 344) | def test_usage_to_usage_details_with_extension_data(self) -> None: method test_usage_round_trip (line 362) | def test_usage_round_trip(self) -> None: class TestDurableAgentStateUnknownContent (line 379) | class TestDurableAgentStateUnknownContent: method test_unknown_content_from_content_object_produces_serializable_dict (line 382) | def test_unknown_content_from_content_object_produces_serializable_dic... method test_unknown_content_to_dict_is_json_serializable (line 398) | def test_unknown_content_to_dict_is_json_serializable(self) -> None: method test_unknown_content_round_trip_preserves_content (line 412) | def test_unknown_content_round_trip_preserves_content(self) -> None: method test_unknown_content_from_plain_dict_unchanged (line 428) | def test_unknown_content_from_plain_dict_unchanged(self) -> None: method test_unknown_content_to_ai_content_fallback_on_invalid_type_dict (line 436) | def test_unknown_content_to_ai_content_fallback_on_invalid_type_dict(s... method test_from_ai_content_unknown_type_produces_serializable_state (line 446) | def test_from_ai_content_unknown_type_produces_serializable_state(self... method test_state_with_mcp_content_is_json_serializable (line 462) | def test_state_with_mcp_content_is_json_serializable(self) -> None: FILE: python/packages/durabletask/tests/test_durable_entities.py class MockEntityContext (line 32) | class MockEntityContext: method __init__ (line 35) | def __init__(self, initial_state: Any = None) -> None: method get_state (line 38) | def get_state( method set_state (line 48) | def set_state(self, new_state: Any) -> None: class _InMemoryStateProvider (line 52) | class _InMemoryStateProvider(AgentEntityStateProviderMixin): method __init__ (line 55) | def __init__(self, *, thread_id: str, initial_state: dict[str, Any] | ... method _get_state_dict (line 59) | def _get_state_dict(self) -> dict[str, Any]: method _set_state_dict (line 62) | def _set_state_dict(self, state: dict[str, Any]) -> None: method _get_thread_id_from_entity (line 65) | def _get_thread_id_from_entity(self) -> str: function _make_entity (line 69) | def _make_entity(agent: Any, callback: Any = None, *, thread_id: str = "... function _role_value (line 73) | def _role_value(chat_message: DurableAgentStateMessage) -> str: function _agent_response (line 82) | def _agent_response(text: str | None) -> AgentResponse: function _create_mock_run (line 88) | def _create_mock_run(response: AgentResponse | None = None, side_effect:... class RecordingCallback (line 107) | class RecordingCallback: method __init__ (line 110) | def __init__(self): method on_streaming_response_update (line 114) | async def on_streaming_response_update( method on_agent_response (line 121) | async def on_agent_response(self, response: AgentResponse, context: An... class EntityStructuredResponse (line 125) | class EntityStructuredResponse(BaseModel): class TestAgentEntityInit (line 129) | class TestAgentEntityInit: method test_init_creates_entity (line 132) | def test_init_creates_entity(self) -> None: method test_init_stores_agent_reference (line 143) | def test_init_stores_agent_reference(self) -> None: method test_init_with_different_agent_types (line 152) | def test_init_with_different_agent_types(self) -> None: class TestDurableTaskEntityStateProvider (line 167) | class TestDurableTaskEntityStateProvider: method _make_durabletask_entity_provider (line 170) | def _make_durabletask_entity_provider( method test_reset_persists_cleared_state (line 183) | def test_reset_persists_cleared_state(self) -> None: class TestAgentEntityRunAgent (line 209) | class TestAgentEntityRunAgent: method test_run_executes_agent (line 212) | async def test_run_executes_agent(self) -> None: method test_run_agent_streaming_callbacks_invoked (line 236) | async def test_run_agent_streaming_callbacks_invoked(self) -> None: method test_run_agent_final_callback_without_streaming (line 295) | async def test_run_agent_final_callback_without_streaming(self) -> None: method test_run_agent_updates_conversation_history (line 326) | async def test_run_agent_updates_conversation_history(self) -> None: method test_run_agent_increments_message_count (line 350) | async def test_run_agent_increments_message_count(self) -> None: method test_run_requires_entity_thread_id (line 368) | async def test_run_requires_entity_thread_id(self) -> None: method test_run_agent_multiple_conversations (line 378) | async def test_run_agent_multiple_conversations(self) -> None: class TestAgentEntityReset (line 395) | class TestAgentEntityReset: method test_reset_clears_conversation_history (line 398) | def test_reset_clears_conversation_history(self) -> None: method test_reset_with_extension_data (line 421) | def test_reset_with_extension_data(self) -> None: method test_reset_clears_message_count (line 433) | def test_reset_clears_message_count(self) -> None: method test_reset_after_conversation (line 442) | async def test_reset_after_conversation(self) -> None: class TestErrorHandling (line 465) | class TestErrorHandling: method test_run_agent_handles_agent_exception (line 468) | async def test_run_agent_handles_agent_exception(self) -> None: method test_run_agent_handles_value_error (line 484) | async def test_run_agent_handles_value_error(self) -> None: method test_run_agent_handles_timeout_error (line 500) | async def test_run_agent_handles_timeout_error(self) -> None: method test_run_agent_preserves_message_on_error (line 515) | async def test_run_agent_preserves_message_on_error(self) -> None: class TestConversationHistory (line 533) | class TestConversationHistory: method test_conversation_history_has_timestamps (line 536) | async def test_conversation_history_has_timestamps(self) -> None: method test_conversation_history_ordering (line 552) | async def test_conversation_history_ordering(self) -> None: method test_conversation_history_role_alternation (line 584) | async def test_conversation_history_role_alternation(self) -> None: class TestRunRequestSupport (line 607) | class TestRunRequestSupport: method test_run_agent_with_run_request_object (line 610) | async def test_run_agent_with_run_request_object(self) -> None: method test_run_agent_with_dict_request (line 629) | async def test_run_agent_with_dict_request(self) -> None: method test_run_agent_with_string_raises_without_correlation (line 648) | async def test_run_agent_with_string_raises_without_correlation(self) ... method test_run_agent_stores_role_in_history (line 658) | async def test_run_agent_stores_role_in_history(self) -> None: method test_run_agent_with_response_format (line 679) | async def test_run_agent_with_response_format(self) -> None: method test_run_agent_disable_tool_calls (line 699) | async def test_run_agent_disable_tool_calls(self) -> None: FILE: python/packages/durabletask/tests/test_executors.py function mock_client (line 31) | def mock_client() -> Mock: function mock_entity_task (line 40) | def mock_entity_task() -> Mock: function mock_orchestration_context (line 49) | def mock_orchestration_context(mock_entity_task: Mock) -> Mock: function sample_run_request (line 57) | def sample_run_request() -> RunRequest: function client_executor (line 63) | def client_executor(mock_client: Mock) -> ClientAgentExecutor: function orchestration_executor (line 69) | def orchestration_executor(mock_orchestration_context: Mock) -> Orchestr... function successful_agent_response (line 75) | def successful_agent_response() -> dict[str, Any]: function configure_successful_entity_task (line 84) | def configure_successful_entity_task(mock_entity_task: Mock) -> Any: function configure_failed_entity_task (line 97) | def configure_failed_entity_task(mock_entity_task: Mock) -> Any: class TestExecutorSessionCreation (line 109) | class TestExecutorSessionCreation: method test_client_executor_creates_durable_session (line 112) | def test_client_executor_creates_durable_session(self, mock_client: Mo... method test_client_executor_forwards_kwargs_to_session (line 120) | def test_client_executor_forwards_kwargs_to_session(self, mock_client:... method test_orchestration_executor_creates_durable_session (line 129) | def test_orchestration_executor_creates_durable_session( method test_orchestration_executor_forwards_kwargs_to_session (line 137) | def test_orchestration_executor_forwards_kwargs_to_session( class TestClientAgentExecutorRun (line 147) | class TestClientAgentExecutorRun: method test_client_executor_run_returns_response (line 150) | def test_client_executor_run_returns_response( class TestClientAgentExecutorPollingConfiguration (line 161) | class TestClientAgentExecutorPollingConfiguration: method test_executor_uses_default_polling_parameters (line 164) | def test_executor_uses_default_polling_parameters(self, mock_client: M... method test_executor_accepts_custom_polling_parameters (line 171) | def test_executor_accepts_custom_polling_parameters(self, mock_client:... method test_executor_respects_custom_max_poll_retries (line 178) | def test_executor_respects_custom_max_poll_retries(self, mock_client: ... method test_executor_respects_custom_poll_interval (line 192) | def test_executor_respects_custom_poll_interval( class TestClientAgentExecutorFireAndForget (line 218) | class TestClientAgentExecutorFireAndForget: method test_fire_and_forget_returns_immediately (line 221) | def test_fire_and_forget_returns_immediately(self, mock_client: Mock) ... method test_fire_and_forget_returns_empty_response (line 243) | def test_fire_and_forget_returns_empty_response(self, mock_client: Moc... class TestOrchestrationAgentExecutorFireAndForget (line 262) | class TestOrchestrationAgentExecutorFireAndForget: method test_orchestration_fire_and_forget_calls_signal_entity (line 265) | def test_orchestration_fire_and_forget_calls_signal_entity(self, mock_... method test_orchestration_fire_and_forget_returns_completed_task (line 281) | def test_orchestration_fire_and_forget_returns_completed_task(self, mo... method test_orchestration_fire_and_forget_returns_acceptance_response (line 294) | def test_orchestration_fire_and_forget_returns_acceptance_response(sel... method test_orchestration_blocking_mode_calls_call_entity (line 310) | def test_orchestration_blocking_mode_calls_call_entity(self, mock_orch... class TestOrchestrationAgentExecutorRun (line 327) | class TestOrchestrationAgentExecutorRun: method test_orchestration_executor_run_returns_durable_agent_task (line 330) | def test_orchestration_executor_run_returns_durable_agent_task( method test_orchestration_executor_calls_entity_with_correct_parameters (line 338) | def test_orchestration_executor_calls_entity_with_correct_parameters( method test_orchestration_executor_uses_session_durable_id (line 366) | def test_orchestration_executor_uses_session_durable_id( class TestDurableAgentTask (line 387) | class TestDurableAgentTask: method test_durable_agent_task_transforms_successful_result (line 390) | def test_durable_agent_task_transforms_successful_result( method test_durable_agent_task_propagates_failure (line 407) | def test_durable_agent_task_propagates_failure(self, configure_failed_... method test_durable_agent_task_validates_response_format (line 422) | def test_durable_agent_task_validates_response_format(self, configure_... method test_durable_agent_task_ignores_duplicate_completion (line 442) | def test_durable_agent_task_ignores_duplicate_completion( method test_durable_agent_task_fails_on_malformed_response (line 461) | def test_durable_agent_task_fails_on_malformed_response(self, configur... method test_durable_agent_task_fails_on_invalid_response_format (line 475) | def test_durable_agent_task_fails_on_invalid_response_format(self, con... method test_durable_agent_task_handles_empty_response (line 494) | def test_durable_agent_task_handles_empty_response(self, configure_suc... method test_durable_agent_task_handles_multiple_messages (line 512) | def test_durable_agent_task_handles_multiple_messages(self, configure_... method test_durable_agent_task_is_not_complete_initially (line 535) | def test_durable_agent_task_is_not_complete_initially(self, mock_entit... method test_durable_agent_task_completes_with_complex_response_format (line 542) | def test_durable_agent_task_completes_with_complex_response_format( FILE: python/packages/durabletask/tests/test_models.py class ModuleStructuredResponse (line 11) | class ModuleStructuredResponse(BaseModel): class TestRunRequest (line 15) | class TestRunRequest: method test_init_with_defaults (line 18) | def test_init_with_defaults(self) -> None: method test_init_with_all_fields (line 29) | def test_init_with_all_fields(self) -> None: method test_init_coerces_string_role (line 48) | def test_init_coerces_string_role(self) -> None: method test_to_dict_with_defaults (line 54) | def test_to_dict_with_defaults(self) -> None: method test_to_dict_with_all_fields (line 67) | def test_to_dict_with_all_fields(self) -> None: method test_from_dict_with_defaults (line 90) | def test_from_dict_with_defaults(self) -> None: method test_from_dict_ignores_thread_id_field (line 101) | def test_from_dict_ignores_thread_id_field(self) -> None: method test_from_dict_with_all_fields (line 107) | def test_from_dict_with_all_fields(self) -> None: method test_from_dict_unknown_role_preserves_value (line 128) | def test_from_dict_unknown_role_preserves_value(self) -> None: method test_from_dict_empty_message (line 136) | def test_from_dict_empty_message(self) -> None: method test_from_dict_missing_correlation_id_raises (line 144) | def test_from_dict_missing_correlation_id_raises(self) -> None: method test_round_trip_dict_conversion (line 149) | def test_round_trip_dict_conversion(self) -> None: method test_round_trip_with_pydantic_response_format (line 168) | def test_round_trip_with_pydantic_response_format(self) -> None: method test_round_trip_with_options (line 185) | def test_round_trip_with_options(self) -> None: method test_init_with_correlationId (line 207) | def test_init_with_correlationId(self) -> None: method test_to_dict_with_correlationId (line 214) | def test_to_dict_with_correlationId(self) -> None: method test_from_dict_with_correlationId (line 222) | def test_from_dict_with_correlationId(self) -> None: method test_round_trip_with_correlationId (line 230) | def test_round_trip_with_correlationId(self) -> None: method test_init_with_orchestration_id (line 245) | def test_init_with_orchestration_id(self) -> None: method test_to_dict_with_orchestration_id (line 256) | def test_to_dict_with_orchestration_id(self) -> None: method test_to_dict_excludes_orchestration_id_when_none (line 268) | def test_to_dict_excludes_orchestration_id_when_none(self) -> None: method test_from_dict_with_orchestration_id (line 278) | def test_from_dict_with_orchestration_id(self) -> None: method test_round_trip_with_orchestration_id (line 290) | def test_round_trip_with_orchestration_id(self) -> None: FILE: python/packages/durabletask/tests/test_orchestration_context.py function mock_orchestration_context (line 20) | def mock_orchestration_context() -> Mock: function agent_context (line 26) | def agent_context(mock_orchestration_context: Mock) -> DurableAIAgentOrc... class TestDurableAIAgentOrchestrationContextGetAgent (line 31) | class TestDurableAIAgentOrchestrationContextGetAgent: method test_get_agent_returns_durable_agent_shim (line 34) | def test_get_agent_returns_durable_agent_shim(self, agent_context: Dur... method test_get_agent_shim_has_correct_name (line 41) | def test_get_agent_shim_has_correct_name(self, agent_context: DurableA... method test_get_agent_multiple_times_returns_new_instances (line 47) | def test_get_agent_multiple_times_returns_new_instances( method test_get_agent_different_agents (line 56) | def test_get_agent_different_agents(self, agent_context: DurableAIAgen... class TestDurableAIAgentOrchestrationContextIntegration (line 65) | class TestDurableAIAgentOrchestrationContextIntegration: method test_orchestration_agent_has_working_run_method (line 68) | def test_orchestration_agent_has_working_run_method( method test_orchestration_agent_can_create_sessions (line 77) | def test_orchestration_agent_can_create_sessions(self, agent_context: ... FILE: python/packages/durabletask/tests/test_shim.py class ResponseFormatModel (line 22) | class ResponseFormatModel(BaseModel): function mock_executor (line 29) | def mock_executor() -> Mock: function test_agent (line 60) | def test_agent(mock_executor: Mock) -> DurableAIAgent[Any]: class TestDurableAIAgentMessageNormalization (line 65) | class TestDurableAIAgentMessageNormalization: method test_run_accepts_string_message (line 68) | def test_run_accepts_string_message(self, test_agent: DurableAIAgent[A... method test_run_accepts_chat_message (line 78) | def test_run_accepts_chat_message(self, test_agent: DurableAIAgent[Any... method test_run_accepts_list_of_strings (line 87) | def test_run_accepts_list_of_strings(self, test_agent: DurableAIAgent[... method test_run_accepts_list_of_chat_messages (line 95) | def test_run_accepts_list_of_chat_messages(self, test_agent: DurableAI... method test_run_handles_none_message (line 107) | def test_run_handles_none_message(self, test_agent: DurableAIAgent[Any... method test_run_handles_empty_list (line 115) | def test_run_handles_empty_list(self, test_agent: DurableAIAgent[Any],... class TestDurableAIAgentParameterFlow (line 124) | class TestDurableAIAgentParameterFlow: method test_run_forwards_session_parameter (line 127) | def test_run_forwards_session_parameter(self, test_agent: DurableAIAge... method test_run_forwards_response_format (line 136) | def test_run_forwards_response_format(self, test_agent: DurableAIAgent... class TestDurableAISupportsAgentRunCompliance (line 145) | class TestDurableAISupportsAgentRunCompliance: method test_agent_implements_protocol (line 148) | def test_agent_implements_protocol(self, test_agent: DurableAIAgent[An... method test_agent_has_required_properties (line 152) | def test_agent_has_required_properties(self, test_agent: DurableAIAgen... method test_agent_id_defaults_to_name (line 159) | def test_agent_id_defaults_to_name(self, mock_executor: Mock) -> None: method test_agent_id_can_be_customized (line 166) | def test_agent_id_can_be_customized(self, mock_executor: Mock) -> None: class TestDurableAIAgentSessionManagement (line 174) | class TestDurableAIAgentSessionManagement: method test_create_session_delegates_to_executor (line 177) | def test_create_session_delegates_to_executor(self, test_agent: Durabl... method test_get_session_forwards_service_session_id (line 187) | def test_get_session_forwards_service_session_id( method test_get_session_without_session_id (line 201) | def test_get_session_without_session_id(self, test_agent: DurableAIAge... class TestDurableAgentProviderInterface (line 214) | class TestDurableAgentProviderInterface: method test_provider_cannot_be_instantiated (line 217) | def test_provider_cannot_be_instantiated(self) -> None: method test_provider_defines_get_agent_method (line 222) | def test_provider_defines_get_agent_method(self) -> None: FILE: python/packages/durabletask/tests/test_worker.py function mock_grpc_worker (line 16) | def mock_grpc_worker() -> Mock: function mock_agent (line 26) | def mock_agent() -> Mock: function agent_worker (line 34) | def agent_worker(mock_grpc_worker: Mock) -> DurableAIAgentWorker: class TestDurableAIAgentWorkerRegistration (line 39) | class TestDurableAIAgentWorkerRegistration: method test_add_agent_accepts_agent_with_name (line 42) | def test_add_agent_accepts_agent_with_name( method test_add_agent_rejects_agent_without_name (line 53) | def test_add_agent_rejects_agent_without_name(self, agent_worker: Dura... method test_add_agent_rejects_empty_name (line 61) | def test_add_agent_rejects_empty_name(self, agent_worker: DurableAIAge... method test_add_agent_rejects_duplicate_names (line 69) | def test_add_agent_rejects_duplicate_names(self, agent_worker: Durable... method test_registered_agent_names_tracks_multiple_agents (line 80) | def test_registered_agent_names_tracks_multiple_agents(self, agent_wor... class TestDurableAIAgentWorkerCallbacks (line 100) | class TestDurableAIAgentWorkerCallbacks: method test_worker_level_callback_accepted (line 103) | def test_worker_level_callback_accepted(self, mock_grpc_worker: Mock) ... method test_agent_level_callback_accepted (line 110) | def test_agent_level_callback_accepted(self, agent_worker: DurableAIAg... method test_none_callback_accepted (line 119) | def test_none_callback_accepted(self, mock_grpc_worker: Mock, mock_age... class TestDurableAIAgentWorkerLifecycle (line 127) | class TestDurableAIAgentWorkerLifecycle: method test_start_delegates_to_underlying_worker (line 130) | def test_start_delegates_to_underlying_worker( method test_stop_delegates_to_underlying_worker (line 138) | def test_stop_delegates_to_underlying_worker( method test_start_works_with_no_agents (line 146) | def test_start_works_with_no_agents(self, agent_worker: DurableAIAgent... method test_start_works_with_multiple_agents (line 152) | def test_start_works_with_multiple_agents(self, agent_worker: DurableA... FILE: python/packages/foundry_local/agent_framework_foundry_local/_foundry_local_client.py class FoundryLocalChatOptions (line 46) | class FoundryLocalChatOptions(ChatOptions[ResponseModelT], Generic[Respo... class FoundryLocalSettings (line 117) | class FoundryLocalSettings(TypedDict, total=False): class FoundryLocalClient (line 132) | class FoundryLocalClient( method __init__ (line 141) | def __init__( FILE: python/packages/foundry_local/tests/conftest.py function exclude_list (line 9) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 15) | def override_env_param_dict(request: Any) -> dict[str, str]: function foundry_local_unit_test_env (line 21) | def foundry_local_unit_test_env(monkeypatch: Any, exclude_list: list[str... function mock_foundry_local_manager (line 45) | def mock_foundry_local_manager() -> MagicMock: FILE: python/packages/foundry_local/tests/test_foundry_local_client.py function test_foundry_local_settings_init_from_env (line 16) | def test_foundry_local_settings_init_from_env(foundry_local_unit_test_en... function test_foundry_local_settings_init_with_explicit_values (line 23) | def test_foundry_local_settings_init_with_explicit_values() -> None: function test_foundry_local_settings_missing_model_id (line 35) | def test_foundry_local_settings_missing_model_id(foundry_local_unit_test... function test_foundry_local_settings_explicit_overrides_env (line 45) | def test_foundry_local_settings_explicit_overrides_env(foundry_local_uni... function test_foundry_local_client_init (line 56) | def test_foundry_local_client_init(mock_foundry_local_manager: MagicMock... function test_foundry_local_client_init_with_bootstrap_false (line 69) | def test_foundry_local_client_init_with_bootstrap_false(mock_foundry_loc... function test_foundry_local_client_init_with_timeout (line 83) | def test_foundry_local_client_init_with_timeout(mock_foundry_local_manag... function test_foundry_local_client_init_model_not_found (line 97) | def test_foundry_local_client_init_model_not_found(mock_foundry_local_ma... function test_foundry_local_client_uses_model_info_id (line 111) | def test_foundry_local_client_uses_model_info_id(mock_foundry_local_mana... function test_foundry_local_client_init_from_env (line 126) | def test_foundry_local_client_init_from_env( function test_foundry_local_client_init_with_device (line 139) | def test_foundry_local_client_init_with_device(mock_foundry_local_manage... function test_foundry_local_client_init_model_not_found_with_device (line 163) | def test_foundry_local_client_init_model_not_found_with_device(mock_foun... function test_foundry_local_client_init_with_prepare_model_false (line 179) | def test_foundry_local_client_init_with_prepare_model_false(mock_foundry... function test_foundry_local_client_init_calls_download_and_load (line 191) | def test_foundry_local_client_init_calls_download_and_load(mock_foundry_... FILE: python/packages/github_copilot/agent_framework_github_copilot/_agent.py class GitHubCopilotSettings (line 65) | class GitHubCopilotSettings(TypedDict, total=False): class GitHubCopilotOptions (line 89) | class GitHubCopilotOptions(TypedDict, total=False): class GitHubCopilotAgent (line 131) | class GitHubCopilotAgent(BaseAgent, Generic[OptionsT]): method __init__ (line 173) | def __init__( method __aenter__ (line 252) | async def __aenter__(self) -> GitHubCopilotAgent[OptionsT]: method __aexit__ (line 257) | async def __aexit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) ->... method start (line 261) | async def start(self) -> None: method stop (line 292) | async def stop(self) -> None: method run (line 306) | def run( method run (line 316) | def run( method run (line 325) | def run( method _run_impl (line 365) | async def _run_impl( method _stream_updates (line 413) | async def _stream_updates( method _prepare_system_message (line 517) | def _prepare_system_message( method _prepare_tools (line 539) | def _prepare_tools( method _tool_to_copilot_tool (line 564) | def _tool_to_copilot_tool(self, ai_func: FunctionTool) -> CopilotTool: method _get_or_create_session (line 600) | async def _get_or_create_session( method _create_session (line 632) | async def _create_session( method _resume_session (line 670) | async def _resume_session(self, session_id: str, streaming: bool) -> C... FILE: python/packages/github_copilot/tests/test_github_copilot_agent.py function create_session_event (line 29) | def create_session_event( function mock_session (line 52) | def mock_session() -> MagicMock: function mock_client (line 64) | def mock_client(mock_session: MagicMock) -> MagicMock: function assistant_message_event (line 75) | def assistant_message_event() -> SessionEvent: function assistant_delta_event (line 85) | def assistant_delta_event() -> SessionEvent: function session_idle_event (line 95) | def session_idle_event() -> SessionEvent: function session_error_event (line 101) | def session_error_event() -> SessionEvent: class TestGitHubCopilotAgentInit (line 109) | class TestGitHubCopilotAgentInit: method test_init_with_client (line 112) | def test_init_with_client(self, mock_client: MagicMock) -> None: method test_init_without_client (line 119) | def test_init_without_client(self) -> None: method test_init_with_default_options (line 126) | def test_init_with_default_options(self) -> None: method test_init_with_tools (line 134) | def test_init_with_tools(self) -> None: method test_init_with_instructions_parameter (line 143) | def test_init_with_instructions_parameter(self) -> None: method test_init_with_system_message_in_default_options (line 151) | def test_init_with_system_message_in_default_options(self) -> None: method test_init_with_system_message_replace_mode (line 161) | def test_init_with_system_message_replace_mode(self) -> None: method test_instructions_parameter_takes_precedence_for_content (line 171) | def test_instructions_parameter_takes_precedence_for_content(self) -> ... method test_instructions_parameter_defaults_to_append_mode (line 182) | def test_instructions_parameter_defaults_to_append_mode(self) -> None: class TestGitHubCopilotAgentLifecycle (line 191) | class TestGitHubCopilotAgentLifecycle: method test_start_creates_client (line 194) | async def test_start_creates_client(self) -> None: method test_start_uses_existing_client (line 208) | async def test_start_uses_existing_client(self, mock_client: MagicMock... method test_start_idempotent (line 216) | async def test_start_idempotent(self, mock_client: MagicMock) -> None: method test_stop_cleans_up (line 224) | async def test_stop_cleans_up(self, mock_client: MagicMock, mock_sessi... method test_context_manager (line 233) | async def test_context_manager(self, mock_client: MagicMock) -> None: method test_stop_calls_client_stop_when_agent_owns_client (line 242) | async def test_stop_calls_client_stop_when_agent_owns_client(self) -> ... method test_start_creates_client_with_options (line 256) | async def test_start_creates_client_with_options(self) -> None: class TestGitHubCopilotAgentRun (line 273) | class TestGitHubCopilotAgentRun: method test_run_string_message (line 276) | async def test_run_string_message( method test_run_chat_message (line 293) | async def test_run_chat_message( method test_run_with_session (line 309) | async def test_run_with_session( method test_run_with_runtime_options (line 325) | async def test_run_with_runtime_options( method test_run_empty_response (line 339) | async def test_run_empty_response( method test_run_auto_starts (line 353) | async def test_run_auto_starts( class TestGitHubCopilotAgentRunStreaming (line 371) | class TestGitHubCopilotAgentRunStreaming: method test_run_streaming_basic (line 374) | async def test_run_streaming_basic( method test_run_streaming_with_session (line 401) | async def test_run_streaming_with_session( method test_run_streaming_error (line 423) | async def test_run_streaming_error( method test_run_streaming_auto_starts (line 443) | async def test_run_streaming_auto_starts( method test_run_streaming_tool_execution_start (line 466) | async def test_run_streaming_tool_execution_start( method test_run_streaming_tool_execution_complete (line 506) | async def test_run_streaming_tool_execution_complete( method test_run_streaming_tool_execution_missing_fields (line 547) | async def test_run_streaming_tool_execution_missing_fields( method test_run_streaming_tool_result_none (line 582) | async def test_run_streaming_tool_result_none( method test_run_streaming_tool_execution_failure (line 621) | async def test_run_streaming_tool_execution_failure( method test_run_streaming_tool_execution_failure_string_error (line 660) | async def test_run_streaming_tool_execution_failure_string_error( method test_run_streaming_tool_execution_success_with_error_field (line 698) | async def test_run_streaming_tool_execution_success_with_error_field( method test_run_streaming_tool_complete_missing_fields (line 737) | async def test_run_streaming_tool_complete_missing_fields( method test_run_streaming_tool_call_and_result_sequence (line 772) | async def test_run_streaming_tool_call_and_result_sequence( class TestGitHubCopilotAgentSessionManagement (line 837) | class TestGitHubCopilotAgentSessionManagement: method test_session_resumed_for_same_session (line 840) | async def test_session_resumed_for_same_session( method test_session_config_includes_model (line 858) | async def test_session_config_includes_model( method test_session_config_includes_instructions (line 875) | async def test_session_config_includes_instructions( method test_runtime_options_take_precedence_over_default (line 894) | async def test_runtime_options_take_precedence_over_default( method test_session_config_includes_streaming_flag (line 919) | async def test_session_config_includes_streaming_flag( method test_resume_session_with_existing_service_session_id (line 934) | async def test_resume_session_with_existing_service_session_id( method test_resume_session_includes_tools_and_permissions (line 953) | async def test_resume_session_includes_tools_and_permissions( class TestGitHubCopilotAgentMCPServers (line 987) | class TestGitHubCopilotAgentMCPServers: method test_mcp_servers_passed_to_create_session (line 990) | async def test_mcp_servers_passed_to_create_session( method test_mcp_servers_passed_to_resume_session (line 1028) | async def test_mcp_servers_passed_to_resume_session( method test_session_config_excludes_mcp_servers_when_not_set (line 1062) | async def test_session_config_excludes_mcp_servers_when_not_set( class TestGitHubCopilotAgentToolConversion (line 1078) | class TestGitHubCopilotAgentToolConversion: method test_function_tool_conversion (line 1081) | async def test_function_tool_conversion( method test_tool_handler_returns_success_result (line 1104) | async def test_tool_handler_returns_success_result( method test_tool_handler_returns_failure_result_on_error (line 1130) | async def test_tool_handler_returns_failure_result_on_error( method test_tool_handler_rejects_raw_dict_invocation (line 1157) | async def test_tool_handler_rejects_raw_dict_invocation( method test_tool_handler_with_empty_arguments (line 1180) | async def test_tool_handler_with_empty_arguments( method test_copilot_tool_passthrough (line 1206) | def test_copilot_tool_passthrough( method test_mixed_tools_conversion (line 1229) | def test_mixed_tools_conversion( class TestGitHubCopilotAgentErrorHandling (line 1261) | class TestGitHubCopilotAgentErrorHandling: method test_start_raises_on_client_error (line 1264) | async def test_start_raises_on_client_error(self, mock_client: MagicMo... method test_run_raises_on_send_error (line 1273) | async def test_run_raises_on_send_error( method test_get_or_create_session_raises_on_create_error (line 1286) | async def test_get_or_create_session_raises_on_create_error( method test_get_or_create_session_raises_when_client_not_initialized (line 1299) | async def test_get_or_create_session_raises_when_client_not_initialize... class TestGitHubCopilotAgentPermissions (line 1308) | class TestGitHubCopilotAgentPermissions: method test_no_permission_handler_when_not_provided (line 1311) | def test_no_permission_handler_when_not_provided(self) -> None: method test_permission_handler_set_when_provided (line 1316) | def test_permission_handler_set_when_provided(self) -> None: method test_session_config_includes_permission_handler (line 1330) | async def test_session_config_includes_permission_handler( method test_session_config_excludes_permission_handler_when_not_set (line 1356) | async def test_session_config_excludes_permission_handler_when_not_set( FILE: python/packages/lab/gaia/agent_framework_lab_gaia/_types.py class Task (line 19) | class Task: class Prediction (line 31) | class Prediction: method __post_init__ (line 38) | def __post_init__(self) -> None: class Evaluation (line 44) | class Evaluation: class TaskResult (line 53) | class TaskResult: class TaskRunner (line 65) | class TaskRunner(Protocol): method __call__ (line 68) | async def __call__(self, task: Task) -> Prediction: class Evaluator (line 74) | class Evaluator(Protocol): method __call__ (line 77) | async def __call__(self, task: Task, prediction: Prediction) -> Evalua... FILE: python/packages/lab/gaia/agent_framework_lab_gaia/gaia.py class _OrjsonModule (line 27) | class _OrjsonModule(Protocol): method dumps (line 28) | def dumps(self, obj: object, /, default: Callable[[Any], object] | Non... method loads (line 30) | def loads(self, obj: str | bytes | bytearray, /) -> object: ... function _get_orjson (line 34) | def _get_orjson() -> _OrjsonModule | None: function _dump_json_line (line 42) | def _dump_json_line(value: object) -> str: function _load_json_value (line 48) | def _load_json_value(value: str | bytes) -> object: class GAIATelemetryConfig (line 54) | class GAIATelemetryConfig: method __init__ (line 57) | def __init__( method configure_otel_providers (line 82) | def configure_otel_providers(self) -> None: method _setup_file_export (line 115) | def _setup_file_export(self) -> None: function _normalize_number_str (line 168) | def _normalize_number_str(number_str: str) -> float: function _split_string (line 178) | def _split_string(s: str, chars: list[str] | None = None) -> list[str]: function _normalize_str (line 185) | def _normalize_str(s: str, remove_punct: bool = True) -> str: function gaia_scorer (line 194) | def gaia_scorer(model_answer: str | None, ground_truth: str) -> bool: function _coerce_record (line 235) | def _coerce_record(raw: object) -> dict[str, Any] | None: function _parse_level (line 243) | def _parse_level(level: object) -> int | None: function _read_jsonl (line 251) | def _read_jsonl(path: Path) -> Iterable[dict[str, Any]]: function _load_gaia_local (line 264) | def _load_gaia_local(repo_dir: Path, wanted_levels: list[int] | None = N... class GAIA (line 361) | class GAIA: method __init__ (line 368) | def __init__( method _default_evaluator (line 397) | async def _default_evaluator(self, task: Task, prediction: Prediction)... method _ensure_data (line 402) | def _ensure_data(self) -> Path: method _run_single_task (line 431) | async def _run_single_task( method run (line 506) | async def run( method _save_results (line 609) | def _save_results(self, results: list[TaskResult], output_path: str) -... function viewer_main (line 648) | def viewer_main() -> None: FILE: python/packages/lab/gaia/samples/azure_ai_agent.py function create_gaia_agent (line 35) | async def create_gaia_agent() -> AsyncIterator[Agent]: FILE: python/packages/lab/gaia/samples/gaia_sample.py function evaluate_task (line 49) | async def evaluate_task(task: Task, prediction: Prediction) -> Evaluation: function main (line 56) | async def main( FILE: python/packages/lab/gaia/samples/openai_agent.py function create_gaia_agent (line 33) | async def create_gaia_agent() -> AsyncIterator[Agent]: FILE: python/packages/lab/gaia/tests/test_gaia.py class TestGAIAScorer (line 8) | class TestGAIAScorer: method test_numeric_exact_match (line 11) | def test_numeric_exact_match(self): method test_string_normalization (line 18) | def test_string_normalization(self): method test_list_matching (line 25) | def test_list_matching(self): method test_none_handling (line 33) | def test_none_handling(self): FILE: python/packages/lab/lightning/agent_framework_lab_lightning/__init__.py class AgentFrameworkTracer (line 20) | class AgentFrameworkTracer(AgentOpsTracer): # type: ignore method init (line 27) | def init(self) -> None: method teardown (line 32) | def teardown(self) -> None: FILE: python/packages/lab/lightning/samples/train_math_agent.py class MathProblem (line 30) | class MathProblem(TypedDict): function _load_jsonl (line 49) | def _load_jsonl(file_path: str) -> Dataset[MathProblem]: function _normalize_option (line 64) | def _normalize_option(option: str) -> str: function _is_option_result (line 68) | def _is_option_result(result: str) -> bool: function _float_eval (line 72) | def _float_eval(input_str: str) -> float: function _scalar_are_results_same (line 79) | def _scalar_are_results_same(pred_result: str, true_result: str, rel_tol... function _is_result_correct (line 103) | def _is_result_correct(prediction: str, ground_truth: str) -> float: function evaluate (line 107) | def evaluate(result: AgentResponse, ground_truth: str) -> float: function math_agent (line 150) | async def math_agent(task: MathProblem, llm: LLM) -> float: function main (line 189) | def main(): function debug (line 302) | def debug(): FILE: python/packages/lab/lightning/samples/train_tau2_agent.py class SerializedTask (line 37) | class SerializedTask(TypedDict): function _load_dataset (line 44) | def _load_dataset() -> tuple[Dataset[SerializedTask], Dataset[Serialized... class Tau2Agent (line 78) | class Tau2Agent(LitAgent): method rollout_async (line 81) | async def rollout_async(self, task: SerializedTask, resources: NamedRe... function main (line 135) | def main(): function debug (line 203) | def debug(): FILE: python/packages/lab/lightning/tests/test_lightning.py function workflow_two_agents (line 17) | def workflow_two_agents(): function test_openai_workflow_two_agents (line 102) | async def test_openai_workflow_two_agents(workflow_two_agents: Workflow): function test_observability (line 118) | async def test_observability(workflow_two_agents: Workflow): FILE: python/packages/lab/tau2/agent_framework_lab_tau2/_message_utils.py function _get_role_value (line 9) | def _get_role_value(role: Any) -> str: function flip_messages (line 14) | def flip_messages(messages: list[Message]) -> list[Message]: function log_messages (line 56) | def log_messages(messages: list[Message]) -> None: FILE: python/packages/lab/tau2/agent_framework_lab_tau2/_sliding_window.py class SlidingWindowHistoryProvider (line 11) | class SlidingWindowHistoryProvider(InMemoryHistoryProvider): method __init__ (line 19) | def __init__( method get_messages (line 34) | async def get_messages( method _truncate (line 41) | def _truncate(self, messages: list[Message]) -> list[Message]: method _get_token_count (line 54) | def _get_token_count(self, messages: list[Message]) -> int: method _estimate_any_object_token_count (line 116) | def _estimate_any_object_token_count(self, obj: Any) -> int: FILE: python/packages/lab/tau2/agent_framework_lab_tau2/_tau2_utils.py function _to_str (line 30) | def _to_str(value: object, default: str = "") -> str: function _is_any_list (line 38) | def _is_any_list(value: Any) -> TypeGuard[list[Any]]: function _is_any_mapping (line 42) | def _is_any_mapping(value: Any) -> TypeGuard[Mapping[Any, Any]]: function _is_any_sequence (line 46) | def _is_any_sequence(value: Any) -> TypeGuard[list[Any] | tuple[Any, ...... function convert_tau2_tool_to_function_tool (line 50) | def convert_tau2_tool_to_function_tool(tau2_tool: Tool) -> FunctionTool: function convert_agent_framework_messages_to_tau2_messages (line 70) | def convert_agent_framework_messages_to_tau2_messages(messages: list[Mes... function patch_env_set_state (line 131) | def patch_env_set_state() -> None: function unpatch_env_set_state (line 204) | def unpatch_env_set_state() -> None: function _dump_function_result (line 208) | def _dump_function_result(result: Any) -> Any: function _to_native (line 221) | def _to_native(obj: Any) -> Any: function _recursive_json_deserialize (line 243) | def _recursive_json_deserialize(obj: Any) -> Any: FILE: python/packages/lab/tau2/agent_framework_lab_tau2/runner.py function _get_openai_schema (line 42) | def _get_openai_schema(tool: Any) -> dict[str, Any]: class TaskRunner (line 70) | class TaskRunner: method __init__ (line 93) | def __init__(self, max_steps: int, assistant_sampling_temperature: flo... method reinit (line 106) | def reinit(self) -> TaskRunner: method __repr__ (line 118) | def __repr__(self) -> str: method should_not_stop (line 126) | def should_not_stop(self, response: AgentExecutorResponse) -> bool: method _is_agent_stop (line 164) | def _is_agent_stop(self, _: str) -> bool: method _is_user_stop (line 169) | def _is_user_stop(self, text: str) -> bool: method assistant_agent (line 173) | def assistant_agent(self, assistant_chat_client: SupportsChatGetRespon... method user_simulator (line 224) | def user_simulator(self, user_simuator_chat_client: SupportsChatGetRes... method conversation_orchestrator (line 254) | async def conversation_orchestrator( method build_conversation_workflow (line 284) | def build_conversation_workflow(self, assistant_agent: Agent, user_sim... method run (line 317) | async def run( method evaluate (line 388) | def evaluate( FILE: python/packages/lab/tau2/samples/run_benchmark.py function to_dumpable (line 17) | def to_dumpable(result: dict[str, Any]) -> dict[str, Any]: function run_benchmark (line 46) | async def run_benchmark(assistant_model: str, user_model: str, debug_tas... FILE: python/packages/lab/tau2/tests/test_message_utils.py function test_flip_messages_user_to_assistant (line 9) | def test_flip_messages_user_to_assistant(): function test_flip_messages_assistant_to_user (line 29) | def test_flip_messages_assistant_to_user(): function test_flip_messages_assistant_with_function_calls_filtered (line 49) | def test_flip_messages_assistant_with_function_calls_filtered(): function test_flip_messages_assistant_with_only_function_calls_skipped (line 76) | def test_flip_messages_assistant_with_only_function_calls_skipped(): function test_flip_messages_tool_messages_skipped (line 90) | def test_flip_messages_tool_messages_skipped(): function test_flip_messages_system_messages_preserved (line 102) | def test_flip_messages_system_messages_preserved(): function test_flip_messages_mixed_conversation (line 114) | def test_flip_messages_mixed_conversation(): function test_flip_messages_empty_list (line 150) | def test_flip_messages_empty_list(): function test_flip_messages_preserves_metadata (line 157) | def test_flip_messages_preserves_metadata(): function test_log_messages_text_content (line 176) | def test_log_messages_text_content(mock_logger): function test_log_messages_function_call (line 190) | def test_log_messages_function_call(mock_logger): function test_log_messages_function_result (line 206) | def test_log_messages_function_result(mock_logger): function test_log_messages_different_roles (line 221) | def test_log_messages_different_roles(mock_logger): function test_log_messages_escapes_html (line 249) | def test_log_messages_escapes_html(mock_logger): function test_log_messages_mixed_content_types (line 262) | def test_log_messages_mixed_content_types(mock_logger): FILE: python/packages/lab/tau2/tests/test_sliding_window.py function _make_state (line 12) | def _make_state(provider: SlidingWindowHistoryProvider, messages: list[M... function test_initialization (line 20) | def test_initialization(): function test_get_messages_empty (line 34) | async def test_get_messages_empty(): function test_get_messages_simple (line 41) | async def test_get_messages_simple(): function test_save_and_get_messages (line 56) | async def test_save_and_get_messages(): function test_get_token_count_basic (line 76) | def test_get_token_count_basic(): function test_get_token_count_with_system_message (line 85) | def test_get_token_count_with_system_message(): function test_get_token_count_function_call (line 96) | def test_get_token_count_function_call(): function test_get_token_count_function_result (line 105) | def test_get_token_count_function_result(): function test_truncate_removes_old_messages (line 115) | def test_truncate_removes_old_messages(mock_logger): function test_truncate_removes_leading_tool_messages (line 139) | def test_truncate_removes_leading_tool_messages(mock_logger): function test_estimate_any_object_token_count (line 152) | def test_estimate_any_object_token_count(): function test_real_world_scenario (line 167) | async def test_real_world_scenario(): FILE: python/packages/lab/tau2/tests/test_tau2_utils.py class _DummyToolInput (line 14) | class _DummyToolInput(BaseModel): class _DummyToolResult (line 18) | class _DummyToolResult(BaseModel): class _DummyTau2Tool (line 22) | class _DummyTau2Tool: method __init__ (line 23) | def __init__(self, name: str, description: str) -> None: method _get_description (line 28) | def _get_description(self) -> str: method __call__ (line 31) | def __call__(self, **kwargs: str) -> _DummyToolResult: function test_convert_tau2_tool_to_function_tool_basic (line 35) | def test_convert_tau2_tool_to_function_tool_basic(): function test_convert_tau2_tool_to_function_tool_multiple_tools (line 54) | def test_convert_tau2_tool_to_function_tool_multiple_tools(): function test_convert_agent_framework_messages_to_tau2_messages_system (line 74) | def test_convert_agent_framework_messages_to_tau2_messages_system(): function test_convert_agent_framework_messages_to_tau2_messages_user (line 86) | def test_convert_agent_framework_messages_to_tau2_messages_user(): function test_convert_agent_framework_messages_to_tau2_messages_assistant (line 99) | def test_convert_agent_framework_messages_to_tau2_messages_assistant(): function test_convert_agent_framework_messages_to_tau2_messages_with_function_call (line 112) | def test_convert_agent_framework_messages_to_tau2_messages_with_function... function test_convert_agent_framework_messages_to_tau2_messages_with_function_result (line 134) | def test_convert_agent_framework_messages_to_tau2_messages_with_function... function test_convert_agent_framework_messages_to_tau2_messages_with_error (line 152) | def test_convert_agent_framework_messages_to_tau2_messages_with_error(): function test_convert_agent_framework_messages_to_tau2_messages_multiple_text_contents (line 167) | def test_convert_agent_framework_messages_to_tau2_messages_multiple_text... function test_convert_agent_framework_messages_to_tau2_messages_complex_scenario (line 180) | def test_convert_agent_framework_messages_to_tau2_messages_complex_scena... FILE: python/packages/mem0/agent_framework_mem0/_context_provider.py class _MemorySearchResponse_v1_1 (line 28) | class _MemorySearchResponse_v1_1(TypedDict): class Mem0ContextProvider (line 36) | class Mem0ContextProvider(BaseContextProvider): method __init__ (line 46) | def __init__( method __aenter__ (line 82) | async def __aenter__(self) -> Self: method __aexit__ (line 88) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... method before_run (line 95) | async def before_run( method after_run (line 137) | async def after_run( method _validate_filters (line 171) | def _validate_filters(self) -> None: method _build_filters (line 176) | def _build_filters(self) -> dict[str, Any]: FILE: python/packages/mem0/tests/test_mem0_context_provider.py function mock_mem0_client (line 16) | def mock_mem0_client() -> AsyncMock: function mock_oss_mem0_client (line 29) | def mock_oss_mem0_client() -> AsyncMock: class TestInit (line 42) | class TestInit: method test_init_with_all_params (line 45) | def test_init_with_all_params(self, mock_mem0_client: AsyncMock) -> None: method test_init_default_context_prompt (line 64) | def test_init_default_context_prompt(self, mock_mem0_client: AsyncMock... method test_init_auto_creates_client_when_none (line 68) | def test_init_auto_creates_client_when_none(self) -> None: method test_provided_client_not_flagged_for_close (line 78) | def test_provided_client_not_flagged_for_close(self, mock_mem0_client:... class TestBeforeRun (line 86) | class TestBeforeRun: method test_memories_added_to_context (line 89) | async def test_memories_added_to_context(self, mock_mem0_client: Async... method test_empty_input_skips_search (line 111) | async def test_empty_input_skips_search(self, mock_mem0_client: AsyncM... method test_empty_search_results_no_messages (line 124) | async def test_empty_search_results_no_messages(self, mock_mem0_client... method test_validates_filters_before_search (line 137) | async def test_validates_filters_before_search(self, mock_mem0_client:... method test_v1_1_response_format (line 146) | async def test_v1_1_response_format(self, mock_mem0_client: AsyncMock)... method test_search_query_combines_input_messages (line 160) | async def test_search_query_combines_input_messages(self, mock_mem0_cl... method test_oss_client_passes_direct_kwargs (line 180) | async def test_oss_client_passes_direct_kwargs(self, mock_oss_mem0_cli... method test_oss_client_all_scoping_params (line 196) | async def test_oss_client_all_scoping_params(self, mock_oss_mem0_clien... method test_platform_client_passes_filters_dict (line 214) | async def test_platform_client_passes_filters_dict(self, mock_mem0_cli... class TestAfterRun (line 234) | class TestAfterRun: method test_stores_input_and_response (line 237) | async def test_stores_input_and_response(self, mock_mem0_client: Async... method test_only_stores_user_assistant_system (line 257) | async def test_only_stores_user_assistant_system(self, mock_mem0_clien... method test_skips_empty_messages (line 279) | async def test_skips_empty_messages(self, mock_mem0_client: AsyncMock)... method test_no_run_id_in_storage (line 298) | async def test_no_run_id_in_storage(self, mock_mem0_client: AsyncMock)... method test_validates_filters (line 311) | async def test_validates_filters(self, mock_mem0_client: AsyncMock) ->... method test_stores_with_application_id_metadata (line 321) | async def test_stores_with_application_id_metadata(self, mock_mem0_cli... class TestValidateFilters (line 340) | class TestValidateFilters: method test_raises_when_no_filters (line 343) | def test_raises_when_no_filters(self, mock_mem0_client: AsyncMock) -> ... method test_passes_with_user_id (line 348) | def test_passes_with_user_id(self, mock_mem0_client: AsyncMock) -> None: method test_passes_with_agent_id (line 352) | def test_passes_with_agent_id(self, mock_mem0_client: AsyncMock) -> None: method test_passes_with_application_id (line 356) | def test_passes_with_application_id(self, mock_mem0_client: AsyncMock)... class TestBuildFilters (line 364) | class TestBuildFilters: method test_user_id_only (line 367) | def test_user_id_only(self, mock_mem0_client: AsyncMock) -> None: method test_all_params (line 371) | def test_all_params(self, mock_mem0_client: AsyncMock) -> None: method test_excludes_none_values (line 385) | def test_excludes_none_values(self, mock_mem0_client: AsyncMock) -> None: method test_no_run_id_in_search_filters (line 392) | def test_no_run_id_in_search_filters(self, mock_mem0_client: AsyncMock... method test_empty_when_no_params (line 398) | def test_empty_when_no_params(self, mock_mem0_client: AsyncMock) -> None: class TestContextManager (line 406) | class TestContextManager: method test_aenter_delegates_to_client (line 409) | async def test_aenter_delegates_to_client(self, mock_mem0_client: Asyn... method test_aexit_closes_auto_created_client (line 415) | async def test_aexit_closes_auto_created_client(self, mock_mem0_client... method test_aexit_does_not_close_provided_client (line 422) | async def test_aexit_does_not_close_provided_client(self, mock_mem0_cl... method test_async_with_syntax (line 429) | async def test_async_with_syntax(self, mock_mem0_client: AsyncMock) ->... FILE: python/packages/ollama/agent_framework_ollama/_chat_client.py class OllamaChatOptions (line 70) | class OllamaChatOptions(ChatOptions[ResponseModelT], Generic[ResponseMod... class OllamaSettings (line 277) | class OllamaSettings(TypedDict, total=False): class OllamaChatClient (line 287) | class OllamaChatClient( method __init__ (line 297) | def __init__( method _inner_get_response (line 346) | def _inner_get_response( method _prepare_options (line 390) | def _prepare_options(self, messages: Sequence[Message], options: Mappi... method _prepare_messages_for_ollama (line 441) | def _prepare_messages_for_ollama(self, messages: Sequence[Message]) ->... method _prepare_message_for_ollama (line 446) | def _prepare_message_for_ollama(self, message: Message) -> list[Ollama... method _format_system_message (line 455) | def _format_system_message(self, message: Message) -> list[OllamaMessa... method _format_user_message (line 458) | def _format_user_message(self, message: Message) -> list[OllamaMessage]: method _format_assistant_message (line 478) | def _format_assistant_message(self, message: Message) -> list[OllamaMe... method _format_tool_message (line 501) | def _format_tool_message(self, message: Message) -> list[OllamaMessage]: method _parse_contents_from_ollama (line 520) | def _parse_contents_from_ollama(self, response: OllamaChatResponse) ->... method _parse_streaming_response_from_ollama (line 531) | def _parse_streaming_response_from_ollama(self, response: OllamaChatRe... method _parse_response_from_ollama (line 540) | def _parse_response_from_ollama(self, response: OllamaChatResponse) ->... method _parse_tool_calls_from_ollama (line 553) | def _parse_tool_calls_from_ollama(self, tool_calls: Sequence[OllamaMes... method _prepare_tools_for_ollama (line 565) | def _prepare_tools_for_ollama(self, tools: list[Any]) -> list[Any]: FILE: python/packages/ollama/agent_framework_ollama/_embedding_client.py class OllamaEmbeddingOptions (line 30) | class OllamaEmbeddingOptions(EmbeddingGenerationOptions, total=False): class OllamaEmbeddingSettings (line 66) | class OllamaEmbeddingSettings(TypedDict, total=False): class RawOllamaEmbeddingClient (line 73) | class RawOllamaEmbeddingClient( method __init__ (line 89) | def __init__( method service_url (line 115) | def service_url(self) -> str: method get_embeddings (line 119) | async def get_embeddings( class OllamaEmbeddingClient (line 172) | class OllamaEmbeddingClient( method __init__ (line 210) | def __init__( FILE: python/packages/ollama/tests/ollama/test_ollama_embedding_client.py function test_ollama_embedding_construction (line 14) | def test_ollama_embedding_construction(monkeypatch: pytest.MonkeyPatch) ... function test_ollama_embedding_construction_with_params (line 23) | def test_ollama_embedding_construction_with_params() -> None: function test_ollama_embedding_construction_missing_model_raises (line 34) | def test_ollama_embedding_construction_missing_model_raises(monkeypatch:... function test_ollama_embedding_get_embeddings (line 44) | async def test_ollama_embedding_get_embeddings() -> None: function test_ollama_embedding_get_embeddings_empty_input (line 73) | async def test_ollama_embedding_get_embeddings_empty_input() -> None: function test_ollama_embedding_get_embeddings_with_options (line 87) | async def test_ollama_embedding_get_embeddings_with_options() -> None: function test_ollama_embedding_get_embeddings_no_model_raises (line 115) | async def test_ollama_embedding_get_embeddings_no_model_raises() -> None: function test_ollama_embedding_integration (line 139) | async def test_ollama_embedding_integration() -> None: FILE: python/packages/ollama/tests/test_ollama_chat_client.py function exclude_list (line 36) | def exclude_list(request: Any) -> list[str]: function override_env_param_dict (line 42) | def override_env_param_dict(request: Any) -> dict[str, str]: function ollama_unit_test_env (line 49) | def ollama_unit_test_env(monkeypatch, exclude_list, override_env_param_d... function chat_history (line 72) | def chat_history() -> list[Message]: function mock_streaming_chat_completion_response (line 77) | def mock_streaming_chat_completion_response() -> AsyncStream[OllamaChatR... function mock_streaming_chat_completion_response_reasoning (line 88) | def mock_streaming_chat_completion_response_reasoning() -> AsyncStream[O... function mock_chat_completion_response (line 99) | def mock_chat_completion_response() -> OllamaChatResponse: function mock_chat_completion_response_reasoning (line 110) | def mock_chat_completion_response_reasoning() -> OllamaChatResponse: function mock_streaming_chat_completion_tool_call (line 121) | def mock_streaming_chat_completion_tool_call() -> AsyncStream[OllamaChat... function mock_chat_completion_tool_call (line 136) | def mock_chat_completion_tool_call() -> OllamaChatResponse: function hello_world (line 149) | def hello_world(arg1: str) -> str: function test_init (line 153) | def test_init(ollama_unit_test_env: dict[str, str]) -> None: function test_init_client (line 163) | def test_init_client(ollama_unit_test_env: dict[str, str]) -> None: function test_with_invalid_settings (line 177) | def test_with_invalid_settings(ollama_unit_test_env: dict[str, str]) -> ... function test_serialize (line 185) | def test_serialize(ollama_unit_test_env: dict[str, str]) -> None: function test_chat_middleware (line 199) | def test_chat_middleware(ollama_unit_test_env: dict[str, str]) -> None: function test_additional_properties (line 209) | def test_additional_properties(ollama_unit_test_env: dict[str, str]) -> ... function test_empty_messages (line 225) | async def test_empty_messages() -> None: function test_cmc (line 235) | async def test_cmc( function test_cmc_reasoning (line 252) | async def test_cmc_reasoning( function test_cmc_chat_failure (line 269) | async def test_cmc_chat_failure( function test_cmc_streaming (line 288) | async def test_cmc_streaming( function test_cmc_streaming_reasoning (line 306) | async def test_cmc_streaming_reasoning( function test_cmc_streaming_chat_failure (line 324) | async def test_cmc_streaming_chat_failure( function test_cmc_streaming_with_tool_call (line 344) | async def test_cmc_streaming_with_tool_call( function test_cmc_with_dict_tool_passthrough (line 379) | async def test_cmc_with_dict_tool_passthrough( function test_cmc_with_data_content_type (line 405) | async def test_cmc_with_data_content_type( function test_cmc_with_invalid_data_content_media_type (line 426) | async def test_cmc_with_invalid_data_content_media_type( function test_cmc_with_invalid_content_type (line 449) | async def test_cmc_with_invalid_content_type( function test_cmc_integration_with_tool_call (line 473) | async def test_cmc_integration_with_tool_call( function test_cmc_integration_with_chat_completion (line 490) | async def test_cmc_integration_with_chat_completion( function test_cmc_streaming_integration_with_tool_call (line 504) | async def test_cmc_streaming_integration_with_tool_call( function test_cmc_streaming_integration_with_chat_completion (line 531) | async def test_cmc_streaming_integration_with_chat_completion( FILE: python/packages/orchestrations/agent_framework_orchestrations/_base_group_chat_orchestrator.py class GroupChatRequestMessage (line 34) | class GroupChatRequestMessage: class GroupChatParticipantMessage (line 42) | class GroupChatParticipantMessage: class GroupChatResponseMessage (line 53) | class GroupChatResponseMessage: class GroupChatRequestSentEvent (line 67) | class GroupChatRequestSentEvent: class GroupChatResponseReceivedEvent (line 75) | class GroupChatResponseReceivedEvent: class ParticipantRegistry (line 86) | class ParticipantRegistry: method __init__ (line 93) | def __init__(self, participants: Sequence[Executor]) -> None: method _resolve_participants (line 105) | def _resolve_participants(self, participants: Sequence[Executor]) -> N... method is_agent (line 117) | def is_agent(self, name: str) -> bool: method participants (line 122) | def participants(self) -> OrderedDict[str, str]: class BaseGroupChatOrchestrator (line 130) | class BaseGroupChatOrchestrator(Executor, ABC): method __init__ (line 143) | def __init__( method handle_str (line 175) | async def handle_str( method handle_message (line 194) | async def handle_message( method handle_messages (line 213) | async def handle_messages( method handle_participant_response (line 236) | async def handle_participant_response( method _handle_messages (line 264) | async def _handle_messages( method _handle_response (line 279) | async def _handle_response( method _append_messages (line 298) | def _append_messages(self, messages: Sequence[Message]) -> None: method _get_conversation (line 306) | def _get_conversation(self) -> list[Message]: method _process_participant_response (line 314) | def _process_participant_response( method _clear_conversation (line 330) | def _clear_conversation(self) -> None: method _increment_round (line 334) | def _increment_round(self) -> None: method _check_termination (line 338) | async def _check_termination(self) -> bool: method _check_terminate_and_yield (line 354) | async def _check_terminate_and_yield(self, ctx: WorkflowContext[Never,... method _create_completion_message (line 371) | def _create_completion_message(self, message: str) -> Message: method _broadcast_messages_to_participants (line 384) | async def _broadcast_messages_to_participants( method _send_request_to_participant (line 416) | async def _send_request_to_participant( method _check_round_limit (line 472) | def _check_round_limit(self) -> bool: method _check_round_limit_and_yield (line 493) | async def _check_round_limit_and_yield(self, ctx: WorkflowContext[Neve... method on_checkpoint_save (line 515) | async def on_checkpoint_save(self) -> dict[str, Any]: method _snapshot_pattern_metadata (line 534) | def _snapshot_pattern_metadata(self) -> dict[str, Any]: method on_checkpoint_restore (line 545) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: method _restore_pattern_metadata (line 562) | def _restore_pattern_metadata(self, metadata: dict[str, Any]) -> None: FILE: python/packages/orchestrations/agent_framework_orchestrations/_concurrent.py class _DispatchToAllParticipants (line 45) | class _DispatchToAllParticipants(Executor): method from_request (line 49) | async def from_request(self, request: AgentExecutorRequest, ctx: Workf... method from_str (line 54) | async def from_str(self, prompt: str, ctx: WorkflowContext[AgentExecut... method from_message (line 59) | async def from_message(self, message: Message, ctx: WorkflowContext[Ag... method from_messages (line 64) | async def from_messages( class _AggregateAgentConversations (line 73) | class _AggregateAgentConversations(Executor): method aggregate (line 85) | async def aggregate(self, results: list[AgentExecutorResponse], ctx: W... class _CallbackAggregator (line 140) | class _CallbackAggregator(Executor): method __init__ (line 153) | def __init__(self, callback: Callable[..., Any], id: str | None = None... method aggregate (line 162) | async def aggregate(self, results: list[AgentExecutorResponse], ctx: W... class ConcurrentBuilder (line 180) | class ConcurrentBuilder: method __init__ (line 213) | def __init__( method _set_participants (line 237) | def _set_participants(self, participants: Sequence[SupportsAgentRun | ... method with_aggregator (line 263) | def with_aggregator( method with_request_info (line 320) | def with_request_info( method _resolve_participants (line 353) | def _resolve_participants(self) -> list[Executor]: method build (line 377) | def build(self) -> Workflow: FILE: python/packages/orchestrations/agent_framework_orchestrations/_group_chat.py class GroupChatState (line 64) | class GroupChatState: class GroupChatOrchestrator (line 88) | class GroupChatOrchestrator(BaseGroupChatOrchestrator): method __init__ (line 108) | def __init__( method _handle_messages (line 164) | async def _handle_messages( method _handle_response (line 190) | async def _handle_response( method _get_next_speaker (line 223) | async def _get_next_speaker(self) -> str: class AgentOrchestrationOutput (line 246) | class AgentOrchestrationOutput(BaseModel): class AgentBasedGroupChatOrchestrator (line 268) | class AgentBasedGroupChatOrchestrator(BaseGroupChatOrchestrator): method __init__ (line 286) | def __init__( method _append_messages (line 322) | def _append_messages(self, messages: Sequence[Message]) -> None: method _handle_messages (line 327) | async def _handle_messages( method _handle_response (line 359) | async def _handle_response( method _parse_last_json_object (line 398) | def _parse_last_json_object(text: str) -> AgentOrchestrationOutput | N... method _parse_agent_output (line 424) | def _parse_agent_output(cls, agent_response: Any) -> AgentOrchestratio... method _invoke_agent (line 467) | async def _invoke_agent(self) -> AgentOrchestrationOutput: method _check_agent_terminate_and_yield (line 522) | async def _check_agent_terminate_and_yield( method on_checkpoint_save (line 546) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 556) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: class GroupChatBuilder (line 570) | class GroupChatBuilder: method __init__ (line 594) | def __init__( method _set_orchestrator (line 666) | def _set_orchestrator( method _set_participant_factories (line 716) | def _set_participant_factories( method _set_participants (line 732) | def _set_participants(self, participants: Sequence[SupportsAgentRun | ... method with_termination_condition (line 764) | def with_termination_condition(self, termination_condition: Terminatio... method with_max_rounds (line 805) | def with_max_rounds(self, max_rounds: int | None) -> GroupChatBuilder: method with_checkpointing (line 823) | def with_checkpointing(self, checkpoint_storage: CheckpointStorage) ->... method with_request_info (line 855) | def with_request_info(self, *, agents: Sequence[str | SupportsAgentRun... method _resolve_orchestrator (line 884) | def _resolve_orchestrator(self, participants: Sequence[Executor]) -> E... method _resolve_participants (line 943) | def _resolve_participants(self) -> list[Executor]: method build (line 976) | def build(self) -> Workflow: FILE: python/packages/orchestrations/agent_framework_orchestrations/_handoff.py class HandoffSentEvent (line 72) | class HandoffSentEvent: class HandoffConfiguration (line 83) | class HandoffConfiguration: method __init__ (line 94) | def __init__(self, *, target: str | SupportsAgentRun, description: str... method __eq__ (line 104) | def __eq__(self, other: Any) -> bool: method __hash__ (line 111) | def __hash__(self) -> int: function get_handoff_tool_name (line 116) | def get_handoff_tool_name(target_id: str) -> str: class _AutoHandoffMiddleware (line 124) | class _AutoHandoffMiddleware(FunctionMiddleware): method __init__ (line 127) | def __init__(self, handoffs: Sequence[HandoffConfiguration]) -> None: method process (line 131) | async def process( class HandoffAgentUserRequest (line 152) | class HandoffAgentUserRequest: method create_response (line 162) | def create_response(response: str | list[str] | Message | list[Message... method terminate (line 183) | def terminate() -> list[Message]: class HandoffAgentExecutor (line 196) | class HandoffAgentExecutor(AgentExecutor): method __init__ (line 199) | def __init__( method _prepare_agent_with_handoffs (line 242) | def _prepare_agent_with_handoffs( method _persist_pending_approval_function_calls (line 268) | def _persist_pending_approval_function_calls(self) -> None: method _persist_missing_approved_function_results (line 295) | def _persist_missing_approved_function_results( method _clone_chat_agent (line 350) | def _clone_chat_agent(self, agent: Agent[Any]) -> Agent[Any]: method _apply_auto_tools (line 381) | def _apply_auto_tools(self, agent: Agent, targets: Sequence[HandoffCon... method _create_handoff_tool (line 410) | def _create_handoff_tool(self, target_id: str, description: str | None... method _run_agent_and_emit (line 428) | async def _run_agent_and_emit(self, ctx: WorkflowContext[Any, Any]) ->... method handle_response (line 548) | async def handle_response( method _broadcast_messages (line 580) | async def _broadcast_messages( method _is_handoff_requested (line 593) | def _is_handoff_requested(self, response: AgentResponse) -> str | None: method _check_terminate_and_yield (line 627) | async def _check_terminate_and_yield(self, ctx: WorkflowContext[Any, A... method on_checkpoint_save (line 650) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 657) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: class HandoffBuilder (line 669) | class HandoffBuilder: method __init__ (line 693) | def __init__( method participants (line 748) | def participants(self, participants: Sequence[Agent]) -> "HandoffBuild... method add_handoff (line 802) | def add_handoff( method with_start_agent (line 886) | def with_start_agent(self, agent: Agent) -> "HandoffBuilder": method with_autonomous_mode (line 907) | def with_autonomous_mode( method with_checkpointing (line 938) | def with_checkpointing(self, checkpoint_storage: CheckpointStorage) ->... method with_termination_condition (line 987) | def with_termination_condition(self, termination_condition: Terminatio... method build (line 1020) | def build(self) -> Workflow: method _resolve_agents (line 1073) | def _resolve_agents(self) -> dict[str, Agent]: method _resolve_handoffs (line 1084) | def _resolve_handoffs(self, agents: dict[str, Agent]) -> dict[str, lis... method _resolve_executors (line 1133) | def _resolve_executors( method _resolve_to_id (line 1175) | def _resolve_to_id(self, candidate: str | SupportsAgentRun) -> str: FILE: python/packages/orchestrations/agent_framework_orchestrations/_magentic.py function _message_to_payload (line 60) | def _message_to_payload(message: Message) -> Any: function _message_from_payload (line 76) | def _message_from_payload(payload: Any) -> Message: function _new_chat_history (line 251) | def _new_chat_history() -> list[Message]: function _new_participant_descriptions (line 256) | def _new_participant_descriptions() -> dict[str, str]: class _MagenticTaskLedger (line 262) | class _MagenticTaskLedger(DictConvertible): method to_dict (line 268) | def to_dict(self) -> dict[str, Any]: method from_dict (line 272) | def from_dict(cls, data: dict[str, Any]) -> "_MagenticTaskLedger": class MagenticProgressLedgerItem (line 280) | class MagenticProgressLedgerItem(DictConvertible): method to_dict (line 286) | def to_dict(self) -> dict[str, Any]: method from_dict (line 290) | def from_dict(cls, data: dict[str, Any]) -> "MagenticProgressLedgerItem": class MagenticProgressLedger (line 298) | class MagenticProgressLedger(DictConvertible): method to_dict (line 307) | def to_dict(self) -> dict[str, Any]: method from_dict (line 317) | def from_dict(cls, data: dict[str, Any]) -> "MagenticProgressLedger": class MagenticContext (line 328) | class MagenticContext(DictConvertible): method to_dict (line 338) | def to_dict(self) -> dict[str, Any]: method from_dict (line 349) | def from_dict(cls, data: dict[str, Any]) -> "MagenticContext": method reset (line 376) | def reset(self) -> None: function _team_block (line 392) | def _team_block(participants: dict[str, str]) -> str: function _extract_json (line 397) | def _extract_json(text: str) -> dict[str, Any]: function _coerce_model (line 446) | def _coerce_model(model_cls: type[T], data: dict[str, Any]) -> T: class MagenticManagerBase (line 459) | class MagenticManagerBase(ABC): method __init__ (line 462) | def __init__( method plan (line 476) | async def plan(self, magentic_context: MagenticContext) -> Message: method replan (line 481) | async def replan(self, magentic_context: MagenticContext) -> Message: method create_progress_ledger (line 486) | async def create_progress_ledger(self, magentic_context: MagenticConte... method prepare_final_answer (line 491) | async def prepare_final_answer(self, magentic_context: MagenticContext... method on_checkpoint_save (line 495) | def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 499) | def on_checkpoint_restore(self, state: dict[str, Any]) -> None: class StandardMagenticManager (line 504) | class StandardMagenticManager(MagenticManagerBase): method __init__ (line 519) | def __init__( method _complete (line 583) | async def _complete( method plan (line 600) | async def plan(self, magentic_context: MagenticContext) -> Message: method replan (line 633) | async def replan(self, magentic_context: MagenticContext) -> Message: method create_progress_ledger (line 676) | async def create_progress_ledger(self, magentic_context: MagenticConte... method prepare_final_answer (line 718) | async def prepare_final_answer(self, magentic_context: MagenticContext... method on_checkpoint_save (line 731) | def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 739) | def on_checkpoint_restore(self, state: dict[str, Any]) -> None: class MagenticResetSignal (line 759) | class MagenticResetSignal: class MagenticOrchestratorEventType (line 770) | class MagenticOrchestratorEventType(str, Enum): class MagenticOrchestratorEvent (line 779) | class MagenticOrchestratorEvent: class MagenticPlanReviewResponse (line 790) | class MagenticPlanReviewResponse: method approve (line 801) | def approve() -> "MagenticPlanReviewResponse": method revise (line 806) | def revise(feedback: str | list[str] | Message | list[Message]) -> "Ma... class MagenticPlanReviewRequest (line 819) | class MagenticPlanReviewRequest: method approve (line 836) | def approve(self) -> MagenticPlanReviewResponse: method revise (line 840) | def revise(self, feedback: str | list[str] | Message | list[Message]) ... class MagenticOrchestrator (line 848) | class MagenticOrchestrator(BaseGroupChatOrchestrator): method __init__ (line 867) | def __init__( method _handle_messages (line 897) | async def _handle_messages( method _handle_response (line 951) | async def _handle_response( method handle_plan_review_response (line 976) | async def handle_plan_review_response( method _send_plan_review_request (line 1022) | async def _send_plan_review_request(self, ctx: WorkflowContext, is_sta... method _run_inner_loop (line 1039) | async def _run_inner_loop( method _run_inner_loop_helper (line 1049) | async def _run_inner_loop_helper( method _reset_and_replan (line 1136) | async def _reset_and_replan( method _run_outer_loop (line 1174) | async def _run_outer_loop( method _prepare_final_answer (line 1193) | async def _prepare_final_answer(self, ctx: WorkflowContext[Never, list... method _check_within_limits_or_complete (line 1206) | async def _check_within_limits_or_complete(self, ctx: WorkflowContext[... method _reset_participants (line 1245) | async def _reset_participants(self, ctx: WorkflowContext[MagenticReset... method on_checkpoint_save (line 1252) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 1272) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: class MagenticAgentExecutor (line 1314) | class MagenticAgentExecutor(AgentExecutor): method __init__ (line 1317) | def __init__(self, agent: SupportsAgentRun) -> None: method handle_magentic_reset (line 1334) | async def handle_magentic_reset(self, signal: MagenticResetSignal, ctx... class MagenticBuilder (line 1359) | class MagenticBuilder: method __init__ (line 1381) | def __init__( method _set_participants (line 1466) | def _set_participants(self, participants: Sequence[SupportsAgentRun | ... method with_plan_review (line 1495) | def with_plan_review(self, enable: bool = True) -> "MagenticBuilder": method with_checkpointing (line 1543) | def with_checkpointing(self, checkpoint_storage: CheckpointStorage) ->... method _set_manager (line 1585) | def _set_manager( method _resolve_orchestrator (line 1694) | def _resolve_orchestrator(self, participants: Sequence[Executor]) -> E... method _resolve_participants (line 1730) | def _resolve_participants(self) -> list[Executor]: method build (line 1750) | def build(self) -> Workflow: FILE: python/packages/orchestrations/agent_framework_orchestrations/_orchestration_request_info.py function resolve_request_info_filter (line 18) | def resolve_request_info_filter(agents: list[str | SupportsAgentRun] | N... class AgentRequestInfoResponse (line 44) | class AgentRequestInfoResponse: method from_messages (line 55) | def from_messages(messages: list[Message]) -> "AgentRequestInfoResponse": method from_strings (line 67) | def from_strings(texts: list[str]) -> "AgentRequestInfoResponse": method approve (line 79) | def approve() -> "AgentRequestInfoResponse": class AgentRequestInfoExecutor (line 88) | class AgentRequestInfoExecutor(Executor): method request_info (line 92) | async def request_info(self, agent_response: AgentExecutorResponse, ct... method handle_request_info_response (line 97) | async def handle_request_info_response( class AgentApprovalExecutor (line 112) | class AgentApprovalExecutor(WorkflowExecutor): method __init__ (line 121) | def __init__( method _build_workflow (line 137) | def _build_workflow(self, agent: SupportsAgentRun) -> Workflow: method description (line 151) | def description(self) -> str | None: FILE: python/packages/orchestrations/agent_framework_orchestrations/_orchestration_state.py function _new_chat_message_list (line 17) | def _new_chat_message_list() -> list[Message]: function _new_metadata_dict (line 25) | def _new_metadata_dict() -> dict[str, Any]: class OrchestrationState (line 34) | class OrchestrationState: method to_dict (line 56) | def to_dict(self) -> dict[str, Any]: method from_dict (line 73) | def from_dict(cls, data: dict[str, Any]) -> OrchestrationState: FILE: python/packages/orchestrations/agent_framework_orchestrations/_orchestrator_helpers.py function clean_conversation_for_handoff (line 16) | def clean_conversation_for_handoff(conversation: list[Message]) -> list[... function create_completion_message (line 48) | def create_completion_message( FILE: python/packages/orchestrations/agent_framework_orchestrations/_sequential.py class _InputToConversation (line 64) | class _InputToConversation(Executor): method from_str (line 68) | async def from_str(self, prompt: str, ctx: WorkflowContext[list[Messag... method from_message (line 72) | async def from_message(self, message: Message, ctx: WorkflowContext[li... method from_messages (line 76) | async def from_messages(self, messages: list[str | Message], ctx: Work... class _EndWithConversation (line 80) | class _EndWithConversation(Executor): method end_with_messages (line 84) | async def end_with_messages( method end_with_agent_executor_response (line 96) | async def end_with_agent_executor_response( class SequentialBuilder (line 108) | class SequentialBuilder: method __init__ (line 141) | def __init__( method _set_participants (line 168) | def _set_participants(self, participants: Sequence[SupportsAgentRun | ... method with_request_info (line 193) | def with_request_info( method _resolve_participants (line 226) | def _resolve_participants(self) -> list[Executor]: method build (line 254) | def build(self) -> Workflow: FILE: python/packages/orchestrations/tests/test_concurrent.py class _FakeAgentExec (line 21) | class _FakeAgentExec(Executor): method __init__ (line 29) | def __init__(self, id: str, reply_text: str) -> None: method run (line 34) | async def run(self, request: AgentExecutorRequest, ctx: WorkflowContex... function test_concurrent_builder_rejects_empty_participants (line 40) | def test_concurrent_builder_rejects_empty_participants() -> None: function test_concurrent_builder_rejects_duplicate_executors (line 45) | def test_concurrent_builder_rejects_duplicate_executors() -> None: function test_concurrent_default_aggregator_emits_single_user_and_assistants (line 52) | async def test_concurrent_default_aggregator_emits_single_user_and_assis... function test_concurrent_custom_aggregator_callback_is_used (line 84) | async def test_concurrent_custom_aggregator_callback_is_used() -> None: function test_concurrent_custom_aggregator_sync_callback_is_used (line 115) | async def test_concurrent_custom_aggregator_sync_callback_is_used() -> N... function test_concurrent_custom_aggregator_uses_callback_name_for_id (line 145) | def test_concurrent_custom_aggregator_uses_callback_name_for_id() -> None: function test_concurrent_with_aggregator_executor_instance (line 159) | async def test_concurrent_with_aggregator_executor_instance() -> None: function test_concurrent_builder_rejects_multiple_calls_to_with_aggregator (line 193) | def test_concurrent_builder_rejects_multiple_calls_to_with_aggregator() ... function test_concurrent_checkpoint_resume_round_trip (line 207) | async def test_concurrent_checkpoint_resume_round_trip() -> None: function test_concurrent_checkpoint_runtime_only (line 254) | async def test_concurrent_checkpoint_runtime_only() -> None: function test_concurrent_checkpoint_runtime_overrides_buildtime (line 297) | async def test_concurrent_checkpoint_runtime_overrides_buildtime() -> None: function test_concurrent_builder_reusable_after_build_with_participants (line 326) | async def test_concurrent_builder_reusable_after_build_with_participants... FILE: python/packages/orchestrations/tests/test_group_chat.py class StubAgent (line 34) | class StubAgent(BaseAgent): method __init__ (line 35) | def __init__(self, agent_name: str, reply_text: str, **kwargs: Any) ->... method run (line 39) | def run( # type: ignore[override] method _run_impl (line 51) | async def _run_impl(self) -> AgentResponse: method _run_stream_impl (line 55) | async def _run_stream_impl(self) -> AsyncIterable[AgentResponseUpdate]: class MockChatClient (line 61) | class MockChatClient: method get_response (line 66) | async def get_response( class StubManagerAgent (line 72) | class StubManagerAgent(Agent): method __init__ (line 73) | def __init__(self) -> None: method run (line 77) | async def run( class ConcatenatedJsonManagerAgent (line 124) | class ConcatenatedJsonManagerAgent(Agent): method __init__ (line 127) | def __init__(self) -> None: method run (line 131) | async def run( function make_sequence_selector (line 169) | def make_sequence_selector() -> Callable[[GroupChatState], str]: class StubMagenticManager (line 186) | class StubMagenticManager(MagenticManagerBase): method __init__ (line 187) | def __init__(self) -> None: method plan (line 191) | async def plan(self, magentic_context: MagenticContext) -> Message: method replan (line 194) | async def replan(self, magentic_context: MagenticContext) -> Message: method create_progress_ledger (line 197) | async def create_progress_ledger(self, magentic_context: MagenticConte... method prepare_final_answer (line 217) | async def prepare_final_answer(self, magentic_context: MagenticContext... function test_group_chat_builder_basic_flow (line 221) | async def test_group_chat_builder_basic_flow() -> None: function test_group_chat_as_agent_accepts_conversation (line 247) | async def test_group_chat_as_agent_accepts_conversation() -> None: function test_agent_manager_handles_concatenated_json_output (line 269) | async def test_agent_manager_handles_concatenated_json_output() -> None: class TestGroupChatBuilder (line 295) | class TestGroupChatBuilder: method test_build_without_manager_raises_error (line 298) | def test_build_without_manager_raises_error(self) -> None: method test_build_without_participants_raises_error (line 310) | def test_build_without_participants_raises_error(self) -> None: method test_duplicate_manager_configuration_raises_error (line 315) | def test_duplicate_manager_configuration_raises_error(self) -> None: method test_empty_participants_raises_error (line 328) | def test_empty_participants_raises_error(self) -> None: method test_duplicate_participant_names_raises_error (line 333) | def test_duplicate_participant_names_raises_error(self) -> None: method test_agent_without_name_raises_error (line 341) | def test_agent_without_name_raises_error(self) -> None: method test_empty_participant_name_raises_error (line 367) | def test_empty_participant_name_raises_error(self) -> None: class TestGroupChatWorkflow (line 375) | class TestGroupChatWorkflow: method test_max_rounds_enforcement (line 378) | async def test_max_rounds_enforcement(self) -> None: method test_termination_condition_halts_conversation (line 410) | async def test_termination_condition_halts_conversation(self) -> None: method test_termination_condition_agent_manager_finalizes (line 443) | async def test_termination_condition_agent_manager_finalizes(self) -> ... method test_unknown_participant_error (line 466) | async def test_unknown_participant_error(self) -> None: class TestCheckpointing (line 481) | class TestCheckpointing: method test_workflow_with_checkpointing (line 484) | async def test_workflow_with_checkpointing(self) -> None: class TestConversationHandling (line 510) | class TestConversationHandling: method test_handle_empty_conversation_raises_error (line 513) | async def test_handle_empty_conversation_raises_error(self) -> None: method test_handle_string_input (line 527) | async def test_handle_string_input(self) -> None: method test_handle_chat_message_input (line 550) | async def test_handle_chat_message_input(self) -> None: method test_handle_conversation_list_input (line 573) | async def test_handle_conversation_list_input(self) -> None: class TestRoundLimitEnforcement (line 600) | class TestRoundLimitEnforcement: method test_round_limit_in_apply_directive (line 603) | async def test_round_limit_in_apply_directive(self) -> None: method test_round_limit_in_ingest_participant_message (line 635) | async def test_round_limit_in_ingest_participant_message(self) -> None: function test_group_chat_checkpoint_runtime_only (line 669) | async def test_group_chat_checkpoint_runtime_only() -> None: function test_group_chat_checkpoint_runtime_overrides_buildtime (line 695) | async def test_group_chat_checkpoint_runtime_overrides_buildtime() -> None: function test_group_chat_with_request_info_filtering (line 734) | async def test_group_chat_with_request_info_filtering(): function test_group_chat_with_request_info_no_filter_pauses_all (line 791) | async def test_group_chat_with_request_info_no_filter_pauses_all(): function test_group_chat_builder_with_request_info_returns_self (line 830) | def test_group_chat_builder_with_request_info_returns_self(): function test_group_chat_builder_rejects_multiple_orchestrator_configurations (line 846) | def test_group_chat_builder_rejects_multiple_orchestrator_configurations(): function test_group_chat_builder_requires_exactly_one_orchestrator_option (line 866) | def test_group_chat_builder_requires_exactly_one_orchestrator_option(): function test_group_chat_with_orchestrator_factory_returning_chat_agent (line 886) | async def test_group_chat_with_orchestrator_factory_returning_chat_agent(): function test_group_chat_with_orchestrator_factory_returning_base_orchestrator (line 975) | def test_group_chat_with_orchestrator_factory_returning_base_orchestrato... function test_group_chat_orchestrator_factory_reusable_builder (line 1006) | async def test_group_chat_orchestrator_factory_reusable_builder(): function test_group_chat_orchestrator_factory_invalid_return_type (line 1032) | def test_group_chat_orchestrator_factory_invalid_return_type(): FILE: python/packages/orchestrations/tests/test_handoff.py class MockChatClient (line 36) | class MockChatClient(FunctionInvocationLayer[Any], ChatMiddlewareLayer[A... method __init__ (line 39) | def __init__( method _inner_get_response (line 60) | def _inner_get_response( method _build_streaming_response (line 81) | def _build_streaming_response(self, *, options: dict[str, Any]) -> Res... method _next_call_id (line 93) | def _next_call_id(self) -> str | None: function _build_reply_contents (line 101) | def _build_reply_contents( class MockHandoffAgent (line 118) | class MockHandoffAgent(Agent): method __init__ (line 121) | def __init__( class ContextAwareRefundClient (line 137) | class ContextAwareRefundClient(FunctionInvocationLayer[Any], ChatMiddlew... method __init__ (line 140) | def __init__(self) -> None: method _inner_get_response (line 146) | def _inner_get_response( method _build_streaming_response (line 166) | def _build_streaming_response(self, contents: list[Content]) -> Respon... method _next_contents (line 175) | def _next_contents(self, messages: Sequence[Message]) -> list[Content]: function _drain (line 198) | async def _drain(stream: AsyncIterable[WorkflowEvent]) -> list[WorkflowE... function test_handoff (line 202) | async def test_handoff(): function _latest_request_info_event (line 236) | def _latest_request_info_event(events: list[WorkflowEvent]) -> WorkflowE... function _request_text (line 244) | def _request_text(event: WorkflowEvent[Any]) -> str: function test_resume_keeps_prior_user_context_for_same_agent (line 251) | async def test_resume_keeps_prior_user_context_for_same_agent() -> None: function test_tool_approval_responses_are_not_replayed_from_history (line 291) | async def test_tool_approval_responses_are_not_replayed_from_history() -... function test_handoff_resume_preserves_approval_function_call_for_stateless_runs (line 379) | async def test_handoff_resume_preserves_approval_function_call_for_state... function test_handoff_replay_serializes_handoff_function_results (line 475) | async def test_handoff_replay_serializes_handoff_function_results() -> N... function test_handoff_resume_preserves_approved_tool_output_for_stateless_runs (line 545) | async def test_handoff_resume_preserves_approved_tool_output_for_statele... function test_handoff_clone_disables_provider_side_storage (line 688) | def test_handoff_clone_disables_provider_side_storage() -> None: function test_handoff_clears_stale_service_session_id_before_run (line 698) | async def test_handoff_clears_stale_service_session_id_before_run() -> N... function test_clean_conversation_for_handoff_keeps_text_only_history (line 713) | def test_clean_conversation_for_handoff_keeps_text_only_history() -> None: function test_persist_missing_approved_function_results_handles_runtime_and_fallback_outputs (line 751) | def test_persist_missing_approved_function_results_handles_runtime_and_f... function test_autonomous_mode_yields_output_without_user_request (line 797) | async def test_autonomous_mode_yields_output_without_user_request(): function test_autonomous_mode_resumes_user_input_on_turn_limit (line 835) | async def test_autonomous_mode_resumes_user_input_on_turn_limit(): function test_build_fails_without_start_agent (line 853) | def test_build_fails_without_start_agent(): function test_build_fails_without_participants (line 862) | def test_build_fails_without_participants(): function test_handoff_async_termination_condition (line 868) | async def test_handoff_async_termination_condition() -> None: function test_handoff_terminates_without_request_info_when_latest_response_meets_condition (line 907) | async def test_handoff_terminates_without_request_info_when_latest_respo... function test_tool_choice_preserved_from_agent_config (line 962) | async def test_tool_choice_preserved_from_agent_config(): function test_context_provider_preserved_during_handoff (line 995) | async def test_context_provider_preserved_during_handoff(): function test_handoff_builder_accepts_all_instances_in_add_handoff (line 1039) | def test_handoff_builder_accepts_all_instances_in_add_handoff(): function test_auto_handoff_middleware_intercepts_handoff_tool_call (line 1058) | async def test_auto_handoff_middleware_intercepts_handoff_tool_call() ->... function test_auto_handoff_middleware_calls_next_for_non_handoff_tool (line 1079) | async def test_auto_handoff_middleware_calls_next_for_non_handoff_tool()... function test_handoff_builder_rejects_non_agent_supports_agent_run (line 1096) | def test_handoff_builder_rejects_non_agent_supports_agent_run(): FILE: python/packages/orchestrations/tests/test_magentic.py function test_magentic_context_reset_behavior (line 45) | def test_magentic_context_reset_behavior(): class _SimpleLedger (line 63) | class _SimpleLedger: class FakeManager (line 68) | class FakeManager(MagenticManagerBase): method __init__ (line 73) | def __init__( method on_checkpoint_save (line 91) | def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 102) | def on_checkpoint_restore(self, state: dict[str, Any]) -> None: method plan (line 117) | async def plan(self, magentic_context: MagenticContext) -> Message: method replan (line 124) | async def replan(self, magentic_context: MagenticContext) -> Message: method create_progress_ledger (line 131) | async def create_progress_ledger(self, magentic_context: MagenticConte... method prepare_final_answer (line 142) | async def prepare_final_answer(self, magentic_context: MagenticContext... class StubAgent (line 146) | class StubAgent(BaseAgent): method __init__ (line 147) | def __init__(self, agent_name: str, reply_text: str, **kwargs: Any) ->... method run (line 151) | def run( # type: ignore[override] method _run_stream (line 168) | async def _run_stream(self) -> AsyncIterable[AgentResponseUpdate]: class DummyExec (line 174) | class DummyExec(Executor): method __init__ (line 175) | def __init__(self, name: str) -> None: method _noop (line 179) | async def _noop( function test_magentic_builder_returns_workflow_and_runs (line 185) | async def test_magentic_builder_returns_workflow_and_runs() -> None: function test_magentic_as_agent_does_not_accept_conversation (line 211) | async def test_magentic_as_agent_does_not_accept_conversation() -> None: function test_standard_manager_plan_and_replan_combined_ledger (line 226) | async def test_standard_manager_plan_and_replan_combined_ledger(): function test_magentic_workflow_plan_review_approval_to_completion (line 241) | async def test_magentic_workflow_plan_review_approval_to_completion(): function test_magentic_plan_review_with_revise (line 268) | async def test_magentic_plan_review_with_revise(): function test_magentic_orchestrator_round_limit_produces_partial_result (line 323) | async def test_magentic_orchestrator_round_limit_produces_partial_result(): function test_magentic_checkpoint_resume_round_trip (line 346) | async def test_magentic_checkpoint_resume_round_trip(): class StubManagerAgent (line 409) | class StubManagerAgent(BaseAgent): method run (line 412) | def run( method _run_stream (line 428) | async def _run_stream(self) -> AsyncIterable[AgentResponseUpdate]: function test_standard_manager_plan_and_replan_via_complete_monkeypatch (line 432) | async def test_standard_manager_plan_and_replan_via_complete_monkeypatch(): function test_standard_manager_progress_ledger_success_and_error (line 462) | async def test_standard_manager_progress_ledger_success_and_error(): class InvokeOnceManager (line 490) | class InvokeOnceManager(MagenticManagerBase): method __init__ (line 491) | def __init__(self) -> None: method plan (line 495) | async def plan(self, magentic_context: MagenticContext) -> Message: method replan (line 498) | async def replan(self, magentic_context: MagenticContext) -> Message: method create_progress_ledger (line 501) | async def create_progress_ledger(self, magentic_context: MagenticConte... method prepare_final_answer (line 521) | async def prepare_final_answer(self, magentic_context: MagenticContext... class StubThreadAgent (line 525) | class StubThreadAgent(BaseAgent): method __init__ (line 526) | def __init__(self, name: str | None = None) -> None: method run (line 529) | def run(self, messages=None, *, stream: bool = False, session=None, **... method _run_stream (line 538) | async def _run_stream(self): class StubAssistantsClient (line 546) | class StubAssistantsClient: class StubAssistantsAgent (line 550) | class StubAssistantsAgent(BaseAgent): method __init__ (line 553) | def __init__(self) -> None: method run (line 557) | def run(self, messages=None, *, stream: bool = False, session=None, **... method _run_stream (line 566) | async def _run_stream(self): function _collect_agent_responses_setup (line 574) | async def _collect_agent_responses_setup(participant: SupportsAgentRun) ... function test_agent_executor_invoke_with_thread_chat_client (line 599) | async def test_agent_executor_invoke_with_thread_chat_client(): function test_agent_executor_invoke_with_assistants_client_messages (line 605) | async def test_agent_executor_invoke_with_assistants_client_messages(): function _collect_checkpoints (line 611) | async def _collect_checkpoints( function test_magentic_checkpoint_resume_inner_loop_superstep (line 621) | async def test_magentic_checkpoint_resume_inner_loop_superstep(): function test_magentic_checkpoint_resume_from_saved_state (line 648) | async def test_magentic_checkpoint_resume_from_saved_state(): function test_magentic_checkpoint_resume_rejects_participant_renames (line 678) | async def test_magentic_checkpoint_resume_rejects_participant_renames(): class NotProgressingManager (line 716) | class NotProgressingManager(MagenticManagerBase): method plan (line 721) | async def plan(self, magentic_context: MagenticContext) -> Message: method replan (line 724) | async def replan(self, magentic_context: MagenticContext) -> Message: method create_progress_ledger (line 727) | async def create_progress_ledger(self, magentic_context: MagenticConte... method prepare_final_answer (line 736) | async def prepare_final_answer(self, magentic_context: MagenticContext... function test_magentic_stall_and_reset_reach_limits (line 740) | async def test_magentic_stall_and_reset_reach_limits(): function test_magentic_checkpoint_runtime_only (line 763) | async def test_magentic_checkpoint_runtime_only() -> None: function test_magentic_checkpoint_runtime_overrides_buildtime (line 786) | async def test_magentic_checkpoint_runtime_overrides_buildtime() -> None: function test_magentic_context_no_duplicate_on_reset (line 826) | async def test_magentic_context_no_duplicate_on_reset(): function test_magentic_checkpoint_restore_no_duplicate_history (line 846) | async def test_magentic_checkpoint_restore_no_duplicate_history(): function test_magentic_builder_rejects_multiple_manager_configurations (line 905) | def test_magentic_builder_rejects_multiple_manager_configurations(): function test_magentic_builder_requires_exactly_one_manager_option (line 914) | def test_magentic_builder_requires_exactly_one_manager_option(): function test_magentic_with_manager_factory (line 931) | async def test_magentic_with_manager_factory(): function test_magentic_with_agent_factory (line 954) | async def test_magentic_with_agent_factory(): function test_magentic_manager_factory_reusable_builder (line 981) | async def test_magentic_manager_factory_reusable_builder(): function test_magentic_agent_factory_with_standard_manager_options (line 1007) | def test_magentic_agent_factory_with_standard_manager_options(): function test_standard_manager_propagates_session_to_agent (line 1077) | async def test_standard_manager_propagates_session_to_agent(): function test_standard_manager_checkpoint_preserves_session (line 1116) | def test_standard_manager_checkpoint_preserves_session(): function test_standard_manager_checkpoint_restore_empty_state (line 1132) | def test_standard_manager_checkpoint_restore_empty_state(): FILE: python/packages/orchestrations/tests/test_orchestration_request_info.py class TestResolveRequestInfoFilter (line 28) | class TestResolveRequestInfoFilter: method test_returns_empty_set_for_none_input (line 31) | def test_returns_empty_set_for_none_input(self): method test_returns_empty_set_for_empty_list (line 36) | def test_returns_empty_set_for_empty_list(self): method test_resolves_string_names (line 41) | def test_resolves_string_names(self): method test_resolves_agent_display_names (line 46) | def test_resolves_agent_display_names(self): method test_mixed_types (line 56) | def test_mixed_types(self): method test_raises_on_unsupported_type (line 64) | def test_raises_on_unsupported_type(self): class TestAgentRequestInfoResponse (line 70) | class TestAgentRequestInfoResponse: method test_create_response_with_messages (line 73) | def test_create_response_with_messages(self): method test_from_messages_factory (line 80) | def test_from_messages_factory(self): method test_from_strings_factory (line 90) | def test_from_strings_factory(self): method test_approve_factory (line 101) | def test_approve_factory(self): class TestAgentRequestInfoExecutor (line 108) | class TestAgentRequestInfoExecutor: method test_request_info_handler (line 112) | async def test_request_info_handler(self): method test_handle_request_info_response_with_messages (line 131) | async def test_handle_request_info_response_with_messages(self): method test_handle_request_info_response_approval (line 158) | async def test_handle_request_info_response_approval(self): class _TestAgent (line 180) | class _TestAgent: method __init__ (line 183) | def __init__(self, id: str, name: str | None = None, description: str ... method id (line 189) | def id(self) -> str: method name (line 193) | def name(self) -> str | None: method display_name (line 197) | def display_name(self) -> str: method description (line 201) | def description(self) -> str | None: method run (line 204) | async def run( method _run_stream_impl (line 217) | async def _run_stream_impl(self) -> AsyncIterable[AgentResponseUpdate]: method create_session (line 220) | def create_session(self, **kwargs: Any) -> AgentSession: class TestAgentApprovalExecutor (line 225) | class TestAgentApprovalExecutor: method test_initialization (line 228) | def test_initialization(self): method test_builds_workflow_with_agent_and_request_info_executors (line 237) | def test_builds_workflow_with_agent_and_request_info_executors(self): method test_propagate_request_enabled (line 247) | def test_propagate_request_enabled(self): FILE: python/packages/orchestrations/tests/test_sequential.py class _EchoAgent (line 27) | class _EchoAgent(BaseAgent): method run (line 31) | def run( method run (line 40) | def run( method run (line 49) | def run( class _SummarizerExec (line 70) | class _SummarizerExec(Executor): method summarize (line 74) | async def summarize(self, agent_response: AgentExecutorResponse, ctx: ... class _InvalidExecutor (line 82) | class _InvalidExecutor(Executor): method summarize (line 86) | async def summarize(self, conversation: list[str], ctx: WorkflowContex... function test_sequential_builder_rejects_empty_participants (line 90) | def test_sequential_builder_rejects_empty_participants() -> None: function test_sequential_builder_validation_rejects_invalid_executor (line 95) | def test_sequential_builder_validation_rejects_invalid_executor() -> None: function test_sequential_agents_append_to_context (line 101) | async def test_sequential_agents_append_to_context() -> None: function test_sequential_with_custom_executor_summary (line 129) | async def test_sequential_with_custom_executor_summary() -> None: function test_sequential_checkpoint_resume_round_trip (line 155) | async def test_sequential_checkpoint_resume_round_trip() -> None: function test_sequential_checkpoint_runtime_only (line 193) | async def test_sequential_checkpoint_runtime_only() -> None: function test_sequential_checkpoint_runtime_overrides_buildtime (line 234) | async def test_sequential_checkpoint_runtime_overrides_buildtime() -> None: function test_sequential_builder_reusable_after_build_with_participants (line 263) | async def test_sequential_builder_reusable_after_build_with_participants... class _CapturingAgent (line 282) | class _CapturingAgent(BaseAgent): method __init__ (line 285) | def __init__(self, *, reply_text: str = "reply", **kwargs: Any): method run (line 291) | def run( method run (line 300) | def run( method run (line 309) | def run( function test_chain_only_agent_responses_false_passes_full_conversation (line 339) | async def test_chain_only_agent_responses_false_passes_full_conversation... function test_chain_only_agent_responses_true_passes_only_agent_messages (line 357) | async def test_chain_only_agent_responses_true_passes_only_agent_message... function test_chain_only_agent_responses_three_agents (line 374) | async def test_chain_only_agent_responses_three_agents() -> None: FILE: python/packages/purview/agent_framework_purview/_cache.py class CacheProvider (line 14) | class CacheProvider(Protocol): method get (line 17) | async def get(self, key: str) -> Any | None: method set (line 28) | async def set(self, key: str, value: Any, ttl_seconds: int | None = No... method remove (line 38) | async def remove(self, key: str) -> None: class InMemoryCacheProvider (line 47) | class InMemoryCacheProvider: method __init__ (line 53) | def __init__(self, default_ttl_seconds: int = 1800, max_size_bytes: in... method _estimate_size (line 66) | def _estimate_size(self, value: Any) -> int: method _evict_if_needed (line 88) | def _evict_if_needed(self, required_size: int) -> None: method get (line 110) | async def get(self, key: str) -> Any | None: method set (line 130) | async def set(self, key: str, value: Any, ttl_seconds: int | None = No... method remove (line 155) | async def remove(self, key: str) -> None: function create_protection_scopes_cache_key (line 167) | def create_protection_scopes_cache_key(request: ProtectionScopesRequest)... FILE: python/packages/purview/agent_framework_purview/_client.py class PurviewClient (line 42) | class PurviewClient: method __init__ (line 50) | def __init__( method close (line 63) | async def close(self) -> None: method _get_token (line 66) | async def _get_token(self, *, tenant_id: str | None = None) -> str: method _extract_token_info (line 79) | def _extract_token_info(token: str) -> dict[str, Any]: method get_user_info_from_token (line 95) | async def get_user_info_from_token(self, *, tenant_id: str | None = No... method process_content (line 99) | async def process_content(self, request: ProcessContentRequest) -> Pro... method get_protection_scopes (line 121) | async def get_protection_scopes(self, request: ProtectionScopesRequest... method send_content_activities (line 139) | async def send_content_activities(self, request: ContentActivitiesRequ... method _post (line 146) | async def _post( method _post (line 157) | async def _post( method _post (line 167) | async def _post( FILE: python/packages/purview/agent_framework_purview/_exceptions.py class PurviewServiceError (line 15) | class PurviewServiceError(IntegrationException): class PurviewAuthenticationError (line 19) | class PurviewAuthenticationError(IntegrationInvalidAuthException): class PurviewPaymentRequiredError (line 23) | class PurviewPaymentRequiredError(PurviewServiceError): class PurviewRateLimitError (line 27) | class PurviewRateLimitError(PurviewServiceError): class PurviewRequestError (line 31) | class PurviewRequestError(PurviewServiceError): FILE: python/packages/purview/agent_framework_purview/_middleware.py class PurviewPolicyMiddleware (line 19) | class PurviewPolicyMiddleware(AgentMiddleware): method __init__ (line 35) | def __init__( method _get_agent_session_id (line 46) | def _get_agent_session_id(context: AgentContext) -> str | None: method process (line 64) | async def process( class PurviewChatPolicyMiddleware (line 138) | class PurviewChatPolicyMiddleware(ChatMiddleware): method __init__ (line 161) | def __init__( method process (line 171) | async def process( FILE: python/packages/purview/agent_framework_purview/_models.py class Activity (line 21) | class Activity(str, Enum): class ProtectionScopeActivities (line 31) | class ProtectionScopeActivities(Flag): method __int__ (line 41) | def __int__(self) -> int: # pragma: no cover function _as_object_list (line 63) | def _as_object_list(value: object) -> list[object] | None: function _as_str_dict (line 69) | def _as_str_dict(value: object) -> dict[str, str]: function deserialize_flag (line 80) | def deserialize_flag( function serialize_flag (line 129) | def serialize_flag( class DlpAction (line 154) | class DlpAction(str, Enum): class RestrictionAction (line 159) | class RestrictionAction(str, Enum): class ProtectionScopeState (line 164) | class ProtectionScopeState(str, Enum): class ExecutionMode (line 170) | class ExecutionMode(str, Enum): class PolicyPivotProperty (line 176) | class PolicyPivotProperty(str, Enum): function translate_activity (line 183) | def translate_activity(activity: Activity) -> ProtectionScopeActivities: class _AliasSerializable (line 201) | class _AliasSerializable(SerializationMixin): method __init__ (line 212) | def __init__(self, **kwargs: Any) -> None: method model_dump (line 235) | def model_dump(self, *, by_alias: bool = True, exclude_none: bool = Tr... method model_dump_json (line 247) | def model_dump_json(self, *, by_alias: bool = True, exclude_none: bool... method model_validate (line 253) | def model_validate(cls: type[AliasSerializableT], value: MutableMappin... method to_dict (line 259) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... class PolicyLocation (line 289) | class PolicyLocation(_AliasSerializable): method __init__ (line 293) | def __init__(self, data_type: str | None = None, value: str | None = N... class ActivityMetadata (line 304) | class ActivityMetadata(_AliasSerializable): method __init__ (line 307) | def __init__(self, activity: Activity, **kwargs: Any) -> None: class OperatingSystemSpecifications (line 312) | class OperatingSystemSpecifications(_AliasSerializable): method __init__ (line 318) | def __init__( class DeviceMetadata (line 336) | class DeviceMetadata(_AliasSerializable): method __init__ (line 342) | def __init__( class IntegratedAppMetadata (line 364) | class IntegratedAppMetadata(_AliasSerializable): method __init__ (line 365) | def __init__(self, name: str | None = None, version: str | None = None... class ProtectedAppMetadata (line 371) | class ProtectedAppMetadata(_AliasSerializable): method __init__ (line 374) | def __init__( class DlpActionInfo (line 396) | class DlpActionInfo(_AliasSerializable): method __init__ (line 399) | def __init__( class AccessedResourceDetails (line 415) | class AccessedResourceDetails(_AliasSerializable): method __init__ (line 422) | def __init__( class AiInteractionPlugin (line 452) | class AiInteractionPlugin(_AliasSerializable): method __init__ (line 453) | def __init__( class AiAgentInfo (line 466) | class AiAgentInfo(_AliasSerializable): method __init__ (line 467) | def __init__( class GraphDataTypeBase (line 485) | class GraphDataTypeBase(_AliasSerializable): method __init__ (line 490) | def __init__(self, data_type: str, **kwargs: Any) -> None: class ContentBase (line 495) | class ContentBase(GraphDataTypeBase): class PurviewTextContent (line 499) | class PurviewTextContent(ContentBase): method __init__ (line 500) | def __init__(self, data: str, data_type: str = "microsoft.graph.textCo... class PurviewBinaryContent (line 505) | class PurviewBinaryContent(ContentBase): method __init__ (line 506) | def __init__(self, data: bytes, data_type: str = "microsoft.graph.bina... method to_dict (line 510) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... class ProcessConversationMetadata (line 520) | class ProcessConversationMetadata(GraphDataTypeBase): method __init__ (line 531) | def __init__( class ContentToProcess (line 603) | class ContentToProcess(_AliasSerializable): method __init__ (line 612) | def __init__( class ProcessContentRequest (line 661) | class ProcessContentRequest(_AliasSerializable): method __init__ (line 667) | def __init__( class ProtectionScopesRequest (line 695) | class ProtectionScopesRequest(_AliasSerializable): method __init__ (line 703) | def __init__( method to_dict (line 748) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... class ContentActivitiesRequest (line 762) | class ContentActivitiesRequest(_AliasSerializable): method __init__ (line 770) | def __init__( class ErrorDetails (line 807) | class ErrorDetails(_AliasSerializable): method __init__ (line 808) | def __init__(self, code: str | None = None, message: str | None = None... class ProcessingError (line 814) | class ProcessingError(_AliasSerializable): method __init__ (line 815) | def __init__(self, message: str | None = None, **kwargs: Any) -> None: class ProcessContentResponse (line 820) | class ProcessContentResponse(_AliasSerializable): method __init__ (line 835) | def __init__( class PolicyScope (line 875) | class PolicyScope(_AliasSerializable): method __init__ (line 883) | def __init__( method to_dict (line 921) | def to_dict(self, *, exclude: set[str] | None = None, exclude_none: bo... class ProtectionScopesResponse (line 935) | class ProtectionScopesResponse(_AliasSerializable): method __init__ (line 947) | def __init__( class ContentActivitiesResponse (line 973) | class ContentActivitiesResponse(_AliasSerializable): method __init__ (line 981) | def __init__( FILE: python/packages/purview/agent_framework_purview/_processor.py function _is_valid_guid (line 43) | def _is_valid_guid(value: str | None) -> bool: class ScopedContentProcessor (line 54) | class ScopedContentProcessor: method __init__ (line 57) | def __init__(self, client: PurviewClient, settings: PurviewSettings, c... method process_messages (line 68) | async def process_messages( method _map_messages (line 101) | async def _map_messages( method _process_with_scopes (line 210) | async def _process_with_scopes(self, pc_request: ProcessContentRequest... method _process_content_background (line 284) | async def _process_content_background(self, pc_request: ProcessContent... method _send_content_activities_background (line 297) | async def _send_content_activities_background(self, ca_req: ContentAct... method _combine_policy_actions (line 306) | def _combine_policy_actions( method _check_applicable_scopes (line 319) | def _check_applicable_scopes( FILE: python/packages/purview/agent_framework_purview/_settings.py class PurviewLocationType (line 14) | class PurviewLocationType(str, Enum): class PurviewAppLocation (line 22) | class PurviewAppLocation(BaseModel): method get_policy_location (line 28) | def get_policy_location(self) -> dict[str, str]: class PurviewSettings (line 41) | class PurviewSettings(TypedDict, total=False): function get_purview_scopes (line 71) | def get_purview_scopes(settings: PurviewSettings) -> list[str]: FILE: python/packages/purview/tests/purview/conftest.py function content_to_process_factory (line 22) | def content_to_process_factory(): function process_content_request_factory (line 55) | def process_content_request_factory(content_to_process_factory): FILE: python/packages/purview/tests/purview/test_cache.py class TestInMemoryCacheProvider (line 14) | class TestInMemoryCacheProvider: method test_cache_set_and_get (line 17) | async def test_cache_set_and_get(self) -> None: method test_cache_get_nonexistent_key (line 26) | async def test_cache_get_nonexistent_key(self) -> None: method test_cache_expiration (line 34) | async def test_cache_expiration(self) -> None: method test_cache_custom_ttl (line 46) | async def test_cache_custom_ttl(self) -> None: method test_cache_update_existing_key (line 58) | async def test_cache_update_existing_key(self) -> None: method test_cache_remove (line 68) | async def test_cache_remove(self) -> None: method test_cache_remove_nonexistent_key (line 78) | async def test_cache_remove_nonexistent_key(self) -> None: method test_cache_size_limit_eviction (line 84) | async def test_cache_size_limit_eviction(self) -> None: method test_estimate_size_with_pydantic_model (line 97) | async def test_estimate_size_with_pydantic_model(self) -> None: method test_estimate_size_fallback (line 109) | async def test_estimate_size_fallback(self) -> None: method test_estimate_size_conservative_fallback_when_all_size_methods_fail (line 122) | async def test_estimate_size_conservative_fallback_when_all_size_metho... method test_cache_multiple_updates (line 141) | async def test_cache_multiple_updates(self) -> None: method test_eviction_with_stale_heap_entries (line 152) | async def test_eviction_with_stale_heap_entries(self) -> None: class TestCreateProtectionScopesCacheKey (line 166) | class TestCreateProtectionScopesCacheKey: method test_cache_key_deterministic (line 169) | def test_cache_key_deterministic(self) -> None: method test_cache_key_different_for_different_requests (line 180) | def test_cache_key_different_for_different_requests(self) -> None: method test_cache_key_excludes_correlation_id (line 192) | def test_cache_key_excludes_correlation_id(self) -> None: method test_cache_key_format (line 207) | def test_cache_key_format(self) -> None: FILE: python/packages/purview/tests/purview/test_chat_middleware.py class DummyChatClient (line 16) | class DummyChatClient: class TestPurviewChatPolicyMiddleware (line 20) | class TestPurviewChatPolicyMiddleware: method mock_credential (line 22) | def mock_credential(self) -> AsyncMock: method settings (line 28) | def settings(self) -> PurviewSettings: method middleware (line 32) | def middleware(self, mock_credential: AsyncMock, settings: PurviewSett... method chat_context (line 36) | def chat_context(self) -> ChatContext: method test_initialization (line 42) | async def test_initialization(self, middleware: PurviewChatPolicyMiddl... method test_allows_clean_prompt (line 46) | async def test_allows_clean_prompt( method test_blocks_prompt (line 67) | async def test_blocks_prompt(self, middleware: PurviewChatPolicyMiddle... method test_blocks_response (line 81) | async def test_blocks_response(self, middleware: PurviewChatPolicyMidd... method test_streaming_skips_post_check (line 105) | async def test_streaming_skips_post_check(self, middleware: PurviewCha... method test_chat_middleware_handles_post_check_exception (line 123) | async def test_chat_middleware_handles_post_check_exception( method test_chat_middleware_uses_consistent_user_id (line 153) | async def test_chat_middleware_uses_consistent_user_id( method test_chat_middleware_handles_payment_required_pre_check (line 179) | async def test_chat_middleware_handles_payment_required_pre_check(self... method test_chat_middleware_handles_payment_required_post_check (line 204) | async def test_chat_middleware_handles_payment_required_post_check(sel... method test_chat_middleware_ignores_payment_required_when_configured (line 235) | async def test_chat_middleware_ignores_payment_required_when_configure... method test_chat_middleware_handles_result_without_messages_attribute (line 262) | async def test_chat_middleware_handles_result_without_messages_attribute( method test_chat_middleware_with_ignore_exceptions (line 277) | async def test_chat_middleware_with_ignore_exceptions(self, mock_crede... method test_chat_middleware_raises_on_pre_check_exception_when_ignore_exceptions_false (line 302) | async def test_chat_middleware_raises_on_pre_check_exception_when_igno... method test_chat_middleware_raises_on_post_check_exception_when_ignore_exceptions_false (line 322) | async def test_chat_middleware_raises_on_post_check_exception_when_ign... method test_chat_middleware_uses_conversation_id_from_options (line 353) | async def test_chat_middleware_uses_conversation_id_from_options( method test_chat_middleware_passes_none_session_id_when_options_missing (line 375) | async def test_chat_middleware_passes_none_session_id_when_options_mis... method test_chat_middleware_session_id_used_in_post_check (line 395) | async def test_chat_middleware_session_id_used_in_post_check(self, mid... FILE: python/packages/purview/tests/purview/test_exceptions.py class TestPurviewExceptions (line 16) | class TestPurviewExceptions: method test_purview_service_error (line 19) | def test_purview_service_error(self) -> None: method test_purview_authentication_error (line 25) | def test_purview_authentication_error(self) -> None: method test_purview_payment_required_error (line 31) | def test_purview_payment_required_error(self) -> None: method test_purview_rate_limit_error (line 37) | def test_purview_rate_limit_error(self) -> None: method test_purview_request_error (line 43) | def test_purview_request_error(self) -> None: FILE: python/packages/purview/tests/purview/test_middleware.py class TestPurviewPolicyMiddleware (line 15) | class TestPurviewPolicyMiddleware: method mock_credential (line 19) | def mock_credential(self) -> AsyncMock: method settings (line 26) | def settings(self) -> PurviewSettings: method middleware (line 31) | def middleware(self, mock_credential: AsyncMock, settings: PurviewSett... method mock_agent (line 36) | def mock_agent(self) -> MagicMock: method test_middleware_initialization (line 42) | def test_middleware_initialization(self, mock_credential: AsyncMock, s... method test_middleware_allows_clean_prompt (line 49) | async def test_middleware_allows_clean_prompt( method test_middleware_blocks_prompt_on_policy_violation (line 68) | async def test_middleware_blocks_prompt_on_policy_violation( method test_middleware_checks_response (line 90) | async def test_middleware_checks_response(self, middleware: PurviewPol... method test_middleware_handles_result_without_messages (line 117) | async def test_middleware_handles_result_without_messages( method test_middleware_processor_receives_correct_activity (line 135) | async def test_middleware_processor_receives_correct_activity( method test_middleware_streaming_skips_post_check (line 156) | async def test_middleware_streaming_skips_post_check( method test_middleware_payment_required_in_pre_check_raises_by_default (line 172) | async def test_middleware_payment_required_in_pre_check_raises_by_defa... method test_middleware_payment_required_in_post_check_raises_by_default (line 192) | async def test_middleware_payment_required_in_post_check_raises_by_def... method test_middleware_post_check_exception_raises_when_ignore_exceptions_false (line 217) | async def test_middleware_post_check_exception_raises_when_ignore_exce... method test_middleware_handles_pre_check_exception (line 242) | async def test_middleware_handles_pre_check_exception( method test_middleware_handles_post_check_exception (line 265) | async def test_middleware_handles_post_check_exception( method test_middleware_with_ignore_exceptions_true (line 296) | async def test_middleware_with_ignore_exceptions_true(self, mock_crede... method test_middleware_with_ignore_exceptions_false (line 320) | async def test_middleware_with_ignore_exceptions_false(self, mock_cred... method test_middleware_uses_session_service_session_id_as_session_id (line 342) | async def test_middleware_uses_session_service_session_id_as_session_id( method test_middleware_uses_message_conversation_id_as_session_id (line 360) | async def test_middleware_uses_message_conversation_id_as_session_id( method test_middleware_session_id_takes_precedence_over_message_conversation_id (line 378) | async def test_middleware_session_id_takes_precedence_over_message_con... method test_middleware_passes_none_session_id_when_not_available (line 396) | async def test_middleware_passes_none_session_id_when_not_available( method test_middleware_session_id_used_in_post_check (line 412) | async def test_middleware_session_id_used_in_post_check( FILE: python/packages/purview/tests/purview/test_processor.py class TestGuidValidation (line 21) | class TestGuidValidation: method test_valid_guid (line 24) | def test_valid_guid(self) -> None: method test_invalid_guid (line 29) | def test_invalid_guid(self) -> None: class TestScopedContentProcessor (line 36) | class TestScopedContentProcessor: method mock_client (line 40) | def mock_client(self) -> AsyncMock: method settings_with_defaults (line 53) | def settings_with_defaults(self) -> PurviewSettings: method settings_without_defaults (line 65) | def settings_without_defaults(self) -> PurviewSettings: method processor (line 70) | def processor(self, mock_client: AsyncMock, settings_with_defaults: Pu... method test_processor_initialization (line 74) | async def test_processor_initialization( method test_process_messages_with_defaults (line 83) | async def test_process_messages_with_defaults(self, processor: ScopedC... method test_process_messages_blocks_content (line 97) | async def test_process_messages_blocks_content( method test_map_messages_creates_requests (line 118) | async def test_map_messages_creates_requests( method test_map_messages_without_defaults_gets_token_info (line 138) | async def test_map_messages_without_defaults_gets_token_info(self, moc... method test_map_messages_raises_on_missing_tenant_id (line 150) | async def test_map_messages_raises_on_missing_tenant_id(self, mock_cli... method test_check_applicable_scopes_no_scopes (line 164) | async def test_check_applicable_scopes_no_scopes( method test_check_applicable_scopes_with_block_action (line 178) | async def test_check_applicable_scopes_with_block_action( method test_combine_policy_actions (line 209) | async def test_combine_policy_actions(self, processor: ScopedContentPr... method test_process_with_scopes_calls_client_methods (line 220) | async def test_process_with_scopes_calls_client_methods( method test_process_with_scopes_ignores_unexpected_cached_value_type (line 245) | async def test_process_with_scopes_ignores_unexpected_cached_value_type( method test_process_with_scopes_uses_tenant_payment_exception_cache (line 285) | async def test_process_with_scopes_uses_tenant_payment_exception_cache( method test_process_content_background_retries_on_modified_state (line 300) | async def test_process_content_background_retries_on_modified_state( method test_map_messages_with_user_id_in_additional_properties (line 322) | async def test_map_messages_with_user_id_in_additional_properties(self... method test_map_messages_with_provided_user_id_fallback (line 347) | async def test_map_messages_with_provided_user_id_fallback(self, mock_... method test_map_messages_returns_empty_when_no_user_id (line 368) | async def test_map_messages_returns_empty_when_no_user_id(self, mock_c... method test_process_content_sends_activities_when_not_applicable (line 386) | async def test_process_content_sends_activities_when_not_applicable( method test_process_content_handles_activities_error (line 418) | async def test_process_content_handles_activities_error( class TestUserIdResolution (line 450) | class TestUserIdResolution: method mock_client (line 454) | def mock_client(self) -> AsyncMock: method settings (line 467) | def settings(self) -> PurviewSettings: method test_user_id_from_token_when_no_other_source (line 477) | async def test_user_id_from_token_when_no_other_source(self, mock_clie... method test_user_id_from_additional_properties_takes_priority (line 489) | async def test_user_id_from_additional_properties_takes_priority( method test_user_id_from_author_name_as_fallback (line 509) | async def test_user_id_from_author_name_as_fallback( method test_author_name_ignored_if_not_valid_guid (line 527) | async def test_author_name_ignored_if_not_valid_guid( method test_provided_user_id_used_as_last_resort (line 547) | async def test_provided_user_id_used_as_last_resort( method test_invalid_provided_user_id_ignored (line 561) | async def test_invalid_provided_user_id_ignored(self, mock_client: Asy... method test_multiple_messages_same_user_id (line 572) | async def test_multiple_messages_same_user_id(self, mock_client: Async... method test_first_valid_user_id_in_messages_is_used (line 590) | async def test_first_valid_user_id_in_messages_is_used( class TestScopedContentProcessorCaching (line 615) | class TestScopedContentProcessorCaching: method mock_client (line 619) | def mock_client(self) -> AsyncMock: method settings (line 633) | def settings(self) -> PurviewSettings: method test_protection_scopes_cached_on_first_call (line 642) | async def test_protection_scopes_cached_on_first_call( method test_payment_required_exception_cached_at_tenant_level (line 666) | async def test_payment_required_exception_cached_at_tenant_level( method test_custom_cache_provider_used (line 694) | async def test_custom_cache_provider_used(self, mock_client: AsyncMock... FILE: python/packages/purview/tests/purview/test_purview_client.py class TestPurviewClient (line 30) | class TestPurviewClient: method mock_credential (line 34) | def mock_credential(self) -> MagicMock: method settings (line 48) | def settings(self) -> PurviewSettings: method client (line 53) | async def client( method test_client_initialization (line 61) | async def test_client_initialization(self, mock_credential: MagicMock,... method test_get_token_async_credential (line 72) | async def test_get_token_async_credential(self, client: PurviewClient,... method test_get_token_sync_credential (line 78) | async def test_get_token_sync_credential(self, settings: PurviewSettin... method test_get_user_info_from_token (line 96) | async def test_get_user_info_from_token(self, client: PurviewClient) -... method test_post_error_handling (line 125) | async def test_post_error_handling( method test_process_content_success (line 153) | async def test_process_content_success( method test_get_protection_scopes_success (line 175) | async def test_get_protection_scopes_success(self, client: PurviewClie... method test_get_protection_scopes_uses_etag_header_when_present (line 193) | async def test_get_protection_scopes_uses_etag_header_when_present(sel... method test_post_402_returns_empty_response_when_ignore_payment_required_enabled (line 213) | async def test_post_402_returns_empty_response_when_ignore_payment_req... method test_post_sets_request_and_response_correlation_id (line 232) | async def test_post_sets_request_and_response_correlation_id(self, cli... method test_process_content_402_returns_empty_when_ignored (line 266) | async def test_process_content_402_returns_empty_when_ignored(self, mo... method test_post_sets_correlation_id_attribute_on_recording_span (line 285) | async def test_post_sets_correlation_id_attribute_on_recording_span(se... method test_post_uses_constructor_when_response_type_has_no_model_validate (line 321) | async def test_post_uses_constructor_when_response_type_has_no_model_v... method test_send_content_activities_success (line 346) | async def test_send_content_activities_success(self, client: PurviewCl... method test_post_handles_invalid_json_response_body (line 365) | async def test_post_handles_invalid_json_response_body(self, client: P... method test_post_deserialization_failure_raises_purview_service_error (line 380) | async def test_post_deserialization_failure_raises_purview_service_err... method test_client_close (line 402) | async def test_client_close(self, mock_credential: AsyncMock, settings... method test_invalid_jwt_token_format (line 410) | async def test_invalid_jwt_token_format(self, client: PurviewClient) -... method test_rate_limit_error (line 415) | async def test_rate_limit_error(self, client: PurviewClient) -> None: method test_generic_request_error (line 435) | async def test_generic_request_error(self, client: PurviewClient) -> N... method test_prefer_header_sent_when_process_inline_true (line 457) | async def test_prefer_header_sent_when_process_inline_true( method test_prefer_header_not_sent_when_process_inline_false (line 485) | async def test_prefer_header_not_sent_when_process_inline_false( method test_prefer_header_not_sent_when_process_inline_none (line 512) | async def test_prefer_header_not_sent_when_process_inline_none( method test_scope_identifier_extraction_from_etag (line 539) | async def test_scope_identifier_extraction_from_etag(self, client: Pur... method test_scope_identifier_sent_as_if_none_match_header (line 552) | async def test_scope_identifier_sent_as_if_none_match_header( method test_402_payment_required_raises_exception_by_default (line 580) | async def test_402_payment_required_raises_exception_by_default(self, ... method test_402_payment_required_returns_empty_when_ignored (line 592) | async def test_402_payment_required_returns_empty_when_ignored(self, m... FILE: python/packages/purview/tests/purview/test_purview_models.py class TestFlagOperations (line 26) | class TestFlagOperations: method test_protection_scope_activities_flag_combination (line 29) | def test_protection_scope_activities_flag_combination(self) -> None: method test_deserialize_flag_with_string (line 36) | def test_deserialize_flag_with_string(self) -> None: method test_deserialize_flag_with_none (line 48) | def test_deserialize_flag_with_none(self) -> None: method test_serialize_flag_with_none (line 54) | def test_serialize_flag_with_none(self) -> None: method test_serialize_flag_with_values (line 59) | def test_serialize_flag_with_values(self) -> None: class TestComplexModels (line 70) | class TestComplexModels: method test_content_to_process_with_nested_structures (line 73) | def test_content_to_process_with_nested_structures(self) -> None: class TestRequestResponseSerialization (line 108) | class TestRequestResponseSerialization: method test_protection_scopes_request_serialization (line 111) | def test_protection_scopes_request_serialization(self) -> None: class TestModelDeserialization (line 129) | class TestModelDeserialization: method test_protection_scopes_response_deserialization (line 132) | def test_protection_scopes_response_deserialization(self) -> None: method test_process_content_response_deserialization (line 153) | def test_process_content_response_deserialization(self) -> None: method test_content_serialization_uses_aliases (line 167) | def test_content_serialization_uses_aliases(self) -> None: method test_process_content_request_excludes_private_fields (line 203) | def test_process_content_request_excludes_private_fields(self) -> None: FILE: python/packages/purview/tests/purview/test_settings.py class TestPurviewSettings (line 10) | class TestPurviewSettings: method test_settings_defaults (line 13) | def test_settings_defaults(self) -> None: method test_settings_with_custom_values (line 22) | def test_settings_with_custom_values(self) -> None: method test_get_scopes (line 44) | def test_get_scopes(self, graph_uri: str, expected_scope: str) -> None: class TestPurviewAppLocation (line 53) | class TestPurviewAppLocation: method test_get_policy_location (line 64) | def test_get_policy_location( class TestPurviewLocationType (line 75) | class TestPurviewLocationType: method test_location_type_values (line 78) | def test_location_type_values(self) -> None: FILE: python/packages/redis/agent_framework_redis/_context_provider.py class RedisContextProvider (line 44) | class RedisContextProvider(BaseContextProvider): method __init__ (line 54) | def __init__( method before_run (line 118) | async def before_run( method after_run (line 143) | async def after_run( method schema_dict (line 175) | def schema_dict(self) -> dict[str, Any]: method _build_filter_from_dict (line 191) | def _build_filter_from_dict(self, filters: dict[str, str | None]) -> A... method _build_schema_dict (line 196) | def _build_schema_dict( method _ensure_index (line 236) | async def _ensure_index(self) -> None: method _validate_schema_compatibility (line 246) | async def _validate_schema_compatibility(self) -> None: method _add (line 297) | async def _add( method _redis_search (line 335) | async def _redis_search( method _validate_filters (line 401) | def _validate_filters(self) -> None: method search_all (line 406) | async def search_all(self, page_size: int = 200) -> list[dict[str, Any]]: method __aenter__ (line 418) | async def __aenter__(self) -> Self: method __aexit__ (line 422) | async def __aexit__(self, exc_type: type[BaseException] | None, exc_va... FILE: python/packages/redis/agent_framework_redis/_history_provider.py class RedisHistoryProvider (line 20) | class RedisHistoryProvider(BaseHistoryProvider): method __init__ (line 29) | def __init__( method _redis_key (line 106) | def _redis_key(self, session_id: str | None) -> str: method get_messages (line 110) | async def get_messages( method save_messages (line 135) | async def save_messages( method _serialize_json (line 168) | def _serialize_json(message: Message) -> str: method _deserialize_json (line 175) | def _deserialize_json(data: str) -> dict[str, Any]: method clear (line 181) | async def clear(self, session_id: str | None) -> None: method aclose (line 189) | async def aclose(self) -> None: FILE: python/packages/redis/tests/test_providers.py function mock_index (line 23) | def mock_index() -> AsyncMock: function patch_index_from_dict (line 33) | def patch_index_from_dict(mock_index: AsyncMock): function mock_redis_client (line 49) | def mock_redis_client(): class TestRedisContextProviderInit (line 69) | class TestRedisContextProviderInit: method test_basic_construction (line 70) | def test_basic_construction(self, patch_index_from_dict: MagicMock): ... method test_custom_params (line 78) | def test_custom_params(self, patch_index_from_dict: MagicMock): # noq... method test_default_context_prompt (line 96) | def test_default_context_prompt(self, patch_index_from_dict: MagicMock... method test_invalid_vectorizer_raises (line 100) | def test_invalid_vectorizer_raises(self, patch_index_from_dict: MagicM... class TestRedisContextProviderValidateFilters (line 107) | class TestRedisContextProviderValidateFilters: method test_no_filters_raises (line 108) | def test_no_filters_raises(self, patch_index_from_dict: MagicMock): #... method test_any_single_filter_ok (line 113) | def test_any_single_filter_ok(self, patch_index_from_dict: MagicMock):... class TestRedisContextProviderSchema (line 119) | class TestRedisContextProviderSchema: method test_schema_has_expected_fields (line 120) | def test_schema_has_expected_fields(self, patch_index_from_dict: Magic... method test_schema_no_vector_without_vectorizer (line 129) | def test_schema_no_vector_without_vectorizer(self, patch_index_from_di... class TestRedisContextProviderBeforeRun (line 135) | class TestRedisContextProviderBeforeRun: method test_search_results_added_to_context (line 136) | async def test_search_results_added_to_context( method test_empty_input_no_search (line 156) | async def test_empty_input_no_search( method test_before_run_searches_without_session_id (line 172) | async def test_before_run_searches_without_session_id( method test_empty_results_no_messages (line 192) | async def test_empty_results_no_messages( class TestRedisContextProviderAfterRun (line 209) | class TestRedisContextProviderAfterRun: method test_stores_messages (line 210) | async def test_stores_messages( method test_skips_empty_conversations (line 231) | async def test_skips_empty_conversations( method test_stores_partition_fields (line 246) | async def test_stores_partition_fields( class TestRedisContextProviderContextManager (line 267) | class TestRedisContextProviderContextManager: method test_aenter_returns_self (line 268) | async def test_aenter_returns_self(self, patch_index_from_dict: MagicM... class TestRedisContextProviderHybridQuery (line 274) | class TestRedisContextProviderHybridQuery: method test_aggregate_hybrid_query_uses_alpha (line 277) | async def test_aggregate_hybrid_query_uses_alpha( class TestRedisHistoryProviderInit (line 317) | class TestRedisHistoryProviderInit: method test_basic_construction (line 318) | def test_basic_construction(self, mock_redis_client: MagicMock): method test_custom_params (line 330) | def test_custom_params(self, mock_redis_client: MagicMock): method test_no_redis_url_or_credential_raises (line 349) | def test_no_redis_url_or_credential_raises(self): method test_both_url_and_credential_raises (line 353) | def test_both_url_and_credential_raises(self): method test_credential_provider_without_host_raises (line 363) | def test_credential_provider_without_host_raises(self): method test_credential_provider_with_host (line 368) | def test_credential_provider_with_host(self): class TestRedisHistoryProviderRedisKey (line 385) | class TestRedisHistoryProviderRedisKey: method test_key_format (line 386) | def test_key_format(self, mock_redis_client: MagicMock): class TestRedisHistoryProviderGetMessages (line 395) | class TestRedisHistoryProviderGetMessages: method test_returns_deserialized_messages (line 396) | async def test_returns_deserialized_messages(self, mock_redis_client: ... method test_empty_returns_empty (line 412) | async def test_empty_returns_empty(self, mock_redis_client: MagicMock): class TestRedisHistoryProviderSaveMessages (line 423) | class TestRedisHistoryProviderSaveMessages: method test_saves_serialized_messages (line 424) | async def test_saves_serialized_messages(self, mock_redis_client: Magi... method test_empty_messages_noop (line 436) | async def test_empty_messages_noop(self, mock_redis_client: MagicMock): method test_max_messages_trimming (line 444) | async def test_max_messages_trimming(self, mock_redis_client: MagicMock): method test_no_trim_when_under_limit (line 455) | async def test_no_trim_when_under_limit(self, mock_redis_client: Magic... class TestRedisHistoryProviderClear (line 467) | class TestRedisHistoryProviderClear: method test_clear_calls_delete (line 468) | async def test_clear_calls_delete(self, mock_redis_client: MagicMock): class TestRedisHistoryProviderBeforeAfterRun (line 477) | class TestRedisHistoryProviderBeforeAfterRun: method test_before_run_loads_history (line 480) | async def test_before_run_loads_history(self, mock_redis_client: Magic... method test_after_run_stores_input_and_response (line 499) | async def test_after_run_stores_input_and_response(self, mock_redis_cl... method test_after_run_skips_when_no_messages (line 516) | async def test_after_run_skips_when_no_messages(self, mock_redis_clien... FILE: python/samples/01-get-started/01_hello_agent.py function main (line 27) | async def main() -> None: FILE: python/samples/01-get-started/02_add_tools.py function get_weather (line 33) | def get_weather( function main (line 42) | async def main() -> None: FILE: python/samples/01-get-started/03_multi_turn.py function main (line 25) | async def main() -> None: FILE: python/samples/01-get-started/04_memory.py class UserMemoryProvider (line 29) | class UserMemoryProvider(BaseContextProvider): method __init__ (line 34) | def __init__(self): method before_run (line 37) | async def before_run( method after_run (line 58) | async def after_run( function main (line 74) | async def main() -> None: FILE: python/samples/01-get-started/05_first_workflow.py class UpperCase (line 27) | class UpperCase(Executor): method __init__ (line 28) | def __init__(self, id: str): method to_upper_case (line 32) | async def to_upper_case(self, text: str, ctx: WorkflowContext[str]) ->... function reverse_text (line 39) | async def reverse_text(text: str, ctx: WorkflowContext[Never, str]) -> N... function create_workflow (line 44) | def create_workflow(): function main (line 51) | async def main() -> None: FILE: python/samples/01-get-started/06_host_your_agent.py function _create_agent (line 31) | def _create_agent() -> Any: FILE: python/samples/02-agents/auto_retry.py function with_rate_limit_retry (line 73) | def with_rate_limit_retry(*, retry_attempts: int = RETRY_ATTEMPTS) -> Ca... class RetryingAzureOpenAIChatClient (line 107) | class RetryingAzureOpenAIChatClient(AzureOpenAIChatClient): class RateLimitRetryMiddleware (line 116) | class RateLimitRetryMiddleware(ChatMiddleware): method __init__ (line 124) | def __init__(self, *, max_attempts: int = RETRY_ATTEMPTS) -> None: method process (line 128) | async def process( function rate_limit_retry_middleware (line 151) | async def rate_limit_retry_middleware( function class_decorator_example (line 181) | async def class_decorator_example() -> None: function class_based_middleware_example (line 199) | async def class_based_middleware_example() -> None: function function_based_middleware_example (line 218) | async def function_based_middleware_example() -> None: function main (line 237) | async def main() -> None: FILE: python/samples/02-agents/background_responses.py function non_streaming_polling (line 36) | async def non_streaming_polling() -> None: function streaming_with_resumption (line 66) | async def streaming_with_resumption() -> None: function main (line 108) | async def main() -> None: FILE: python/samples/02-agents/chat_client/built_in_chat_clients.py function get_weather (line 61) | def get_weather( function get_client (line 69) | def get_client(client_name: ClientName) -> SupportsChatGetResponse[Any]: function main (line 115) | async def main(client_name: ClientName = "openai_chat") -> None: FILE: python/samples/02-agents/chat_client/chat_response_cancellation.py function main (line 20) | async def main() -> None: FILE: python/samples/02-agents/chat_client/custom_chat_client.py class EchoingChatClientOptions (line 39) | class EchoingChatClientOptions(TypedDict, total=False): class EchoingChatClient (line 50) | class EchoingChatClient(BaseChatClient[OptionsT]): method __init__ (line 59) | def __init__(self, *, prefix: str = "Echo:", **kwargs: Any) -> None: method _inner_get_response (line 70) | def _inner_get_response( class EchoingChatClientWithLayers (line 129) | class EchoingChatClientWithLayers( # type: ignore[misc] function main (line 140) | async def main() -> None: FILE: python/samples/02-agents/compaction/advanced.py class BudgetSummaryClient (line 28) | class BudgetSummaryClient: method get_response (line 29) | async def get_response( function _build_long_history (line 41) | def _build_long_history() -> list[Message]: function main (line 62) | async def main() -> None: FILE: python/samples/02-agents/compaction/agent_client_overrides.py class FixedTokenizer (line 29) | class FixedTokenizer: method __init__ (line 32) | def __init__(self, token_count: int) -> None: method count_tokens (line 35) | def count_tokens(self, text: str) -> int: class InspectingChatClient (line 39) | class InspectingChatClient(BaseChatClient[Any]): method __init__ (line 42) | def __init__(self, **kwargs: Any) -> None: method _inner_get_response (line 46) | def _inner_get_response( function _build_messages (line 65) | def _build_messages() -> list[Message]: function _token_count (line 74) | def _token_count(message: Message) -> int | None: function _print_model_input (line 82) | def _print_model_input(title: str, client: InspectingChatClient) -> None: function main (line 89) | async def main() -> None: FILE: python/samples/02-agents/compaction/basics.py class LocalSummaryClient (line 43) | class LocalSummaryClient: method get_response (line 46) | async def get_response( function main (line 57) | async def main() -> None: FILE: python/samples/02-agents/compaction/compaction_provider.py function get_weather (line 51) | def get_weather(city: str) -> str: function log_model_input (line 62) | async def log_model_input(context: ChatContext, call_next: Any) -> None: function main (line 72) | async def main() -> None: FILE: python/samples/02-agents/compaction/custom.py class KeepLastUserTurnStrategy (line 22) | class KeepLastUserTurnStrategy: method __call__ (line 23) | async def __call__(self, messages: list[Message]) -> bool: function _messages (line 51) | def _messages() -> list[Message]: function main (line 61) | async def main() -> None: FILE: python/samples/02-agents/compaction/tiktoken_tokenizer.py class TiktokenTokenizer (line 33) | class TiktokenTokenizer(TokenizerProtocol): method __init__ (line 36) | def __init__(self, *, encoding_name: str = "o200k_base", model_name: s... method count_tokens (line 42) | def count_tokens(self, text: str) -> int: function _build_messages (line 46) | def _build_messages() -> list[Message]: function main (line 76) | async def main() -> None: FILE: python/samples/02-agents/context_providers/azure_ai_foundry_memory.py function main (line 42) | async def main() -> None: FILE: python/samples/02-agents/context_providers/azure_ai_search/azure_ai_with_search_context_agentic.py function main (line 54) | async def main() -> None: FILE: python/samples/02-agents/context_providers/azure_ai_search/azure_ai_with_search_context_semantic.py function main (line 45) | async def main() -> None: FILE: python/samples/02-agents/context_providers/mem0/mem0_basic.py function retrieve_company_report (line 20) | def retrieve_company_report(company_code: str, detailed: bool) -> str: function main (line 31) | async def main() -> None: FILE: python/samples/02-agents/context_providers/mem0/mem0_oss.py function retrieve_company_report (line 21) | def retrieve_company_report(company_code: str, detailed: bool) -> str: function main (line 32) | async def main() -> None: FILE: python/samples/02-agents/context_providers/mem0/mem0_sessions.py function get_user_preferences (line 20) | def get_user_preferences(user_id: str) -> str: function example_global_thread_scope (line 30) | async def example_global_thread_scope() -> None: function example_per_operation_thread_scope (line 68) | async def example_per_operation_thread_scope() -> None: function example_multiple_agents (line 122) | async def example_multiple_agents() -> None: function main (line 176) | async def main() -> None: FILE: python/samples/02-agents/context_providers/redis/azure_redis_conversation.py class AzureCredentialProvider (line 39) | class AzureCredentialProvider(CredentialProvider): method __init__ (line 42) | def __init__(self, azure_credential: AsyncAzureCliCredential, user_obj... method get_credentials_async (line 46) | async def get_credentials_async(self) -> tuple[str] | tuple[str, str]: function main (line 55) | async def main() -> None: FILE: python/samples/02-agents/context_providers/redis/redis_basics.py function search_flights (line 53) | def search_flights(origin_airport_code: str, destination_airport_code: s... function create_chat_client (line 102) | def create_chat_client() -> AzureOpenAIResponsesClient: function main (line 111) | async def main() -> None: FILE: python/samples/02-agents/context_providers/redis/redis_conversation.py function main (line 39) | async def main() -> None: FILE: python/samples/02-agents/context_providers/redis/redis_sessions.py function create_chat_client (line 49) | def create_chat_client() -> AzureOpenAIResponsesClient: function example_global_thread_scope (line 58) | async def example_global_thread_scope() -> None: function example_per_operation_thread_scope (line 101) | async def example_per_operation_thread_scope() -> None: function example_multiple_agents (line 168) | async def example_multiple_agents() -> None: function main (line 245) | async def main() -> None: FILE: python/samples/02-agents/context_providers/simple_context_provider.py class UserInfo (line 18) | class UserInfo(BaseModel): class UserInfoMemory (line 23) | class UserInfoMemory(BaseContextProvider): method __init__ (line 26) | def __init__(self, source_id: str = DEFAULT_SOURCE_ID, *, client: Supp... method after_run (line 34) | async def after_run( method before_run (line 66) | async def before_run( function main (line 91) | async def main(): FILE: python/samples/02-agents/conversations/custom_history_provider.py class CustomHistoryProvider (line 23) | class CustomHistoryProvider(BaseHistoryProvider): method __init__ (line 27) | def __init__(self) -> None: method get_messages (line 31) | async def get_messages( method save_messages (line 37) | async def save_messages( function main (line 51) | async def main() -> None: FILE: python/samples/02-agents/conversations/redis_history_provider.py function example_manual_memory_store (line 28) | async def example_manual_memory_store() -> None: function example_user_session_management (line 63) | async def example_user_session_management() -> None: function example_conversation_persistence (line 106) | async def example_conversation_persistence() -> None: function example_session_serialization (line 157) | async def example_session_serialization() -> None: function example_message_limits (line 198) | async def example_message_limits() -> None: function main (line 235) | async def main() -> None: FILE: python/samples/02-agents/conversations/suspend_resume_session.py function suspend_resume_service_managed_session (line 23) | async def suspend_resume_service_managed_session() -> None: function suspend_resume_in_memory_session (line 57) | async def suspend_resume_in_memory_session() -> None: function main (line 90) | async def main() -> None: FILE: python/samples/02-agents/declarative/azure_openai_responses_agent.py function main (line 13) | async def main(): FILE: python/samples/02-agents/declarative/get_weather_agent.py function get_weather (line 16) | def get_weather(location: str, unit: Literal["celsius", "fahrenheit"] = ... function main (line 22) | async def main(): FILE: python/samples/02-agents/declarative/inline_yaml.py function main (line 24) | async def main(): FILE: python/samples/02-agents/declarative/mcp_tool_yaml.py function run_openai_example (line 103) | async def run_openai_example(): function run_azure_ai_example (line 123) | async def run_azure_ai_example(): function main (line 150) | async def main(): FILE: python/samples/02-agents/declarative/microsoft_learn_agent.py function main (line 13) | async def main(): FILE: python/samples/02-agents/declarative/openai_responses_agent.py function main (line 12) | async def main(): FILE: python/samples/02-agents/devui/azure_responses_agent/agent.py function analyze_content (line 46) | def analyze_content( function summarize_document (line 59) | def summarize_document( function extract_key_points (line 67) | def extract_key_points( function main (line 101) | def main(): FILE: python/samples/02-agents/devui/declarative/workflow.py function main (line 19) | def main(): FILE: python/samples/02-agents/devui/fanout_workflow/workflow.py class DataType (line 33) | class DataType(Enum): class ValidationResult (line 42) | class ValidationResult(Enum): class ProcessingRequest (line 50) | class ProcessingRequest(BaseModel): class DataBatch (line 99) | class DataBatch: class ValidationReport (line 111) | class ValidationReport: class TransformationResult (line 123) | class TransformationResult: class QualityAssessment (line 136) | class QualityAssessment: class ProcessingSummary (line 147) | class ProcessingSummary: class DataIngestion (line 159) | class DataIngestion(Executor): method ingest_data (line 163) | async def ingest_data(self, request: ProcessingRequest, ctx: WorkflowC... class SchemaValidator (line 200) | class SchemaValidator(Executor): method validate_schema (line 204) | async def validate_schema(self, batch: DataBatch, ctx: WorkflowContext... class DataQualityValidator (line 236) | class DataQualityValidator(Executor): method validate_quality (line 240) | async def validate_quality(self, batch: DataBatch, ctx: WorkflowContex... class SecurityValidator (line 278) | class SecurityValidator(Executor): method validate_security (line 282) | async def validate_security(self, batch: DataBatch, ctx: WorkflowConte... class ValidationAggregator (line 314) | class ValidationAggregator(Executor): method aggregate_validations (line 318) | async def aggregate_validations( class DataNormalizer (line 372) | class DataNormalizer(Executor): method normalize_data (line 376) | async def normalize_data(self, batch: DataBatch, ctx: WorkflowContext[... class DataEnrichment (line 417) | class DataEnrichment(Executor): method enrich_data (line 421) | async def enrich_data(self, batch: DataBatch, ctx: WorkflowContext[Tra... class DataAggregator (line 461) | class DataAggregator(Executor): method aggregate_data (line 465) | async def aggregate_data(self, batch: DataBatch, ctx: WorkflowContext[... class PerformanceAssessor (line 506) | class PerformanceAssessor(Executor): method assess_performance (line 510) | async def assess_performance( class AccuracyAssessor (line 546) | class AccuracyAssessor(Executor): method assess_accuracy (line 550) | async def assess_accuracy( class FinalProcessor (line 583) | class FinalProcessor(Executor): method process_final_results (line 587) | async def process_final_results( class WorkflowSetupHelper (line 627) | class WorkflowSetupHelper: method store_batch_data (line 631) | async def store_batch_data(batch: DataBatch, ctx: WorkflowContext) -> ... function create_complex_workflow (line 637) | def create_complex_workflow(): function main (line 686) | def main(): FILE: python/samples/02-agents/devui/foundry_agent/agent.py function get_weather (line 25) | def get_weather( function get_forecast (line 35) | def get_forecast( function main (line 68) | def main(): FILE: python/samples/02-agents/devui/in_memory_mode.py function get_weather (line 34) | def get_weather( function get_time (line 44) | def get_time( class UpperCase (line 55) | class UpperCase(Executor): method to_upper (line 59) | async def to_upper(self, text: str, ctx: WorkflowContext[str]) -> None: class AddExclamation (line 65) | class AddExclamation(Executor): method add_exclamation (line 69) | async def add_exclamation(self, text: str, ctx: WorkflowContext[Never,... function main (line 75) | def main(): FILE: python/samples/02-agents/devui/spam_workflow/workflow.py class SpamDecision (line 36) | class SpamDecision(BaseModel): class EmailContent (line 45) | class EmailContent: class SpamDetectorResponse (line 55) | class SpamDetectorResponse: method __post_init__ (line 66) | def __post_init__(self): class SpamApprovalRequest (line 73) | class SpamApprovalRequest: class ProcessingResult (line 84) | class ProcessingResult: class EmailRequest (line 99) | class EmailRequest(BaseModel): class EmailPreprocessor (line 108) | class EmailPreprocessor(Executor): method handle_email (line 112) | async def handle_email(self, email: EmailRequest, ctx: WorkflowContext... class SpamDetector (line 134) | class SpamDetector(Executor): method __init__ (line 137) | def __init__(self, spam_keywords: list[str], id: str): method handle_email_content (line 143) | async def handle_email_content( method handle_human_response (line 207) | async def handle_human_response( class SpamHandler (line 247) | class SpamHandler(Executor): method handle_spam_detection (line 251) | async def handle_spam_detection( class LegitimateMessageHandler (line 278) | class LegitimateMessageHandler(Executor): method handle_spam_detection (line 282) | async def handle_spam_detection( class FinalProcessor (line 309) | class FinalProcessor(Executor): method handle_processing_result (line 313) | async def handle_processing_result( function main (line 423) | def main(): FILE: python/samples/02-agents/devui/weather_agent_azure/agent.py function cleanup_resources (line 33) | def cleanup_resources(): function security_filter_middleware (line 43) | async def security_filter_middleware( function atlantis_location_filter_middleware (line 89) | async def atlantis_location_filter_middleware( function get_weather (line 110) | def get_weather( function get_forecast (line 120) | def get_forecast( function send_email (line 137) | def send_email( function main (line 166) | def main(): FILE: python/samples/02-agents/devui/workflow_agents/workflow.py class ReviewResult (line 30) | class ReviewResult(BaseModel): function needs_editing (line 42) | def needs_editing(message: Any) -> bool: function is_approved (line 54) | def is_approved(message: Any) -> bool: function main (line 153) | def main(): FILE: python/samples/02-agents/embeddings/azure_ai_inference_embeddings.py function main (line 39) | async def main() -> None: FILE: python/samples/02-agents/embeddings/azure_openai_embeddings.py function main (line 26) | async def main() -> None: FILE: python/samples/02-agents/embeddings/openai_embeddings.py function main (line 22) | async def main() -> None: FILE: python/samples/02-agents/mcp/agent_as_mcp_server.py function get_specials (line 41) | def get_specials() -> Annotated[str, "Returns the specials from the menu... function get_item_price (line 50) | def get_item_price( function run (line 56) | async def run() -> None: FILE: python/samples/02-agents/mcp/mcp_api_key_auth.py function api_key_auth_example (line 25) | async def api_key_auth_example() -> None: FILE: python/samples/02-agents/mcp/mcp_github_pat.py function github_mcp_example (line 28) | async def github_mcp_example() -> None: FILE: python/samples/02-agents/middleware/agent_and_run_level_middleware.py function get_weather (line 65) | def get_weather( class SecurityAgentMiddleware (line 74) | class SecurityAgentMiddleware(AgentMiddleware): method process (line 77) | async def process(self, context: AgentContext, call_next: Callable[[],... function performance_monitor_middleware (line 93) | async def performance_monitor_middleware( class HighPriorityMiddleware (line 110) | class HighPriorityMiddleware(AgentMiddleware): method process (line 113) | async def process(self, context: AgentContext, call_next: Callable[[],... function debugging_middleware (line 128) | async def debugging_middleware( class CachingMiddleware (line 148) | class CachingMiddleware(AgentMiddleware): method __init__ (line 151) | def __init__(self) -> None: method process (line 154) | async def process(self, context: AgentContext, call_next: Callable[[],... function function_logging_middleware (line 175) | async def function_logging_middleware( function main (line 189) | async def main() -> None: FILE: python/samples/02-agents/middleware/chat_middleware.py function get_weather (line 48) | def get_weather( class InputObserverMiddleware (line 56) | class InputObserverMiddleware(ChatMiddleware): method __init__ (line 59) | def __init__(self, replacement: str | None = None): method process (line 63) | async def process( function security_and_override_middleware (line 107) | async def security_and_override_middleware( function class_based_chat_middleware (line 143) | async def class_based_chat_middleware() -> None: function function_based_chat_middleware (line 167) | async def function_based_chat_middleware() -> None: function run_level_middleware (line 197) | async def run_level_middleware() -> None: function main (line 242) | async def main() -> None: FILE: python/samples/02-agents/middleware/class_based_middleware.py function get_weather (line 45) | def get_weather( class SecurityAgentMiddleware (line 53) | class SecurityAgentMiddleware(AgentMiddleware): method process (line 56) | async def process( class LoggingFunctionMiddleware (line 79) | class LoggingFunctionMiddleware(FunctionMiddleware): method process (line 82) | async def process( function main (line 100) | async def main() -> None: FILE: python/samples/02-agents/middleware/decorator_middleware.py function get_current_time (line 53) | def get_current_time() -> str: function simple_agent_middleware (line 59) | async def simple_agent_middleware(context, call_next): # type: ignore -... function simple_function_middleware (line 67) | async def simple_function_middleware(context, call_next): # type: ignor... function main (line 74) | async def main() -> None: FILE: python/samples/02-agents/middleware/exception_handling_with_middleware.py function unstable_data_service (line 35) | def unstable_data_service( function exception_handling_middleware (line 43) | async def exception_handling_middleware( function main (line 61) | async def main() -> None: FILE: python/samples/02-agents/middleware/function_based_middleware.py function get_weather (line 42) | def get_weather( function security_agent_middleware (line 50) | async def security_agent_middleware( function logging_function_middleware (line 69) | async def logging_function_middleware( function main (line 87) | async def main() -> None: FILE: python/samples/02-agents/middleware/middleware_termination.py function get_weather (line 41) | def get_weather( class PreTerminationMiddleware (line 49) | class PreTerminationMiddleware(AgentMiddleware): method __init__ (line 52) | def __init__(self, blocked_words: list[str]): method process (line 55) | async def process( class PostTerminationMiddleware (line 87) | class PostTerminationMiddleware(AgentMiddleware): method __init__ (line 90) | def __init__(self, max_responses: int = 1): method process (line 94) | async def process( function pre_termination_middleware (line 116) | async def pre_termination_middleware() -> None: function post_termination_middleware (line 143) | async def post_termination_middleware() -> None: function main (line 177) | async def main() -> None: FILE: python/samples/02-agents/middleware/override_result_with_middleware.py function get_weather (line 50) | def get_weather( function weather_override_middleware (line 58) | async def weather_override_middleware(context: ChatContext, call_next: C... function validate_weather_middleware (line 91) | async def validate_weather_middleware(context: ChatContext, call_next: C... function agent_cleanup_middleware (line 111) | async def agent_cleanup_middleware(context: AgentContext, call_next: Cal... function main (line 185) | async def main() -> None: FILE: python/samples/02-agents/middleware/runtime_context_delegation.py class SessionContextContainer (line 49) | class SessionContextContainer: method __init__ (line 52) | def __init__(self) -> None: method inject_context_middleware (line 58) | async def inject_context_middleware( function send_email (line 90) | async def send_email( function send_notification (line 121) | async def send_notification( function pattern_1_single_agent_with_closure (line 144) | async def pattern_1_single_agent_with_closure() -> None: function send_email_v2 (line 250) | async def send_email_v2( function send_sms (line 262) | async def send_sms( function pattern_2_hierarchical_with_kwargs_propagation (line 270) | async def pattern_2_hierarchical_with_kwargs_propagation() -> None: class AuthContextMiddleware (line 357) | class AuthContextMiddleware: method __init__ (line 360) | def __init__(self) -> None: method validate_and_track (line 363) | async def validate_and_track( function protected_operation (line 384) | async def protected_operation(operation: Annotated[str, Field(descriptio... function pattern_3_hierarchical_with_middleware (line 389) | async def pattern_3_hierarchical_with_middleware() -> None: function main (line 441) | async def main() -> None: FILE: python/samples/02-agents/middleware/session_behavior_middleware.py function get_weather (line 43) | def get_weather( function thread_tracking_middleware (line 53) | async def thread_tracking_middleware( function main (line 78) | async def main() -> None: FILE: python/samples/02-agents/middleware/shared_state_middleware.py function get_weather (line 38) | def get_weather( function get_time (line 47) | def get_time( class MiddlewareContainer (line 56) | class MiddlewareContainer: method __init__ (line 59) | def __init__(self) -> None: method call_counter_middleware (line 63) | async def call_counter_middleware( method result_enhancer_middleware (line 77) | async def result_enhancer_middleware( function main (line 95) | async def main() -> None: FILE: python/samples/02-agents/middleware/usage_tracking_middleware.py function get_weather (line 38) | def get_weather( function _reset_usage_counters (line 46) | def _reset_usage_counters() -> None: function _create_agent (line 53) | def _create_agent( function print_usage (line 68) | async def print_usage( function non_streaming_usage_example (line 109) | async def non_streaming_usage_example() -> None: function streaming_usage_example (line 129) | async def streaming_usage_example() -> None: function main (line 158) | async def main() -> None: FILE: python/samples/02-agents/multimodal_input/azure_chat_multimodal.py function create_sample_image (line 14) | def create_sample_image() -> str: function test_image (line 21) | async def test_image() -> None: function main (line 43) | async def main() -> None: FILE: python/samples/02-agents/multimodal_input/azure_responses_multimodal.py function load_sample_pdf (line 17) | def load_sample_pdf() -> bytes: function create_sample_image (line 23) | def create_sample_image() -> str: function test_image (line 30) | async def test_image() -> None: function test_pdf (line 52) | async def test_pdf() -> None: function main (line 73) | async def main() -> None: FILE: python/samples/02-agents/multimodal_input/openai_chat_multimodal.py function load_sample_pdf (line 18) | def load_sample_pdf() -> bytes: function create_sample_image (line 24) | def create_sample_image() -> str: function create_sample_audio (line 31) | def create_sample_audio() -> str: function test_image (line 47) | async def test_image() -> None: function test_audio (line 64) | async def test_audio() -> None: function test_pdf (line 81) | async def test_pdf() -> None: function main (line 100) | async def main() -> None: FILE: python/samples/02-agents/observability/advanced_manual_setup_console_output.py function setup_logging (line 36) | def setup_logging(): function setup_tracing (line 53) | def setup_tracing(): function setup_metrics (line 63) | def setup_metrics(): function get_weather (line 77) | async def get_weather( function run_chat_client (line 86) | async def run_chat_client() -> None: function main (line 128) | async def main(): FILE: python/samples/02-agents/observability/advanced_zero_code.py function get_weather (line 52) | async def get_weather( function run_chat_client (line 61) | async def run_chat_client(client: "SupportsChatGetResponse", stream: boo... function main (line 102) | async def main() -> None: FILE: python/samples/02-agents/observability/agent_observability.py function get_weather (line 29) | async def get_weather( function main (line 38) | async def main(): FILE: python/samples/02-agents/observability/agent_with_foundry_tracing.py function get_weather (line 48) | async def get_weather( function main (line 57) | async def main(): FILE: python/samples/02-agents/observability/azure_ai_agent_observability.py function get_weather (line 36) | async def get_weather( function main (line 45) | async def main(): FILE: python/samples/02-agents/observability/configure_otel_providers_with_env_var.py function get_weather (line 42) | async def get_weather( function run_chat_client (line 51) | async def run_chat_client(client: "SupportsChatGetResponse", stream: boo... function run_tool (line 91) | async def run_tool() -> None: function main (line 107) | async def main(scenario: Literal["client", "client_stream", "tool", "all... FILE: python/samples/02-agents/observability/configure_otel_providers_with_parameters.py function get_weather (line 43) | async def get_weather( function run_chat_client (line 52) | async def run_chat_client(client: "SupportsChatGetResponse", stream: boo... function run_tool (line 92) | async def run_tool() -> None: function main (line 108) | async def main(scenario: Literal["client", "client_stream", "tool", "all... FILE: python/samples/02-agents/observability/workflow_observability.py class UpperCaseExecutor (line 42) | class UpperCaseExecutor(Executor): method to_upper_case (line 46) | async def to_upper_case(self, text: str, ctx: WorkflowContext[str]) ->... class ReverseTextExecutor (line 56) | class ReverseTextExecutor(Executor): method reverse_text (line 60) | async def reverse_text(self, text: str, ctx: WorkflowContext[Never, st... function run_sequential_workflow (line 70) | async def run_sequential_workflow() -> None: function main (line 100) | async def main(): FILE: python/samples/02-agents/providers/amazon/bedrock_chat_client.py function get_weather (line 31) | def get_weather( function main (line 39) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_advanced.py function main (line 21) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_basic.py function get_weather (line 25) | def get_weather( function non_streaming_example (line 33) | async def non_streaming_example() -> None: function streaming_example (line 49) | async def streaming_example() -> None: function main (line 68) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_basic.py function get_weather (line 30) | def get_weather(location: Annotated[str, "The city name"]) -> str: function non_streaming_example (line 35) | async def non_streaming_example() -> None: function streaming_example (line 52) | async def streaming_example() -> None: function main (line 72) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_with_mcp.py function prompt_permission (line 30) | async def prompt_permission( function main (line 44) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_with_multiple_permissions.py function prompt_permission (line 29) | async def prompt_permission( function main (line 50) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_with_session.py function get_weather (line 21) | def get_weather( function example_with_automatic_session_creation (line 29) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 59) | async def example_with_session_persistence() -> None: function example_with_existing_session_id (line 92) | async def example_with_existing_session_id() -> None: function main (line 136) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_with_shell.py function prompt_permission (line 21) | async def prompt_permission( function main (line 38) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_with_tools.py function main (line 23) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_claude_with_url.py function main (line 22) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_foundry.py function main (line 32) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_skills.py function main (line 27) | async def main() -> None: FILE: python/samples/02-agents/providers/anthropic/anthropic_with_shell.py function run_bash (line 29) | def run_bash(command: str) -> str: function main (line 52) | async def main() -> None: function run_with_approvals (line 71) | async def run_with_approvals(query: str, agent: Agent) -> Any: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_basic.py function get_weather (line 28) | def get_weather( function non_streaming_example (line 36) | async def non_streaming_example() -> None: function streaming_example (line 58) | async def streaming_example() -> None: function main (line 83) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_provider_methods.py function get_weather (line 38) | def get_weather( function create_agent_example (line 46) | async def create_agent_example() -> None: function get_agent_by_name_example (line 76) | async def get_agent_by_name_example() -> None: function get_agent_by_reference_example (line 116) | async def get_agent_by_reference_example() -> None: function multiple_agents_example (line 157) | async def multiple_agents_example() -> None: function as_agent_example (line 205) | async def as_agent_example() -> None: function main (line 247) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_use_latest_version.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_agent_as_tool.py function logging_middleware (line 25) | async def logging_middleware( function main (line 38) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_agent_to_agent.py function main (line 27) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_application_endpoint.py function main (line 23) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_azure_ai_search.py function main (line 29) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_bing_custom_search.py function main (line 25) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_bing_grounding.py function main (line 31) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_browser_automation.py function main (line 25) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_code_interpreter.py function main (line 23) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_code_interpreter_file_download.py function download_container_files (line 39) | async def download_container_files(file_contents: list[Annotation | Cont... function non_streaming_example (line 124) | async def non_streaming_example() -> None: function streaming_example (line 175) | async def streaming_example() -> None: function main (line 229) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_code_interpreter_file_generation.py function non_streaming_example (line 29) | async def non_streaming_example() -> None: function streaming_example (line 69) | async def streaming_example() -> None: function main (line 116) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_content_filtering.py function main (line 32) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_existing_agent.py function using_provider_get_agent (line 23) | async def using_provider_get_agent() -> None: function main (line 65) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_existing_conversation.py function get_weather (line 28) | def get_weather( function example_with_conversation_id (line 36) | async def example_with_conversation_id() -> None: function example_with_session (line 68) | async def example_with_session() -> None: function main (line 102) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_explicit_settings.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_file_search.py function main (line 30) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_hosted_mcp.py function handle_approvals_without_session (line 21) | async def handle_approvals_without_session(query: str, agent: "SupportsA... function handle_approvals_with_session (line 42) | async def handle_approvals_with_session( function run_hosted_mcp_without_approval (line 66) | async def run_hosted_mcp_without_approval() -> None: function run_hosted_mcp_with_approval_and_session (line 95) | async def run_hosted_mcp_with_approval_and_session() -> None: function main (line 127) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_image_generation.py function main (line 27) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_local_mcp.py function main (line 25) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_memory_search.py function main (line 31) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_microsoft_fabric.py function main (line 25) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_openapi.py function main (line 25) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_reasoning.py function non_streaming_example (line 25) | async def non_streaming_example() -> None: function streaming_example (line 54) | async def streaming_example() -> None: function main (line 90) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_response_format.py class ReleaseBrief (line 21) | class ReleaseBrief(BaseModel): function main (line 28) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_runtime_json_schema.py function main (line 35) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_session.py function get_weather (line 29) | def get_weather( function example_with_automatic_session_creation (line 37) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence_in_memory (line 65) | async def example_with_session_persistence_in_memory() -> None: function example_with_existing_session_id (line 105) | async def example_with_existing_session_id() -> None: function main (line 156) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_sharepoint.py function main (line 25) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai/azure_ai_with_web_search.py function main (line 24) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_basic.py function get_weather (line 26) | def get_weather( function non_streaming_example (line 34) | async def non_streaming_example() -> None: function streaming_example (line 55) | async def streaming_example() -> None: function main (line 79) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_provider_methods.py function get_weather (line 30) | def get_weather( function create_agent_example (line 38) | async def create_agent_example() -> None: function get_agent_example (line 57) | async def get_agent_example() -> None: function as_agent_example (line 84) | async def as_agent_example() -> None: function multiple_agents_example (line 111) | async def multiple_agents_example() -> None: function main (line 139) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_azure_ai_search.py function main (line 39) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_bing_custom_search.py function main (line 34) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_bing_grounding.py function main (line 29) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_bing_grounding_citations.py function main (line 32) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_code_interpreter.py function print_code_interpreter_inputs (line 24) | def print_code_interpreter_inputs(response: AgentResponse) -> None: function main (line 38) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_code_interpreter_file_generation.py function main (line 28) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_existing_agent.py function main (line 22) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_existing_session.py function get_weather (line 30) | def get_weather( function main (line 38) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_explicit_settings.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_file_search.py function main (line 30) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_function_tools.py function get_weather (line 29) | def get_weather( function get_time (line 38) | def get_time() -> str: function tools_on_agent_level (line 44) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 81) | async def tools_on_run_level() -> None: function mixed_tools_example (line 117) | async def mixed_tools_example() -> None: function main (line 146) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_hosted_mcp.py function handle_approvals_with_session (line 22) | async def handle_approvals_with_session( function main (line 47) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_local_mcp.py function mcp_tools_on_run_level (line 21) | async def mcp_tools_on_run_level() -> None: function mcp_tools_on_agent_level (line 53) | async def mcp_tools_on_agent_level() -> None: function main (line 87) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_multiple_tools.py function get_time (line 44) | def get_time() -> str: function handle_approvals_with_session (line 50) | async def handle_approvals_with_session(query: str, agent: "SupportsAgen... function main (line 73) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_openapi_tools.py function load_openapi_specs (line 28) | def load_openapi_specs() -> tuple[dict[str, Any], dict[str, Any]]: function main (line 41) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_response_format.py class WeatherInfo (line 23) | class WeatherInfo(BaseModel): class CityInfo (line 33) | class CityInfo(BaseModel): function main (line 42) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_ai_agent/azure_ai_with_session.py function get_weather (line 28) | def get_weather( function example_with_automatic_session_creation (line 36) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 66) | async def example_with_session_persistence() -> None: function example_with_existing_session_id (line 106) | async def example_with_existing_session_id() -> None: function main (line 161) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_assistants_basic.py function get_weather (line 26) | def get_weather( function non_streaming_example (line 34) | async def non_streaming_example() -> None: function streaming_example (line 52) | async def streaming_example() -> None: function main (line 71) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_assistants_with_code_interpreter.py function get_code_interpreter_chunk (line 27) | def get_code_interpreter_chunk(chunk: AgentResponseUpdate) -> str | None: function main (line 46) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_assistants_with_existing_assistant.py function get_weather (line 30) | def get_weather( function main (line 38) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_assistants_with_explicit_settings.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_assistants_with_function_tools.py function get_weather (line 29) | def get_weather( function get_time (line 38) | def get_time() -> str: function tools_on_agent_level (line 44) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 76) | async def tools_on_run_level() -> None: function mixed_tools_example (line 107) | async def mixed_tools_example() -> None: function main (line 131) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_assistants_with_session.py function get_weather (line 28) | def get_weather( function example_with_automatic_session_creation (line 36) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 61) | async def example_with_session_persistence() -> None: function example_with_existing_session_id (line 96) | async def example_with_existing_session_id() -> None: function main (line 141) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_chat_client_basic.py function get_weather (line 28) | def get_weather( function non_streaming_example (line 36) | async def non_streaming_example() -> None: function streaming_example (line 54) | async def streaming_example() -> None: function main (line 75) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_chat_client_with_explicit_settings.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_chat_client_with_function_tools.py function get_weather (line 29) | def get_weather( function get_time (line 38) | def get_time() -> str: function tools_on_agent_level (line 44) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 77) | async def tools_on_run_level() -> None: function mixed_tools_example (line 109) | async def mixed_tools_example() -> None: function main (line 134) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_chat_client_with_session.py function get_weather (line 28) | def get_weather( function example_with_automatic_session_creation (line 36) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 62) | async def example_with_session_persistence() -> None: function example_with_existing_session_messages (line 98) | async def example_with_existing_session_messages() -> None: function main (line 152) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_basic.py function get_weather (line 28) | def get_weather( function non_streaming_example (line 36) | async def non_streaming_example() -> None: function streaming_example (line 53) | async def streaming_example() -> None: function main (line 73) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_code_interpreter_files.py function create_sample_file_and_upload (line 26) | async def create_sample_file_and_upload(openai_client: AsyncAzureOpenAI)... function cleanup_files (line 54) | async def cleanup_files(openai_client: AsyncAzureOpenAI, temp_file_path:... function main (line 65) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_image_analysis.py function main (line 21) | async def main(): FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_code_interpreter.py function main (line 23) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_explicit_settings.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_file_search.py function create_vector_store (line 30) | async def create_vector_store(client: AzureOpenAIResponsesClient) -> tup... function delete_vector_store (line 46) | async def delete_vector_store(client: AzureOpenAIResponsesClient, file_i... function main (line 54) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_foundry.py function get_weather (line 34) | def get_weather( function non_streaming_example (line 42) | async def non_streaming_example() -> None: function streaming_example (line 66) | async def streaming_example() -> None: function main (line 93) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_function_tools.py function get_weather (line 29) | def get_weather( function get_time (line 38) | def get_time() -> str: function tools_on_agent_level (line 44) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 77) | async def tools_on_run_level() -> None: function mixed_tools_example (line 109) | async def mixed_tools_example() -> None: function main (line 134) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_hosted_mcp.py function handle_approvals_without_session (line 25) | async def handle_approvals_without_session(query: str, agent: "SupportsA... function handle_approvals_with_session (line 50) | async def handle_approvals_with_session(query: str, agent: "SupportsAgen... function handle_approvals_with_session_streaming (line 73) | async def handle_approvals_with_session_streaming(query: str, agent: "Su... function run_hosted_mcp_without_session_and_specific_approval (line 102) | async def run_hosted_mcp_without_session_and_specific_approval() -> None: function run_hosted_mcp_without_approval (line 139) | async def run_hosted_mcp_without_approval() -> None: function run_hosted_mcp_with_session (line 177) | async def run_hosted_mcp_with_session() -> None: function run_hosted_mcp_with_session_streaming (line 214) | async def run_hosted_mcp_with_session_streaming() -> None: function main (line 255) | async def main() -> None: FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_local_mcp.py function main (line 33) | async def main(): FILE: python/samples/02-agents/providers/azure_openai/azure_responses_client_with_session.py function get_weather (line 28) | def get_weather( function example_with_automatic_session_creation (line 36) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence_in_memory (line 62) | async def example_with_session_persistence_in_memory() -> None: function example_with_existing_session_id (line 100) | async def example_with_existing_session_id() -> None: function main (line 150) | async def main() -> None: FILE: python/samples/02-agents/providers/copilotstudio/copilotstudio_basic.py function non_streaming_example (line 26) | async def non_streaming_example() -> None: function streaming_example (line 38) | async def streaming_example() -> None: function main (line 53) | async def main() -> None: FILE: python/samples/02-agents/providers/copilotstudio/copilotstudio_with_explicit_settings.py function example_with_connection_settings (line 37) | async def example_with_connection_settings() -> None: function example_with_explicit_parameters (line 75) | async def example_with_explicit_parameters() -> None: function main (line 102) | async def main() -> None: FILE: python/samples/02-agents/providers/custom/custom_agent.py class EchoAgent (line 26) | class EchoAgent(BaseAgent): method __init__ (line 35) | def __init__( method run (line 58) | def run( method _run (line 82) | async def _run( method _run_stream (line 118) | async def _run_stream( function main (line 161) | async def main() -> None: FILE: python/samples/02-agents/providers/foundry_local/foundry_local_agent.py function get_weather (line 28) | def get_weather( function non_streaming_example (line 36) | async def non_streaming_example(agent: Agent) -> None: function streaming_example (line 46) | async def streaming_example(agent: Agent) -> None: function main (line 59) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_basic.py function get_weather (line 33) | def get_weather( function non_streaming_example (line 41) | async def non_streaming_example() -> None: function streaming_example (line 57) | async def streaming_example() -> None: function runtime_options_example (line 76) | async def runtime_options_example() -> None: function main (line 110) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_with_file_operations.py function prompt_permission (line 22) | def prompt_permission(request: PermissionRequest, context: dict[str, str... function main (line 35) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_with_mcp.py function prompt_permission (line 26) | def prompt_permission(request: PermissionRequest, context: dict[str, str... function main (line 36) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_with_multiple_permissions.py function prompt_permission (line 28) | def prompt_permission(request: PermissionRequest, context: dict[str, str... function main (line 43) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_with_session.py function get_weather (line 24) | def get_weather( function example_with_automatic_session_creation (line 32) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 56) | async def example_with_session_persistence() -> None: function example_with_existing_session_id (line 89) | async def example_with_existing_session_id() -> None: function main (line 133) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_with_shell.py function prompt_permission (line 21) | def prompt_permission(request: PermissionRequest, context: dict[str, str... function main (line 34) | async def main() -> None: FILE: python/samples/02-agents/providers/github_copilot/github_copilot_with_url.py function prompt_permission (line 21) | def prompt_permission(request: PermissionRequest, context: dict[str, str... function main (line 34) | async def main() -> None: FILE: python/samples/02-agents/providers/ollama/ollama_agent_basic.py function get_time (line 30) | def get_time(location: str) -> str: function non_streaming_example (line 35) | async def non_streaming_example() -> None: function streaming_example (line 51) | async def streaming_example() -> None: function main (line 69) | async def main() -> None: FILE: python/samples/02-agents/providers/ollama/ollama_agent_reasoning.py function main (line 24) | async def main() -> None: FILE: python/samples/02-agents/providers/ollama/ollama_chat_client.py function get_time (line 30) | def get_time(): function main (line 35) | async def main() -> None: FILE: python/samples/02-agents/providers/ollama/ollama_chat_multimodal.py function create_sample_image (line 25) | def create_sample_image() -> str: function test_image (line 32) | async def test_image() -> None: function main (line 51) | async def main() -> None: FILE: python/samples/02-agents/providers/ollama/ollama_with_openai_chat_client.py function get_weather (line 32) | def get_weather( function non_streaming_example (line 40) | async def non_streaming_example() -> None: function streaming_example (line 60) | async def streaming_example() -> None: function main (line 83) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_basic.py function get_weather (line 29) | def get_weather( function non_streaming_example (line 37) | async def non_streaming_example() -> None: function streaming_example (line 62) | async def streaming_example() -> None: function main (line 90) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_provider_methods.py function get_weather (line 31) | def get_weather( function create_agent_example (line 39) | async def create_agent_example() -> None: function get_agent_example (line 62) | async def get_agent_example() -> None: function as_agent_example (line 88) | async def as_agent_example() -> None: function multiple_agents_example (line 114) | async def multiple_agents_example() -> None: function main (line 148) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_code_interpreter.py function get_code_interpreter_chunk (line 29) | def get_code_interpreter_chunk(chunk: AgentResponseUpdate) -> str | None: function main (line 48) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_existing_assistant.py function get_weather (line 29) | def get_weather( function example_get_agent_by_id (line 37) | async def example_get_agent_by_id() -> None: function example_as_agent_wrap_sdk_object (line 80) | async def example_as_agent_wrap_sdk_object() -> None: function main (line 109) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_explicit_settings.py function get_weather (line 29) | def get_weather( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_file_search.py function create_vector_store (line 22) | async def create_vector_store(client: AsyncOpenAI) -> tuple[str, Content]: function delete_vector_store (line 38) | async def delete_vector_store(client: AsyncOpenAI, file_id: str, vector_... function main (line 44) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_function_tools.py function get_weather (line 30) | def get_weather( function get_time (line 39) | def get_time() -> str: function tools_on_agent_level (line 45) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 83) | async def tools_on_run_level() -> None: function mixed_tools_example (line 120) | async def mixed_tools_example() -> None: function main (line 150) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_response_format.py class WeatherInfo (line 24) | class WeatherInfo(BaseModel): class CityInfo (line 34) | class CityInfo(BaseModel): function main (line 43) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_assistants_with_session.py function get_weather (line 29) | def get_weather( function example_with_automatic_session_creation (line 37) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 68) | async def example_with_session_persistence() -> None: function example_with_existing_session_id (line 109) | async def example_with_existing_session_id() -> None: function main (line 163) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_basic.py function get_weather (line 26) | def get_weather( function non_streaming_example (line 34) | async def non_streaming_example() -> None: function streaming_example (line 50) | async def streaming_example() -> None: function main (line 69) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_with_explicit_settings.py function get_weather (line 28) | def get_weather( function main (line 36) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_with_function_tools.py function get_weather (line 28) | def get_weather( function get_time (line 37) | def get_time() -> str: function tools_on_agent_level (line 43) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 74) | async def tools_on_run_level() -> None: function mixed_tools_example (line 104) | async def mixed_tools_example() -> None: function main (line 127) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_with_local_mcp.py function mcp_tools_on_run_level (line 24) | async def mcp_tools_on_run_level() -> None: function mcp_tools_on_agent_level (line 55) | async def mcp_tools_on_agent_level() -> None: function main (line 83) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_with_runtime_json_schema.py function non_streaming_example (line 36) | async def non_streaming_example() -> None: function streaming_example (line 69) | async def streaming_example() -> None: function main (line 107) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_with_session.py function get_weather (line 27) | def get_weather( function example_with_automatic_session_creation (line 35) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence (line 59) | async def example_with_session_persistence() -> None: function example_with_existing_session_messages (line 93) | async def example_with_existing_session_messages() -> None: function main (line 144) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_chat_client_with_web_search.py function main (line 20) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_basic.py function security_and_override_middleware (line 34) | async def security_and_override_middleware( function get_weather (line 77) | def get_weather( function non_streaming_example (line 85) | async def non_streaming_example() -> None: function streaming_example (line 101) | async def streaming_example() -> None: function main (line 124) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_image_analysis.py function main (line 20) | async def main(): FILE: python/samples/02-agents/providers/openai/openai_responses_client_image_generation.py function save_image (line 26) | def save_image(output: Content) -> None: function main (line 59) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_reasoning.py function reasoning_example (line 34) | async def reasoning_example() -> None: function streaming_reasoning_example (line 54) | async def streaming_reasoning_example() -> None: function main (line 76) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_streaming_image_generation.py function save_image_from_data_uri (line 31) | async def save_image_from_data_uri(data_uri: str, filename: str) -> None: function main (line 46) | async def main(): FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_agent_as_tool.py function logging_middleware (line 24) | async def logging_middleware( function main (line 37) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_code_interpreter.py function main (line 23) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_code_interpreter_files.py function create_sample_file_and_upload (line 25) | async def create_sample_file_and_upload(openai_client: AsyncOpenAI) -> t... function cleanup_files (line 53) | async def cleanup_files(openai_client: AsyncOpenAI, temp_file_path: str,... function main (line 64) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_explicit_settings.py function get_weather (line 28) | def get_weather( function main (line 36) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_file_search.py function create_vector_store (line 22) | async def create_vector_store(client: OpenAIResponsesClient) -> tuple[st... function delete_vector_store (line 38) | async def delete_vector_store(client: OpenAIResponsesClient, file_id: st... function main (line 44) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_function_tools.py function get_weather (line 28) | def get_weather( function get_time (line 37) | def get_time() -> str: function tools_on_agent_level (line 43) | async def tools_on_agent_level() -> None: function tools_on_run_level (line 74) | async def tools_on_run_level() -> None: function mixed_tools_example (line 104) | async def mixed_tools_example() -> None: function main (line 127) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_hosted_mcp.py function handle_approvals_without_session (line 24) | async def handle_approvals_without_session(query: str, agent: "SupportsA... function handle_approvals_with_session (line 49) | async def handle_approvals_with_session(query: str, agent: "SupportsAgen... function handle_approvals_with_session_streaming (line 72) | async def handle_approvals_with_session_streaming(query: str, agent: "Su... function run_hosted_mcp_without_session_and_specific_approval (line 101) | async def run_hosted_mcp_without_session_and_specific_approval() -> None: function run_hosted_mcp_without_approval (line 134) | async def run_hosted_mcp_without_approval() -> None: function run_hosted_mcp_with_session (line 166) | async def run_hosted_mcp_with_session() -> None: function run_hosted_mcp_with_session_streaming (line 199) | async def run_hosted_mcp_with_session_streaming() -> None: function main (line 236) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_local_mcp.py function streaming_with_mcp (line 20) | async def streaming_with_mcp(show_raw_stream: bool = False) -> None: function run_with_mcp (line 61) | async def run_with_mcp() -> None: function main (line 89) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_local_shell.py function run_bash (line 28) | def run_bash(command: str) -> str: function main (line 51) | async def main() -> None: function run_with_approvals (line 86) | async def run_with_approvals(query: str, agent: Agent) -> Any: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_runtime_json_schema.py function non_streaming_example (line 36) | async def non_streaming_example() -> None: function streaming_example (line 69) | async def streaming_example() -> None: function main (line 107) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_session.py function get_weather (line 27) | def get_weather( function example_with_automatic_session_creation (line 35) | async def example_with_automatic_session_creation() -> None: function example_with_session_persistence_in_memory (line 59) | async def example_with_session_persistence_in_memory() -> None: function example_with_existing_session_id (line 95) | async def example_with_existing_session_id() -> None: function main (line 142) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_shell.py function main (line 23) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_structured_output.py class OutputStruct (line 21) | class OutputStruct(BaseModel): function non_streaming_example (line 28) | async def non_streaming_example() -> None: function streaming_example (line 53) | async def streaming_example() -> None: function main (line 82) | async def main() -> None: FILE: python/samples/02-agents/providers/openai/openai_responses_client_with_web_search.py function main (line 20) | async def main() -> None: FILE: python/samples/02-agents/response_stream.py function main (line 144) | async def main() -> None: FILE: python/samples/02-agents/skills/code_defined_skill/code_defined_skill.py function conversion_policy (line 81) | def conversion_policy(**kwargs: Any) -> Any: function convert_units (line 108) | def convert_units(value: float, factor: float, **kwargs: Any) -> str: function main (line 129) | async def main() -> None: FILE: python/samples/02-agents/skills/file_based_skill/file_based_skill.py function main (line 41) | async def main() -> None: FILE: python/samples/02-agents/skills/file_based_skill/skills/unit-converter/scripts/convert.py function main (line 12) | def main() -> None: FILE: python/samples/02-agents/skills/mixed_skills/mixed_skills.py function volume_table (line 74) | def volume_table() -> Any: function convert_volume (line 89) | def convert_volume(value: float, factor: float) -> str: function main (line 108) | async def main() -> None: FILE: python/samples/02-agents/skills/mixed_skills/skills/unit-converter/scripts/convert.py function main (line 12) | def main() -> None: FILE: python/samples/02-agents/skills/script_approval/script_approval.py function deploy (line 52) | def deploy(version: str, environment: str = "staging") -> str: function main (line 57) | async def main() -> None: FILE: python/samples/02-agents/skills/subprocess_script_runner.py function subprocess_script_runner (line 19) | def subprocess_script_runner(skill: Skill, script: SkillScript, args: di... FILE: python/samples/02-agents/tools/agent_as_tool_with_session_propagation.py function log_session (line 24) | async def log_session( function store_findings (line 43) | def store_findings(findings: str, ctx: FunctionInvocationContext) -> None: function recall_findings (line 54) | def recall_findings(ctx: FunctionInvocationContext) -> str: function main (line 63) | async def main() -> None: FILE: python/samples/02-agents/tools/control_total_tool_executions.py function search_web (line 52) | def search_web(query: Annotated[str, "The search query to look up."]) ->... function get_weather (line 58) | def get_weather(city: Annotated[str, "The city to get the weather for."]... function call_expensive_api (line 64) | def call_expensive_api( function scenario_max_iterations (line 74) | async def scenario_max_iterations(): function scenario_max_function_calls (line 108) | async def scenario_max_function_calls(): function scenario_max_invocations (line 147) | async def scenario_max_invocations(): function scenario_per_agent_tool_limits (line 192) | async def scenario_per_agent_tool_limits(): function scenario_combined (line 251) | async def scenario_combined(): function main (line 292) | async def main(): FILE: python/samples/02-agents/tools/function_invocation_configuration.py function add (line 23) | def add( function main (line 30) | async def main(): FILE: python/samples/02-agents/tools/function_tool_declaration_only.py function main (line 22) | async def main(): FILE: python/samples/02-agents/tools/function_tool_from_dict_with_dependency_injection.py function main (line 47) | async def main() -> None: FILE: python/samples/02-agents/tools/function_tool_recover_from_failures.py function greet (line 25) | def greet(name: Annotated[str, "Name to greet"]) -> str: function safe_divide (line 32) | def safe_divide( function main (line 46) | async def main(): FILE: python/samples/02-agents/tools/function_tool_with_approval.py function get_weather (line 31) | def get_weather(location: Annotated[str, "The city and state, e.g. San F... function get_weather_detail (line 39) | def get_weather_detail(location: Annotated[str, "The city and state, e.g... function handle_approvals (line 49) | async def handle_approvals(query: str, agent: "SupportsAgentRun") -> Age... function handle_approvals_streaming (line 84) | async def handle_approvals_streaming(query: str, agent: "SupportsAgentRu... function run_weather_agent_with_approval (line 132) | async def run_weather_agent_with_approval(stream: bool) -> None: function main (line 154) | async def main() -> None: FILE: python/samples/02-agents/tools/function_tool_with_approval_and_sessions.py function add_to_calendar (line 24) | def add_to_calendar(event_name: Annotated[str, "Name of the event"], dat... function approval_example (line 30) | async def approval_example() -> None: function rejection_example (line 66) | async def rejection_example() -> None: function main (line 99) | async def main() -> None: FILE: python/samples/02-agents/tools/function_tool_with_explicit_schema.py class WeatherInput (line 30) | class WeatherInput(BaseModel): function get_weather (line 43) | def get_weather(location: str, unit: str = "celsius") -> str: function get_current_time (line 63) | def get_current_time(timezone: str = "UTC") -> str: function main (line 71) | async def main(): FILE: python/samples/02-agents/tools/function_tool_with_kwargs.py function get_weather (line 31) | def get_weather( function main (line 45) | async def main() -> None: FILE: python/samples/02-agents/tools/function_tool_with_max_exceptions.py function safe_divide (line 22) | def safe_divide( function main (line 36) | async def main(): FILE: python/samples/02-agents/tools/function_tool_with_max_invocations.py function unicorn_function (line 20) | def unicorn_function(times: Annotated[int, "The number of unicorns to re... function main (line 25) | async def main(): FILE: python/samples/02-agents/tools/function_tool_with_session_injection.py function get_weather (line 26) | async def get_weather( function main (line 38) | async def main() -> None: FILE: python/samples/02-agents/tools/tool_in_class.py class MyFunctionClass (line 21) | class MyFunctionClass: method __init__ (line 22) | def __init__(self, safe: bool = False) -> None: method divide (line 29) | def divide( method add (line 38) | def add( function main (line 46) | async def main(): FILE: python/samples/02-agents/typed_options.py function demo_anthropic_chat_client (line 37) | async def demo_anthropic_chat_client() -> None: function demo_anthropic_agent (line 60) | async def demo_anthropic_agent() -> None: class OpenAIReasoningChatOptions (line 84) | class OpenAIReasoningChatOptions(OpenAIChatOptions, total=False): function demo_openai_chat_client_reasoning_models (line 116) | async def demo_openai_chat_client_reasoning_models() -> None: function demo_openai_agent (line 142) | async def demo_openai_agent() -> None: function main (line 177) | async def main() -> None: FILE: python/samples/03-workflows/_start-here/step1_executors_and_edges.py class UpperCase (line 80) | class UpperCase(Executor): method __init__ (line 81) | def __init__(self, id: str): method to_upper_case (line 85) | async def to_upper_case(self, text: str, ctx: WorkflowContext[str]) ->... function reverse_text (line 107) | async def reverse_text(text: str, ctx: WorkflowContext[Never, str]) -> N... class ExclamationAdder (line 137) | class ExclamationAdder(Executor): method __init__ (line 145) | def __init__(self, id: str): method add_exclamation (line 149) | async def add_exclamation(self, message, ctx) -> None: # type: ignore function create_workflow (line 161) | def create_workflow() -> Workflow: function main (line 174) | async def main(): FILE: python/samples/03-workflows/_start-here/step2_agents_in_a_workflow.py function main (line 33) | async def main(): FILE: python/samples/03-workflows/_start-here/step3_streaming.py function main (line 32) | async def main(): FILE: python/samples/03-workflows/agents/azure_ai_agents_streaming.py function main (line 27) | async def main() -> None: FILE: python/samples/03-workflows/agents/azure_ai_agents_with_shared_session.py function intercept_agent_response (line 48) | async def intercept_agent_response( function main (line 59) | async def main() -> None: FILE: python/samples/03-workflows/agents/azure_chat_agents_and_executor.py function _lookup_external_note (line 60) | def _lookup_external_note(prompt: str) -> str | None: function enrich_with_references (line 70) | async def enrich_with_references( function main (line 100) | async def main() -> None: FILE: python/samples/03-workflows/agents/azure_chat_agents_streaming.py function main (line 27) | async def main(): FILE: python/samples/03-workflows/agents/azure_chat_agents_tool_calls_with_feedback.py function fetch_product_brief (line 61) | def fetch_product_brief( function get_brand_voice_profile (line 78) | def get_brand_voice_profile( class DraftFeedbackRequest (line 94) | class DraftFeedbackRequest: class Coordinator (line 102) | class Coordinator(Executor): method __init__ (line 105) | def __init__(self, id: str, writer_id: str, final_editor_id: str) -> N... method on_writer_response (line 111) | async def on_writer_response( method on_human_feedback (line 145) | async def on_human_feedback( function create_writer_agent (line 176) | def create_writer_agent() -> Agent: function create_final_editor_agent (line 196) | def create_final_editor_agent() -> Agent: function display_agent_run_update (line 211) | def display_agent_run_update(event: WorkflowEvent, last_executor: str | ... function consume_stream (line 254) | async def consume_stream(stream: AsyncIterable[WorkflowEvent]) -> dict[s... function main (line 279) | async def main() -> None: FILE: python/samples/03-workflows/agents/concurrent_workflow_as_agent.py function main (line 33) | async def main() -> None: FILE: python/samples/03-workflows/agents/custom_agent_executors.py class Writer (line 42) | class Writer(Executor): method __init__ (line 52) | def __init__(self, id: str = "writer"): method handle (line 67) | async def handle(self, message: Message, ctx: WorkflowContext[list[Mes... class Reviewer (line 88) | class Reviewer(Executor): method __init__ (line 98) | def __init__(self, id: str = "reviewer"): method handle (line 112) | async def handle(self, messages: list[Message], ctx: WorkflowContext[l... function main (line 122) | async def main(): FILE: python/samples/03-workflows/agents/group_chat_workflow_as_agent.py function main (line 28) | async def main() -> None: FILE: python/samples/03-workflows/agents/handoff_workflow_as_agent.py function process_refund (line 49) | def process_refund(order_number: Annotated[str, "Order number to process... function check_order_status (line 55) | def check_order_status(order_number: Annotated[str, "Order number to che... function process_return (line 61) | def process_return(order_number: Annotated[str, "Order number to process... function create_agents (line 66) | def create_agents(client: AzureOpenAIResponsesClient) -> tuple[Agent, Ag... function handle_response_and_requests (line 111) | def handle_response_and_requests(response: AgentResponse) -> dict[str, H... function main (line 142) | async def main() -> None: FILE: python/samples/03-workflows/agents/magentic_workflow_as_agent.py function main (line 30) | async def main() -> None: FILE: python/samples/03-workflows/agents/sequential_workflow_as_agent.py function main (line 34) | async def main() -> None: FILE: python/samples/03-workflows/agents/workflow_as_agent_human_in_the_loop.py class HumanReviewRequest (line 64) | class HumanReviewRequest: class ReviewerWithHumanInTheLoop (line 70) | class ReviewerWithHumanInTheLoop(Executor): method __init__ (line 73) | def __init__(self, worker_id: str, reviewer_id: str | None = None) -> ... method review (line 79) | async def review(self, request: ReviewRequest, ctx: WorkflowContext) -... method accept_human_review (line 90) | async def accept_human_review( function main (line 104) | async def main() -> None: FILE: python/samples/03-workflows/agents/workflow_as_agent_kwargs.py function get_user_data (line 47) | def get_user_data( function call_api (line 64) | def call_api( function main (line 84) | async def main() -> None: FILE: python/samples/03-workflows/agents/workflow_as_agent_reflection_pattern.py class ReviewRequest (line 50) | class ReviewRequest: class ReviewResponse (line 59) | class ReviewResponse: class Reviewer (line 67) | class Reviewer(Executor): method __init__ (line 70) | def __init__(self, id: str, client: SupportsChatGetResponse) -> None: method review (line 75) | async def review(self, request: ReviewRequest, ctx: WorkflowContext[Re... class Worker (line 119) | class Worker(Executor): method __init__ (line 122) | def __init__(self, id: str, client: SupportsChatGetResponse) -> None: method handle_user_messages (line 128) | async def handle_user_messages(self, user_messages: list[Message], ctx... method handle_review_response (line 151) | async def handle_review_response( function main (line 191) | async def main() -> None: FILE: python/samples/03-workflows/agents/workflow_as_agent_with_session.py function main (line 45) | async def main() -> None: function demonstrate_session_serialization (line 125) | async def demonstrate_session_serialization() -> None: FILE: python/samples/03-workflows/checkpoint/checkpoint_with_human_in_the_loop.py class BriefPreparer (line 70) | class BriefPreparer(Executor): method __init__ (line 78) | def __init__(self, id: str, agent_id: str) -> None: method prepare (line 83) | async def prepare(self, brief: str, ctx: WorkflowContext[AgentExecutor... class HumanApprovalRequest (line 105) | class HumanApprovalRequest: class ReviewGateway (line 116) | class ReviewGateway(Executor): method __init__ (line 119) | def __init__(self, id: str, writer_id: str) -> None: method on_agent_response (line 125) | async def on_agent_response(self, response: AgentExecutorResponse, ctx... method on_human_feedback (line 140) | async def on_human_feedback( method on_checkpoint_save (line 166) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 171) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: function create_workflow (line 176) | def create_workflow(checkpoint_storage: FileCheckpointStorage) -> Workflow: function prompt_for_responses (line 203) | def prompt_for_responses(requests: dict[str, HumanApprovalRequest]) -> d... function run_interactive_session (line 221) | async def run_interactive_session( function main (line 270) | async def main() -> None: FILE: python/samples/03-workflows/checkpoint/checkpoint_with_resume.py class ComputeTask (line 48) | class ComputeTask: class StartExecutor (line 54) | class StartExecutor(Executor): method start (line 58) | async def start(self, upper_limit: int, ctx: WorkflowContext[ComputeTa... class WorkerExecutor (line 64) | class WorkerExecutor(Executor): method __init__ (line 67) | def __init__(self, id: str) -> None: method compute (line 72) | async def compute( method on_checkpoint_save (line 95) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 100) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: function main (line 105) | async def main(): FILE: python/samples/03-workflows/checkpoint/sub_workflow_checkpoint.py function _utc_now (line 48) | def _utc_now() -> datetime: class DraftTask (line 58) | class DraftTask: class DraftPackage (line 67) | class DraftPackage: class FinalDraft (line 77) | class FinalDraft: class ReviewRequest (line 87) | class ReviewRequest: class ReviewDecision (line 99) | class ReviewDecision: class DraftWriter (line 111) | class DraftWriter(Executor): method __init__ (line 114) | def __init__(self) -> None: method create_draft (line 118) | async def create_draft(self, task: DraftTask, ctx: WorkflowContext[Dra... class DraftReviewRouter (line 133) | class DraftReviewRouter(Executor): method __init__ (line 136) | def __init__(self) -> None: method request_review (line 140) | async def request_review(self, draft: DraftPackage, ctx: WorkflowConte... method forward_decision (line 156) | async def forward_decision( class DraftFinaliser (line 166) | class DraftFinaliser(Executor): method __init__ (line 169) | def __init__(self) -> None: method on_review_decision (line 173) | async def on_review_decision( class LaunchCoordinator (line 208) | class LaunchCoordinator(Executor): method __init__ (line 211) | def __init__(self) -> None: method kick_off (line 217) | async def kick_off(self, topic: str, ctx: WorkflowContext[DraftTask]) ... method collect_final (line 222) | async def collect_final(self, draft: FinalDraft, ctx: WorkflowContext[... method handler_sub_workflow_request (line 242) | async def handler_sub_workflow_request( method handle_request_response (line 262) | async def handle_request_response( method on_checkpoint_save (line 281) | async def on_checkpoint_save(self) -> dict[str, Any]: method on_checkpoint_restore (line 288) | async def on_checkpoint_restore(self, state: dict[str, Any]) -> None: function build_sub_workflow (line 298) | def build_sub_workflow() -> WorkflowExecutor: function build_parent_workflow (line 314) | def build_parent_workflow(storage: FileCheckpointStorage) -> Workflow: function main (line 326) | async def main() -> None: FILE: python/samples/03-workflows/checkpoint/workflow_as_agent_checkpoint.py function basic_checkpointing (line 43) | async def basic_checkpointing() -> None: function checkpointing_with_thread (line 89) | async def checkpointing_with_thread() -> None: function streaming_with_checkpoints (line 136) | async def streaming_with_checkpoints() -> None: function main (line 173) | async def main() -> None: FILE: python/samples/03-workflows/composition/sub_workflow_basics.py class TextProcessingRequest (line 31) | class TextProcessingRequest: class TextProcessingResult (line 39) | class TextProcessingResult: class TextProcessor (line 49) | class TextProcessor(Executor): method __init__ (line 52) | def __init__(self): method process_text (line 56) | async def process_text( class TextProcessingOrchestrator (line 83) | class TextProcessingOrchestrator(Executor): method __init__ (line 89) | def __init__(self): method start_processing (line 93) | async def start_processing(self, texts: list[str], ctx: WorkflowContex... method collect_result (line 108) | async def collect_result( function get_result_summary (line 123) | def get_result_summary(results: list[TextProcessingResult]) -> dict[str,... function create_sub_workflow (line 139) | def create_sub_workflow() -> WorkflowExecutor: function main (line 149) | async def main(): FILE: python/samples/03-workflows/composition/sub_workflow_kwargs.py function get_authenticated_data (line 45) | def get_authenticated_data( function call_configured_service (line 61) | def call_configured_service( function main (line 78) | async def main() -> None: FILE: python/samples/03-workflows/composition/sub_workflow_parallel_requests.py class ComputingResourceRequest (line 49) | class ComputingResourceRequest: class ResourceResponse (line 60) | class ResourceResponse: class PolicyResponse (line 69) | class PolicyResponse: class ResourceRequest (line 77) | class ResourceRequest: class PolicyRequest (line 87) | class PolicyRequest: function build_resource_request_distribution_workflow (line 96) | def build_resource_request_distribution_workflow() -> Workflow: class ResourceAllocator (line 188) | class ResourceAllocator(Executor): method __init__ (line 191) | def __init__(self, id: str) -> None: method _handle_resource_request (line 197) | async def _handle_resource_request(self, request: ResourceRequest) -> ... method handle_subworkflow_request (line 206) | async def handle_subworkflow_request( method handle_external_response (line 224) | async def handle_external_response( class PolicyEngine (line 238) | class PolicyEngine(Executor): method __init__ (line 241) | def __init__(self, id: str) -> None: method handle_subworkflow_request (line 252) | async def handle_subworkflow_request( method handle_external_response (line 275) | async def handle_external_response( function main (line 289) | async def main() -> None: FILE: python/samples/03-workflows/composition/sub_workflow_request_interception.py class SanitizedEmailResult (line 43) | class SanitizedEmailResult: function build_email_address_validation_workflow (line 55) | def build_email_address_validation_workflow() -> Workflow: class Email (line 169) | class Email: class SmartEmailOrchestrator (line 175) | class SmartEmailOrchestrator(Executor): method __init__ (line 178) | def __init__(self, id: str, approved_domains: set[str]): method run (line 194) | async def run(self, email: Email, ctx: WorkflowContext[Email | str, bo... method handler_domain_validation_request (line 217) | async def handler_domain_validation_request( method handle_validation_result (line 234) | async def handle_validation_result(self, result: SanitizedEmailResult,... class EmailDelivery (line 255) | class EmailDelivery(Executor): method handle (line 259) | async def handle(self, email: Email, ctx: WorkflowContext[Never, bool]... function main (line 267) | async def main() -> None: FILE: python/samples/03-workflows/control-flow/edge_condition.py class DetectionResult (line 62) | class DetectionResult(BaseModel): class EmailResponse (line 73) | class EmailResponse(BaseModel): function get_condition (line 80) | def get_condition(expected_result: bool): function handle_email_response (line 105) | async def handle_email_response(response: AgentExecutorResponse, ctx: Wo... function handle_spam_classifier_response (line 112) | async def handle_spam_classifier_response(response: AgentExecutorRespons... function to_email_assistant_request (line 123) | async def to_email_assistant_request( function create_spam_detector_agent (line 136) | def create_spam_detector_agent() -> Agent: function create_email_assistant_agent (line 154) | def create_email_assistant_agent() -> Agent: function main (line 172) | async def main() -> None: FILE: python/samples/03-workflows/control-flow/multi_selection_edge_group.py class AnalysisResultAgent (line 62) | class AnalysisResultAgent(BaseModel): class EmailResponse (line 67) | class EmailResponse(BaseModel): class EmailSummaryModel (line 71) | class EmailSummaryModel(BaseModel): class Email (line 76) | class Email: class AnalysisResult (line 82) | class AnalysisResult: class DatabaseEvent (line 90) | class DatabaseEvent(WorkflowEvent): ... function store_email (line 94) | async def store_email(email_text: str, ctx: WorkflowContext[AgentExecuto... function to_analysis_result (line 105) | async def to_analysis_result(response: AgentExecutorResponse, ctx: Workf... function submit_to_email_assistant (line 121) | async def submit_to_email_assistant(analysis: AnalysisResult, ctx: Workf... function finalize_and_send (line 132) | async def finalize_and_send(response: AgentExecutorResponse, ctx: Workfl... function summarize_email (line 138) | async def summarize_email(analysis: AnalysisResult, ctx: WorkflowContext... function merge_summary (line 147) | async def merge_summary(response: AgentExecutorResponse, ctx: WorkflowCo... function handle_spam (line 164) | async def handle_spam(analysis: AnalysisResult, ctx: WorkflowContext[Nev... function handle_uncertain (line 172) | async def handle_uncertain(analysis: AnalysisResult, ctx: WorkflowContex... function database_access (line 183) | async def database_access(analysis: AnalysisResult, ctx: WorkflowContext... function create_email_analysis_agent (line 189) | def create_email_analysis_agent() -> Agent: function create_email_assistant_agent (line 206) | def create_email_assistant_agent() -> Agent: function create_email_summary_agent (line 219) | def create_email_summary_agent() -> Agent: function main (line 232) | async def main() -> None: FILE: python/samples/03-workflows/control-flow/sequential_executors.py class UpperCaseExecutor (line 30) | class UpperCaseExecutor(Executor): method to_upper_case (line 39) | async def to_upper_case(self, text: str, ctx: WorkflowContext[str]) ->... class ReverseTextExecutor (line 46) | class ReverseTextExecutor(Executor): method reverse_text (line 55) | async def reverse_text(self, text: str, ctx: WorkflowContext[Never, st... function main (line 61) | async def main() -> None: FILE: python/samples/03-workflows/control-flow/sequential_streaming.py function to_upper_case (line 27) | async def to_upper_case(text: str, ctx: WorkflowContext[str]) -> None: function reverse_text (line 41) | async def reverse_text(text: str, ctx: WorkflowContext[Never, str]) -> N... function main (line 54) | async def main(): FILE: python/samples/03-workflows/control-flow/simple_loop.py class NumberSignal (line 41) | class NumberSignal(Enum): class GuessNumberExecutor (line 54) | class GuessNumberExecutor(Executor): method __init__ (line 57) | def __init__(self, bound: tuple[int, int], id: str): method guess_number (line 64) | async def guess_number(self, feedback: NumberSignal, ctx: WorkflowCont... class SubmitToJudgeAgent (line 88) | class SubmitToJudgeAgent(Executor): method __init__ (line 91) | def __init__(self, judge_agent_id: str, target: int, id: str | None = ... method submit (line 97) | async def submit(self, guess: int, ctx: WorkflowContext[AgentExecutorR... class ParseJudgeResponse (line 110) | class ParseJudgeResponse(Executor): method parse (line 114) | async def parse(self, response: AgentExecutorResponse, ctx: WorkflowCo... function create_judge_agent (line 124) | def create_judge_agent() -> Agent: function main (line 136) | async def main(): FILE: python/samples/03-workflows/control-flow/switch_case_edge_group.py class DetectionResultAgent (line 58) | class DetectionResultAgent(BaseModel): class EmailResponse (line 66) | class EmailResponse(BaseModel): class DetectionResult (line 74) | class DetectionResult: class Email (line 82) | class Email: function get_case (line 88) | def get_case(expected_decision: str): function store_email (line 99) | async def store_email(email_text: str, ctx: WorkflowContext[AgentExecuto... function to_detection_result (line 112) | async def to_detection_result(response: AgentExecutorResponse, ctx: Work... function submit_to_email_assistant (line 120) | async def submit_to_email_assistant(detection: DetectionResult, ctx: Wor... function finalize_and_send (line 133) | async def finalize_and_send(response: AgentExecutorResponse, ctx: Workfl... function handle_spam (line 140) | async def handle_spam(detection: DetectionResult, ctx: WorkflowContext[N... function handle_uncertain (line 149) | async def handle_uncertain(detection: DetectionResult, ctx: WorkflowCont... function create_spam_detection_agent (line 160) | def create_spam_detection_agent() -> Agent: function create_email_assistant_agent (line 178) | def create_email_assistant_agent() -> Agent: function main (line 191) | async def main(): FILE: python/samples/03-workflows/control-flow/workflow_cancellation.py function step1 (line 25) | async def step1(text: str, ctx: WorkflowContext[str]) -> None: function step2 (line 34) | async def step2(text: str, ctx: WorkflowContext[str]) -> None: function step3 (line 43) | async def step3(text: str, ctx: WorkflowContext[Never, str]) -> None: function build_workflow (line 51) | def build_workflow(): function run_with_cancellation (line 56) | async def run_with_cancellation() -> None: function run_to_completion (line 75) | async def run_to_completion() -> None: function main (line 86) | async def main() -> None: FILE: python/samples/03-workflows/declarative/agent_to_function_tool/main.py class OrderAnalysis (line 58) | class OrderAnalysis(BaseModel): function calculate_order_total (line 67) | def calculate_order_total(order_data: dict[str, Any]) -> dict[str, Any]: function format_order_confirmation (line 136) | def format_order_confirmation(order_data: dict[str, Any], order_calculat... function main (line 198) | async def main(): FILE: python/samples/03-workflows/declarative/conditional_workflow/main.py function main (line 18) | async def main() -> None: FILE: python/samples/03-workflows/declarative/customer_support/main.py class SelfServiceResponse (line 126) | class SelfServiceResponse(BaseModel): class TicketingResponse (line 135) | class TicketingResponse(BaseModel): class RoutingResponse (line 142) | class RoutingResponse(BaseModel): class SupportResponse (line 148) | class SupportResponse(BaseModel): class EscalationResponse (line 158) | class EscalationResponse(BaseModel): function main (line 165) | async def main() -> None: FILE: python/samples/03-workflows/declarative/customer_support/ticketing_plugin.py class TicketStatus (line 15) | class TicketStatus(Enum): class TicketItem (line 25) | class TicketItem: class TicketingPlugin (line 35) | class TicketingPlugin: method __init__ (line 38) | def __init__(self) -> None: method _trace (line 41) | def _trace(self, function_name: str) -> None: method get_ticket (line 44) | def get_ticket(self, id: str) -> TicketItem | None: method create_ticket (line 49) | def create_ticket(self, subject: str, description: str, notes: str) ->... method resolve_ticket (line 62) | def resolve_ticket(self, id: str, resolution_summary: str) -> None: method send_notification (line 68) | def send_notification(self, id: str, email: str, cc: str, body: str) -... method get_functions (line 72) | def get_functions(self) -> list[Callable[..., object]]: FILE: python/samples/03-workflows/declarative/deep_research/main.py class ReasonedAnswer (line 98) | class ReasonedAnswer(BaseModel): class ReasonedStringAnswer (line 105) | class ReasonedStringAnswer(BaseModel): class ManagerResponse (line 112) | class ManagerResponse(BaseModel): function main (line 124) | async def main() -> None: FILE: python/samples/03-workflows/declarative/function_tools/main.py class MenuItem (line 29) | class MenuItem: function get_menu (line 50) | def get_menu() -> list[dict[str, Any]]: function get_specials (line 56) | def get_specials() -> list[dict[str, Any]]: function get_item_price (line 62) | def get_item_price(name: Annotated[str, Field(description="Menu item nam... function main (line 70) | async def main(): FILE: python/samples/03-workflows/declarative/human_in_loop/main.py function run_with_streaming (line 23) | async def run_with_streaming(workflow: Workflow) -> None: function main (line 48) | async def main() -> None: FILE: python/samples/03-workflows/declarative/invoke_function_tool/main.py function get_weather (line 24) | def get_weather(location: str, unit: str = "F") -> dict[str, Any]: function format_message (line 60) | def format_message(template: str, data: dict[str, Any]) -> str: function main (line 76) | async def main(): FILE: python/samples/03-workflows/declarative/marketing/main.py function main (line 55) | async def main() -> None: FILE: python/samples/03-workflows/declarative/simple_workflow/main.py function main (line 11) | async def main() -> None: FILE: python/samples/03-workflows/declarative/student_teacher/main.py function main (line 56) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/agents_with_HITL.py class DraftFeedbackRequest (line 52) | class DraftFeedbackRequest: class Coordinator (line 59) | class Coordinator(Executor): method __init__ (line 62) | def __init__(self, id: str, writer_name: str, final_editor_name: str) ... method on_writer_response (line 68) | async def on_writer_response( method on_human_feedback (line 97) | async def on_human_feedback( function process_event_stream (line 131) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 168) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/agents_with_approval_requests.py function get_current_date (line 66) | def get_current_date() -> str: function get_team_members_email_addresses (line 73) | def get_team_members_email_addresses() -> list[dict[str, str]]: function get_my_information (line 105) | def get_my_information() -> dict[str, str]: function read_historical_email_data (line 116) | async def read_historical_email_data( function send_email (line 178) | async def send_email( class Email (line 189) | class Email: class EmailPreprocessor (line 195) | class EmailPreprocessor(Executor): method __init__ (line 196) | def __init__(self, special_email_addresses: set[str]) -> None: method preprocess (line 201) | async def preprocess(self, email: Email, ctx: WorkflowContext[str]) ->... function conclude_workflow (line 217) | async def conclude_workflow( function main (line 225) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/agents_with_declaration_only_tools.py function main (line 53) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/concurrent_request_info.py function aggregate_with_synthesis (line 47) | async def aggregate_with_synthesis(results: list[AgentExecutorResponse])... function process_event_stream (line 99) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 149) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/group_chat_request_info.py function process_event_stream (line 45) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 98) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/guessing_game_with_human_input.py class HumanFeedbackRequest (line 61) | class HumanFeedbackRequest: class GuessOutput (line 67) | class GuessOutput(BaseModel): class TurnManager (line 73) | class TurnManager(Executor): method __init__ (line 82) | def __init__(self, id: str | None = None): method start (line 86) | async def start(self, _: str, ctx: WorkflowContext[AgentExecutorReques... method on_agent_response (line 97) | async def on_agent_response( method on_human_feedback (line 132) | async def on_human_feedback( function process_event_stream (line 156) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 196) | async def main() -> None: FILE: python/samples/03-workflows/human-in-the-loop/sequential_request_info.py function process_event_stream (line 44) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 95) | async def main() -> None: FILE: python/samples/03-workflows/observability/executor_io_observation.py class UpperCaseExecutor (line 33) | class UpperCaseExecutor(Executor): method __init__ (line 36) | def __init__(self, id: str = "upper_case"): method handle (line 40) | async def handle(self, text: str, ctx: WorkflowContext[str]) -> None: class ReverseTextExecutor (line 45) | class ReverseTextExecutor(Executor): method __init__ (line 48) | def __init__(self, id: str = "reverse_text"): method handle (line 52) | async def handle(self, text: str, ctx: WorkflowContext[Never, str]) ->... function format_io_data (line 57) | def format_io_data(data: Any) -> str: function main (line 82) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/concurrent_agents.py function main (line 37) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/concurrent_custom_agent_executors.py class ResearcherExec (line 46) | class ResearcherExec(Executor): method __init__ (line 49) | def __init__(self, client: AzureOpenAIResponsesClient, id: str = "rese... method run (line 60) | async def run(self, request: AgentExecutorRequest, ctx: WorkflowContex... class MarketerExec (line 66) | class MarketerExec(Executor): method __init__ (line 69) | def __init__(self, client: AzureOpenAIResponsesClient, id: str = "mark... method run (line 80) | async def run(self, request: AgentExecutorRequest, ctx: WorkflowContex... class LegalExec (line 86) | class LegalExec(Executor): method __init__ (line 89) | def __init__(self, client: AzureOpenAIResponsesClient, id: str = "lega... method run (line 100) | async def run(self, request: AgentExecutorRequest, ctx: WorkflowContex... function main (line 106) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/concurrent_custom_aggregator.py function main (line 38) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/group_chat_agent_manager.py function main (line 44) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/group_chat_philosophical_debate.py function _get_chat_client (line 51) | def _get_chat_client() -> AzureOpenAIResponsesClient: function main (line 59) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/group_chat_simple_selector.py function round_robin_selector (line 34) | def round_robin_selector(state: GroupChatState) -> str: function main (line 41) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/handoff_autonomous.py function create_agents (line 45) | def create_agents( function main (line 80) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/handoff_simple.py function process_refund (line 46) | def process_refund(order_number: Annotated[str, "Order number to process... function check_order_status (line 52) | def check_order_status(order_number: Annotated[str, "Order number to che... function process_return (line 58) | def process_return(order_number: Annotated[str, "Order number to process... function create_agents (line 63) | def create_agents(client: AzureOpenAIResponsesClient) -> tuple[Agent, Ag... function _handle_events (line 108) | def _handle_events(events: list[WorkflowEvent]) -> list[WorkflowEvent[Ha... function _print_handoff_agent_user_request (line 161) | def _print_handoff_agent_user_request(response: AgentResponse) -> None: function main (line 184) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/handoff_with_code_interpreter_file.py function _drain (line 40) | async def _drain(stream: AsyncIterable[WorkflowEvent]) -> list[WorkflowE... function _handle_events (line 45) | def _handle_events(events: list[WorkflowEvent]) -> tuple[list[WorkflowEv... function main (line 89) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/handoff_with_tool_approval_checkpoint_resume.py function submit_refund (line 58) | def submit_refund(refund_description: str, amount: str, order_id: str) -... function create_agents (line 63) | def create_agents(client: AzureOpenAIResponsesClient) -> tuple[Agent, Ag... function create_workflow (line 97) | def create_workflow(checkpoint_storage: FileCheckpointStorage) -> Workflow: function print_handoff_agent_user_request (line 121) | def print_handoff_agent_user_request(request: HandoffAgentUserRequest, r... function print_function_approval_request (line 141) | def print_function_approval_request(request: Content, request_id: str) -... function main (line 152) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/magentic.py function main (line 54) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/magentic_checkpoint.py function build_workflow (line 58) | def build_workflow(checkpoint_storage: FileCheckpointStorage): function main (line 109) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/magentic_human_plan_review.py function process_event_stream (line 49) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 102) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/sequential_agents.py function main (line 38) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/sequential_chain_only_agent_responses.py function main (line 37) | async def main() -> None: FILE: python/samples/03-workflows/orchestrations/sequential_custom_executors.py class Summarizer (line 42) | class Summarizer(Executor): method summarize (line 46) | async def summarize(self, agent_response: AgentExecutorResponse, ctx: ... function main (line 66) | async def main() -> None: FILE: python/samples/03-workflows/parallelism/aggregate_results_of_different_types.py class Dispatcher (line 22) | class Dispatcher(Executor): method handle (line 29) | async def handle(self, numbers: list[int], ctx: WorkflowContext[list[i... class Average (line 36) | class Average(Executor): method handle (line 40) | async def handle(self, numbers: list[int], ctx: WorkflowContext[float]): class Sum (line 45) | class Sum(Executor): method handle (line 49) | async def handle(self, numbers: list[int], ctx: WorkflowContext[int]): class Aggregator (line 54) | class Aggregator(Executor): method handle (line 58) | async def handle(self, results: list[int | float], ctx: WorkflowContex... function main (line 73) | async def main() -> None: FILE: python/samples/03-workflows/parallelism/fan_out_fan_in_edges.py class DispatchToExperts (line 45) | class DispatchToExperts(Executor): method dispatch (line 49) | async def dispatch(self, prompt: str, ctx: WorkflowContext[AgentExecut... class AggregatedInsights (line 56) | class AggregatedInsights: class AggregateInsights (line 64) | class AggregateInsights(Executor): method aggregate (line 68) | async def aggregate(self, results: list[AgentExecutorResponse], ctx: W... function render_live_streams (line 97) | def render_live_streams(buffers: dict[str, str], order: list[str], compl... function main (line 111) | async def main() -> None: FILE: python/samples/03-workflows/parallelism/map_reduce_and_visualization.py class SplitCompleted (line 53) | class SplitCompleted: class Split (line 59) | class Split(Executor): method __init__ (line 62) | def __init__(self, map_executor_ids: list[str], id: str | None = None): method split (line 68) | async def split(self, data: str, ctx: WorkflowContext[SplitCompleted])... method _preprocess (line 97) | def _preprocess(self, data: str) -> list[str]: class MapCompleted (line 104) | class MapCompleted: class Map (line 110) | class Map(Executor): method map (line 114) | async def map(self, _: SplitCompleted, ctx: WorkflowContext[MapComplet... class ShuffleCompleted (line 136) | class ShuffleCompleted: class Shuffle (line 143) | class Shuffle(Executor): method __init__ (line 146) | def __init__(self, reducer_ids: list[str], id: str | None = None): method shuffle (line 152) | async def shuffle(self, data: list[MapCompleted], ctx: WorkflowContext... method _preprocess (line 171) | async def _preprocess(self, data: list[MapCompleted]) -> list[list[tup... class ReduceCompleted (line 209) | class ReduceCompleted: class Reduce (line 215) | class Reduce(Executor): method _execute (line 219) | async def _execute(self, data: ShuffleCompleted, ctx: WorkflowContext[... class CompletionExecutor (line 248) | class CompletionExecutor(Executor): method complete (line 252) | async def complete(self, data: list[ReduceCompleted], ctx: WorkflowCon... function main (line 257) | async def main(): FILE: python/samples/03-workflows/state-management/state_with_agents.py class DetectionResultAgent (line 52) | class DetectionResultAgent(BaseModel): class EmailResponse (line 59) | class EmailResponse(BaseModel): class DetectionResult (line 66) | class DetectionResult: class Email (line 75) | class Email: function get_condition (line 82) | def get_condition(expected_result: bool): function store_email (line 99) | async def store_email(email_text: str, ctx: WorkflowContext[AgentExecuto... function to_detection_result (line 117) | async def to_detection_result(response: AgentExecutorResponse, ctx: Work... function submit_to_email_assistant (line 131) | async def submit_to_email_assistant(detection: DetectionResult, ctx: Wor... function finalize_and_send (line 148) | async def finalize_and_send(response: AgentExecutorResponse, ctx: Workfl... function handle_spam (line 155) | async def handle_spam(detection: DetectionResult, ctx: WorkflowContext[N... function create_spam_detection_agent (line 163) | def create_spam_detection_agent() -> Agent: function create_email_assistant_agent (line 180) | def create_email_assistant_agent() -> Agent: function main (line 197) | async def main() -> None: FILE: python/samples/03-workflows/state-management/workflow_kwargs.py function get_user_data (line 41) | def get_user_data( function call_api (line 58) | def call_api( function main (line 78) | async def main() -> None: FILE: python/samples/03-workflows/tool-approval/concurrent_builder_tool_approval.py function get_stock_price (line 59) | def get_stock_price(symbol: Annotated[str, "The stock ticker symbol"]) -... function get_market_sentiment (line 68) | def get_market_sentiment(symbol: Annotated[str, "The stock ticker symbol... function execute_trade (line 82) | def execute_trade( function get_portfolio_balance (line 92) | def get_portfolio_balance() -> str: function _print_output (line 97) | def _print_output(event: WorkflowEvent) -> None: function process_event_stream (line 113) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 134) | async def main() -> None: FILE: python/samples/03-workflows/tool-approval/group_chat_builder_tool_approval.py function run_tests (line 57) | def run_tests(test_suite: Annotated[str, "Name of the test suite to run"... function check_staging_status (line 63) | def check_staging_status() -> str: function deploy_to_production (line 69) | def deploy_to_production( function create_rollback_plan (line 78) | def create_rollback_plan(version: Annotated[str, "The version being depl... function select_next_speaker (line 87) | def select_next_speaker(state: GroupChatState) -> str: function process_event_stream (line 104) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 134) | async def main() -> None: FILE: python/samples/03-workflows/tool-approval/sequential_builder_tool_approval.py function execute_database_query (line 55) | def execute_database_query( function get_database_schema (line 67) | def get_database_schema() -> str: function process_event_stream (line 77) | async def process_event_stream(stream: AsyncIterable[WorkflowEvent]) -> ... function main (line 107) | async def main() -> None: FILE: python/samples/03-workflows/visualization/concurrent_with_visualization.py class DispatchToExperts (line 42) | class DispatchToExperts(Executor): method dispatch (line 46) | async def dispatch(self, prompt: str, ctx: WorkflowContext[AgentExecut... class AggregatedInsights (line 53) | class AggregatedInsights: class AggregateInsights (line 61) | class AggregateInsights(Executor): method aggregate (line 65) | async def aggregate(self, results: list[AgentExecutorResponse], ctx: W... function main (line 94) | async def main() -> None: FILE: python/samples/04-hosting/a2a/a2a_server.py function parse_args (line 43) | def parse_args() -> argparse.Namespace: function main (line 65) | def main() -> None: FILE: python/samples/04-hosting/a2a/agent_definitions.py function create_invoice_agent (line 57) | def create_invoice_agent(client: AzureOpenAIResponsesClient) -> Agent: function create_policy_agent (line 66) | def create_policy_agent(client: AzureOpenAIResponsesClient) -> Agent: function create_logistics_agent (line 74) | def create_logistics_agent(client: AzureOpenAIResponsesClient) -> Agent: function get_invoice_agent_card (line 89) | def get_invoice_agent_card(url: str) -> AgentCard: function get_policy_agent_card (line 111) | def get_policy_agent_card(url: str) -> AgentCard: function get_logistics_agent_card (line 133) | def get_logistics_agent_card(url: str) -> AgentCard: FILE: python/samples/04-hosting/a2a/agent_executor.py class AgentFrameworkExecutor (line 33) | class AgentFrameworkExecutor(AgentExecutor): method __init__ (line 42) | def __init__(self, agent: Agent) -> None: method execute (line 45) | async def execute(self, context: RequestContext, event_queue: EventQue... method cancel (line 111) | async def cancel(self, context: RequestContext, event_queue: EventQueu... FILE: python/samples/04-hosting/a2a/agent_with_a2a.py function main (line 45) | async def main(): FILE: python/samples/04-hosting/a2a/invoice_data.py class Product (line 20) | class Product: method total_price (line 28) | def total_price(self) -> float: method to_dict (line 31) | def to_dict(self) -> dict: class Invoice (line 41) | class Invoice: method total_invoice_price (line 51) | def total_invoice_price(self) -> float: method to_dict (line 54) | def to_dict(self) -> dict: function _random_date_within_last_two_months (line 65) | def _random_date_within_last_two_months() -> datetime: function _build_invoices (line 72) | def _build_invoices() -> list[Invoice]: function query_invoices (line 193) | def query_invoices( function query_by_transaction_id (line 213) | def query_by_transaction_id( function query_by_invoice_id (line 222) | def query_by_invoice_id( FILE: python/samples/04-hosting/azure_functions/01_single_agent/function_app.py function _create_agent (line 22) | def _create_agent() -> Any: FILE: python/samples/04-hosting/azure_functions/02_multi_agent/function_app.py function get_weather (line 31) | def get_weather(location: str) -> dict[str, Any]: function calculate_tip (line 45) | def calculate_tip(bill_amount: float, tip_percentage: float = 15.0) -> d... FILE: python/samples/04-hosting/azure_functions/03_reliable_streaming/function_app.py function get_stream_handler (line 46) | async def get_stream_handler() -> RedisStreamResponseHandler: class RedisStreamCallback (line 65) | class RedisStreamCallback(AgentResponseCallbackProtocol): method __init__ (line 71) | def __init__(self) -> None: method on_streaming_response_update (line 75) | async def on_streaming_response_update( method on_agent_response (line 120) | async def on_agent_response(self, response, context: AgentCallbackCont... function create_travel_agent (line 156) | def create_travel_agent(): function stream (line 192) | async def stream(req: func.HttpRequest) -> func.HttpResponse: function _stream_to_client (line 241) | async def _stream_to_client( function _format_chunk (line 292) | def _format_chunk(chunk: StreamChunk, use_sse_format: bool) -> str: function _format_end_of_stream (line 299) | def _format_end_of_stream(entry_id: str, use_sse_format: bool) -> str: function _format_error (line 306) | def _format_error(error: str, use_sse_format: bool) -> str: function _format_sse_event (line 313) | def _format_sse_event(event_type: str, data: str, event_id: str | None =... FILE: python/samples/04-hosting/azure_functions/03_reliable_streaming/redis_stream_response_handler.py class StreamChunk (line 19) | class StreamChunk: class RedisStreamResponseHandler (line 35) | class RedisStreamResponseHandler: method __init__ (line 50) | def __init__(self, redis_client: aioredis.Redis, stream_ttl: timedelta): method __aenter__ (line 60) | async def __aenter__(self): method __aexit__ (line 64) | async def __aexit__(self, exc_type, exc_val, exc_tb): method write_chunk (line 68) | async def write_chunk( method write_completion (line 92) | async def write_completion( method read_stream (line 115) | async def read_stream( method _get_stream_key (line 192) | def _get_stream_key(conversation_id: str) -> str: FILE: python/samples/04-hosting/azure_functions/03_reliable_streaming/tools.py function get_weather_forecast (line 11) | def get_weather_forecast( function get_local_events (line 67) | def get_local_events( function _get_weather_recommendation (line 143) | def _get_weather_recommendation(condition: str) -> str: FILE: python/samples/04-hosting/azure_functions/04_single_agent_orchestration_chaining/function_app.py function _create_writer_agent (line 34) | def _create_writer_agent() -> Any: function single_agent_orchestration (line 53) | def single_agent_orchestration(context: DurableOrchestrationContext) -> ... function start_single_agent_orchestration (line 77) | async def start_single_agent_orchestration( function get_orchestration_status (line 107) | async def get_orchestration_status( function _build_status_url (line 142) | def _build_status_url(request_url: str, instance_id: str, *, route: str)... FILE: python/samples/04-hosting/azure_functions/05_multi_agent_orchestration_concurrency/function_app.py function _create_agents (line 36) | def _create_agents() -> list[Any]: function multi_agent_concurrent_orchestration (line 61) | def multi_agent_concurrent_orchestration(context: DurableOrchestrationCo... function start_multi_agent_concurrent_orchestration (line 92) | async def start_multi_agent_concurrent_orchestration( function get_orchestration_status (line 133) | async def get_orchestration_status( function _build_status_url (line 168) | def _build_status_url(request_url: str, instance_id: str, *, route: str)... FILE: python/samples/04-hosting/azure_functions/06_multi_agent_orchestration_conditionals/function_app.py class SpamDetectionResult (line 36) | class SpamDetectionResult(BaseModel): class EmailResponse (line 41) | class EmailResponse(BaseModel): class EmailPayload (line 45) | class EmailPayload(BaseModel): function _create_agents (line 51) | def _create_agents() -> list[Any]: function handle_spam_email (line 72) | def handle_spam_email(reason: str) -> str: function send_email (line 77) | def send_email(message: str) -> str: function spam_detection_orchestration (line 83) | def spam_detection_orchestration(context: DurableOrchestrationContext) -... function start_spam_detection_orchestration (line 147) | async def start_spam_detection_orchestration( function get_orchestration_status (line 198) | async def get_orchestration_status( function _build_status_url (line 233) | def _build_status_url(request_url: str, instance_id: str, *, route: str)... FILE: python/samples/04-hosting/azure_functions/07_single_agent_orchestration_hitl/function_app.py class ContentGenerationInput (line 36) | class ContentGenerationInput(BaseModel): class GeneratedContent (line 42) | class GeneratedContent(BaseModel): class HumanApproval (line 47) | class HumanApproval(BaseModel): function _create_writer_agent (line 53) | def _create_writer_agent() -> Any: function notify_user_for_approval (line 71) | def notify_user_for_approval(content: dict) -> None: function publish_content (line 80) | def publish_content(content: dict) -> None: function content_generation_hitl_orchestration (line 89) | def content_generation_hitl_orchestration(context: DurableOrchestrationC... function start_content_generation (line 177) | async def start_content_generation( function send_human_approval (line 226) | async def send_human_approval( function get_orchestration_status (line 277) | async def get_orchestration_status( function _build_status_url (line 330) | def _build_status_url(request_url: str, instance_id: str, *, route: str)... function _parse_human_approval (line 337) | def _parse_human_approval(raw: Any) -> HumanApproval: FILE: python/samples/04-hosting/azure_functions/09_workflow_shared_state/function_app.py class DetectionResultAgent (line 53) | class DetectionResultAgent(BaseModel): class EmailResponse (line 60) | class EmailResponse(BaseModel): class DetectionResult (line 67) | class DetectionResult: class Email (line 76) | class Email: function get_condition (line 83) | def get_condition(expected_result: bool): function store_email (line 100) | async def store_email(email_text: str, ctx: WorkflowContext[AgentExecuto... function to_detection_result (line 118) | async def to_detection_result(response: AgentExecutorResponse, ctx: Work... function submit_to_email_assistant (line 137) | async def submit_to_email_assistant(detection: DetectionResult, ctx: Wor... function finalize_and_send (line 154) | async def finalize_and_send(response: AgentExecutorResponse, ctx: Workfl... function handle_spam (line 161) | async def handle_spam(detection: DetectionResult, ctx: WorkflowContext[N... function _build_client_kwargs (line 174) | def _build_client_kwargs() -> dict[str, Any]: function _create_workflow (line 198) | def _create_workflow() -> Workflow: function launch (line 243) | def launch(durable: bool = True) -> AgentFunctionApp | None: FILE: python/samples/04-hosting/azure_functions/10_workflow_no_shared_state/function_app.py class SpamDetectionResult (line 74) | class SpamDetectionResult(BaseModel): class EmailResponse (line 80) | class EmailResponse(BaseModel): class EmailPayload (line 84) | class EmailPayload(BaseModel): function _build_client_kwargs (line 89) | def _build_client_kwargs() -> dict[str, Any]: class SpamHandlerExecutor (line 113) | class SpamHandlerExecutor(Executor): method handle_spam_result (line 117) | async def handle_spam_result( class EmailSenderExecutor (line 133) | class EmailSenderExecutor(Executor): method handle_email_response (line 137) | async def handle_email_response( function is_spam_detected (line 154) | def is_spam_detected(message: Any) -> bool: function _create_workflow (line 165) | def _create_workflow() -> Workflow: function launch (line 201) | def launch(durable: bool = True) -> AgentFunctionApp | None: FILE: python/samples/04-hosting/azure_functions/11_workflow_parallel/function_app.py class SentimentResult (line 63) | class SentimentResult(BaseModel): class KeywordResult (line 71) | class KeywordResult(BaseModel): class SummaryResult (line 78) | class SummaryResult(BaseModel): class RecommendationResult (line 85) | class RecommendationResult(BaseModel): class DocumentInput (line 93) | class DocumentInput: class ProcessorResult (line 101) | class ProcessorResult: class AggregatedResults (line 113) | class AggregatedResults: class AgentAnalysis (line 122) | class AgentAnalysis: class FinalReport (line 130) | class FinalReport: function input_router (line 143) | async def input_router(doc: str, ctx: WorkflowContext[DocumentInput]) ->... function word_count_processor (line 159) | async def word_count_processor(doc: DocumentInput, ctx: WorkflowContext[... function format_analyzer_processor (line 180) | async def format_analyzer_processor(doc: DocumentInput, ctx: WorkflowCon... function aggregator (line 203) | async def aggregator(results: list[ProcessorResult], ctx: WorkflowContex... function prepare_for_agents (line 221) | async def prepare_for_agents(aggregated: AggregatedResults, ctx: Workflo... function prepare_for_mixed (line 230) | async def prepare_for_mixed(analyses: list[AgentExecutorResponse], ctx: ... function statistics_processor (line 256) | async def statistics_processor(analysis_text: str, ctx: WorkflowContext[... class FinalReportExecutor (line 276) | class FinalReportExecutor(Executor): method compile_report (line 280) | async def compile_report( class MixedResultCollector (line 307) | class MixedResultCollector(Executor): method collect_mixed_results (line 311) | async def collect_mixed_results( function _build_client_kwargs (line 337) | def _build_client_kwargs() -> dict[str, Any]: function _create_workflow (line 361) | def _create_workflow() -> Workflow: function launch (line 466) | def launch(durable: bool = True) -> AgentFunctionApp | None: FILE: python/samples/04-hosting/azure_functions/12_workflow_hitl/function_app.py class ContentAnalysisResult (line 65) | class ContentAnalysisResult(BaseModel): class ContentSubmission (line 75) | class ContentSubmission: class HumanApprovalRequest (line 85) | class HumanApprovalRequest: class HumanApprovalResponse (line 100) | class HumanApprovalResponse(BaseModel): class ModerationResult (line 111) | class ModerationResult: class AnalysisWithSubmission (line 147) | class AnalysisWithSubmission: class ContentAnalyzerExecutor (line 154) | class ContentAnalyzerExecutor(Executor): method __init__ (line 157) | def __init__(self): method handle_analysis (line 161) | async def handle_analysis( class HumanReviewExecutor (line 183) | class HumanReviewExecutor(Executor): method __init__ (line 192) | def __init__(self): method request_review (line 196) | async def request_review( method handle_approval_response (line 245) | async def handle_approval_response( class PublishExecutor (line 276) | class PublishExecutor(Executor): method __init__ (line 279) | def __init__(self): method handle_result (line 283) | async def handle_result( function _build_client_kwargs (line 309) | def _build_client_kwargs() -> dict[str, Any]: class InputRouterExecutor (line 333) | class InputRouterExecutor(Executor): method __init__ (line 336) | def __init__(self): method route_input (line 340) | async def route_input( function _create_workflow (line 379) | def _create_workflow() -> Workflow: function launch (line 416) | def launch(durable: bool = True) -> AgentFunctionApp | None: FILE: python/samples/04-hosting/durabletask/01_single_agent/client.py function get_client (line 32) | def get_client( function run_client (line 64) | def run_client(agent_client: DurableAIAgentClient) -> None: function main (line 107) | async def main() -> None: FILE: python/samples/04-hosting/durabletask/01_single_agent/sample.py function main (line 30) | def main(): FILE: python/samples/04-hosting/durabletask/01_single_agent/worker.py function create_joker_agent (line 32) | def create_joker_agent() -> Agent: function get_worker (line 44) | def get_worker( function setup_worker (line 74) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 97) | async def main(): FILE: python/samples/04-hosting/durabletask/02_multi_agent/client.py function get_client (line 33) | def get_client( function run_client (line 65) | def run_client(agent_client: DurableAIAgentClient) -> None: function main (line 104) | async def main() -> None: FILE: python/samples/04-hosting/durabletask/02_multi_agent/sample.py function main (line 30) | def main(): FILE: python/samples/04-hosting/durabletask/02_multi_agent/worker.py function get_weather (line 39) | def get_weather(location: str) -> dict[str, Any]: function calculate_tip (line 53) | def calculate_tip(bill_amount: float, tip_percentage: float = 15.0) -> d... function create_weather_agent (line 68) | def create_weather_agent(): function create_math_agent (line 81) | def create_math_agent(): function get_worker (line 94) | def get_worker( function setup_worker (line 124) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 149) | async def main(): FILE: python/samples/04-hosting/durabletask/03_single_agent_streaming/client.py function get_stream_handler (line 41) | async def get_stream_handler() -> RedisStreamResponseHandler: function get_client (line 60) | def get_client( function stream_from_redis (line 92) | async def stream_from_redis(thread_id: str, cursor: str | None = None) -... function run_client (line 137) | def run_client(agent_client: DurableAIAgentClient) -> None: FILE: python/samples/04-hosting/durabletask/03_single_agent_streaming/redis_stream_response_handler.py class StreamChunk (line 19) | class StreamChunk: class RedisStreamResponseHandler (line 35) | class RedisStreamResponseHandler: method __init__ (line 50) | def __init__(self, redis_client: aioredis.Redis, stream_ttl: timedelta): method __aenter__ (line 60) | async def __aenter__(self): method __aexit__ (line 64) | async def __aexit__( method write_chunk (line 70) | async def write_chunk( method write_completion (line 94) | async def write_completion( method read_stream (line 117) | async def read_stream( method _get_stream_key (line 194) | def _get_stream_key(conversation_id: str) -> str: FILE: python/samples/04-hosting/durabletask/03_single_agent_streaming/sample.py function main (line 33) | def main(): FILE: python/samples/04-hosting/durabletask/03_single_agent_streaming/tools.py function get_weather_forecast (line 14) | def get_weather_forecast( function get_local_events (line 71) | def get_local_events( function _get_weather_recommendation (line 147) | def _get_weather_recommendation(condition: str) -> str: FILE: python/samples/04-hosting/durabletask/03_single_agent_streaming/worker.py function get_stream_handler (line 46) | async def get_stream_handler() -> RedisStreamResponseHandler: class RedisStreamCallback (line 65) | class RedisStreamCallback(AgentResponseCallbackProtocol): method __init__ (line 71) | def __init__(self) -> None: method on_streaming_response_update (line 74) | async def on_streaming_response_update( method on_agent_response (line 119) | async def on_agent_response(self, response: object, context: AgentCall... function create_travel_agent (line 150) | def create_travel_agent() -> "Agent": function get_worker (line 175) | def get_worker( function setup_worker (line 205) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 230) | async def main(): FILE: python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/client.py function get_client (line 29) | def get_client( function run_client (line 59) | def run_client(client: DurableTaskSchedulerClient) -> None: function main (line 97) | async def main() -> None: FILE: python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/sample.py function main (line 36) | def main(): FILE: python/samples/04-hosting/durabletask/04_single_agent_orchestration_chaining/worker.py function create_writer_agent (line 38) | def create_writer_agent() -> "Agent": function get_orchestration (line 58) | def get_orchestration(): function single_agent_chaining_orchestration (line 67) | def single_agent_chaining_orchestration( function get_worker (line 123) | def get_worker( function setup_worker (line 153) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 180) | async def main(): FILE: python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/client.py function get_client (line 29) | def get_client( function run_client (line 59) | def run_client(client: DurableTaskSchedulerClient, prompt: str = "What i... function main (line 98) | async def main() -> None: FILE: python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/sample.py function main (line 33) | def main(): FILE: python/samples/04-hosting/durabletask/05_multi_agent_orchestration_concurrency/worker.py function create_physicist_agent (line 40) | def create_physicist_agent() -> "Agent": function create_chemist_agent (line 52) | def create_chemist_agent() -> "Agent": function multi_agent_concurrent_orchestration (line 64) | def multi_agent_concurrent_orchestration( function get_worker (line 122) | def get_worker( function setup_worker (line 152) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 182) | async def main(): FILE: python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/client.py function get_client (line 27) | def get_client( function run_client (line 57) | def run_client( function main (line 108) | async def main() -> None: FILE: python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/sample.py function main (line 32) | def main(): FILE: python/samples/04-hosting/durabletask/06_multi_agent_orchestration_conditionals/worker.py class SpamDetectionResult (line 41) | class SpamDetectionResult(BaseModel): class EmailResponse (line 48) | class EmailResponse(BaseModel): class EmailPayload (line 54) | class EmailPayload(BaseModel): function create_spam_agent (line 61) | def create_spam_agent() -> "Agent": function create_email_agent (line 73) | def create_email_agent() -> "Agent": function handle_spam_email (line 85) | def handle_spam_email(context: ActivityContext, reason: str) -> str: function send_email (line 99) | def send_email(context: ActivityContext, message: str) -> str: function spam_detection_orchestration (line 113) | def spam_detection_orchestration(context: OrchestrationContext, payload_... function get_worker (line 204) | def get_worker( function setup_worker (line 234) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 271) | async def main(): FILE: python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/client.py function get_client (line 33) | def get_client( function _log_completion_result (line 63) | def _log_completion_result( function _wait_and_log_completion (line 91) | def _wait_and_log_completion(client: DurableTaskSchedulerClient, instanc... function send_approval (line 105) | def send_approval(client: DurableTaskSchedulerClient, instance_id: str, ... function wait_for_notification (line 126) | def wait_for_notification(client: DurableTaskSchedulerClient, instance_i... function run_interactive_client (line 180) | def run_interactive_client(client: DurableTaskSchedulerClient) -> None: function main (line 265) | async def main() -> None: FILE: python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/sample.py function main (line 32) | def main(): FILE: python/samples/04-hosting/durabletask/07_single_agent_orchestration_hitl/worker.py class ContentGenerationInput (line 42) | class ContentGenerationInput(BaseModel): class GeneratedContent (line 50) | class GeneratedContent(BaseModel): class HumanApproval (line 57) | class HumanApproval(BaseModel): function create_writer_agent (line 64) | def create_writer_agent() -> "Agent": function notify_user_for_approval (line 83) | def notify_user_for_approval(context: ActivityContext, content: dict[str... function publish_content (line 98) | def publish_content(context: ActivityContext, content: dict[str, str]) -... function content_generation_hitl_orchestration (line 112) | def content_generation_hitl_orchestration( function get_worker (line 282) | def get_worker( function setup_worker (line 312) | def setup_worker(worker: DurableTaskSchedulerWorker) -> DurableAIAgentWo... function main (line 346) | async def main(): FILE: python/samples/05-end-to-end/chatkit-integration/app.py class WeatherResponse (line 106) | class WeatherResponse(str): method __new__ (line 109) | def __new__(cls, text: str, weather_data: WeatherData): function stream_widget (line 115) | async def stream_widget( function get_weather (line 150) | def get_weather( function get_time (line 189) | def get_time() -> str: function show_city_selector (line 197) | def show_city_selector() -> str: class WeatherChatKitServer (line 209) | class WeatherChatKitServer(ChatKitServer[dict[str, Any]]): method __init__ (line 216) | def __init__(self, data_store: SQLiteStore, attachment_store: FileBase... method _fetch_attachment_data (line 249) | async def _fetch_attachment_data(self, attachment_id: str) -> bytes: method _update_thread_title (line 260) | async def _update_thread_title( method respond (line 337) | async def respond( method action (line 449) | async def action( function chatkit_endpoint (line 551) | async def chatkit_endpoint(request: Request): function upload_file (line 580) | async def upload_file(attachment_id: str, file: UploadFile = File(...)):... function preview_image (line 616) | async def preview_image(attachment_id: str): FILE: python/samples/05-end-to-end/chatkit-integration/attachment_store.py class FileBasedAttachmentStore (line 21) | class FileBasedAttachmentStore(AttachmentStore[dict[str, Any]]): method __init__ (line 38) | def __init__( method get_file_path (line 58) | def get_file_path(self, attachment_id: str) -> Path: method delete_attachment (line 62) | async def delete_attachment(self, attachment_id: str, context: dict[st... method create_attachment (line 68) | async def create_attachment(self, input: AttachmentCreateParams, conte... method read_attachment_bytes (line 109) | async def read_attachment_bytes(self, attachment_id: str) -> bytes: FILE: python/samples/05-end-to-end/chatkit-integration/frontend/src/App.tsx constant CHATKIT_API_URL (line 3) | const CHATKIT_API_URL = "/chatkit"; constant CHATKIT_API_DOMAIN_KEY (line 10) | const CHATKIT_API_DOMAIN_KEY = function App (line 13) | function App() { FILE: python/samples/05-end-to-end/chatkit-integration/store.py class ThreadData (line 23) | class ThreadData(BaseModel): class ItemData (line 29) | class ItemData(BaseModel): class AttachmentData (line 35) | class AttachmentData(BaseModel): class SQLiteStore (line 41) | class SQLiteStore(Store[dict[str, Any]]): method __init__ (line 57) | def __init__(self, db_path: str | None = None): method _create_connection (line 61) | def _create_connection(self): method _create_tables (line 67) | def _create_tables(self): method generate_thread_id (line 100) | def generate_thread_id(self, context: dict[str, Any]) -> str: method generate_item_id (line 103) | def generate_item_id( method load_thread (line 119) | async def load_thread(self, thread_id: str, context: dict[str, Any]) -... method save_thread (line 134) | async def save_thread(self, thread: ThreadMetadata, context: dict[str,... method load_thread_items (line 156) | async def load_thread_items( method save_attachment (line 199) | async def save_attachment(self, attachment: Attachment, context: dict[... method load_attachment (line 214) | async def load_attachment(self, attachment_id: str, context: dict[str,... method delete_attachment (line 229) | async def delete_attachment(self, attachment_id: str, context: dict[st... method load_threads (line 239) | async def load_threads( method add_thread_item (line 278) | async def add_thread_item(self, thread_id: str, item: ThreadItem, cont... method save_item (line 295) | async def save_item(self, thread_id: str, item: ThreadItem, context: d... method load_item (line 311) | async def load_item(self, thread_id: str, item_id: str, context: dict[... method delete_thread (line 326) | async def delete_thread(self, thread_id: str, context: dict[str, Any])... method delete_thread_item (line 340) | async def delete_thread_item(self, thread_id: str, item_id: str, conte... FILE: python/samples/05-end-to-end/chatkit-integration/weather_widget.py function _sun_svg (line 32) | def _sun_svg() -> str: function _cloud_svg (line 53) | def _cloud_svg() -> str: function _rain_svg (line 65) | def _rain_svg() -> str: function _storm_svg (line 82) | def _storm_svg() -> str: function _snow_svg (line 96) | def _snow_svg() -> str: function _fog_svg (line 116) | def _fog_svg() -> str: function _encode_svg (line 132) | def _encode_svg(svg: str) -> str: class WeatherData (line 152) | class WeatherData: function render_weather_widget (line 162) | def render_weather_widget(data: WeatherData) -> WidgetRoot: function _detail_chip (line 264) | def _detail_chip(label: str, value: str) -> Box: function weather_widget_copy_text (line 293) | def weather_widget_copy_text(data: WeatherData) -> str: function render_city_selector_widget (line 311) | def render_city_selector_widget() -> WidgetRoot: function city_selector_copy_text (line 429) | def city_selector_copy_text() -> str: FILE: python/samples/05-end-to-end/evaluation/red_teaming/red_team_agent_sample.py function main (line 44) | async def main() -> None: FILE: python/samples/05-end-to-end/evaluation/self_reflection/self_reflection.py function create_openai_client (line 89) | def create_openai_client(): function create_async_project_client (line 96) | def create_async_project_client(): function create_eval (line 103) | def create_eval(client: openai.OpenAI, judge_model: str) -> openai.types... function run_eval (line 136) | def run_eval( function execute_query_with_self_reflection (line 182) | async def execute_query_with_self_reflection( function run_self_reflection_batch (line 295) | async def run_self_reflection_batch( function main (line 490) | async def main(): FILE: python/samples/05-end-to-end/hosted_agents/agent_with_hosted_mcp/main.py function main (line 12) | def main(): FILE: python/samples/05-end-to-end/hosted_agents/agent_with_local_tools/main.py function get_available_hotels (line 72) | def get_available_hotels( function get_credential (line 118) | def get_credential(): function main (line 127) | async def main(): FILE: python/samples/05-end-to-end/hosted_agents/agent_with_text_search_rag/main.py class TextSearchResult (line 25) | class TextSearchResult: class TextSearchContextProvider (line 31) | class TextSearchContextProvider(BaseContextProvider): method __init__ (line 34) | def __init__(self): method _get_most_recent_message (line 37) | def _get_most_recent_message(self, messages: list[Message]) -> Message: method before_run (line 44) | async def before_run( function main (line 106) | def main(): FILE: python/samples/05-end-to-end/hosted_agents/agents_in_workflow/main.py function main (line 13) | def main(): FILE: python/samples/05-end-to-end/hosted_agents/writer_reviewer_agents_in_workflow/main.py function get_credential (line 25) | def get_credential(): function create_agents (line 35) | async def create_agents(): function create_workflow (line 53) | def create_workflow(writer, reviewer): function main (line 58) | async def main() -> None: FILE: python/samples/05-end-to-end/m365-agent/m365_agent_demo/app.py class AppConfig (line 64) | class AppConfig: function load_app_config (line 70) | def load_app_config() -> AppConfig: function get_weather (line 88) | def get_weather( function build_agent (line 102) | def build_agent() -> Agent: function build_connection_manager (line 109) | def build_connection_manager(config: AppConfig) -> MsalConnectionManager... function build_adapter (line 122) | def build_adapter(connection_manager: MsalConnectionManager | None) -> C... function build_authorization (line 127) | def build_authorization( function build_agent_application (line 144) | def build_agent_application( function build_anonymous_claims_middleware (line 165) | def build_anonymous_claims_middleware(use_anonymous_mode: bool): function create_app (line 191) | def create_app(config: AppConfig) -> web.Application: function main (line 238) | def main() -> None: FILE: python/samples/05-end-to-end/purview_agent/sample_purview_agent.py class SimpleDictCacheProvider (line 50) | class SimpleDictCacheProvider: method __init__ (line 56) | def __init__(self) -> None: method get (line 61) | async def get(self, key: str) -> Any | None: method set (line 78) | async def set(self, key: str, value: Any, ttl_seconds: int | None = No... method remove (line 89) | async def remove(self, key: str) -> None: function _get_env (line 101) | def _get_env(name: str, *, required: bool = True, default: str | None = ... function build_credential (line 108) | def build_credential() -> Any: function run_with_agent_middleware (line 140) | async def run_with_agent_middleware() -> None: function run_with_chat_middleware (line 176) | async def run_with_chat_middleware() -> None: function run_with_custom_cache_provider (line 225) | async def run_with_custom_cache_provider() -> None: function main (line 307) | async def main() -> None: FILE: python/samples/05-end-to-end/workflow_evaluation/_tools.py function search_hotels (line 17) | def search_hotels( function get_hotel_details (line 87) | def get_hotel_details( function search_flights (line 162) | def search_flights( function get_flight_details (line 290) | def get_flight_details( function search_activities (line 325) | def search_activities( function get_activity_details (line 468) | def get_activity_details( function confirm_booking (line 557) | def confirm_booking( function check_hotel_availability (line 589) | def check_hotel_availability( function check_flight_availability (line 622) | def check_flight_availability( function check_activity_availability (line 653) | def check_activity_availability( function process_payment (line 684) | def process_payment( function validate_payment_method (line 715) | def validate_payment_method( FILE: python/samples/05-end-to-end/workflow_evaluation/create_workflow.py function start_executor (line 69) | async def start_executor(input: str, ctx: WorkflowContext[list[Message]]... class ResearchLead (line 74) | class ResearchLead(Executor): method __init__ (line 77) | def __init__(self, client: AzureOpenAIResponsesClient, id: str = "trav... method fan_in_handle (line 94) | async def fan_in_handle(self, responses: list[AgentExecutorResponse], ... method _extract_agent_findings (line 127) | def _extract_agent_findings(self, responses: list[AgentExecutorRespons... function run_workflow_with_response_tracking (line 145) | async def run_workflow_with_response_tracking( function _run_workflow_with_client (line 176) | async def _run_workflow_with_client(query: str, client: AzureOpenAIRespo... function _create_workflow (line 208) | async def _create_workflow(client: AzureOpenAIResponsesClient): function _track_agent_ids (line 322) | def _track_agent_ids(event, agent, response_ids, conversation_ids): function create_and_run_workflow (line 341) | async def create_and_run_workflow(deployment_name: str | None = None): FILE: python/samples/05-end-to-end/workflow_evaluation/run_evaluation.py function create_openai_client (line 34) | def create_openai_client() -> OpenAI: function print_section (line 42) | def print_section(title: str): function run_workflow (line 49) | async def run_workflow(deployment_name: str | None = None) -> dict[str, ... function display_response_summary (line 67) | def display_response_summary(workflow_data: dict) -> None: function fetch_agent_responses (line 77) | def fetch_agent_responses(openai_client: OpenAI, workflow_data: dict[str... function create_evaluation (line 100) | def create_evaluation(openai_client: OpenAI, deployment_name: str | None... function run_evaluation (line 145) | def run_evaluation( function monitor_evaluation (line 179) | def monitor_evaluation(openai_client: OpenAI, eval_object: EvalCreateRes... function main (line 196) | async def main(): FILE: python/samples/autogen-migration/orchestrations/01_round_robin_group_chat.py function run_autogen (line 27) | async def run_autogen() -> None: function run_agent_framework (line 71) | async def run_agent_framework() -> None: function run_agent_framework_with_cycle (line 107) | async def run_agent_framework_with_cycle() -> None: function main (line 182) | async def main() -> None: FILE: python/samples/autogen-migration/orchestrations/02_selector_group_chat.py function run_autogen (line 27) | async def run_autogen() -> None: function run_agent_framework (line 77) | async def run_agent_framework() -> None: function main (line 122) | async def main() -> None: FILE: python/samples/autogen-migration/orchestrations/03_swarm.py function run_autogen (line 28) | async def run_autogen() -> None: function run_agent_framework (line 114) | async def run_agent_framework() -> None: function main (line 242) | async def main() -> None: FILE: python/samples/autogen-migration/orchestrations/04_magentic_one.py function run_autogen (line 34) | async def run_autogen() -> None: function run_agent_framework (line 82) | async def run_agent_framework() -> None: function main (line 164) | async def main() -> None: FILE: python/samples/autogen-migration/single_agent/01_basic_assistant_agent.py function run_autogen (line 27) | async def run_autogen() -> None: function run_agent_framework (line 46) | async def run_agent_framework() -> None: function main (line 62) | async def main() -> None: FILE: python/samples/autogen-migration/single_agent/02_assistant_agent_with_tool.py function run_autogen (line 26) | async def run_autogen() -> None: function run_agent_framework (line 65) | async def run_agent_framework() -> None: function main (line 97) | async def main() -> None: FILE: python/samples/autogen-migration/single_agent/03_assistant_agent_thread_and_stream.py function run_autogen (line 25) | async def run_autogen() -> None: function run_agent_framework (line 54) | async def run_agent_framework() -> None: function main (line 85) | async def main() -> None: FILE: python/samples/autogen-migration/single_agent/04_agent_as_tool.py function run_autogen (line 26) | async def run_autogen() -> None: function run_agent_framework (line 65) | async def run_agent_framework() -> None: function main (line 134) | async def main() -> None: FILE: python/samples/demos/ag_ui_workflow_handoff/backend/server.py function submit_refund (line 40) | def submit_refund(refund_description: str, amount: str, order_id: str) -... function submit_replacement (line 46) | def submit_replacement(order_id: str, shipping_preference: str, replacem... function lookup_order_details (line 54) | def lookup_order_details(order_id: str) -> dict[str, str]: function create_agents (line 80) | def create_agents() -> tuple[Agent, Agent, Agent]: function _termination_condition (line 157) | def _termination_condition(conversation: list[Message]) -> bool: function create_handoff_workflow (line 169) | def create_handoff_workflow() -> Workflow: function create_app (line 218) | def create_app() -> FastAPI: function main (line 256) | def main() -> None: FILE: python/samples/demos/ag_ui_workflow_handoff/frontend/src/App.tsx type AgUiEvent (line 5) | type AgUiEvent = Record & { type: string }; type AgentId (line 7) | type AgentId = "triage_agent" | "refund_agent" | "order_agent"; type Interrupt (line 9) | interface Interrupt { type RequestInfoPayload (line 14) | interface RequestInfoPayload { type DisplayMessage (line 22) | interface DisplayMessage { type CaseSnapshot (line 28) | interface CaseSnapshot { type UsageDiagnostics (line 35) | interface UsageDiagnostics { constant KNOWN_AGENTS (line 44) | const KNOWN_AGENTS: AgentId[] = ["triage_agent", "refund_agent", "order_... constant AGENT_LABELS (line 46) | const AGENT_LABELS: Record = { constant STARTER_PROMPTS (line 52) | const STARTER_PROMPTS = [ function randomId (line 57) | function randomId(): string { function isObject (line 64) | function isObject(value: unknown): value is Record { function getValue (line 68) | function getValue(source: Record, ...keys: string[]): u... function getString (line 77) | function getString(source: Record, ...keys: string[]): ... function getObject (line 82) | function getObject(source: Record, ...keys: string[]): ... function safeParseJson (line 87) | function safeParseJson(value: string): unknown { function extractTextFromMessagePayload (line 95) | function extractTextFromMessagePayload(messagePayload: unknown): string { function extractPromptFromInterrupt (line 126) | function extractPromptFromInterrupt(interrupt: Interrupt, payload?: Requ... function extractFunctionCallFromInterrupt (line 162) | function extractFunctionCallFromInterrupt(interrupt: Interrupt): Record<... function parseFunctionArguments (line 174) | function parseFunctionArguments(functionCall: Record | ... function interruptKind (line 192) | function interruptKind(interrupt: Interrupt): "approval" | "handoff_inpu... function normalizeRole (line 205) | function normalizeRole(role: unknown): "assistant" | "user" | "system" { function normalizeTextForDedupe (line 212) | function normalizeTextForDedupe(text: string): string { function normalizeShippingPreference (line 216) | function normalizeShippingPreference(text: string): string | null { function getFiniteNumber (line 233) | function getFiniteNumber(value: unknown): number | undefined { function normalizeUsagePayload (line 243) | function normalizeUsagePayload(value: unknown, runId: string | null): Us... function App (line 258) | function App(): JSX.Element { FILE: python/samples/semantic-kernel-migration/azure_ai_agent/01_basic_azure_ai_agent.py function run_semantic_kernel (line 26) | async def run_semantic_kernel() -> None: function run_agent_framework (line 43) | async def run_agent_framework() -> None: function main (line 59) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/azure_ai_agent/02_azure_ai_agent_with_code_interpreter.py function run_semantic_kernel (line 26) | async def run_semantic_kernel() -> None: function run_agent_framework (line 46) | async def run_agent_framework() -> None: function main (line 70) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/azure_ai_agent/03_azure_ai_agent_threads_and_followups.py function run_semantic_kernel (line 21) | async def run_semantic_kernel() -> None: function run_agent_framework (line 49) | async def run_agent_framework() -> None: function main (line 75) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/chat_completion/01_basic_chat_completion.py function run_semantic_kernel (line 26) | async def run_semantic_kernel() -> None: function run_agent_framework (line 42) | async def run_agent_framework() -> None: function main (line 55) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/chat_completion/02_chat_completion_with_tool.py function run_semantic_kernel (line 25) | async def run_semantic_kernel() -> None: function run_agent_framework (line 50) | async def run_agent_framework() -> None: function main (line 73) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/chat_completion/03_chat_completion_thread_and_stream.py function run_semantic_kernel (line 25) | async def run_semantic_kernel() -> None: function run_agent_framework (line 53) | async def run_agent_framework() -> None: function main (line 80) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/copilot_studio/01_basic_copilot_studio_agent.py function run_semantic_kernel (line 21) | async def run_semantic_kernel() -> None: function run_agent_framework (line 33) | async def run_agent_framework() -> None: function main (line 45) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/copilot_studio/02_copilot_studio_streaming.py function run_semantic_kernel (line 21) | async def run_semantic_kernel() -> None: function run_agent_framework (line 36) | async def run_agent_framework() -> None: function main (line 51) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/openai_assistant/01_basic_openai_assistant.py function run_semantic_kernel (line 24) | async def run_semantic_kernel() -> None: function run_agent_framework (line 44) | async def run_agent_framework() -> None: function main (line 64) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/openai_assistant/02_openai_assistant_with_code_interpreter.py function run_semantic_kernel (line 21) | async def run_semantic_kernel() -> None: function run_agent_framework (line 44) | async def run_agent_framework() -> None: function main (line 66) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/openai_assistant/03_openai_assistant_function_tool.py function fake_weather_lookup (line 25) | async def fake_weather_lookup(city: str, day: str) -> dict[str, Any]: function run_semantic_kernel (line 37) | async def run_semantic_kernel() -> None: function run_agent_framework (line 71) | async def run_agent_framework() -> None: function main (line 97) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/openai_responses/01_basic_responses_agent.py function run_semantic_kernel (line 21) | async def run_semantic_kernel() -> None: function run_agent_framework (line 37) | async def run_agent_framework() -> None: function main (line 51) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/openai_responses/02_responses_agent_with_tool.py function run_semantic_kernel (line 21) | async def run_semantic_kernel() -> None: function run_agent_framework (line 44) | async def run_agent_framework() -> None: function main (line 63) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/openai_responses/03_responses_agent_structured_output.py class ReleaseBrief (line 22) | class ReleaseBrief(BaseModel): function run_semantic_kernel (line 28) | async def run_semantic_kernel() -> None: function run_agent_framework (line 47) | async def run_agent_framework() -> None: function main (line 64) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/orchestrations/concurrent_basic.py function build_semantic_kernel_agents (line 39) | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: function run_semantic_kernel_example (line 57) | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessa... function _print_semantic_kernel_outputs (line 75) | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]... function run_agent_framework_example (line 91) | async def run_agent_framework_example(prompt: str) -> Sequence[list[Mess... function _print_agent_framework_outputs (line 114) | def _print_agent_framework_outputs(conversations: Sequence[Sequence[Mess... function main (line 128) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/orchestrations/group_chat.py function build_semantic_kernel_agents (line 57) | def build_semantic_kernel_agents() -> list[ChatCompletionAgent]: class ChatCompletionGroupChatManager (line 82) | class ChatCompletionGroupChatManager(GroupChatManager): method __init__ (line 106) | def __init__(self, *, topic: str, service: ChatCompletionClientBase, m... method _render_prompt (line 110) | async def _render_prompt(self, template: str, **kwargs: Any) -> str: method should_request_user_input (line 115) | async def should_request_user_input(self, chat_history: ChatHistory) -... method should_terminate (line 119) | async def should_terminate(self, chat_history: ChatHistory) -> Boolean... method select_next_agent (line 137) | async def select_next_agent( method filter_results (line 165) | async def filter_results(self, chat_history: ChatHistory) -> MessageRe... function sk_agent_response_callback (line 186) | async def sk_agent_response_callback(message: ChatMessageContent | Seque... function run_semantic_kernel_example (line 198) | async def run_semantic_kernel_example(task: str) -> str: function run_agent_framework_example (line 228) | async def run_agent_framework_example(task: str) -> str: function main (line 266) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/orchestrations/handoff.py class OrderStatusPlugin (line 59) | class OrderStatusPlugin: method check_order_status (line 61) | def check_order_status(self, order_id: str) -> str: class OrderRefundPlugin (line 65) | class OrderRefundPlugin: method process_refund (line 67) | def process_refund(self, order_id: str, reason: str) -> str: class OrderReturnPlugin (line 71) | class OrderReturnPlugin: method process_return (line 73) | def process_return(self, order_id: str, reason: str) -> str: function build_semantic_kernel_agents (line 77) | def build_semantic_kernel_agents() -> tuple[list[Agent], OrchestrationHa... function _sk_streaming_callback (line 129) | def _sk_streaming_callback(message: StreamingChatMessageContent, is_fina... function _make_sk_human_responder (line 151) | def _make_sk_human_responder(script: Iterator[str]) -> callable: function run_semantic_kernel_example (line 163) | async def run_semantic_kernel_example(initial_task: str, scripted_respon... function _create_af_agents (line 192) | def _create_af_agents(client: AzureOpenAIChatClient): function _drain_events (line 223) | async def _drain_events(stream: AsyncIterable[WorkflowEvent]) -> list[Wo... function _collect_handoff_requests (line 227) | def _collect_handoff_requests(events: list[WorkflowEvent]) -> list[Workf... function _extract_final_conversation (line 235) | def _extract_final_conversation(events: list[WorkflowEvent]) -> list[Mes... function run_agent_framework_example (line 243) | async def run_agent_framework_example(initial_task: str, scripted_respon... function main (line 295) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/orchestrations/magentic.py function build_semantic_kernel_agents (line 49) | async def build_semantic_kernel_agents() -> list: function sk_agent_response_callback (line 79) | def sk_agent_response_callback( function run_semantic_kernel_example (line 94) | async def run_semantic_kernel_example(prompt: str) -> Sequence[ChatMessa... function _print_semantic_kernel_outputs (line 117) | def _print_semantic_kernel_outputs(outputs: Sequence[ChatMessageContent]... function run_agent_framework_example (line 133) | async def run_agent_framework_example(prompt: str) -> str | None: function _print_agent_framework_output (line 181) | def _print_agent_framework_output(result: str | None) -> None: function main (line 190) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/orchestrations/sequential.py function build_semantic_kernel_agents (line 39) | def build_semantic_kernel_agents() -> list[Agent]: function sk_agent_response_callback (line 57) | async def sk_agent_response_callback( function run_agent_framework_example (line 77) | async def run_agent_framework_example(prompt: str) -> list[Message]: function run_semantic_kernel_example (line 100) | async def run_semantic_kernel_example(prompt: str) -> str: function _format_conversation (line 119) | def _format_conversation(conversation: list[Message]) -> None: function main (line 131) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/processes/fan_out_fan_in_process.py function _start_local_kernel_process (line 47) | async def _start_local_kernel_process( class CommonEvents (line 67) | class CommonEvents(Enum): class KickOffStep (line 87) | class KickOffStep(KernelProcessStep[None]): method print_welcome_message (line 91) | async def print_welcome_message(self, context: KernelProcessStepContext): class AStep (line 96) | class AStep(KernelProcessStep[None]): method do_it (line 98) | async def do_it(self, context: KernelProcessStepContext): class BStep (line 103) | class BStep(KernelProcessStep[None]): method do_it (line 105) | async def do_it(self, context: KernelProcessStepContext): class CStepState (line 110) | class CStepState(BaseModel): class CStep (line 114) | class CStep(KernelProcessStep[CStepState]): method activate (line 117) | async def activate(self, state: KernelProcessStepState[CStepState]): method do_it (line 121) | async def do_it(self, context: KernelProcessStepContext, astepdata: st... function run_semantic_kernel_process_example (line 134) | async def run_semantic_kernel_process_example() -> None: class StepResult (line 177) | class StepResult: class KickOffExecutor (line 183) | class KickOffExecutor(Executor): method __init__ (line 184) | def __init__(self, *, id: str = "kickoff") -> None: method handle (line 189) | async def handle(self, event: CommonEvents, ctx: WorkflowContext[int])... class DelayedStepExecutor (line 196) | class DelayedStepExecutor(Executor): method __init__ (line 197) | def __init__(self, *, name: str, delay_seconds: float) -> None: method handle (line 203) | async def handle(self, cycle: int, ctx: WorkflowContext[StepResult]) -... class FanInExecutor (line 208) | class FanInExecutor(Executor): method __init__ (line 209) | def __init__(self, *, required_cycles: int = 3, id: str = "fanin") -> ... method handle (line 215) | async def handle(self, results: list[StepResult], ctx: WorkflowContext... function run_agent_framework_workflow_example (line 230) | async def run_agent_framework_workflow_example() -> str | None: function main (line 253) | async def main() -> None: FILE: python/samples/semantic-kernel-migration/processes/nested_process.py class ProcessEvents (line 58) | class ProcessEvents(Enum): class StepState (line 70) | class StepState(BaseModel): class EchoStep (line 74) | class EchoStep(KernelProcessStep[None]): method echo (line 78) | async def echo(self, message: str) -> str: class RepeatStep (line 83) | class RepeatStep(KernelProcessStep[StepState]): method activate (line 88) | async def activate(self, state: KernelProcessStepState[StepState]): method repeat (line 92) | async def repeat( function _create_linear_process (line 114) | def _create_linear_process(name: str) -> ProcessBuilder: function run_semantic_kernel_nested_process (line 132) | async def run_semantic_kernel_nested_process() -> None: class RepeatPayload (line 174) | class RepeatPayload: class KickoffExecutor (line 179) | class KickoffExecutor(Executor): method __init__ (line 180) | def __init__(self) -> None: method start (line 184) | async def start(self, message: str, ctx: WorkflowContext[RepeatPayload... class OuterEchoExecutor (line 189) | class OuterEchoExecutor(Executor): method __init__ (line 190) | def __init__(self) -> None: method echo (line 194) | async def echo(self, payload: RepeatPayload, ctx: WorkflowContext[Repe... class OuterRepeatExecutor (line 199) | class OuterRepeatExecutor(Executor): method __init__ (line 200) | def __init__(self, *, inner_target_id: str) -> None: method repeat (line 205) | async def repeat(self, payload: RepeatPayload, ctx: WorkflowContext[Re... class InnerEchoExecutor (line 211) | class InnerEchoExecutor(Executor): method __init__ (line 212) | def __init__(self) -> None: method echo (line 216) | async def echo(self, payload: RepeatPayload, ctx: WorkflowContext[Repe... class InnerRepeatExecutor (line 221) | class InnerRepeatExecutor(Executor): method __init__ (line 222) | def __init__(self) -> None: method repeat (line 226) | async def repeat(self, payload: RepeatPayload, ctx: WorkflowContext[Ne... class CollectResultExecutor (line 232) | class CollectResultExecutor(Executor): method __init__ (line 233) | def __init__(self) -> None: method collect (line 237) | async def collect(self, result: str, ctx: WorkflowContext[Never, str])... function _build_inner_workflow (line 242) | def _build_inner_workflow() -> WorkflowExecutor: function run_agent_framework_nested_workflow (line 251) | async def run_agent_framework_nested_workflow(initial_message: str) -> S... function main (line 281) | async def main() -> None: FILE: python/scripts/check_md_code_blocks.py class Colors (line 22) | class Colors(str, Enum): function with_color (line 32) | def with_color(text: str, color: Colors) -> str: function expand_file_patterns (line 37) | def expand_file_patterns(patterns: list[str], skip_glob: bool = False) -... function extract_python_code_blocks (line 54) | def extract_python_code_blocks(markdown_file_path: str) -> list[tuple[st... function check_code_blocks (line 76) | def check_code_blocks(markdown_file_paths: list[str], exclude_patterns: ... FILE: python/scripts/dependencies/_dependency_bounds_lower_impl.py class RequirementEntry (line 44) | class RequirementEntry: method with_lower (line 59) | def with_lower(self, lower: Version) -> str: class DependencyTarget (line 76) | class DependencyTarget: method original_requirements (line 86) | def original_requirements(self) -> list[str]: class DependencyAttempt (line 92) | class DependencyAttempt: class DependencyOutcome (line 101) | class DependencyOutcome: class PackagePlan (line 115) | class PackagePlan: class PackageOutcome (line 128) | class PackageOutcome: function _utc_now (line 141) | def _utc_now() -> str: function _truncate_error (line 145) | def _truncate_error(stdout: str, stderr: str, *, max_chars: int = 2000) ... function _parse_requirement (line 152) | def _parse_requirement(requirement: str) -> RequirementEntry | None: function _is_dependency_array_assignment (line 228) | def _is_dependency_array_assignment(section: str, key: str) -> bool: function _extract_inline_array_items (line 234) | def _extract_inline_array_items(array_body: str) -> list[str] | None: function _format_dependency_arrays_multiline (line 242) | def _format_dependency_arrays_multiline(path: Path) -> None: function _replace_requirements (line 291) | def _replace_requirements(path: Path, replacements: list[tuple[str, str]... function _load_lock_versions (line 312) | def _load_lock_versions(workspace_root: Path) -> dict[str, list[Version]]: class VersionCatalog (line 332) | class VersionCatalog: method __init__ (line 335) | def __init__(self, lock_versions: dict[str, list[Version]], source: st... method get (line 342) | def get(self, package_name: str) -> list[Version]: method _fetch (line 353) | def _fetch(self, package_name: str) -> list[Version]: function _load_package_name (line 380) | def _load_package_name(pyproject_file: Path) -> str: function _extract_requirement_name (line 386) | def _extract_requirement_name(requirement: str) -> str | None: function _select_validation_tasks (line 393) | def _select_validation_tasks(available_tasks: set[str]) -> list[str]: function _build_workspace_package_map (line 403) | def _build_workspace_package_map(workspace_root: Path) -> dict[str, Path]: function _build_internal_graph (line 414) | def _build_internal_graph(workspace_root: Path, package_map: dict[str, P... function _resolve_internal_editables (line 440) | def _resolve_internal_editables( function _collect_targets (line 459) | def _collect_targets( function _build_trial_lower_bounds (line 538) | def _build_trial_lower_bounds( function _run_tasks (line 566) | def _run_tasks( function _optimize_dependency (line 632) | def _optimize_dependency( function _process_package (line 774) | def _process_package( function _write_json (line 886) | def _write_json(path: Path, payload: dict) -> None: function _to_json (line 891) | def _to_json(package_outcome: PackageOutcome) -> dict: function _apply_package_replacements (line 922) | def _apply_package_replacements(path: Path, replacements: dict[str, str]... function main (line 929) | def main() -> None: FILE: python/scripts/dependencies/_dependency_bounds_runtime.py function load_runtime_tool_requirements (line 41) | def load_runtime_tool_requirements(workspace_root: str) -> list[str]: function extend_command_with_runtime_tools (line 63) | def extend_command_with_runtime_tools(command: list[str], workspace_root... function extend_command_with_task (line 72) | def extend_command_with_task(command: list[str], task_name: str) -> None: function next_zero_major_minor_boundary (line 81) | def next_zero_major_minor_boundary(version_text: str) -> str: FILE: python/scripts/dependencies/_dependency_bounds_upper_impl.py class RequirementEntry (line 46) | class RequirementEntry: method with_upper (line 60) | def with_upper(self, upper: Version) -> str: class DependencyTarget (line 81) | class DependencyTarget: method original_requirements (line 91) | def original_requirements(self) -> list[str]: class DependencyAttempt (line 97) | class DependencyAttempt: class DependencyOutcome (line 106) | class DependencyOutcome: class PackagePlan (line 120) | class PackagePlan: class PackageOutcome (line 133) | class PackageOutcome: function _utc_now (line 146) | def _utc_now() -> str: function _truncate_error (line 150) | def _truncate_error(stdout: str, stderr: str, *, max_chars: int = 2000) ... function _parse_requirement (line 157) | def _parse_requirement(requirement: str) -> RequirementEntry | None: function _select_latest_dev_version (line 229) | def _select_latest_dev_version(versions: list[Version]) -> Version | None: function _load_workspace_package_versions (line 239) | def _load_workspace_package_versions(workspace_root: str) -> dict[str, V... function _collect_dev_pin_replacements (line 257) | def _collect_dev_pin_replacements( function _is_dependency_array_assignment (line 311) | def _is_dependency_array_assignment(section: str, key: str) -> bool: function _extract_inline_array_items (line 317) | def _extract_inline_array_items(array_body: str) -> list[str] | None: function _format_dependency_arrays_multiline (line 325) | def _format_dependency_arrays_multiline(path: Path) -> None: function _replace_requirements (line 374) | def _replace_requirements(path: Path, replacements: list[tuple[str, str]... function _load_lock_versions (line 395) | def _load_lock_versions(workspace_root: Path) -> dict[str, list[Version]]: class VersionCatalog (line 415) | class VersionCatalog: method __init__ (line 418) | def __init__(self, lock_versions: dict[str, list[Version]], source: st... method get (line 425) | def get(self, package_name: str) -> list[Version]: method get_lock (line 436) | def get_lock(self, package_name: str) -> list[Version]: method _fetch (line 440) | def _fetch(self, package_name: str) -> list[Version]: function _load_package_name (line 467) | def _load_package_name(pyproject_file: Path) -> str: function _extract_requirement_name (line 473) | def _extract_requirement_name(requirement: str) -> str | None: function _select_validation_tasks (line 480) | def _select_validation_tasks(available_tasks: set[str]) -> list[str]: function _build_workspace_package_map (line 490) | def _build_workspace_package_map(workspace_root: Path) -> dict[str, Path]: function _build_internal_graph (line 501) | def _build_internal_graph(workspace_root: Path, package_map: dict[str, P... function _resolve_internal_editables (line 527) | def _resolve_internal_editables( function _collect_targets (line 546) | def _collect_targets( function _build_trial_bounds (line 633) | def _build_trial_bounds( function _select_upper_probe_version (line 683) | def _select_upper_probe_version( function _run_tasks (line 699) | def _run_tasks( function _optimize_dependency (line 764) | def _optimize_dependency( function _process_package (line 925) | def _process_package( function _write_json (line 1037) | def _write_json(path: Path, payload: dict) -> None: function _to_json (line 1042) | def _to_json(package_outcome: PackageOutcome) -> dict: function _apply_package_replacements (line 1073) | def _apply_package_replacements(path: Path, replacements: dict[str, str]... function main (line 1080) | def main() -> None: FILE: python/scripts/dependencies/add_dependency_to_project.py class WorkspacePackage (line 26) | class WorkspacePackage: function _load_distribution_name (line 34) | def _load_distribution_name(pyproject_file: Path) -> str: function _discover_workspace_packages (line 40) | def _discover_workspace_packages(workspace_root: Path) -> list[Workspace... function _resolve_workspace_package (line 60) | def _resolve_workspace_package(workspace_root: Path, project_filter: str... function main (line 83) | def main() -> None: FILE: python/scripts/dependencies/upgrade_dev_dependencies.py class WorkspaceProject (line 25) | class WorkspaceProject: function _read_project_name (line 34) | def _read_project_name(pyproject_file: Path) -> str: function _discover_workspace_projects (line 44) | def _discover_workspace_projects(workspace_root: Path) -> list[Workspace... function _normalize_filter (line 78) | def _normalize_filter(value: str) -> str: function _select_projects (line 84) | def _select_projects(projects: list[WorkspaceProject], package_filters: ... function main (line 103) | def main() -> None: FILE: python/scripts/dependencies/validate_dependency_bounds.py class PackageTestPlan (line 48) | class PackageTestPlan: function _utc_now (line 59) | def _utc_now() -> str: function _truncate_error (line 63) | def _truncate_error(stdout: str, stderr: str, *, max_chars: int = 2000) ... function _write_json (line 70) | def _write_json(path: Path, payload: dict) -> None: function _coerce_subprocess_output (line 75) | def _coerce_subprocess_output(output: str | bytes | None) -> str: function _build_test_plans (line 83) | def _build_test_plans(workspace_root: Path, package_filter: str | None) ... function _run_package_tasks (line 136) | def _run_package_tasks( function _run_test_mode (line 213) | def _run_test_mode( function _build_optimizer_command (line 290) | def _build_optimizer_command( function _run_optimizer_mode (line 327) | def _run_optimizer_mode( function _with_suffix (line 357) | def _with_suffix(path: str | None, suffix: str) -> str | None: function main (line 364) | def main() -> None: FILE: python/scripts/run_tasks_in_changed_packages.py function get_changed_packages (line 15) | def get_changed_packages( function main (line 53) | def main() -> None: FILE: python/scripts/run_tasks_in_packages_if_exists.py function main (line 12) | def main() -> None: FILE: python/scripts/sample_validation/__main__.py function parse_arguments (line 33) | def parse_arguments() -> argparse.Namespace: function main (line 81) | async def main() -> int: FILE: python/scripts/sample_validation/create_dynamic_workflow_executor.py class AgentResponseFormat (line 35) | class AgentResponseFormat(BaseModel): class CoordinatorStart (line 42) | class CoordinatorStart: class WorkerFreed (line 47) | class WorkerFreed: class BatchCompletion (line 51) | class BatchCompletion: function parse_agent_json (line 70) | def parse_agent_json(text: str) -> AgentResponseFormat: function status_from_text (line 84) | def status_from_text(value: str) -> RunStatus: function prompt_permission (line 93) | def prompt_permission( class CustomAgentExecutor (line 104) | class CustomAgentExecutor(Executor): method __init__ (line 111) | def __init__(self, agent: GitHubCopilotAgent): method handle_task (line 116) | async def handle_task( class BatchCoordinatorExecutor (line 151) | class BatchCoordinatorExecutor(Executor): method __init__ (line 154) | def __init__(self, worker_ids: list[str], max_parallel_workers: int) -... method _assign_next (line 161) | async def _assign_next( method on_start (line 178) | async def on_start( method on_worker_freed (line 191) | async def on_worker_freed( class CollectorExecutor (line 199) | class CollectorExecutor(Executor): method __init__ (line 202) | def __init__(self) -> None: method on_all (line 207) | async def on_all( method on_item (line 216) | async def on_item(self, item: RunResult, ctx: WorkflowContext) -> None: class CreateConcurrentValidationWorkflowExecutor (line 221) | class CreateConcurrentValidationWorkflowExecutor(Executor): method __init__ (line 224) | def __init__(self, config: ValidationConfig): method create (line 229) | async def create( FILE: python/scripts/sample_validation/discovery.py function _is_main_entrypoint_guard (line 14) | def _is_main_entrypoint_guard(test: ast.expr) -> bool: function _has_main_entrypoint_guard (line 41) | def _has_main_entrypoint_guard(path: Path) -> bool: function discover_samples (line 55) | def discover_samples(samples_dir: Path, subdir: str | None = None) -> li... class DiscoverSamplesExecutor (line 103) | class DiscoverSamplesExecutor(Executor): method __init__ (line 106) | def __init__(self, config: ValidationConfig): method discover (line 111) | async def discover(self, _: str, ctx: WorkflowContext[DiscoveryResult]... FILE: python/scripts/sample_validation/models.py class ValidationConfig (line 15) | class ValidationConfig: class SampleInfo (line 25) | class SampleInfo: method from_path (line 33) | def from_path(cls, path: Path, samples_dir: Path) -> "SampleInfo": class DiscoveryResult (line 43) | class DiscoveryResult: class WorkflowCreationResult (line 50) | class WorkflowCreationResult: class RunStatus (line 58) | class RunStatus(Enum): class RunResult (line 68) | class RunResult: class ExecutionResult (line 78) | class ExecutionResult: class Report (line 85) | class Report: method to_markdown (line 96) | def to_markdown(self) -> str: method to_dict (line 143) | def to_dict(self) -> dict[str, object]: FILE: python/scripts/sample_validation/report.py function generate_report (line 15) | def generate_report(results: list[RunResult]) -> Report: function save_report (line 45) | def save_report( function print_summary (line 81) | def print_summary(report: Report) -> None: class GenerateReportExecutor (line 110) | class GenerateReportExecutor(Executor): method __init__ (line 113) | def __init__(self) -> None: method generate (line 117) | async def generate( FILE: python/scripts/sample_validation/run_dynamic_validation_workflow_executor.py function stop_agents (line 19) | async def stop_agents(agents: Sequence[GitHubCopilotAgent]) -> None: class RunDynamicValidationWorkflowExecutor (line 28) | class RunDynamicValidationWorkflowExecutor(Executor): method __init__ (line 31) | def __init__(self) -> None: method run (line 35) | async def run( FILE: python/scripts/sample_validation/workflow.py function create_validation_workflow (line 21) | def create_validation_workflow( FILE: python/scripts/task_runner.py function discover_projects (line 24) | def discover_projects(workspace_pyproject_file: Path) -> list[Path]: function extract_poe_tasks (line 52) | def extract_poe_tasks(file: Path) -> set[str]: function build_work_items (line 69) | def build_work_items(projects: list[Path], task_names: list[str]) -> lis... function normalize_project_filter (line 80) | def normalize_project_filter(value: str) -> str: function build_project_filter_candidates (line 90) | def build_project_filter_candidates(project: Path | str, aliases: Sequen... function project_filter_matches (line 117) | def project_filter_matches(project: Path | str, pattern: str, aliases: S... function _run_task_subprocess (line 130) | def _run_task_subprocess( function _run_sequential (line 149) | def _run_sequential(work_items: list[tuple[Path, str]], task_args: Seque... function _run_parallel (line 161) | def _run_parallel(work_items: list[tuple[Path, str]], workspace_root: Pa... function run_tasks (line 199) | def run_tasks( FILE: python/scripts/workspace_poe_tasks.py class WorkspaceProject (line 40) | class WorkspaceProject: function parse_args (line 49) | def parse_args(argv: list[str]) -> tuple[argparse.Namespace, list[str]]: function load_toml (line 123) | def load_toml(file_path: Path) -> dict: function discover_workspace_projects (line 129) | def discover_workspace_projects() -> list[WorkspaceProject]: function supports_current_python (line 147) | def supports_current_python(project: WorkspaceProject) -> bool: function select_projects (line 154) | def select_projects(pattern: str) -> list[WorkspaceProject]: function relative_path (line 182) | def relative_path(path: Path) -> str: function collect_source_dirs (line 187) | def collect_source_dirs(projects: list[WorkspaceProject]) -> list[Path]: function collect_test_dirs (line 199) | def collect_test_dirs(projects: list[WorkspaceProject]) -> list[Path]: function run_command (line 214) | def run_command(command: list[str]) -> None: function run_fan_out (line 221) | def run_fan_out(task_names: list[str], project_pattern: str, task_args: ... function sample_pyright_config (line 232) | def sample_pyright_config() -> str: function run_sample_lint (line 239) | def run_sample_lint(extra_args: list[str]) -> None: function run_sample_format (line 257) | def run_sample_format(extra_args: list[str]) -> None: function run_sample_pyright (line 272) | def run_sample_pyright(extra_args: list[str]) -> None: function run_markdown_code_lint (line 278) | def run_markdown_code_lint(files: list[str] | None = None) -> None: function run_aggregate_pyright (line 304) | def run_aggregate_pyright(project_pattern: str, extra_args: list[str]) -... function run_aggregate_mypy (line 315) | def run_aggregate_mypy(project_pattern: str, extra_args: list[str]) -> N... function run_aggregate_test (line 330) | def run_aggregate_test(project_pattern: str, cov: bool, extra_args: list... function normalize_changed_file (line 374) | def normalize_changed_file(file_path: str) -> str: function has_changed_sample_files (line 382) | def has_changed_sample_files(files: list[str]) -> bool: function changed_markdown_files (line 387) | def changed_markdown_files(files: list[str]) -> list[str]: function run_changed_package_tasks (line 393) | def run_changed_package_tasks(task_names: list[str], files: list[str]) -... function run_prek_check (line 407) | def run_prek_check(files: list[str]) -> None: function git_diff_name_only (line 420) | def git_diff_name_only(*revisions: str) -> list[str] | None: function detect_ci_changed_files (line 434) | def detect_ci_changed_files() -> list[str]: function run_ci_mypy (line 465) | def run_ci_mypy() -> None: function ensure_no_extra_args (line 474) | def ensure_no_extra_args(command_name: str, extra_args: list[str]) -> None: function resolve_syntax_modes (line 482) | def resolve_syntax_modes(*, format_selected: bool, check_selected: bool)... function run_syntax (line 489) | def run_syntax( function main (line 540) | def main() -> None: FILE: python/tests/samples/getting_started/test_agent_samples.py function test_agent_samples (line 582) | async def test_agent_samples(sample: Callable[..., Awaitable[Any]], resp... FILE: python/tests/samples/getting_started/test_chat_client_samples.py function test_chat_client_samples (line 117) | async def test_chat_client_samples( FILE: python/tests/samples/getting_started/test_threads_samples.py function test_thread_samples (line 40) | async def test_thread_samples(sample: Callable[..., Awaitable[Any]], res...