Update ZeroShotAgent import

This commit is contained in:
anovazzi1 2024-01-09 11:53:45 -03:00
commit 411b4f78c0

View file

@ -1,10 +1,10 @@
from langflow import CustomComponent from langflow import CustomComponent
from langchain.agents import ZeroShotAgent from langchain.agents import ZeroShotAgent
from langchain_core.tools import BaseTool
from typing import List, Optional from typing import List, Optional
from langflow.field_typing import ( from langflow.field_typing import (
BaseLanguageModel, BaseLanguageModel,
BaseTool,
) )
class ZeroShotAgentComponent(CustomComponent): class ZeroShotAgentComponent(CustomComponent):