Gucvii commented on code in PR #847: URL: https://github.com/apache/dubbo-go-samples/pull/847#discussion_r2108607360
########## llm/go-server/cmd/server.go: ########## @@ -145,43 +124,51 @@ func (s *ChatServer) Chat(ctx context.Context, req *chat.ChatRequest, stream cha } return stream.Send(&chat.ChatResponse{ Content: string(chunk), - Model: modelName, + Model: cfg.ModelName, }) }), ) if err != nil { - log.Printf("GenerateContent failed with model %s: %v\n", modelName, err) - return fmt.Errorf("GenerateContent failed with model %s: %v", modelName, err) + log.Printf("GenerateContent failed with model %s: %v\n", cfg.ModelName, err) Review Comment: tks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org