Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Incorrect import in BraveSearchTool (typo “datetime”) #468

@kerbachi

Description

@kerbachi

The BraveSearchTool module was importing the wrong name for the standard library’s datetime.

File: crewai_tools/tools/brave_search_tool/brave_search_tool.py

import datetime          # Line 1 typo – misspelt and not a real moduledatetime.now()           # Line 13 raises AttributeError: 'datetime' has no attribute 'now'

The correct syntax should be

import datetime from datetime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions