feat 配置

This commit is contained in:
2026-01-26 10:21:49 +08:00
parent 5f132568cb
commit aa42046fe9
4 changed files with 10 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ func (s *Server) GenerateQuestion(ctx context.Context, req *grpc_pb.GenerateQues
RequestAI(
[]string{
fmt.Sprintf(prompt[0], time.Now().Format("2006-01-02 15:04:05"), category),
fmt.Sprintf(prompt[1], req.Num, req.Category),
fmt.Sprintf(prompt[1], req.Num),
fmt.Sprintf(prompt[2], req.Num),
fmt.Sprintf(prompt[3], req.Num),
fmt.Sprintf(prompt[4], req.Num),