Using SuiteCloud Developer Assistant in Cline CLI

SuiteCloud Developer Assistant (SDA) can be used in CLI-based AI coding assistants that support OpenAI-compatible providers, such as Cline CLI. The CLI connects to the local SDA proxy started through SuiteCloud CLI. You can ask SDA to:

Note:

The tool has been tested with Cline CLI, and this configuration has been validated during testing.

Prerequisites

Before configuring Cline CLI, you must ensure that the following prerequisites are met:

To use SDA with Cline CLI:

  1. Open your terminal and run the following command:

                    cline auth -p openai -k YOUR_API_KEY -b http://127.0.0.1:<port>/api/internal/devassist -m NetSuite 
    
                  

    In this command:

    • -p openai enables the OpenAI-compatible provider mode.

    • -k specifies the API key you obtained earlier.

    • -b specifies the base URL you obtained earlier.

    • -m optionally specifies the model ID to use. The example uses NetSuite, which is currently the supported model ID.

  2. Go to your SuiteCloud project.

  3. Open your terminal and type cline. The Cline popup window appears.

  4. Verify the connection. Open a SuiteScript file and run a prompt such as "Explain this SuiteScript file". If the configuration is successful, the CLI responds using SDA through the local SDA proxy.

Troubleshooting the CLI-Based Tools Usage

Issue

Cases

Solution

Connection error

Unable to connect to SDA.

Verify the following:

  • The SDA proxy is running.

  • The configured port matches the proxy output.

  • The API key is correct.

  • The base URL is configured correctly.

    Expected base URL format:

                              http://127.0.0.1:<port>/api/internal/devassist 
    
                            

Custom providers support

The tool does not support custom providers.

Some CLI tools may not support the following:

  • Custom OpenAI-compatible endpoints

  • Custom base URLs

  • Custom API keys

Refer to the tool documentation to verify compatibility.

Related Topics

General Notices