Unsupported language 'boltArtifact'

Hi @gaoxiong5233,

please provide more information about your setup and what you tried to run (prompt, which provider, which model, …)

Are you on the stable branch?

Tracking down the code line, it appears that an exception is actually caused at line #39 of "./app/components/chat/CodeBlock.tsx"

if (language && !isSpecialLang(language) && !(language in bundledLanguages)) {
        logger.warn(`Unsupported language '${language}'`);
      }

      logger.trace(`Language = ${language}`);

I can only speculate without more information, but my guess is that the LLM you are trying to use either does not support English for “BoltArtifacts” or does not support “Artifacts” altogether? As @leex279 suggested, maybe confirm you are using the stable branch, and maybe try a different model (larger, multilingual, etc.)?

1 Like

The previous problem is gone .
BUT now


WHY FILES ARE NOT FILES

Read some more forum posts. 1.5B model is laughably small and WILL NOT WORK. Only “Instruct” models 7B or higher will interact with artifacts (terminal, container, files, etc.).

1 Like

See also FAQ first item: Frequently Asked Questions (FAQ) - bolt.diy Docs