BoltAI / BoltAI

BoltAI issue tracker
https://boltai.app
11 stars 1 forks source link

Chat Without 'User' Entries #182

Open armen-y opened 1 month ago

armen-y commented 1 month ago

Describe the bug It is possible to create a conversation that has no user prompt in it. That is a bug, right?

To Reproduce

  1. Create a 'New Chat'
  2. Ask a question, for example 'In one sentence, tell me about the origin of Java.' Submit to generate the assistant response.
  3. Press the 'Edit message' pencil icon to bring up the editing window.
  4. Modify the question to 'In one sentence, tell me about the origin of C++.' Do NOT submit or regenerate at this time.
  5. Back in BoltAI's main window, delete the new chat.
  6. Back in the message editing window, press 'Save and Regenerate'
  7. Press Conversation -> Export -> Export as Markdown.

Expected behavior The user query is included as part of the conversation, both in BoltAI's window, as well as in the export.

Observed behavior The exported conversation has no user prompt content. Only the assistant response is present, while the user's question is nowhere to be found.

Screenshots Attached screenshot shows a response with no question. It appears as though BoltAI is reading my mind.

No Question

Version:

longseespace commented 1 month ago

Interesting. This is an edge case that I haven't handled yet.

But why would you delete the on-going chat? Is it just to test this edge case or what were you trying to achieve?

armen-y commented 1 month ago

It was an accident, Daniel. I am a little trigger-happy when it comes to deleting chats.-A.On Oct 4, 2024, at 11:34 AM, Daniel Nguyen @.***> wrote: Interesting. This is an edge case that I haven't handled yet. But why would you delete the on-going chat? Is it just to test this edge case or what were you trying to achieve?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>