(bump:patch) Fix: llama-cpp-python security bug and setup local latest branch in github action (#66)

* update llama-cpp-python version in response to https://github.com/Cinnamon/kotaemon/security/dependabot/1

* setup local latest branch in github action
This commit is contained in:
ian_Cin 2024-05-15 17:57:37 +07:00 committed by GitHub
parent fc35f9f918
commit a122dc0a94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@ jobs:
generate_release_notes: true generate_release_notes: true
tag_name: ${{ steps.update-version.outputs.new_tag }} tag_name: ${{ steps.update-version.outputs.new_tag }}
make_latest: true make_latest: true
- name: Setup latest branch locally without switching current branch
run: git fetch origin latest:latest
- name: Update latest branch - name: Update latest branch
run: | run: |
git branch -f latest tags/${{ steps.update-version.outputs.new_tag }} git branch -f latest tags/${{ steps.update-version.outputs.new_tag }}

View File

@ -41,7 +41,7 @@ dependencies = [
"pypdf>=4.2.0,<4.3", "pypdf>=4.2.0,<4.3",
"html2text==2024.2.26", "html2text==2024.2.26",
"fastembed==0.2.6", "fastembed==0.2.6",
"llama-cpp-python==0.2.65", "llama-cpp-python>=0.2.72,<0.3",
"azure-ai-documentintelligence", "azure-ai-documentintelligence",
"cohere>=5.3.2,<5.4", "cohere>=5.3.2,<5.4",
] ]