mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +00:00
community[patch]: Add missing type annotations (#22758)
Add missing type annotations to objects in community. These missing type annotations will raise type errors in pydantic 2.
This commit is contained in:
@@ -20,8 +20,8 @@ class YouInput(BaseModel):
|
||||
class YouSearchTool(BaseTool):
|
||||
"""Tool that searches the you.com API."""
|
||||
|
||||
name = "you_search"
|
||||
description = (
|
||||
name: str = "you_search"
|
||||
description: str = (
|
||||
"The YOU APIs make LLMs and search experiences more factual and"
|
||||
"up to date with realtime web data."
|
||||
)
|
||||
|
Reference in New Issue
Block a user