---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md
  - https://sourcecraft.dev/portal/docs/ru/code-assistant/qa.md
title: FAQ about SourceCraft Code Assistant
description: This page covers questions and answers about Code Assistant.
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt


# Technical FAQ about SourceCraft Code Assistant

{% note tip %}

Check out [FAQ about Code Assistant pricing](https://sourcecraft.dev/portal/docs/en/code-assistant/qa-pricing.md).

{% endnote %}

<!-- source: en/_qa/sourcecraft/sourcecraft-ca-toc.md -->
* [General questions](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#common-questions)

  * [How is the service currently called?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#rebranding)
  * [Does the service have any usage limitations?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#limits)
  * [Which IDE versions are supported?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#ide-versions)
  * [Do I need a Yandex Cloud billing account to work with Code Assistant?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#billing-account)
  * [Can I use the plugin without internet access?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#using-plugin-without-internet)
  * [How do I change a user authenticated in Code Assistant?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#change-user)
  * [Error getting a refresh token](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#refresh-token)
  * [Token errors](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#token-errors)
  * [How to get IDE logs?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#get-logs)
  * [What internet resources does Code Assistant need access to?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#fqdn)

* [Working in Visual Studio Code](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#vs-code-ide)

  * [Visual Studio Code authentication error](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#crypto-is-not-defined-vsc)
  * [How do I change the plugin interface language in Visual Studio Code?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#plugin-language-vsc)
  * [How do I switch to an earlier Code Assistant model?](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#legacy-model)

* [Using JetBrains IDE](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#jetbrains-ide)

  * [The plugin does not start in JetBrains IDE; 404 error; Code Assistant's suggestions not displayed](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#plugin-doesnt-start-jb)
  * [The JetBrains IDE plugin installs incorrectly](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#plugin-installed-incorrectly-jb)
  * [Proxy authentication error in JetBrains IDE](https://sourcecraft.dev/portal/docs/en/code-assistant/qa.md#auth-error-proxy-jb)
<!-- endsource: en/_qa/sourcecraft/sourcecraft-ca-toc.md -->

## General questions {#common-questions}

### How is the service currently called? {#rebranding}

<!-- source: en/_includes/code-assistant/rebranding.md -->
The service is now part of [SourceCraft](https://sourcecraft.dev). Therefore, the full name of **Yandex Code Assistant** has been changed to **SourceCraft Code Assistant**. However, its current features are still the same.

Code Assistant is now also available in the built-in SourceCraft code editor.
<!-- endsource: en/_includes/code-assistant/rebranding.md -->


### Does the service have any usage limitations? {#limits}

For more on limits, see [Quotas in SourceCraft Code Assistant](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/limits.md).


### Which IDE versions are supported? {#ide-versions}

<!-- source: en/_includes/code-assistant/supported-versions.md -->
The Code Assistant plugin is now available for [Visual Studio Code](https://code.visualstudio.com/), [VSCodium](https://vscodium.com/), and [JetBrains IDE](https://www.jetbrains.com/ides/) versions 2025.2, 2025.1, 2024.3, 2024.2, and 2024.1. {#supported-versions}
<!-- endsource: en/_includes/code-assistant/supported-versions.md -->


### Do I need a Yandex Cloud billing account to work with Code Assistant? {#billing-account}

You **do not need** a [billing account](https://yandex.cloud/en/docs/billing/concepts/billing-account).


### Can I use the plugin without internet access? {#using-plugin-without-internet}

No. To work with Code Assistant, you will need continuous internet access.


### How do I change a user authenticated in the Code Assistant plugin? {#change-user}

To authenticate in Code Assistant as another SourceCraft user, [log out](https://sourcecraft.dev/portal/docs/en/code-assistant/index.md#logout) of your current account and re-authenticate as described in step 3 of [Install and configure the plugin](https://sourcecraft.dev/portal/docs/en/code-assistant/index.md#install-plugin).


### Error getting a refresh token {#refresh-token}

Error message:

```text
Error refreshing token: no refresh token found
```

Your [organization](https://yandex.cloud/en/docs/overview/roles-and-resources) does not allow issuing [refresh tokens](https://yandex.cloud/en/docs/iam/api-ref/RefreshToken/) used by Code Assistant for authentication. To work with Code Assistant, [register](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/registration.md) in SourceCraft using your personal [Yandex account](https://yandex.cloud/en/docs/iam/concepts/users/accounts#passport).

### Token errors {#token-errors}

[Log out](https://sourcecraft.dev/portal/docs/en/code-assistant/index.md#logout) of your profile and then re-authenticate as described in step 3 of the [Install and configure the plugin](https://sourcecraft.dev/portal/docs/en/code-assistant/index.md#install-plugin) section.


### How do I get IDE logs? {#get-logs}

<!-- source: en/_includes/code-assistant/get-logs.md -->
{% list tabs group=ide %}

- Visual Studio Code {#vscode}

  If you want to resolve issues with Code Assistant through our [support](https://center.yandex.cloud/support), make sure to prepare an IDE log file in advance:

  1. In the lower right corner of the IDE, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g fill="#000" clip-path="url(#svg-twsyncho__clip0_1068_334)"><path fill-rule="evenodd" d="M5.2 1A1.2 1.2 0 0 0 4 2.2v10.299a.5.5 0 0 0 .853.354L6.706 11H14.8A1.2 1.2 0 0 0 16 9.8V2.2A1.2 1.2 0 0 0 14.8 1H5.2Zm5.273 1.5L8 9.5h1.527L12 2.5h-1.527Z" clip-rule="evenodd"/><path d="M1.2 3H3v1H1.2a.2.2 0 0 0-.2.2v9.6c0 .11.09.2.2.2h11.6a.2.2 0 0 0 .2-.2V12h1v1.8a1.2 1.2 0 0 1-1.2 1.2H1.2A1.2 1.2 0 0 1 0 13.8V4.2A1.2 1.2 0 0 1 1.2 3Z"/></g><defs><clipPath id="svg-twsyncho__clip0_1068_334"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>.
  1. In the menu that opens, select **Export Logs**.
  1. An explorer window with the `logs.zip` archive will open. Attach the archive to your support ticket.

- JetBrains IDE {#jb}

  If you want to resolve issues with Code Assistant through our [support](https://center.yandex.cloud/support), make sure to prepare an IDE log file in advance:

  1. In top IDE menu, click **Help** and select **Show Log in Explorer** (**Show Log in Finder** for macOS).
  1. In the window that opens, copy the `idea.log` file and attach it to your support ticket.

{% endlist %}
<!-- endsource: en/_includes/code-assistant/get-logs.md -->

### To what internet resources does Code Assistant need access? {#fqdn}

For the list of internet resources it needs access to, see [SourceCraft Code Assistant resource FQDNs](https://sourcecraft.dev/portal/docs/en/code-assistant/security/fqdn.md).

## Working in Visual Studio Code {#vs-code-ide}

### Visual Studio Code authentication error {#crypto-is-not-defined-vsc}

Error message:

```text
crypto is not defined
```

This is an error returned by the internal IDE library used for authentication in SourceCraft. To resolve this error, [upgrade](https://code.visualstudio.com/docs/setup/setup-overview#_update-cadence) your Visual Studio Code version.

{% cut "Below is an example of a Visual Studio Code build with the plugin support." %}

```text
Version: 1.92.2 (system setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
```

{% endcut %}

See also [How to find out your IDE version](https://code.visualstudio.com/docs/setup/setup-overview#_how-do-i-know-which-version-im-running).


### How do I change the plugin interface language in Visual Studio Code? {#plugin-language-vsc}

The plugin interface language depends on the IDE interface language.

### How do I switch to an earlier Code Assistant AI model? {#legacy-model}

<!-- source: en/_includes/code-assistant/switch-model.md -->
Code Assistant provides default access to these profiles:
* `default`: Main model in the Code Assistant LLM ensemble from Yandex AI Studio.
* `default-thinking`: Experimental reasoning model.
* `legacy`: Main model’s previous version.

You can switch between profiles in the following ways:
* In the Code Assistant settings:

  1. In the chat's top panel, click <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0" clip-rule="evenodd"/></svg> **Settings**.
  1. Under **Profile**, select the required profile.

* In the chat's bottom menu, open the drop-down list of model configuration profiles <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M13.03 10.53a.75.75 0 0 1-1.06 0L8 6.56l-3.97 3.97a.75.75 0 1 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06" clip-rule="evenodd"/></svg> and select the profile.
<!-- endsource: en/_includes/code-assistant/switch-model.md -->

## Using JetBrains IDE {#jetbrains-ide}

### The plugin does not start in JetBrains IDE; 404 error; Code Assistant's suggestions not displayed {#plugin-doesnt-start-jb}

Try restarting the IDE.


### The JetBrains IDE plugin installs incorrectly {#plugin-installed-incorrectly-jb}

<!-- source: en/_includes/code-assistant/plugin-ide-zip.md -->
The plugin is installed in the IDE as a ZIP archive. Do not unpack the archive you downloaded.

Some browsers, such as Safari on macOS, automatically unpack the downloaded archives. To download the plugin file exactly as an archive, right-click the link with the plugin, select **Download Linked File As...**, and click **Save**.
<!-- endsource: en/_includes/code-assistant/plugin-ide-zip.md -->


### Proxy authentication error in JetBrains IDE {#auth-error-proxy-jb}

Error message:

```text
Failed to authenticate with proxy
```

Check if the proxy server is enabled in the IDE. If it is, disable it and try authenticating again.
