😎1、调整AI配置 2、修复AI实体大字符串定义问题 2、修复系统启动执行任务结束异常提示
This commit is contained in:
parent
9a080d02b1
commit
8625764be0
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"LLM": {
|
"LLM": {
|
||||||
"ModelProvider": "DeepSeek", // 当前使用模型,取值为下面Providers的ProductName
|
"ModelProvider": "DeepSeek", // 当前使用模型,取值为下面Providers的ProductName
|
||||||
"InitSystemChatMessage": "你是一个经验丰富的Admin.pro人工智能助手,请根据用户的问题给出准确的回答。- **回答请以markdown格式输出**;- **适当加入emoji表达人类情感,使内容更易于理解与传播。**",
|
"InitSystemChatMessage": "你是一个经验丰富的 Admin.NET 人工智能助手,请根据用户的问题给出准确的回答。- **回答请以markdown格式输出**;- **适当加入emoji表达人类情感,使内容更易于理解与传播。**",
|
||||||
"UserCanSwitchLLM": true, // 是否可以切换模型
|
"UserCanSwitchLLM": true, // 是否可以切换模型
|
||||||
"TargetCount": 10, // 用于消息截取配置,当消息超过TargetCount+ThresholdCount数量时,会进行截取操作,以避免token超出限制
|
"TargetCount": 10, // 用于消息截取配置,当消息超过TargetCount+ThresholdCount数量时,会进行截取操作,以避免token超出限制
|
||||||
"ThresholdCount": 3, // 用于消息截取配置,当消息超过TargetCount+ThresholdCount数量时,会进行截取操作,以避免token超出限制
|
"ThresholdCount": 3, // 用于消息截取配置,当消息超过TargetCount+ThresholdCount数量时,会进行截取操作,以避免token超出限制
|
||||||
|
|||||||
@ -41,7 +41,7 @@ public class LLMChatHistory : EntityBaseId
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 内容
|
/// 内容
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnDescription = "内容", ColumnDataType = "longtext")]
|
[SugarColumn(ColumnDescription = "内容", ColumnDataType = StaticConfig.CodeFirst_BigString))]
|
||||||
public string? Content { get; set; }
|
public string? Content { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@ -29,7 +29,7 @@ public class LLMChatSummaryHistory : EntityBaseId
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 摘要
|
/// 摘要
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnDescription = "摘要", Length = 4000)]
|
[SugarColumn(ColumnDescription = "摘要", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||||||
public string? Summary { get; set; }
|
public string? Summary { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@ -48,6 +48,6 @@ public class StartHostedService(IServiceScopeFactory serviceScopeFactory) : IHos
|
|||||||
|
|
||||||
public Task StopAsync(CancellationToken cancellationToken)
|
public Task StopAsync(CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@
|
|||||||
"monaco-editor": "^0.52.2",
|
"monaco-editor": "^0.52.2",
|
||||||
"mqtt": "^5.13.1",
|
"mqtt": "^5.13.1",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"ol": "^10.5.0",
|
"ol": "^10.6.1",
|
||||||
"pinia": "^3.0.3",
|
"pinia": "^3.0.3",
|
||||||
"print-js": "^1.6.0",
|
"print-js": "^1.6.0",
|
||||||
"push.js": "^1.0.12",
|
"push.js": "^1.0.12",
|
||||||
@ -84,7 +84,7 @@
|
|||||||
"vue-signature-pad": "^3.0.2",
|
"vue-signature-pad": "^3.0.2",
|
||||||
"vue3-tree-org": "^4.2.2",
|
"vue3-tree-org": "^4.2.2",
|
||||||
"vxe-pc-ui": "^4.6.26",
|
"vxe-pc-ui": "^4.6.26",
|
||||||
"vxe-table": "^4.13.42",
|
"vxe-table": "^4.13.43",
|
||||||
"xe-utils": "^3.7.5",
|
"xe-utils": "^3.7.5",
|
||||||
"xlsx-js-style": "^1.2.0"
|
"xlsx-js-style": "^1.2.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user