-
Notifications
You must be signed in to change notification settings - Fork 191
Kiro > Chat menu option gives an error and erases chat history #5406
Copy link
Copy link
Closed
Labels
Description
Before opening, please confirm:
Operating System
darwin
Kiro Version
0.8.140
Bug Description
When using the right mouse menu to select part of file and send to the Kiro chat using (Kiro > Chat), the chat window gives the following error message
"We've encountered an unknown error
Cannot read properties of undefined (reading 'replace')
Return to chat"
Clicking on "Return to chat" goes to a brand new chat and the original conversation is lost form chat history.
Steps to Reproduce
- Open Kiro
- Open a Markdown file (have not tested with other types of files)
- Continue or start a new chat conversation
- Use the mouse or keyboard to select part of the text
- Right click to launch menu
- Select Kiro > Chat
- Chat window will display the following error message "We've encountered an unknown error Cannot read properties of undefined (reading 'replace')" and a button saying "Return to chat"
- Click on the "Return to chat" button, it will take you to a brand new chat session and the previous session is lost from history
Expected Behavior
- Text selected is sent to Kiro chat so it can be part of the context
- No errors when performing this task
- If there are any errors, that I can restore my existing chat session to the previously good state
Conversation ID
ca9e94ab-be2e-4fe4-b848-a44a32ba6564
Additional Context

Reactions are currently unavailable