Configuration
To use your own API token and preferred model in OpenAI, simply set theaiapitoken and aimodel parameters.
Parameters
- AI Token: Set this parameter to your OpenAI API key.
- AI Model: Specify the model name that you want to use. See supported models.
Configuring via the UI
To configure custom OpenAI settings from the Wave AI user interface, navigate to the “Settings” menu and set theAI Token, and AI Model parameters as described in the previous section.
Configuring via the CLI
To configure custom OpenAI settings using the command line, set theaiapitoken and aimodel parameters using the /client:set command, as shown in the example below.
Usage
Once you have configured your custom OpenAI settings, you can start using it in Wave. There are two primary ways to interact with Wave AI: Interactive Mode and by using the /chat command.- Interactive Mode: To enter Interactive Mode, click the “Wave AI” button in the command box or use the
ctrl + spaceshortcut. This will open an interactive chat session where you can have a continuous conversation with the AI assistant. - /chat: Alternatively, you can use the /chat command followed by your question to get a quick answer from the AI assistant directly in the terminal.
Troubleshooting
If you encounter issues while using your custom OpenAI configuration, consider the following troubleshooting steps:- Authentication errors: Ensure that the
aiapitokenparameter is set to use the correct API token for the configured service. - Incorrect model selection: Make sure to set the
aimodelparameter to one of the supported OpenAI models listed here. - Unexpected behavior or inconsistent results: If you encounter unexpected behavior or inconsistent results when using your custom OpenAI settings with Wave AI, try resetting the
aibaseurl,aimodel, andaiapitokenparameters to their default values and reconfiguring from scratch.
Reset Wave AI
At any time if you find that you wish to return to the default Wave AI experience, you can reset theaibaseurl, aimodel, and aiapitoken parameters to their default state by using the following commands.

