Steven Tey

Results 352 comments of Steven Tey

Merging this now – thank you so much for the PR @hitgo00!

The error is happening here: https://github.com/steven-tey/chathn/blob/main/app/api/chat/route.ts#L57 That's probably cause you're not using the right `OPENAI_API_KEY`? i.e. the first response is returning error and hence the `message` is undefined

@jbbae's suggestion should fix this! Closing this for now!

Yeahhh I [noticed that too](https://github.com/steven-tey/novel/discussions/7#discussioncomment-6299988) – might need to coerce that to plaintext for now

Removed markdown formatting from the prompt for now until we figure out a solution for this: https://github.com/steven-tey/novel/commit/97b0c498ea5913448bc2f5ddfb298025f4d3415b

@jt6677 yeah that's smart! The root of the issue is streaming response doesn't play well with the way they're converted into markdown by `tiptap-markdown` – the maintainer of the lib,...

@tonyflo thanks for the callout – will get this prioritized soon

@Prajwalprakash3722 sure, thank you! A good approach would be the way Plausible handles this: https://plausible.io/plausible.io

Let's start with the Download Option @Prajwalprakash3722 🙏