langflow icon indicating copy to clipboard operation
langflow copied to clipboard

feat: adding tool mode to LC model component

Open edwinjosechittilappilly opened this issue 2 months ago • 3 comments

This pull request includes updates to the MessageInput class and enhancements to the LCModelComponent class to improve functionality and user experience.

Features:

  • tool_mode added
  • info for inputs updated
  • added toolmixin for message input DataType.

Enhancements to LCModelComponent:

  • src/backend/base/langflow/base/models/model.py: Added additional attributes to MessageInput, such as info and tool_mode, to provide more context and functionality for the input field.

Updates to MessageInput class:

  • src/backend/base/langflow/inputs/inputs.py: Modified MessageInput to inherit from ToolModeMixin, enhancing its capabilities by integrating tool mode functionality.

edwinjosechittilappilly avatar Dec 10 '24 01:12 edwinjosechittilappilly