You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash when Models make Codeblocks with incorrect langs (confirmed) #342
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)
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)
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)
changed the title [-]App Crash when loading my thread (After usage)[/-][+]Crash when Models make Codeblocks with incorrect langs (confirmed)[/+]on Mar 7, 2026
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
Activity
meowarex commentedon Mar 7, 2026
i assume this is the codeblock being told the codes lang inside it in
envwhich is not a valid programming lang (This should not crash.. should just fallback to text)[-]App Crash when loading my thread (After usage)[/-][+]Crash when Models make Codeblocks with incorrect langs (confirmed)[/+]meowarex commentedon Mar 7, 2026
Yup! I fixed it by finding the message in the local DB and swapped it to
textand 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
textinstead of bricking the thread <3hwanseoc commentedon Mar 7, 2026
related to #307
mwolson commentedon Mar 7, 2026
Probably fixed by #279