mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 09:49:32 +08:00
🐛 fix(component.py): fix condition to check if _function_entrypoint_name is empty in Component class 🐛 fix(manager.py): change condition to check if key is in Settings.model_fields.keys() instead of Settings.__fields__.keys() for better accuracy ✨ feat(settings.py): add support for loading settings from a YAML file and updating settings from YAML and kwargs 🐛 fix(util.py): get "type" or "annotation" from value in get_type function to handle both cases 🐛 fix(test_cli.py): convert temp_dir to string before checking if it is in settings_manager.settings.COMPONENTS_PATH 🐛 fix(test_custom_component.py): change variable name from function_entrypoint_name to _function_entrypoint_name in tests for consistency and remove test for ComponentFunctionEntrypointNameNullError since it is not used anymore 📝 docs(test_llms_template.py): update description of `OpenAI` Chat large language models API in test case