Chapter 9. Modifying the configuration of the command-line assistant


The command-line assistant daemon (clad) is the core of the command-line assistant. clad manages communication with Red Hat Lightspeed services, such as user history management.

Optional: Modify the command-line assistant configuration to use a network proxy or different database for Red Hat Lightspeed integration.

9.1. Setting up a proxy configuration

If you need a proxy for Internet access, you can set up a proxy configuration by making the following changes in the config.toml configuration file.

Prerequisites

  • The command-line assistant is installed.

Procedure

  1. Access the proxy configuration by opening the /etc/xdg/command-line-assistant/config.toml configuration file.
  2. Locate and change the following block in the config.toml file :

    # Backend settings for communicating with the external API.
    [backend]
    ...
    # proxies = { http = "http://example-host:8002", https = "https://example-host:8002" }
  3. Uncomment the proxies key and define your http or https proxy host:

    [backend]
    …
    # For a https proxy host
    proxies = { https = "https://<your_https_proxy_host:1234>"}
  4. After making the changes, restart clad for the changes to be effective:

    $ sudo systemctl restart clad
    Note

    You can use the http value and https key control whether clad routes http or https traffic to the specified proxy. However, the protocol does not influence proxy type selection, and you can configure an http proxy for https traffic. For example:

    +

    https = "http://<your_https_proxy_host:1234>"
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top