AX Agent transcript 품질 향상과 회귀 기준 정리
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- 도구/스킬 transcript 표시 카탈로그를 분리해 파일, 빌드, Git, 문서, 질문, 제안, 스킬 분류를 공통 라벨로 통일함 - task summary popup을 active 우선, recent/debug 보조 기준으로 축소하고 transcript policy helper를 partial로 분리함 - AX Agent와 claw-code 비교용 회귀 프롬프트 세트를 별도 문서로 추가하고 관련 개발 문서를 즉시 갱신함 - 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ (경고 0 / 오류 0)
This commit is contained in:
26
src/AxCopilot/Views/ChatWindow.TranscriptPolicy.cs
Normal file
26
src/AxCopilot/Views/ChatWindow.TranscriptPolicy.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System.Windows.Media;
|
||||
using AxCopilot.Services;
|
||||
using AxCopilot.Services.Agent;
|
||||
|
||||
namespace AxCopilot.Views;
|
||||
|
||||
public partial class ChatWindow
|
||||
{
|
||||
private bool IsDebugTranscriptMode()
|
||||
=> string.Equals(_settings.Settings.Llm.AgentLogLevel, "debug", StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
private string GetTranscriptBadgeLabel(AgentEvent evt)
|
||||
=> AgentTranscriptDisplayCatalog.GetEventBadgeLabel(evt);
|
||||
|
||||
private string GetTranscriptTaskCategory(TaskRunStore.TaskRun task)
|
||||
=> AgentTranscriptDisplayCatalog.GetTaskCategoryLabel(task.Kind, task.Title);
|
||||
|
||||
private string GetTranscriptDisplayName(string? rawName, bool slashPrefix = false)
|
||||
=> AgentTranscriptDisplayCatalog.GetDisplayName(rawName, slashPrefix);
|
||||
|
||||
private string GetTranscriptEventSummary(AgentEvent evt, string displayName)
|
||||
=> AgentTranscriptDisplayCatalog.BuildEventSummary(evt, displayName);
|
||||
|
||||
private bool ShouldIncludeRecentTaskSummary(IReadOnlyCollection<TaskRunStore.TaskRun> activeTasks)
|
||||
=> IsDebugTranscriptMode() || activeTasks.Count == 0;
|
||||
}
|
||||
Reference in New Issue
Block a user