fix: remove useless variable k (#6524)

remove useless variable k

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
pull/6757/head
Zeeland 1 year ago committed by GitHub
parent 7f8ff2a317
commit 92ef77da35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,7 @@ class DuckDuckGoSearchRun(BaseTool):
class DuckDuckGoSearchResults(BaseTool):
"""Tool that queries the Duck Duck Go Search API and get back json."""
"""Tool that queries the DuckDuckGo search API and get back json."""
name = "DuckDuckGo Results JSON"
description = (

@ -12,10 +12,9 @@ from pydantic.class_validators import root_validator
class DuckDuckGoSearchAPIWrapper(BaseModel):
"""Wrapper for DuckDuckGo Search API.
Free and does not require any setup
Free and does not require any setup.
"""
k: int = 10
region: Optional[str] = "wt-wt"
safesearch: str = "moderate"
time: Optional[str] = "y"

Loading…
Cancel
Save