fix: resolve Model Issues and add huggingface dependency (#2339)

* chore: adding default values to Azure OpenAI mandatory component

* fix: huggingface model component:
  - Change Huggingface-hub version from 0.20.0 to 0.22.0;
  - Internal model_id resolver not working, create a field to model_id;

* feat: add HuggingFace as extra dependency

* chore: remove redundant atribution on children

* fix: remove user environment variables from ChatLiteLLMModelComponent

---------

Co-authored-by: joaoguilhermeS <j.guilherme.s.oliveira2@gmail.com>
This commit is contained in:
João Pedro Miranda C. Hluchan 2024-07-02 11:04:26 -03:00 • committed by GitHub
commit 805df8298a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 65 additions and 66 deletions

View file

@ -30,7 +30,7 @@ langflow-base = { path = "./src/backend/base", develop = true }
beautifulsoup4 = "^4.12.2"
google-search-results = "^2.4.1"
google-api-python-client = "^2.130.0"
huggingface-hub = { version = "^0.20.0", extras = ["inference"] }
huggingface-hub = { version = "^0.22.0", extras = ["inference"] }
llama-cpp-python = { version = "~0.2.0", optional = true }
networkx = "^3.1"
fake-useragent = "^1.5.0"