* feat(pyproject.toml): update package versions to 1.0.6 for langflow and 0.0.82 for langflow-base to reflect latest changes and improvements
* chore(lock): new lock
* fix: update ChatGroq output in GroqModel.py
Fixed Create Data component to maintain old values and use new code structure
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(tracing_service): use correct trace name and attribute name
* fix: update tracing_service attribute name in LCModelComponent
* feat: add trace_name property in CustomComponent
* fix: update trace_name usage in Component build method
* feat: update log method in CustomComponent to use trace_name
* fix: update trace_name usage in Component build method
* feat(custom_component): add logs to CustomComponent
The `CustomComponent` class now includes a `_logs` attribute to store log messages. This attribute is initialized as an empty list in the constructor. The `log` method has been updated to accept an optional `name` parameter, which allows specifying a custom name for the log message. If no name is provided, a default name is generated based on the number of logs already stored.
This change enhances the logging functionality of the `CustomComponent` and provides more flexibility in managing log messages.
* feat(tracing_service): add logs to TracingService
This commit adds a `_logs` attribute to the `TracingService` class to store log messages. The attribute is initialized as a defaultdict of lists in the constructor. The `add_log` method has been updated to append logs to the corresponding trace name in the `_logs` dictionary. This change enhances the logging functionality of the `TracingService` and allows for better management of log messages.
* chore(tracing_service): improve error handling in stop method
* refactor(tracing/service.py): update _logs data structure to support both Log objects and generic dictionaries for flexibility in handling different types of data
refactor(tracing/service.py): add conditional check to only add metadata if it is provided for better control over the information being added
* refactor: update build_model method return type annotation
* refactor(CohereModel.py): update return type of build_model method to only LanguageModel for clarity and consistency
* chore(GroqModel.py): add stop_sequences parameter to GroqModel query method
* refactor(AstraDB.py): reorganize imports and update cached_vectorstore type
* refactor: update cached_vectorstore type and input order in CassandraVectorStoreComponent
* chore(GroqModel.py): remove unused stop_sequences parameter in GroqModel query method
* 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>
* fix azure openai model component: resource not found
* type
* type
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Fix: Ctrl F overriding browser ctrl f when editing node
* Refactor: use noflow class instead of isThereModal function
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
* add test to decision flow
* add test to decision flow
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore: update linting workflows to include dev branch in merge_group
* Update README.md
Add 1.0 banner
* Update README.md
* chore: update package versions in pyproject.toml files
* Added db value to every onChange on parameters
* Refactored global variables to find variables on the first render, and to execute just one onChange to update both values and db
* Changed group recursion function to include check for global variables already applied or outdated
* Removed already inserted component check for default fields on global variables
* Fixed import error
* Added required parameters to update node on drop
* Removed check for unused hardcoded name
* Added global variables handling on nodes when adding a flow
* Fixed maximum update depth when deleting used global variable
* Fixed type error on addNewVariableButton modal
* Fixed openai api key on starter flows
* Fixed values to get the .env values by default on the starter projects
* Formatted flows
* fix erros reported by mypy
* [autofix.ci] apply automated fixes
* 🐛 (prototypes/__init__.py): fix missing comma in the list of imported components to prevent syntax error
* chore: Fix type hinting in ConditionalRouterComponent
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* feat: Add LanguageModel to field_typing module
* chore: Fix type annotations in model build methods
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Refactor the `ensure_valid_key` function in `utils.py` to improve the generation of a valid key for authentication. The function now checks if the input key is too short and generates a random key if necessary. Additionally, the key is now URL-safe base64-encoded. This change enhances the security and reliability of the authentication process.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>