JetBrains AI Assistant access

JetBrains AI Assistant official documentation supports OpenAI-compatible endpoint (address compatible with OpenAI interface), which can be used for AI Chat and other core functions. There is a separate entrance for code completion, and ordinary chat models cannot be automatically regarded as completion models.

Applicable products include IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover and other JetBrains IDEs with AI Assistant installed.

An IDE is development software used for writing code. Follow JetBrains installation guide to install or enable the AI Assistant plugin.

Configure third-party model

  1. Open the IDE settings: Settings | Tools | AI Assistant | Providers & API keys. macOS corresponds to Preferences | Tools | AI Assistant | Providers & API keys.
  2. Select OpenAI-compatible in Third-party AI providers.
  3. Fill in:
Field Fill in content
URL https://shanghaido.com/v1
API Key Your site token, such as YOUR_API_KEY
Model qwen3.8-flash (if the interface requires manual filling)
  1. Click Test Connection.
  2. Click Apply to save.
  3. If Models Assignment appears on the interface, assign qwen3.8-flash to Core features; when tasks such as lightweight titles and context organization are required, assign it to Instant helpers according to the actual capabilities of the model.
  4. Open AI Chat and confirm in the model selector that the model appears under the Independent Provider grouping.

If the automatic discovery of the model list fails, first confirm that /v1/models can return the visible model of the current token, and then manually fill in the accurate model name. Fill in the URL to /v1, do not spell /chat/completions in again, unless the field of the current JetBrains version explicitly requires the complete interface address.

code completion is another set of configurations

JetBrains officially lists AI Completion separately:

Get started

First send a normal question in AI Chat, and then try to generate a small function. AI Chat, Agent and code completion use different function configurations, please set according to the corresponding entrance of the client.

official information

encountered a problem

If you encounter problems with calling or configuration, please contact the site customer service and provide the model name, error time and error information to facilitate troubleshooting.