Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-93272

improve feedback/experience for new users

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • command-line-assistant-0.4.1-1.el10
    • No
    • Low
    • 4
    • rhel-cla
    • 1
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CLA & Incubation Sprint 15, CLA & Incubation Sprint 16, CLA & Incubation Sprint 17, CLA & Incubation Sprint 18
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      I have a RHEL 10 VM where I installed `command-line-assistant` (command-line-assistant-0.3.1-1.el10_0.noarch)

      The first thing I did was a `cla --help` to understand the options for the command.

      I saw `chat` in the output of help, which looked like a subcommand.

      When i typed `cla chat`, the command did nothing and exited 0.

      [core@localhost ~]$ cla --help
      usage: c [--debug] [-h] [-v] {chat,feedback,history,shell} ...
      
      The Command Line Assistant powered by RHEL Lightspeed is an optional generative AI assistant available within the RHEL command line interface.
      
      positional arguments:
        {chat,feedback,history,shell}
          chat                Command to ask a question to the LLM.
          feedback            Submit feedback about Command Line Assistant responses and interactions.
          history             Manage Conversation History
          shell               Manage shell integrations
      
      options:
        --debug               Enable debug logging information
        -h, --help            Show this help message and exit.
        -v, --version         Show program version
      [core@localhost ~]$ cla chat
      [core@localhost ~]$ echo $?
      0
      

      My expectation from looking at the help and knowing a little bit about AI, was that I would enter a chat prompt where I could ask questions.

      This was a confusing interaction and I had to seek out the documentation on how to interact with CLA.

      And now I just tried `cla chat --help` to see that there is an interactive mode available!

      I also just tried `cla history` and `cla shell` which also appear to do nothing unless you query the `--help` for those subcommands.

      I would suggest that if the subcommands expect some additional argument or option to them, and it is not provided, that the default behavior would be to spit back the help or some indication that additional input is needed.

              rolivier@redhat.com Rodolfo Olivieri
              miabbott@redhat.com Micah Abbott
              Rodolfo Olivieri Rodolfo Olivieri
              rhel-lightspeed-qe team rhel-lightspeed-qe team
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: