cognovi-ai / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
3 stars 0 forks source link

First entry of new journal does not return LLM entry analysis. #165

Open hiyaryan opened 3 days ago

hiyaryan commented 3 days ago

When a new journal is created and the first entry is posted, the LLM response is not showing up in the entry.

How to recreate the error:

  1. Start with a fresh journal: no entries.
  2. Write the first entry and submit.
  3. View the entry—analysis is expected but not found.

The bug is only in the first post. If a new post is made, the analysis shows up as expected. The error seems to be related to an edge case,