langflow
langflow copied to clipboard
refactor(google_search): migrate to new tool mode implementation
-
Replace legacy tool mode using LCToolComponent with new Component class and tool_mode flag.
-
Update input/output definitions to use new DataFrame type and explicit Output configuration.
Key changes:
- Migrate from LCToolComponent to Component base class
- Add explicit output configuration with DataFrame type
- Update error handling to return structured DataFrame responses
- Implement tool_mode using new flag syntax
@carlosrcoelho
Adhere to migration and depreciation guidelines. Also, utilize the new testing base classes along with the general tests boilerplate template.
I will work on this!