Skip to content

Commit

Permalink
test: fixed graph name
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Nov 7, 2024
1 parent fe00fad commit 843845d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/internal/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 843845d

Please sign in to comment.