Comments (17)
Weird about the virus check; this is why I provide the build hash data.
2.1.0e will have another fix, can't guarantee it'll be the last tho 🥲
from koalaclient.
For future reference, the local files are located:
On macOS: ~/Library/Application Support/koala-client
On Windows: C:\Users<YourUsername>\AppData\Roaming\koala-client
On Linux: ~/.config/koala-client
from koalaclient.
I was able to recreate a (not necessarily yours) Cannot read properties of undefined (reading 'model')
error that will be fixed in 2.1.0c, so don't reset your data yet.
I also added sourcemap building, so the error message should tell me where it is occurring in the source code now.
from koalaclient.
Hi, could you provide your error logs? Toggle Developer Tools -> Console
from koalaclient.
Hi, could you provide your error logs? Toggle Developer Tools -> Console
I did ctrl shift I then in console I see these
index-a4e37498.js:8 TypeError: Cannot read properties of undefined (reading 'model')
at Qrt (index-a4e37498.js:1653:32719)
at Yx (index-a4e37498.js:6:19551)
at zM (index-a4e37498.js:8:44101)
at RM (index-a4e37498.js:8:39819)
at uie (index-a4e37498.js:8:39745)
at Ey (index-a4e37498.js:8:39596)
at m7 (index-a4e37498.js:8:35959)
at LM (index-a4e37498.js:8:34906)
at R (index-a4e37498.js:1:11631)
at MessagePort.F (index-a4e37498.js:1:11995)
e7 @ index-a4e37498.js:8
index-a4e37498.js:8 Uncaught TypeError: Cannot read properties of undefined (reading 'model')
at Qrt (index-a4e37498.js:1653:32719)
at Yx (index-a4e37498.js:6:19551)
at zM (index-a4e37498.js:8:44101)
at RM (index-a4e37498.js:8:39819)
at uie (index-a4e37498.js:8:39745)
at Ey (index-a4e37498.js:8:39596)
at m7 (index-a4e37498.js:8:35959)
at LM (index-a4e37498.js:8:34906)
at R (index-a4e37498.js:1:11631)
at MessagePort.F (index-a4e37498.js:1:11995)
from koalaclient.
Something to mention is that last the previous version I had was compiled by cloning the repo and running the workflow for release.
However before installing this I uninstalled this and reinstalled just in case to check and it still failed.
Maybe it's the place where the chat saves and the api info is saved is the problem.
If you can tell me the location they are saved I can try deleting them if they are saved on the computer.
from koalaclient.
It is definitely a migration issue, but I would rather fix it that have you delete your history xD
from koalaclient.
@imesha10 did 2.1.0c fix it?
from koalaclient.
@imesha10 did 2.1.0c fix it?
No it still does not work though different error. I'll just temporarily rename the folder for the saved chats and it works.
index-ef3a6568.js:8 TypeError: Cannot read properties of undefined (reading 'prompt_cost_1000')
at mermaid-ae477ddf.js:15312:69
at Object.useMemo (index-ef3a6568.js:6:25886)
at wn.useMemo (index-ef3a6568.js:1:8991)
at mermaid-ae477ddf.js:15312:69
at Yx (index-ef3a6568.js:6:19551)
at t7 (index-ef3a6568.js:8:3143)
at lM (index-ef3a6568.js:8:2355)
at sM (index-ef3a6568.js:8:1897)
at zM (index-ef3a6568.js:8:47395)
at RM (index-ef3a6568.js:8:39819)
e7 @ index-ef3a6568.js:8
index-ef3a6568.js:8 Uncaught TypeError: Cannot read properties of undefined (reading 'prompt_cost_1000')
at mermaid-ae477ddf.js:15312:69
at Object.useMemo (index-ef3a6568.js:6:25886)
at wn.useMemo (index-ef3a6568.js:1:8991)
at mermaid-ae477ddf.js:15312:69
at Yx (index-ef3a6568.js:6:19551)
at t7 (index-ef3a6568.js:8:3143)
at lM (index-ef3a6568.js:8:2355)
at sM (index-ef3a6568.js:8:1897)
at zM (index-ef3a6568.js:8:47395)
at RM (index-ef3a6568.js:8:39819)
from koalaclient.
This should be fixed in 2.1.0d, but there's probably going to be alot more edge cases that occur since it looks like somehow your modelDefs or atleast modelDefs[0] is null (should've been populated as default config so idk)
from koalaclient.
Adding a scuffed modelDef reset if null check on app init, ig this is what I get for not following BetterChatGPT's migration schema.
from koalaclient.
Adding a scuffed modelDef reset if null check on app init, ig this is what I get for not following BetterChatGPT's migration schema.
Ok there is no rush if this is an edge case, I'll just wait till it's released and if it doesn't fix it I'll just delete my old chats. There is nothing I need to really keep there anyways.
from koalaclient.
is it still doing it on 2.1.0d?
from koalaclient.
is it still doing it on 2.1.0d?
was just about to install it but this happened
On Microsoft Defender:
On virus total it's clean
https://www.virustotal.com/gui/file/eb47eda7781cfa622c446fbd1e493ab87fa14bbd98ce3f75fb58bb87564d8c49?nocache=1
However the file is quarentied.
from koalaclient.
I'll build this by myself and see if it happens again.
from koalaclient.
I built it.
(I forked the repo, then ran the workflow to build and publish desktop app and this time didn't qurentine the file)
However the error remains:
index-84599a02.js:8 TypeError: Cannot read properties of undefined (reading 'name')
at mermaid-ae477ddf.js:15312:69
at yy (index-84599a02.js:8:24296)
at d1 (index-84599a02.js:8:42448)
at IM (index-84599a02.js:8:36651)
at bu (index-84599a02.js:6:3288)
at hie (index-84599a02.js:8:41325)
at Sh (index-84599a02.js:8:40309)
at LM (index-84599a02.js:8:35758)
at R (index-84599a02.js:1:11631)
at MessagePort.F (index-84599a02.js:1:11995)
e7 @ index-84599a02.js:8
index-84599a02.js:6 Uncaught TypeError: Cannot read properties of undefined (reading 'name')
at mermaid-ae477ddf.js:15312:69
at yy (index-84599a02.js:8:24296)
at d1 (index-84599a02.js:8:42448)
at IM (index-84599a02.js:8:36651)
at bu (index-84599a02.js:6:3288)
at hie (index-84599a02.js:8:41325)
at Sh (index-84599a02.js:8:40309)
at LM (index-84599a02.js:8:35758)
at R (index-84599a02.js:1:11631)
at MessagePort.F (index-84599a02.js:1:11995)
from koalaclient.
I think at this point if this is just an edge case and it's just my saves that are corrupted then I'm fine with deleting them. (it works after deleting the old saves entire folder)
As I mentioned before I built your app by forking it before to test out the new api menu when it wasn't done yet so it might have corrupted the saves there. I don't know but it might be just a case of me only.
Please close this issue if you also agree that this is probably just an edge case other probably won't get.
from koalaclient.
Related Issues (20)
- Ctrl+Left and Ctrl+Right are hijacked by the app HOT 2
- Is it possible to support OpenRouter models? HOT 6
- support azure-openai gpt-35-turbo models HOT 5
- max token pop alert HOT 3
- support gpt4-tubor-preview? HOT 1
- after upgrade to latest, have to delete all config and restart the software. The old config files have to be exported and imported HOT 3
- new api gpt-4-0125-preview HOT 2
- Google Sync seems to be broken HOT 4
- possible to add gpt-4-turbo-2024-04-09 ? HOT 2
- (feature idea) Automatically set model according to settings & chat size HOT 3
- make chat search auto-expand all folders
- Claude API HOT 1
- Save/Save and Submit should stop Whisper record and wait to resolve transcription before chat completion
- add clear search bar X button
- Token length bugs? HOT 2
- Automatically focus text area on new chat
- New tab keybind
- Settings menu for custom model names HOT 9
- Inconsistent Chat Title Naming Behaviour on Creating New Chat HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koalaclient.