Made api_key field in TavilyConfig models to be Optional[str] type to allow None value
This commit is contained in:
parent
f59c278ae9
commit
49858c5416
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import os
|
|||
|
||||
|
||||
class TavilyConfig(BaseModel):
|
||||
api_key: str = os.getenv("TAVILY_API_KEY")
|
||||
api_key: Optional[str] = os.getenv("TAVILY_API_KEY")
|
||||
extract_depth: Literal["basic", "advanced"] = "basic"
|
||||
proxies: Optional[Dict[str, str]] = None
|
||||
timeout: Optional[int] = Field(default=10, ge=1, le=60)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue