-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: add new playground ui #4193
Conversation
… a flow running message
…fier for astra-assistants package
.../src/modals/IOModal/components/IOFieldView/components/sessionSelector/newSessionSelector.tsx
Outdated
Show resolved
Hide resolved
.../src/modals/IOModal/components/IOFieldView/components/sessionSelector/newSessionSelector.tsx
Outdated
Show resolved
Hide resolved
.../src/modals/IOModal/components/IOFieldView/components/sessionSelector/newSessionSelector.tsx
Outdated
Show resolved
Hide resolved
src/frontend/src/modals/IOModal/components/chatView/chatInput/newChatInput.tsx
Outdated
Show resolved
Hide resolved
|
||
const { mutate } = usePostUploadFile(); | ||
|
||
const handleFileChange = async ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a question!
can we create a separate custom hook file to handle this, just to clean up the code in the component?
src/frontend/src/modals/IOModal/components/chatView/newChatView.tsx
Outdated
Show resolved
Hide resolved
@anovazzi1 Please, improve the PR title |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This commit adds a new button labeled "Run Flow" to the ChatInput component. When clicked, it triggers the sendMessage function with a repeat value of 1. Additionally, if there is no input in the chat, a message is displayed prompting the user to add a Chat Input component to their flow.
No description provided.