fix: fixes agents issue by removing depreciated feature output parser from the LLM Model Components (#5242)
* remove depreciated output parser * Update model.py * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Update model.py * Update src/backend/base/langflow/base/models/model.py Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
f9c2c270da
commit
13a468027b
20 changed files with 4 additions and 159 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from langflow.components.models.huggingface import HuggingFaceEndpointsComponent
|
||||
from langflow.inputs.inputs import DictInput, DropdownInput, FloatInput, HandleInput, IntInput, SecretStrInput, StrInput
|
||||
from langflow.inputs.inputs import DictInput, DropdownInput, FloatInput, IntInput, SecretStrInput, StrInput
|
||||
|
||||
|
||||
def test_huggingface_inputs():
|
||||
|
|
@ -20,7 +20,6 @@ def test_huggingface_inputs():
|
|||
"huggingfacehub_api_token": SecretStrInput,
|
||||
"model_kwargs": DictInput,
|
||||
"retry_attempts": IntInput,
|
||||
"output_parser": HandleInput,
|
||||
}
|
||||
|
||||
# Check if all expected inputs are present
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue