AX Agent 최대 컨텍스트 토큰 프리셋 확장
Some checks failed
Release Gate / gate (push) Has been cancelled

- AX Agent 내부 설정의 최대 컨텍스트 토큰 프리셋에 32K와 128K 중간값 추가
- 현재 MaxContextTokens 값이 중간 구간에 있어도 가장 가까운 프리셋 카드가 자연스럽게 활성화되도록 선택 매핑 확장
- README와 DEVELOPMENT 문서에 2026-04-05 22:48 (KST) 기준 작업 이력 반영
- 검증: 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:
2026-04-05 20:05:17 +09:00
parent 5e63f13cf3
commit 2975bb39a2
4 changed files with 30 additions and 0 deletions

View File

@@ -3524,6 +3524,17 @@
Tag="16384">
<TextBlock Text="16K" FontSize="12" Foreground="{DynamicResource PrimaryText}"/>
</Border>
<Border x:Name="OverlayContext32KCard"
Cursor="Hand"
CornerRadius="8"
BorderThickness="1"
BorderBrush="{DynamicResource BorderColor}"
Padding="9,7"
Margin="0,0,8,8"
MouseLeftButtonUp="OverlayContextPresetCard_MouseLeftButtonUp"
Tag="32768">
<TextBlock Text="32K" FontSize="12" Foreground="{DynamicResource PrimaryText}"/>
</Border>
<Border x:Name="OverlayContext64KCard"
Cursor="Hand"
CornerRadius="8"
@@ -3535,6 +3546,17 @@
Tag="65536">
<TextBlock Text="64K" FontSize="12" Foreground="{DynamicResource PrimaryText}"/>
</Border>
<Border x:Name="OverlayContext128KCard"
Cursor="Hand"
CornerRadius="8"
BorderThickness="1"
BorderBrush="{DynamicResource BorderColor}"
Padding="9,7"
Margin="0,0,8,8"
MouseLeftButtonUp="OverlayContextPresetCard_MouseLeftButtonUp"
Tag="131072">
<TextBlock Text="128K" FontSize="12" Foreground="{DynamicResource PrimaryText}"/>
</Border>
<Border x:Name="OverlayContext256KCard"
Cursor="Hand"
CornerRadius="8"

View File

@@ -16570,13 +16570,17 @@ public partial class ChatWindow : Window
{
<= 4096 => 4096,
<= 16384 => 16384,
<= 32768 => 32768,
<= 65536 => 65536,
<= 131072 => 131072,
<= 262144 => 262144,
_ => 1_000_000
};
SetOverlayCardSelection(OverlayContext4KCard, context == 4096);
SetOverlayCardSelection(OverlayContext16KCard, context == 16384);
SetOverlayCardSelection(OverlayContext32KCard, context == 32768);
SetOverlayCardSelection(OverlayContext64KCard, context == 65536);
SetOverlayCardSelection(OverlayContext128KCard, context == 131072);
SetOverlayCardSelection(OverlayContext256KCard, context == 262144);
SetOverlayCardSelection(OverlayContext1MCard, context == 1_000_000);
}