langflow icon indicating copy to clipboard operation
langflow copied to clipboard

refactor(google_search): migrate to new tool mode implementation

Open Vigtu opened this issue 1 year ago • 1 comments

  • 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

image image

Vigtu avatar Dec 25 '24 20:12 Vigtu

@carlosrcoelho

Vigtu avatar Dec 30 '24 12:12 Vigtu

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!

Vigtu avatar Jan 15 '25 13:01 Vigtu