Technical FAQ about SourceCraft Code Assistant

General questions

How is the service currently called?

The service is now part of SourceCraft. 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.

Does the service have any usage limitations?

For more on limits, see Quotas in SourceCraft Code Assistant.

When selecting a model in the interface, you are prompted to sign up for a paid subscription

Ensure that a paid subscription has been assigned to you in the organization selected for neurocredit deductions in the SourceCraft UI chat, Code Assistant plugin, or SourceCraft CLI.

Warning

Archived Code Assistant Pro plan does not grant access to selecting AI models.

Model is disabled in the organization

Contact your organization's Administrator or Owner for them to update the available list of models.

Model is not available from the provider

Administrator or organization owner may see the Unavailable from provider status on the AI models page within the organization settings. The respective model is temporarily unable to process requests and does not appear part of the user-available selection options, even if its use is allowed within the organization.

Which IDE versions are supported?

The Code Assistant plugin is now available for Visual Studio Code, VSCodium, and JetBrains IDE versions 2026.2, 2026.1, 2025.3, 2025.2, 2025.1, 2024.3, 2024.2, and 2024.1.

Do I need a Yandex Cloud billing account to work with Code Assistant?

You do not need a billing account to use the free subscription. For a paid subscription, link a billing account to your organization as described in Assigning or updating an organization member’s subscription in SourceCraft.

How do I sign up for a paid subscription for Code Assistant?

You can manage subscriptions through the SourceCraft UI. Assign a paid subscription to the organization member who will use Code Assistant. If a subscription is already assigned, switch it. Only an organization administrator can assign subscriptions.

For license costs and activation, see the pricing policy.

I have already paid for my Code Assistant Pro this month. What happens if I switch to another subscription?

If a member’s Code Assistant Pro subscription has already been paid for in the month of the switch, a one-time discount is applied to the new subscription for that month, in addition to the discount for the first three months.

The neurocredit quota takes the value of the new subscription quota, and any neurocredits already consumed in the current month count toward it: switching does not reset your consumption counter.

Tip

When switching to any new paid subscription, a discount policy applies.

Follow this guide to learn how to switch a subscription. For details, see the rules for switching from archived plans.

What do I do if out of neurocredits in the SourceCraft plugin, CLI, or interface?

With a paid subscription, an administrator can increase your neurocredit quota with pay-as-you-go billing. After you have used up your subscription quota, any additional neurocredits are billed on a pay-as-you-go basis.

Check the member’s additional quota. It is configured by an administrator in the SourceCraft UI and applies to usage across Code Assistant plugins, SourceCraft CLI, and SourceCraft. The organization’s total additional quota is equal to the sum of quotas available to the organization members.

The free subscription does not support usage beyond the quota. To enable it, assign a paid subscription and activate it.

Are my requests logged when using Code Assistant in the IDE plugins or SourceCraft CLI?

Your requests are not logged when connecting to the pre-installed SourceCraft model.

If you are using third-party models, you can disable logging by providing the x-data-logging-enabled header set to false:

  • SourceCraft CLI and JetBrains IDE plugin: Add the header to the OpenCode configuration file:

    • Globally for all repositories:
      • /Users/<username>/Library/Application Support/sourcecraft/opencode/opencode.json in macOS.
      • /home/<username>/.config/sourcecraft/opencode/opencode.json in Linux.
      • C:\Users\<username>\AppData\Roaming\sourcecraft\opencode\opencode.json in Windows.
    • Locally: In the .opencode/opencode.json file in your repository directory.

    For more information on using the options.headers provider parameter to configure custom headers, see this OpenCode guide.

  • Visual Studio Code plugin: Configure this in the model profile settings.

Can I use the plugin without internet access?

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

How do I change a user authenticated in the Code Assistant plugin?

To authenticate in Code Assistant as another SourceCraft user, log out of your current account and re-authenticate as described in step 3 of Install and configure the plugin.

Error getting a refresh token

Error message:

Error refreshing token: no refresh token found

Your organization does not allow issuing refresh tokens used by Code Assistant for authentication. To work with Code Assistant, register in SourceCraft using your personal Yandex account.

Token errors

Log out of your profile and then re-authenticate as described in step 3 of the Install and configure the plugin section.

ErrorĀ 400 during authentication

Error message:

Authorization error: Request failed with status code 400

This error may occur if the system time on your computer is set incorrectly. Check your system time and try authenticating again.

How do I get IDE logs?

If you want to resolve issues with Code Assistant through our support, make sure to prepare an IDE log file in advance:

  1. In the lower right corner of the IDE, click .
  2. In the menu that opens, select Export Logs.
  3. An explorer window with the logs.zip archive will open. Attach the archive to your support ticket.

If you want to resolve issues with Code Assistant through our 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).
  2. In the window that opens, copy the idea.log file and attach it to your support ticket.

To what internet resources does Code Assistant need access?

For the list of internet resources it needs access to, see SourceCraft Code Assistant resource FQDNs.

Working in Visual Studio Code

Visual Studio Code authentication error

Error message:

crypto is not defined

This is an error returned by the internal IDE library used for authentication in SourceCraft. To resolve this error, upgrade your Visual Studio Code version.

Below is an example of a Visual Studio Code build with the plugin support.
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

See also How to find out your IDE version.

How do I change the plugin interface language in Visual Studio Code?

The plugin interface language depends on the IDE interface language.

Using JetBrains IDE

Code Authentication Failed or 404 Not Found SourceCraft error during authentication

When authenticating the plugin, you may get one of these errors in your browser:

SourceCraft Code Authentication Failed
404 Not Found

To fix this error:

  1. Delete the plugin and restart the IDE.
  2. Reinstall the plugin but do not run authentication.
  3. Set another browser as your default browser temporarily, e.g., Firefox.
  4. In the new browser, go to the authentication page and sign in using your personal login@yandex.ru type Yandex account, ​​not your domain account.
  5. In the management console, make sure you selected the correct account.
  6. Go back to the IDE, click , type SourceCraft Code Assistant and select SourceCraft Code Assistant: Login.

After successful authentication, the SourceCraft Code Assistant Authenticated Successfully message will appear in the browser.

The plugin does not start in JetBrains IDE; 404 error; Code Assistant's suggestions not displayed

Try restarting the IDE.

Error during plugin installation: No plugins found. Check the log file for errors

This error occurs if the JetBrains IDE version is not supported by the Code Assistant plugin. Check the list of supported versions and make sure your IDE version is among them.

The JetBrains IDE plugin installs incorrectly

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.

Proxy authentication error in JetBrains IDE

Error message:

Failed to authenticate with proxy

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