zc
This commit is contained in:
@@ -322,6 +322,8 @@ namespace WulaFallenEmpire.EventSystem.AI.UI
|
||||
string messageText = entry.role == "assistant" ? ParseResponseForDisplay(entry.message) : AIIntelligenceCore.StripContextInfo(entry.message);
|
||||
|
||||
if (entry.role == "tool" || entry.role == "system" || entry.role == "toolcall") continue;
|
||||
// Hide auto-commentary system messages (user-side) from display
|
||||
if (entry.role == "user" && entry.message.Contains("[AUTO_COMMENTARY]")) continue;
|
||||
if (string.IsNullOrEmpty(messageText) || (entry.role == "user" && messageText.StartsWith("[Tool Results]"))) continue;
|
||||
|
||||
bool isLastMessage = i == history.Count - 1;
|
||||
|
||||
@@ -380,6 +380,9 @@ namespace WulaFallenEmpire.EventSystem.AI.UI
|
||||
if (msg.role == "tool" || msg.role == "toolcall") continue;
|
||||
if (msg.role == "system" && !Prefs.DevMode) continue;
|
||||
|
||||
// Hide auto-commentary system messages (user-side) from display
|
||||
if (msg.role == "user" && msg.message.Contains("[AUTO_COMMENTARY]")) continue;
|
||||
|
||||
string displayText = msg.message;
|
||||
if (msg.role == "assistant")
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace WulaFallenEmpire.EventSystem.AI.UI
|
||||
{
|
||||
private string _message;
|
||||
private int _tickCreated;
|
||||
private const int DisplayTicks = 180; // 3 seconds
|
||||
private const int DisplayTicks = 600; // 10 seconds
|
||||
private Vector2 _size = new Vector2(320f, 65f);
|
||||
|
||||
public override Vector2 InitialSize => _size;
|
||||
|
||||
Reference in New Issue
Block a user