| AI Coder Wizard |
AI Coder Wizard
This wizard can connect to and invoke one of several commonly used public AI Engines, providing AI-assisted coding features within the Delphi IDE. Users are required to apply for the API Keys for each AI Engine themselves. Before using it, please first run the configuration of this wizard, enter the applied API Key in the dialog, as shown as below:

AI Coder Wizard Setting Dialog
The dialog lists the parameters of available AI engines, allowing users to select the AI Engine they wish to use, as well as to set the model, API Key, and other configurations for each AI Engine.
Active AI Engine: Select the AI engine to be used currently, which must be configured with a valid API Key.
Timeout Seconds: Timeout for network communication with the unit seconds.
Use Proxy: If checked, it represents that a proxy server is required for the specified connection to the AI Engine. Currently username and password are not supported.
URL: The AI Engine API URL provided by this AI Engine.
Model Name: Select the model name provided by this AI Engine.
API Key: Must be a valid API Key applied from this AI Engine website.
Apply: Click to Apply the API Key for this AI Engine.
AI Coder Wizard Menu
AI Coder Wizard Menu items are shown as below:

Explain Code: Send request to current AI engine to explain the code which is selected in Editor. The answer will be shown in AI Chat Window.
Review Code: Send request to current AI engine to make a code review to the code which is selected in Editor. The review result will be shown in AI Chat Window.
AI Chat Window: Show or hide AI Chat Window.
Options: Show AI Coder setting dialog.
AI Coder Chat Window
AI Coder Chat Window is shown as below. Message body area is at top, while message sending area is at bottom.

Toggle Send Area: Show or hide the message sending area.
Clear: Clear the messages in this dialog.
Font: Change the font of message area and sending area.
Options: Show AI Coder setting dialog.
Help: Show this Help.
Right click the message body to popup context menu:
Copy: Copy the content in selected message body.
Copy Code: Copy the content between ``` in selected message body.
Links