mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 13:29:52 +08:00
fe49ba9e236db987a14e256cd207eb09b519ebaa
5 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| c7f5e4f843 |
Fix lint and tests (#1959)
* refactor(chat.py): rename flow_id variable to flow_id_str for better clarity refactor(chat.py): update flow_id usage to flow_id_str in build_vertex function for consistency refactor(chat.py): change flow_id to flow_id_str in build_vertex function for consistency refactor(chat.py): replace flow_id with flow_id_str in build_vertex function for consistency refactor(chat.py): update flow_id to flow_id_str in build_vertex_stream function for consistency refactor(chat.py): change flow_id to flow_id_str in build_vertex_stream function for consistency refactor(chat.py): replace flow_id with flow_id_str in build_vertex_stream function for consistency refactor(chat.py): update flow_id to flow_id_str in build_vertex_stream function for consistency refactor(endpoints.py): replace flow_id with flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): update flow_id to flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): change flow_id to flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): replace flow_id with flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): update flow_id to flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): change flow_id to flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): replace flow_id with flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): update flow_id to flow_id_str in simplified_run_flow function for consistency refactor(endpoints.py): change flow_id to flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): replace flow_id with flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): update flow_id to flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): change flow_id to flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): replace flow_id with flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): update flow_id to flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): change flow_id to flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): replace flow_id with flow_id_str in experimental_run_flow function for consistency refactor(endpoints.py): update flow_id fix(files.py): update variable names from flow_id to flow_id_str for consistency feat(files.py): use flow_id_str instead of flow_id for file operations to ensure correct folder paths feat(files.py): improve error handling and response messages in file operations feat(flows.py): optimize query for fetching example flows feat(folders.py): refactor create_folder function for better readability and maintainability feat(folders.py): update_folder function to handle excluded_flows and concat_folder_components feat(folders.py): improve error handling and response messages in folder operations feat(folders.py): optimize query for fetching folder in download_file function feat(schemas.py): update FlowListReadWithFolderName schema field names to name and description feat(OpenAIConversationalAgent.py): add support for using pydantic SecretStr for storing API key securely feat(ChatOpenAISpecs.py): add support for using pydantic SecretStr for storing API key securely refactor(RecordsOutput.py): change base class from TextComponent to CustomComponent refactor(base.py): remove unused import and log_transaction call refactor(model.py): change components and flows fields to have default_factory=list refactor(utils.py): update SQLModel import and use Field for components and flows fields refactor(service.py): change table_map declaration to use type hints for better readability * feat(tests): add import statement for Folder model in conftest.py to support new functionality refactor(tests): update query in conftest.py to use nested query for Folder name refactor(tests): update import statement for UUID in test_endpoints.py refactor(tests): update UUID usage in test_endpoints.py for consistency and clarity refactor(tests): update UUID usage in test_endpoints.py for consistency and clarity refactor(tests): update UUID usage in test_endpoints.py for consistency and clarity refactor(tests): update UUID usage in test_endpoints.py for consistency and clarity feat(tests): add import statement for Folder model in test_initial_setup.py to support new functionality refactor(tests): update query in test_initial_setup.py to use Folder model for better readability and maintainability * new lock |
|||
| 836ac08d80 |
Update datetime handling in ApiKey and Variable models (#1673)
* Update datetime handling in ApiKey and Variable models * Refactor test_login_successful function in test_login.py * Fix nullable attribute for created_at and updated_at fields in Variable model |
|||
| 4ee9b72634 |
Fix various issues and refactor code (#1671)
* Update setup_mode to "Sync" in AstraDBVectorStoreComponent * Fix search_kwargs default value in PineconeSearch and QdrantSearch components * Update Playwright test and ChatMessage component in chat_io.spec.ts and chatMessage/index.tsx * Refactor test_pickle_each_vertex function in test_graph.py * Refactor database service to improve performance and readability |
|||
| 254f11485e |
Fix various issues and refactor code (#1647)
* Add options field to FIELD_FORMAT_ATTRIBUTES constant and import pathlib in test_initial_setup.py * Update TEXT_FILE_TYPES in utils.py and handle missing file path error in Vertex class * Fix tweak value assignment in process.py and clear session cache in test_process.py * New lock * Update repository URLs and fix file paths in code blocks * Fix data retrieval in test_pickle_graph and test_pickle_each_vertex in test_graph.py * Refactor load_starter_projects function to include type hinting in setup.py * Update name of Basic Prompting (Hello, world!) project to Basic Prompting (Hello, World) * Refactor Graph.process() method to accept start_component_id parameter * Refactor test_endpoints.py to use "Chat Output" instead of "Prompt Output" and "ChatOutput" instead of "TextOutput" |
|||
| 05cd6e4fd7 |
1.0 Alpha (#1599)
* Update model kwargs and temperature values
* Update keyboard shortcuts for advanced editing
* make Message field have no handles
* Update OpenAI API Key handling in OpenAIEmbeddingsComponent
* Remove unnecessary field_type key from CustomComponent class
* Update required field behavior in CustomComponent class
* Refactor AzureOpenAIModel.py: Removed unnecessary "required" attribute from input parameters
* Update BaiduQianfanChatModel and OpenAIModel configurations
* Fix range_spec step type validation
* Update RangeSpec step_type default value to "float"
* Fix Save debounce
* Update parameterUtils to use debounce instead of throttle
* Update input type options in schemas and graph base classes
* Refactor run_flow_with_caching endpoint to include simplified and experimental versions
* Add PythonFunctionComponent and test case for it
* Add nest_asyncio to fix event loop issue
* Refactor test_initial_setup.py to use RunOutputs instead of ResultData
* Remove unused code in test_endpoints.py
* Add asyncio loop to uvicorn command
* Refactor load_session method to handle coroutine result
* Fixed saving
* Fixed debouncing
* Add InputType and OutputType literals to schema.py
* Update input type in Graph class
* Add new schema for simplified API request
* Add delete_messages function and update test_successful_run assertions
* Add STREAM_INFO_TEXT constant to model components
* Add session_id to simplified_run_flow_with_caching endpoint
* Add field_typing import to OpenAIModel.py
* update starter projects
* Add constants for Langflow base module
* Update setup.py to include latest component versions
* Update Starter Examples
* sets starter_project fixture to Basic Prompting
* Refactor test_endpoints.py: Update test names and add new tests for different output types
* Update HuggingFace Spaces link and add image for dark mode
* Remove filepath reference
* Update Vertex params in base.py
* Add tests for different input types
* Add type annotations and improve test coverage
* Add duplicate space link to README
* Update HuggingFace Spaces badge in README
* Add Python 3.10 installation requirement to README
* Refactor flow running endpoints
* Refactor SimplifiedAPIRequest and add documentation for Tweaks
* Refactor input_request parameter in simplified_run_flow function
* Add support for retrieving specific component output
* Add custom Uvicorn worker for Langflow application
* Add asyncio loop to LangflowApplication initialization
* Update Makefile with new variables and start command
* Fix indentation in Makefile
* Refactor run_graph function to add support for running a JSON flow
* Refactor getChatInputField function and update API code
* Update HuggingFace Spaces documentation with duplication process
* Add asyncio event loop to uvicorn command
* Add installation of backend in start target
* udpate some starter projects
* Fix formatting in hugging-face-spaces.mdx
* Update installation instructions for Langflow
* set examples order
* Update start command in Makefile
* Add installation and usage instructions for Langflow
* Update Langflow installation and usage instructions
* Fix langflow command in README.md
* Fix broken link to HuggingFace Spaces guide
* Add new SVG assets for blog post, chat bot, and cloud docs
* Refactor example rendering in NewFlowModal
* Add new SVG file for short bio section
* Remove unused import and add new component
* Update title in usage.mdx
* Update HuggingFace Spaces heading in usage.mdx
* Update usage instructions in getting-started/usage.mdx
* Update cache option in usage documentation
* Remove 'advanced' flag from 'n_messages' parameter in MemoryComponent.py
* Refactor code to improve performance and readability
* Update project names and flow examples
* fix document qa example
* Remove commented out code in sidebars.js
* Delete unused documentation files
* Fix bug in login functionality
* Remove global variables from components
* Fix bug in login functionality
* fix modal returning to input
* Update max-width of chat message sender name
* Update styling for chat message component
* Refactor OpenAIEmbeddingsComponent signature
* Update usage.mdx file
* Update path in Makefile
* Add new migration and what's new documentation files
* Add new chapters and migration guides
* Update version to 0.0.13 in pyproject.toml
* new locks
* Update dependencies in pyproject.toml
* general fixes
* Update dependencies in pyproject.toml and poetry.lock files
* add padding to modal
* ✨ (undrawCards/index.tsx): update the SVG used for BasicPrompt component to undraw_short_bio_re_fmx0.svg to match the desired design
♻️ (undrawCards/index.tsx): adjust the width and height of the BasicPrompt SVG to 65% to improve the visual appearance
* Commented out components/data in sidebars.js
* Refactor component names in outputs.mdx
* Update embedded chat script URL
* Add data component and fix formatting in outputs component
* Update dependencies in poetry.lock and pyproject.toml
* Update dependencies in poetry.lock and pyproject.toml
* Refactor code to improve performance and readability
* Update dependencies in poetry.lock and pyproject.toml
* Fixed IO Modal updates
* Remove dead code at API Modal
* Fixed overflow at CodeTabsComponent tweaks page
* ✨ (NewFlowModal/index.tsx): update the name of the example from "Blog Writter" to "Blog Writer" for better consistency and clarity
* Update dependencies versions
* Update langflow-base to version 0.0.15 and fix setup_env script
* Update dependencies in pyproject.toml
* Lock dependencies in parallel
* Add logging statement to setup_app function
* Fix Ace not having type="module" and breaking build
* Update authentication settings for access token cookie
* Update package versions in package-lock.json
* Add scripts directory to Dockerfile
* Add setup_env command to build_and_run target
* Remove unnecessary make command in setup_env
* Remove unnecessary installation step in build_and_run
* Add debug configuration for CLI
* 🔧 chore(Makefile): refactor build_langflow target to use a separate script for updating dependencies and building
✨ feat(update_dependencies.py): add script to update pyproject.toml dependency version based on langflow-base version in src/backend/base/pyproject.toml
* Add number_of_results parameter to AstraDBSearchComponent
* Update HuggingFace Spaces links
* Remove duplicate imports in hugging-face-spaces.mdx
* Add number_of_results parameter to vector search components
* Fixed supabase not commited
* Revert "Fixed supabase not commited"
This reverts commit
|