mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
FIX: Fix HTTPError cannot be found in serperai
This commit is contained in:
@@ -3,7 +3,7 @@ from typing import Any, Type, Optional
|
||||
import re
|
||||
from pydantic import BaseModel, Field
|
||||
from .serpapi_base_tool import SerpApiBaseTool
|
||||
from serpapi import HTTPError
|
||||
from urllib.error import HTTPError
|
||||
|
||||
class SerpApiGoogleSearchToolSchema(BaseModel):
|
||||
"""Input for Google Search."""
|
||||
|
||||
Reference in New Issue
Block a user