// <auto-generated/>
#nullable enable
namespace Microsoft.AspNetCore.Components.AI
{
partial class BlockMappingPipelineLog
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, int, string, global::System.Exception?> __ProcessingUpdateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, int, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, nameof(ProcessingUpdate)), "Processing update: Role={Role}, ContentCount={ContentCount}, ContentTypes=[{ContentTypes}]", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Processing update: Role={Role}, ContentCount={ContentCount}, ContentTypes=[{ContentTypes}]</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void ProcessingUpdate(global::Microsoft.Extensions.Logging.ILogger logger, string? role, int contentCount, string contentTypes)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ProcessingUpdateCallback(logger, role, contentCount, contentTypes, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string?, global::System.Exception?> __ActiveHandlerResultCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, nameof(ActiveHandlerResult)), "Active handler {HandlerType} returned {ResultKind} for block {BlockId}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Active handler {HandlerType} returned {ResultKind} for block {BlockId}</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void ActiveHandlerResult(global::Microsoft.Extensions.Logging.ILogger logger, string handlerType, string resultKind, string? blockId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ActiveHandlerResultCallback(logger, handlerType, resultKind, blockId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, string?, global::System.Exception?> __EmittingBlockCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, nameof(EmittingBlock)), "Emitting new block: {BlockType} Id={BlockId} Role={Role}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Emitting new block: {BlockType} Id={BlockId} Role={Role}</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void EmittingBlock(global::Microsoft.Extensions.Logging.ILogger logger, string blockType, string? blockId, string? role)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__EmittingBlockCallback(logger, blockType, blockId, role, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TryingInactiveHandlerCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, nameof(TryingInactiveHandler)), "Phase 2: Trying inactive handler {HandlerType} to claim remaining content", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Phase 2: Trying inactive handler {HandlerType} to claim remaining content</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void TryingInactiveHandler(global::Microsoft.Extensions.Logging.ILogger logger, string handlerType)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__TryingInactiveHandlerCallback(logger, handlerType, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __FinalizingCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, nameof(Finalizing)), "Finalize: Deactivating {ActiveCount} active blocks", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Finalize: Deactivating {ActiveCount} active blocks</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void Finalizing(global::Microsoft.Extensions.Logging.ILogger logger, int activeCount)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FinalizingCallback(logger, activeCount, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AllContentHandledAfterPhase1Callback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, nameof(AllContentHandledAfterPhase1)), "All content handled after active handlers, skipping Phase 2", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> All content handled after active handlers, skipping Phase 2</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void AllContentHandledAfterPhase1(global::Microsoft.Extensions.Logging.ILogger logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__AllContentHandledAfterPhase1Callback(logger, null);
}
}
}
}
namespace Microsoft.AspNetCore.Components.AI
{
partial class UIAgentLog
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StreamingAssistantResponseCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(100, nameof(StreamingAssistantResponse)), "SendMessageAsync: Streaming assistant response", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> SendMessageAsync: Streaming assistant response</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void StreamingAssistantResponse(global::Microsoft.Extensions.Logging.ILogger logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__StreamingAssistantResponseCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string?, string, global::System.Exception?> __ReceivedUpdateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<int, string?, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(101, nameof(ReceivedUpdate)), "SendMessageAsync: Received update #{Index} Role={Role}, ContentTypes=[{ContentTypes}]", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> SendMessageAsync: Received update #{Index} Role={Role}, ContentTypes=[{ContentTypes}]</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void ReceivedUpdate(global::Microsoft.Extensions.Logging.ILogger logger, int index, string? role, string contentTypes)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ReceivedUpdateCallback(logger, index, role, contentTypes, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __StreamCompleteCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(102, nameof(StreamComplete)), "SendMessageAsync: Stream complete. Total updates={UpdateCount}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> SendMessageAsync: Stream complete. Total updates={UpdateCount}</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void StreamComplete(global::Microsoft.Extensions.Logging.ILogger logger, int updateCount)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__StreamCompleteCallback(logger, updateCount, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __AddedToHistoryCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(103, nameof(AddedToHistory)), "SendMessageAsync: Added {MessageCount} messages to history", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> SendMessageAsync: Added {MessageCount} messages to history</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.41513")]
internal static partial void AddedToHistory(global::Microsoft.Extensions.Logging.ILogger logger, int messageCount)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__AddedToHistoryCallback(logger, messageCount, null);
}
}
}
}