This commit is contained in:
2025-12-27 21:28:36 +08:00
parent 0023f6fe3f
commit e6a1839941
11 changed files with 1134 additions and 1 deletions

View File

@@ -9,6 +9,12 @@ namespace WulaFallenEmpire
public string model = "deepseek-chat";
public int maxContextTokens = 100000;
public bool enableDebugLogs = false;
// VLM (视觉语言模型) 配置
public string vlmApiKey = "";
public string vlmBaseUrl = "https://dashscope.aliyuncs.com/compatible-mode/v1";
public string vlmModel = "qwen-vl-plus";
public bool enableVlmFeatures = false;
public override void ExposeData()
{
@@ -17,6 +23,13 @@ namespace WulaFallenEmpire
Scribe_Values.Look(ref model, "model", "deepseek-chat");
Scribe_Values.Look(ref maxContextTokens, "maxContextTokens", 100000);
Scribe_Values.Look(ref enableDebugLogs, "enableDebugLogs", false);
// VLM 配置
Scribe_Values.Look(ref vlmApiKey, "vlmApiKey", "");
Scribe_Values.Look(ref vlmBaseUrl, "vlmBaseUrl", "https://dashscope.aliyuncs.com/compatible-mode/v1");
Scribe_Values.Look(ref vlmModel, "vlmModel", "qwen-vl-plus");
Scribe_Values.Look(ref enableVlmFeatures, "enableVlmFeatures", false);
base.ExposeData();
}
}