How do I connect Leiolai to Cline?
In Cline’s API settings, choose OpenAI Compatible and enter the Leiolai base URL, API key, and leiolai-1 model ID. Use a Private-only key for confidential project work, then test a small coding question before starting a larger task.
Where do I enter the provider settings?
Open Cline’s settings using the gear control and select OpenAI Compatible as the Leiolai API provider. Enter https://api.leiolai.com/v1 as the base URL, your Leiolai key as the API key, and leiolai-1 as the model ID.
Why is a Private-only key convenient here?
A Leiolai Private-only key expresses the intended mode without needing a custom mode field in every request. Unrestricted keys need mode on each request. Choose the key permission before sending confidential code or project material.
Choose the API modeWhat is a useful first test?
Test Leiolai in Cline with a question about one file or error message. A successful answer confirms that the provider settings and key work. Then build up to a larger task with clear file scope, expected behavior, and verification steps.
Which model ID should I enter in Cline?
Use the exact identifier leiolai-1. Thinking effort is a separate request field. Keep the model identifier unchanged when adjusting effort through a client setting that supports the required field.
Configure effort separatelyHow should I handle a tool-related request error?
Check the Cline request’s error code and the tool definition or result identified in the error. Compare that field with Leiolai’s function-call format, including the schema and matching call ID. Remove any unsupported options from the request.
Tool definitions and returned resultsWhy might authentication succeed but a task still fail?
A Cline request to Leiolai can fail if the request uses an unsupported field, exceeds a limit, or conflicts with the key’s mode restriction. Keep the endpoint, error code, and redacted request when diagnosing the issue. Correct the reported field rather than replacing working credentials.
How can I give Cline a clearer coding task?
Give Leiolai in Cline the behavior to change, the files involved, and the checks that will establish success. For a bug, include a reproduction and the observed error.
Define verification for a change