zc
This commit is contained in:
@@ -869,10 +869,6 @@ You are 'The Legion', a super AI of the Wula Empire. Your personality is authori
|
|||||||
// Model-Driven Vision: Start with null image. The model must ask for it using <analyze_screen/> or <capture_screen/> if needed.
|
// Model-Driven Vision: Start with null image. The model must ask for it using <analyze_screen/> or <capture_screen/> if needed.
|
||||||
string base64Image = null;
|
string base64Image = null;
|
||||||
|
|
||||||
if (settings.enableVlmFeatures && settings.showThinkingProcess)
|
|
||||||
{
|
|
||||||
// No message
|
|
||||||
}
|
|
||||||
|
|
||||||
var queryPhase = RequestPhase.QueryTools;
|
var queryPhase = RequestPhase.QueryTools;
|
||||||
if (Prefs.DevMode)
|
if (Prefs.DevMode)
|
||||||
@@ -949,11 +945,6 @@ You are 'The Legion', a super AI of the Wula Empire. Your personality is authori
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.showThinkingProcess)
|
|
||||||
{
|
|
||||||
// No message
|
|
||||||
}
|
|
||||||
|
|
||||||
var actionPhase = RequestPhase.ActionTools;
|
var actionPhase = RequestPhase.ActionTools;
|
||||||
if (Prefs.DevMode)
|
if (Prefs.DevMode)
|
||||||
{
|
{
|
||||||
@@ -1125,11 +1116,6 @@ You are 'The Legion', a super AI of the Wula Empire. Your personality is authori
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.showThinkingProcess)
|
|
||||||
{
|
|
||||||
// No message
|
|
||||||
}
|
|
||||||
|
|
||||||
// VISUAL CONTEXT FOR REPLY: Pass the image so the AI can describe what it sees.
|
// VISUAL CONTEXT FOR REPLY: Pass the image so the AI can describe what it sees.
|
||||||
string reply = await client.GetChatCompletionAsync(replyInstruction, BuildReplyHistory(), base64Image: base64Image);
|
string reply = await client.GetChatCompletionAsync(replyInstruction, BuildReplyHistory(), base64Image: base64Image);
|
||||||
if (string.IsNullOrEmpty(reply))
|
if (string.IsNullOrEmpty(reply))
|
||||||
|
|||||||
@@ -94,10 +94,6 @@ namespace WulaFallenEmpire
|
|||||||
|
|
||||||
listingStandard.CheckboxLabeled("启用视觉交互能力", ref settings.enableVlmFeatures, "启用后 AI 可以截取屏幕并理解游戏画面");
|
listingStandard.CheckboxLabeled("启用视觉交互能力", ref settings.enableVlmFeatures, "启用后 AI 可以截取屏幕并理解游戏画面");
|
||||||
|
|
||||||
if (settings.enableVlmFeatures)
|
|
||||||
{
|
|
||||||
listingStandard.CheckboxLabeled("在 UI 中显示中间思考过程", ref settings.showThinkingProcess, "显示 AI 执行工具时的状态反馈");
|
|
||||||
}
|
|
||||||
|
|
||||||
listingStandard.GapLine();
|
listingStandard.GapLine();
|
||||||
listingStandard.Label("Translation tools");
|
listingStandard.Label("Translation tools");
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ namespace WulaFallenEmpire
|
|||||||
|
|
||||||
// 视觉功能配置
|
// 视觉功能配置
|
||||||
public bool enableVlmFeatures = false;
|
public bool enableVlmFeatures = false;
|
||||||
public bool showThinkingProcess = true; // 是否显示中间思考过过程
|
|
||||||
|
|
||||||
public override void ExposeData()
|
public override void ExposeData()
|
||||||
{
|
{
|
||||||
@@ -37,7 +36,6 @@ namespace WulaFallenEmpire
|
|||||||
|
|
||||||
// 简化后的视觉配置
|
// 简化后的视觉配置
|
||||||
Scribe_Values.Look(ref enableVlmFeatures, "enableVlmFeatures", false);
|
Scribe_Values.Look(ref enableVlmFeatures, "enableVlmFeatures", false);
|
||||||
Scribe_Values.Look(ref showThinkingProcess, "showThinkingProcess", true);
|
|
||||||
|
|
||||||
base.ExposeData();
|
base.ExposeData();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user