Skip to content

Conversation

bytrangle
Copy link
Contributor

Describe Your Changes

  • Remove disabling of the textarea in ChatInput component. This allows users to type new question while waiting for the answer for the previous question.
  • Modify the conditions for sending prompt so that a prompt won't be sent if the agent is generating an answer for the previous prompt.

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 17:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables users to type new prompts while waiting for responses from the chat agent by removing the textarea disable behavior and updating send conditions.

  • Removed textarea disabling when streaming content is active
  • Modified prompt sending logic to prevent sending while agent is generating responses
  • Updated conditional formatting for better code readability

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bytrangle bytrangle changed the title enable new prompt input while waiting for an answer feat: Enable new prompt input while waiting for an answer Oct 9, 2025
@Copilot Copilot AI review requested due to automatic review settings October 10, 2025 07:41
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bytrangle bytrangle requested a review from Copilot October 11, 2025 09:01
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bytrangle
Copy link
Contributor Author

Hello @LazyYuuki. I'd appreciate your feedback when you get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

idea: allow text entry during answer generation

1 participant