mirror of https://github.com/dapr/dapr-agents.git
Fix flake8 lint issues and update tox config to exclude virtualenv and build dirs
Signed-off-by: Bilgin Ibryam <bibryam@gmail.com>
This commit is contained in:
parent
eea639bfb8
commit
5a0208ceb1
|
|
@ -36,7 +36,7 @@ async def main():
|
|||
# Create a dapr agent with both tools - CrewAI wrapped tool and native tool
|
||||
agent = Agent(
|
||||
"""You are a helpful assistant that can read files and analyze text.
|
||||
The ReadFile tool is already configured to read from a specific sample file,
|
||||
The ReadFile tool is already configured to read from a specific sample file,
|
||||
so you can just use it without arguments.
|
||||
After getting the content, you can use the CountWords tool to analyze the text statistics.""",
|
||||
tools=[file_tool, count_words],
|
||||
|
|
|
|||
|
|
@ -6,9 +6,8 @@ from dotenv import load_dotenv
|
|||
from langchain_community.tools import DuckDuckGoSearchRun
|
||||
|
||||
from dapr_agents.agent import Agent
|
||||
from dapr_agents.tool import LangchainTool, tool
|
||||
from dapr_agents.tool.third_party import LangchainTool
|
||||
from dapr_agents.tool import tool
|
||||
from dapr_agents.tool.third_party import LangchainTool
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
load_dotenv()
|
||||
|
|
|
|||
Loading…
Reference in New Issue