-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Feat: support agent version history. #6130
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
Conversation
|
I don't have much experience with mysql, but I will try |
|
Hi @KevinHuSh, It's ready |
|
Can I add more feature. Example: model settings agent, agent list by team. |
|
What about #6155 if you're interested in? In term of back end, it needs a new DB table to store the configuration of a given user. |
|
@isthaison @KevinHuSh
$ git clone -b agent-history git@github.com:isthaison/ragflow.git ragflow_6310
$ cd ragflow_6310/
$ git log
commit 6ecbde83ac5fe6c3f1df3ffdd4559c2c54b76d0f (HEAD -> agent-history, origin/agent-history)
Author: so95 <is.thaison@gmail.com>
Date: Mon Mar 17 17:51:39 2025 +0700
fixed show create date
...
$ docker build --progress=plain --build-arg LIGHTEN=1 --build-arg NEED_MIRROR=1 -f Dockerfile -t infiniflow/ragflow:ni
ghtly-slim .
$ cd docker
$ sed -i 's#^RAGFLOW_IMAGE=.*#RAGFLOW_IMAGE=infiniflow/ragflow:nightly-slim#' .env
$ docker compose -f docker-compose.yml up -d |
|
@asiroliu Could you try again. I have adjusted it, so that it can be imported. |
|
@isthaison |
|
@isthaison @KevinHuSh
|
|
Hi @asiroliu, the list history don't include the latest version |
|
I had change logic save version. Would you like trying to again |
|
@isthaison @KevinHuSh |
FYI: This feature has been taken. |
|
If so, that would be fine. |
|
Shall we start building it? |
### What problem does this PR solve? Add history version save - Allows users to view and download agent files by version revision history  _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe): --------- Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
Chikage0o0
left a comment
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.
Docker path mapping recommendation
| - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf | ||
| - ./nginx/proxy.conf:/etc/nginx/proxy.conf | ||
| - ./nginx/nginx.conf:/etc/nginx/nginx.conf | ||
| - ../history_data_agent:/ragflow/history_data_agent |
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.
Generally, files should be stored in the docker folder for easy migration, just like logs
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.
This line should be removed, since history is saved in DB now.
What problem does this PR solve?
Add history version save
Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR.
Type of change