raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.23k stars 2.92k forks source link

[ChatGPT] Viewing older conversations #13592

Closed scpedicini closed 1 month ago

scpedicini commented 1 month ago

Extension

https://www.raycast.com/abielzulio/chatgpt

Raycast Version

1.79.1

macOS Version

12.7.4

Description

Absolutely love this extension but recently I've been getting quite a few errors when going into my Conversations and trying to click on existing threads from a few months ago. The conversation appears to be there:

CleanShot 2024-07-21 at 13 47 47@2x

But if I hit enter I immediate hit the following error:

TypeError: Cannot read properties of undefined (reading 'length')

h3:answer-detail.tsx:5:10

---
2: import { Chat } from "../type";
3: 
4: export const AnswerDetailView = (props: { chat: Chat; streamData?: Chat | undefined }) => {
5:   const { chat, streamData } = props;
6:   const isStreaming = streamData && streamData.id === chat.id;
7: 
8:   const width = Math.floor(430 / Math.min(Math.max(chat.files.length, 1), 2));
---

    at ray-list-item
an:index.js:20:22695
    at ray-list-section

I think it might be related to the fact that I changed the names of some of the models.

Steps To Reproduce

N/A

Current Behaviour

Get a "Something went wrong" error.

Expected Behaviour

Should go into the conversation.

raycastbot commented 1 month ago

Thank you for opening this issue!

šŸ”” @abielzulio @erodactyl @pernielsentikaer @shichongrui @timolins @cruelmoney @abielzulio @abielzulio @k8scat @Nauxscript @aeither @leeonfield you might want to have a look.

šŸ’” Author and Contributors commands The author and contributors of `abielzulio/chatgpt` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.