refactor(prompt): 移除重复的数组长度参数
- 删除多余的 totalRounds 参数传递 - 保留必要的数组长度计算逻辑 - 优化参数列表结构
This commit is contained in:
@@ -125,7 +125,6 @@ func promptBuildWithRounds(ctx context.Context, req *dto.ComposeMessagesReq, mod
|
||||
availableWindow, // %d 可用窗口
|
||||
totalRounds, // %d 数组长度(多轮输出要求)
|
||||
totalRounds, // %d 数组长度(结构铁律)
|
||||
totalRounds, // %d 数组长度(多轮输出要求第二个)
|
||||
outputJSON, // %s 输出结构
|
||||
inputInfo, // %s 完整输入信息
|
||||
totalRounds, // %d 数组长度(最后一行)
|
||||
|
||||
Reference in New Issue
Block a user