Skip to content

Commit

Permalink
fix pydantic version (#826)
Browse files Browse the repository at this point in the history
Signed-off-by: minmin-intel <[email protected]>
  • Loading branch information
minmin-intel authored Oct 27, 2024
1 parent 49a8e35 commit 6c670c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comps/agent/langchain/src/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import yaml
from langchain.tools import BaseTool, StructuredTool
from langchain_community.agent_toolkits.load_tools import load_tools
from pydantic.v1 import BaseModel, Field, create_model
from pydantic import BaseModel, Field, create_model


def generate_request_function(url):
Expand Down

0 comments on commit 6c670c9

Please sign in to comment.