mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
updating code to usinf pydantic v1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from typing import List, Optional
|
||||
from pydantic import BaseModel, Field, model_validator
|
||||
from pydantic.v1 import BaseModel, Field
|
||||
from pydantic import model_validator
|
||||
|
||||
from langchain.tools import Tool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user