Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the terminal chat mode functionality by adding conversational support to the UiPath CLI terminal interface. The changes enable users to interact with agents through a chat interface by introducing a checkbox toggle for "chat mode" and handling conversation messages appropriately.
Key changes:
- Added conversational mode toggle to the new run form with automatic JSON input hiding
- Extended runtime context to support conversation messages and conversational flag
- Enhanced execution flow to handle both regular JSON input and conversational messages
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/uipath/_cli/_runtime/_contracts.py |
Added conversation message and conversational flag fields to runtime context |
src/uipath/_cli/_dev/_terminal/_styles/terminal.tcss |
Added styling for pending execution state and checkbox components |
src/uipath/_cli/_dev/_terminal/_models/_execution.py |
Enhanced ExecutionRun to support conversational mode and pending status |
src/uipath/_cli/_dev/_terminal/_components/_new.py |
Added conversational toggle checkbox with dynamic JSON input visibility |
src/uipath/_cli/_dev/_terminal/_components/_details.py |
Updated chat input disabling logic for conversational mode |
src/uipath/_cli/_dev/_terminal/_components/_chat.py |
Enhanced chat panel to handle execution run message updates |
src/uipath/_cli/_dev/_terminal/__init__.py |
Modified execution flow to handle conversational vs regular input modes |
pyproject.toml |
Version bump from 2.1.38 to 2.1.39 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
4b8281f to
423a977
Compare
423a977 to
549ed13
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the terminal chat mode functionality by adding conversational support to the UiPath CLI terminal interface. The changes enable users to interact with agents through a chat interface by introducing a checkbox toggle for "chat mode" and handling conversation messages appropriately.