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) `, req.ModelName, formInfo, req.SkillName, req.UserFiles)
return fmt.Sprintf(providerProtocol.SystemPromptTemplate, return fmt.Sprintf(providerProtocol.SystemPromptTemplate,
req.ModelName, req.ModelName, // %s 目标模型名称
maxWindowSize, maxWindowSize, // %d 最大窗口
availableWindow, availableWindow, // %d 可用窗口
totalRounds, totalRounds, // %d 数组长度(多轮输出要求)
totalRounds, totalRounds, // %d 数组长度(结构铁律)
totalRounds, totalRounds, // %d 数组长度(多轮输出要求第二个)
outputJSON, outputJSON, // %s 输出结构
inputInfo, inputInfo, // %s 完整输入信息
totalRounds, totalRounds, // %d 数组长度(最后一行)
) )
} }