Skip to content

Commit

Permalink
Remove redundant log
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Sep 9, 2024
1 parent 5363df6 commit 90e4cd6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions general/ai/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
type ApiCommand string

const (
cliAiAppApiUrl = "https://cli-ai-app.jfrog.info/api/"
cliAiAppApiUrl = "https://cli-ai-app-stg.jfrog.info/api/"
askRateLimitHeader = "X-JFrog-CLI-AI"
)

Expand Down Expand Up @@ -99,16 +99,16 @@ func getUserFeedback() (bool, error) {
// Customize the template to place the options on the same line as the question
templates := &promptui.SelectTemplates{
Label: "{{ . }}",
Active: "👉 {{ . | cyan }}",
Inactive: " {{ . }}",
Active: " 👉 {{ . | cyan }}",
Inactive: " {{ . }}",
Selected: "🙏 Thanks for your feedback!",
}

prompt := promptui.Select{
Label: "⭐ Rate this response:",
Items: []string{"👍 Good response!", "👎 Could be better..."},
Templates: templates,
HideHelp: true,
HideSelected: true,
Label: "⭐ Rate this response:",
Items: []string{"👍 Good response!", "👎 Could be better..."},
Templates: templates,
HideHelp: true,
}
selected, _, err := prompt.Run()
if err != nil {
Expand Down

0 comments on commit 90e4cd6

Please sign in to comment.