-
Notifications
You must be signed in to change notification settings - Fork 787
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
feat:Add support zip, tar.gz and git repo uploading as files #144
base: main
Are you sure you want to change the base?
Conversation
this is sweet, can we get this merged in VRSEN? |
sorry for delay, I did get question right now and have to tell you what a lovely idea i would be pleased 👍 |
@paulmikulskis let's continue on work there are lot of stuff what realy disturbs me when i use framework for my work pains me so much to see that kind of non senses 💯 |
Sorry for a delay guys, @sjurajpuchky, can you rebase this on main? |
@VRSEN conflicts are resolved, waits for approval |
print(f"Uploaded file ID: {file.id}") | ||
|
||
if file_path.endswith('.zip'): | ||
extracted_files.extend(extract_zip(file_path, to_folder)) |
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.
Thank you for your contribution, @sjurajpuchky ! Could you explain why you consider this functionality part of the core agent orchestration framework? Could it be implemented separately, either as a tool or a standalone service?
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.
Hi bonk1t, like to happen. Main reason was to availability upload more files at once with zip file since, there is a limit of 10 files (what i would like to solve in future) and one zip file is more confortable.
In date of PR, was zip files not supported.
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.
@sjurajpuchky Could you update the PR to include only the minimal necessary changes? I’ll review and merge it. Cheers!
Adding support of uploading zip and tar.gz files, files are extracted, sanitized filenames and filtred by supported extensions. Also folders like venv, vendor, node_modules are ignored. Support of upload files directly from git repository is also added. There is limit of 10 files to be uploaded at once.