Skip to content

Default SearchAPI is Tavily #2

@jake-marsden

Description

@jake-marsden

In src/open_deep_research/configuration.py, the default SearchAPI is currently set to TAVILY. SearchAPI should be updated to GENSEE so that users can access GENSEE by default, in accordance with the Quickstart guide.

Current excerpt:

# src/open_deep_research/configuration.py
search_api: SearchAPI = Field(
    default=SearchAPI.TAVILY,
    metadata={
        "x_oap_ui_config": {
            "type": "select",
            "default": "tavily",
            ...
            "options": [
                {"label": "Tavily", "value": SearchAPI.TAVILY.value},
                {"label": "OpenAI Native Web Search", "value": SearchAPI.OPENAI.value},
                {"label": "Anthropic Native Web Search", "value": SearchAPI.ANTHROPIC.value},
                {"label": "None", "value": SearchAPI.NONE.value}
            ]
        }
    }
)

Proposed excerpt:

# src/open_deep_research/configuration.py
search_api: SearchAPI = Field(
    default=SearchAPI.GENSEE,
    metadata={
        "x_oap_ui_config": {
            "type": "select",
            "default": "gensee",
            "description": "Search API to use for research. NOTE: Make sure your Researcher Model supports the selected search API.",
            "options": [
                {"label": "Gensee Search", "value": SearchAPI.GENSEE.value},
                {"label": "Tavily", "value": SearchAPI.TAVILY.value},
                {"label": "OpenAI Native Web Search", "value": SearchAPI.OPENAI.value},
                {"label": "Anthropic Native Web Search", "value": SearchAPI.ANTHROPIC.value},
                {"label": "None", "value": SearchAPI.NONE.value}
            ]
        }
    }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions