-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Ensure the 'inputs' field in /chat-messages takes effect every time #7955
base: main
Are you sure you want to change the base?
Conversation
This PR does not resolve, using the conversation id to link to previous sessions but the input works |
I don't understand "using the conversation id to link to previous sessions but the input works". As for "This PR does not resolve", I have tried and I think it works. |
This PR is to make sure the 'inputs' field in the API "/chat-messages" takes effect every time, is that what you mean "using the conversation id to link to previous sessions but the input works"? |
Yes, you mean that the input field of the conversation can be updated under the same conversation, because the input is only effective when the conversation link is first established |
I noticed that both table 'messages' and table 'conversations' have an 'inputs' field. I think the 'inputs' field should be aligned with table 'messages'. The 'inputs' field in table 'conversations' may not be very useful. In this PR, the 'inputs' field in table 'conversations' means the 'inputs' in the first message, and the 'inputs' field in table 'messages' means the true inputs in this message. |
What's the mean of 'This PR does not resolve'? Is that any problems? |
This is the problem I encountered, maybe I understand wrong, this PR can't solve the problem of the video in issue? |
I understand that the conversation table input is valid for the first time. The message table is used for every subsequent interaction, right? |
right |
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.
Excellent changes, making the workflow much more flexible.
I think it's great, too Hope to support this feature |
Has this feature not been merged? |
I don't know why they don't merge it, maybe we need more people to push them. |
I highly appreciate your functionality and have submitted a new issue. If they do not merge, I will download your branch |
I have already talked to our team about this pr. :) |
I have opened a discussion here, please forward this to other community groups, we would like to gather some information regarding this feature. |
Hope to merge |
I tried to merge your code in my project, but it didn't take effect. I modified the three lines of code in those three files and changed them to inputs=self_ Prepare_user_inputs (user_inputs=inputs, app_ config=app_ config), right? |
right |
It seems to have failed? My DIY version is 0.11.0 |
Clipchamp.mp4 |
It works well in 0.8.0. I will try 0.11.0 if I have time |
@liuzixiao666 2024-11-15.17-36-33.mp4 |
i will have a try again |
Mine still hasn't taken effect. Is it because I started Docker? Are you starting from local source code |
I built Docker from local source code and run |
I can't quite understand your code, it seems like you have rebuilt a new Docker container. Does that mean that stopping the container and using 'docker compose up - d' will not work when I run it in the Docker directory? Do you know how to make the modified code take effect |
@liuzixiao666 If you want to use docker, you need to make sure the docker you use is built locally, or waiting for merging this PR. ^_^ |
What a great PR! This will solve a lot of problems! Looking forward to merging |
Remember to give a like here |
I think your three lines of code will not work, because each conversation does not pass the inputs from the front end. My version is 0.11.2. |
docker,This is an issue with pulling Docker from the cloud |
@HaiShin |
Checklist:
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsDescription
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. Close issue syntax:
Fixes #<issue number>
, see documentation for more details.Close #7952
Close #7846
Close #8063
Close #8839
Close #8546
Close #10522
Close #10055
Close #10643
Type of Change
Testing Instructions
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration