GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Crash when Models make Codeblocks with incorrect langs (confirmed) · Issue #342 · pingdotgg/t3code

Crash when Models make Codeblocks with incorrect langs (confirmed) #342

New issue
Copy link
New issue
Copy link
Closed
Closed
Crash when Models make Codeblocks with incorrect langs (confirmed)#342
Copy link

Description

@meowarex
meowarex
opened on Mar 7, 2026
Issue body actions

Basically GPT-5.4 high was creating a .env file in my project and then all of a sudden this error throws and the thread loading causes the app to crash loop over and over forever whenever that thread is opened..

Context Just Before the crash (the split second i get when clicking Reload)
Image

Error: resolveLanguage: "env" not found in bundled or custom languages
    at gL (t3://app/assets/index-CWbABLMQ.js:174:19800)
    at _L (t3://app/assets/index-CWbABLMQ.js:174:20043)
    at SL (t3://app/assets/index-CWbABLMQ.js:174:21134)
    at MDe (t3://app/assets/index-CWbABLMQ.js:236:21026)
    at FDe (t3://app/assets/index-CWbABLMQ.js:236:22421)
    at bo (t3://app/assets/index-CWbABLMQ.js:9:47580)
    at pc (t3://app/assets/index-CWbABLMQ.js:9:70182)
    at Ac (t3://app/assets/index-CWbABLMQ.js:9:80465)
    at Lu (t3://app/assets/index-CWbABLMQ.js:9:116051)
    at Pu (t3://app/assets/index-CWbABLMQ.js:9:115098)

Activity

  1. meowarex commented on Mar 7, 2026

    @meowarex
    meowarex
    on Mar 7, 2026
    Author
    More actions

    i assume this is the codeblock being told the codes lang inside it in env which is not a valid programming lang (This should not crash.. should just fallback to text)

  2. meowarex
    changed the title [-]App Crash when loading my thread (After usage)[/-] [+]Crash when Models make Codeblocks with incorrect langs (confirmed)[/+] on Mar 7, 2026
  3. meowarex commented on Mar 7, 2026

    @meowarex
    meowarex
    on Mar 7, 2026
    Author
    More actions

    Yup! I fixed it by finding the message in the local DB and swapped it to text and now it works!

    So yea maybe just make sure that if a model sends a codeblock that contains a lang that is not found in the lists of bundled langs.. then fallback to text instead of bricking the thread <3

    Image
  4. hwanseoc commented on Mar 7, 2026

    @hwanseoc
    hwanseoc
    on Mar 7, 2026
    Contributor
    More actions

    related to #307

  5. mwolson commented on Mar 7, 2026

    @mwolson
    mwolson
    on Mar 7, 2026
    Contributor
    More actions

    Probably fixed by #279

  6. meowarex
    closed this as completedon Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.