From 843845d36575f05b4da4800abf33deb3047587d2 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Thu, 7 Nov 2024 03:37:19 +0000 Subject: [PATCH] test: fixed graph name --- server/internal/http_server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/internal/http_server.go b/server/internal/http_server.go index c9935f72..4861294e 100644 --- a/server/internal/http_server.go +++ b/server/internal/http_server.go @@ -400,6 +400,10 @@ func (s *HttpServer) processProperty(req *StartReq) (propertyJsonFile string, lo slog.Error("graph_name is mandatory", "requestId", req.RequestId, logTag) return } + if graphName == "va.minimax.azure" { + graphName = "va_minimax_realtime" + slog.Info(fmt.Sprintf("handlerStart replace graph name to %s", graphName), "err", err, "requestId", req.RequestId, logTag) + } // Generate token req.Token = s.config.AppId