📝 (chatView/index.tsx): refactor code to improve readability and maintainability by restructuring the filter and map functions
📝 (chatView/index.tsx): fix destructuring assignment to correctly access properties from output data
📝 (apiModal/views/index.tsx): remove unnecessary console.log statement to clean up code and improve code quality
prevent potential issues with missing prop
fix(utils.ts): set default value for mode parameter in extractColumnsFromRows
function to "union" to ensure consistent behavior and prevent errors
♻️ (playwright.config.ts): set headless to false for better debugging
♻️ (addNewVariableButton.tsx): add data-testid to save button for testing
🐛 (addNewVariableButton.tsx): fix optional chaining in error handling
♻️ (sideBarFolderButtons/index.tsx): add data-testid to input for testing
♻️ (sideBarFolderButtons/index.tsx): remove unnecessary commas
🐛 (api.tsx): fix duplicate request check to include method "get"
♻️ (api.tsx): remove unnecessary commas in function calls
♻️ (index.tsx): reorder import statements for better readability
💡 (index.tsx): remove trailing commas to adhere to coding standards
✅ (chatInputOutput.spec.ts): update file path for ChatTest.json for consistency
🐛 (darkStore.ts): add null check for GitHub stars to prevent potential errors
✅ (tests): update chatInputOutputUser.spec.ts to add new test for output inspection
🔧 (tests): fix path for collection.json in dragAndDrop.spec.ts
✅ (filterEdge.spec.ts): fix locator strings and remove redundant code
✅ (floatComponent.spec.ts): correct checkbox state expectations and remove redundant tests
✅ (folders.spec.ts): update folder creation and editing flow for consistency
✅ (globalVariables.spec.ts): remove redundant 'Save Variable' click action
✅ (inputComponent.spec.ts): fix incorrect locator for server port and improve readability
✅ (intComponent.spec.ts): add additional test steps for more options modal
✅ (saveComponents.spec.ts): update file path for flow_group_test.json
feat(frontend): update SwitchOutputView to render ErrorOutput component for 'ValueError'
fix(frontend): update BaseModal header text in OutputModal component
fix(frontend): update displayOutputPreview logic in ParameterComponent to check for specific log type
♻️ (TableComponent): remove unused useCallback import and add autoHeight
✨ (convert-to-table-rows): add helper function to convert objects to table rows
♻️ (SwitchOutputView): refactor to use new convertToTableRows helper and improve type checks
♻️ (OutputModal): change modal size to medium-log for better visualization
♻️ (IOFieldView): refactor to use new rows and columnMode props in RecordsOutputComponent
♻️ (baseModal): remove unnecessary comma in ReactElement type array
✨ (baseModal): add new size option "medium-log" for modal component
♻️ (textOutputView): simplify TextOutputView component props
♻️ (api): add params and messages to VertexBuildTypeAPI
♻️ (api): add type to logs in VertexDataTypeAPI
♻️ (api): make artifacts optional in VertexDataTypeAPI
♻️ (chat): make artifacts optional in FlowPoolObjectType
✨ (components): add playgroundDisabled to InputListComponentType
♻️ (components): fix formatting in various component types
♻️ (utils.ts): remove unused imports to clean up the code
✨ (utils.ts): add 'all' mode to extractColumnsFromRows for more flexibility
This commit refactors the rendering of the handle button in the ParameterComponent. It improves the readability and maintainability of the code by simplifying the logic and removing unnecessary ternary operators.
This commit adds the OutputModal component to the ParameterComponent. The OutputModal component is responsible for displaying the output preview when the user clicks on the "Inspect Output" button. It improves the user experience by allowing them to easily view the output without leaving the current page.
Some docs syntax items @rodrigosnader requested -
1. Merge canvas and flows/components/projects doc into 1 doc
2. Move HF Spaces to install, remove page and nav item
3. Remove install from starter projects and link to install page
4. All title case nav
* Update OllamaModel.py
A draft to synchronize the model using the latest Langflow architecture and to improve it according to the latest Langchain specifications.
* Update OllamaModel.py
Checkout Models from api
* Update OllamaModel.py
* Update OllamaModel.py
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Fixed shortcuts not working on mac
* fixed top level vertices and added timeout
* revert flowStore changes
* chore: Update worker timeout setting
* feat: Add endpoint to retrieve config settings
The commit adds a new endpoint `/config` to retrieve the configuration settings. This endpoint returns the `ConfigResponse` model, which includes the `timeout` value. The implementation handles any exceptions and logs them appropriately.
* feat: Add fetchConfig function to retrieve configuration settings
This commit adds a new function fetchConfig to the API utils module. The function makes an HTTP GET request to the /config endpoint and returns the configuration data. Any errors that occur during the request are logged and rethrown. This function will be used to initialize the application with the fetched configuration.
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* revert changes
* feat: Add setupAxiosDefaults function to initialize Axios configurations
This commit adds a new function setupAxiosDefaults to the API utils module. The function fetches the configuration data using the fetchConfig function and sets up default configurations for Axios. It sets the base URL and timeout for Axios requests based on the fetched configuration. This function will be used to initialize Axios with the correct configurations.
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* fix(langflow): rename 'timeout' setting to 'worker_timeout' for clarity and consistency
feat(langflow): add 'frontend_timeout' setting to control frontend API call timeout
chore(langflow): reorganize imports and constants in settings module for better readability
* Set frontend_timeout to 0
---------
Co-authored-by: ogabrielluiz <gabriel@langflow.org>
This commit adds a new component called TextOutputView to the shared/components directory. The TextOutputView component is responsible for displaying text output in a textarea. It receives the necessary data from the flowPool and renders the appropriate text. This component improves the code organization and reusability of the text output display logic.