feat(model): 添加运营商列表功能

This commit is contained in:
2026-05-22 13:03:10 +08:00
parent 92092575bc
commit 866b97d098

View File

@@ -120,15 +120,15 @@ func promptBuildWithRounds(ctx context.Context, req *dto.ComposeMessagesReq, mod
`, req.ModelName, formInfo, req.SkillName, req.UserFiles)
return fmt.Sprintf(providerProtocol.SystemPromptTemplate,
req.ModelName,
maxWindowSize,
availableWindow,
totalRounds,
totalRounds,
totalRounds,
outputJSON,
inputInfo,
totalRounds,
req.ModelName, // %s 目标模型名称
maxWindowSize, // %d 最大窗口
availableWindow, // %d 可用窗口
totalRounds, // %d 数组长度(多轮输出要求)
totalRounds, // %d 数组长度(结构铁律)
totalRounds, // %d 数组长度(多轮输出要求第二个)
outputJSON, // %s 输出结构
inputInfo, // %s 完整输入信息
totalRounds, // %d 数组长度(最后一行)
)
}