Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
Which search engine to use. “auto” (default) uses native if the provider supports it, otherwise Exa. “native” forces the provider’s built-in search. “exa” forces the Exa search API. “firecrawl” uses Firecrawl (requires BYOK). “parallel” uses the Parallel search API.

Example Usage

import (
	"github.com/OpenRouterTeam/go-sdk/models/components"
)

value := components.WebSearchEngineEnumAuto

// Open enum: custom values can be created with a direct type cast
custom := components.WebSearchEngineEnum("custom_value")

Values

NameValue
WebSearchEngineEnumAutoauto
WebSearchEngineEnumNativenative
WebSearchEngineEnumExaexa
WebSearchEngineEnumParallelparallel
WebSearchEngineEnumFirecrawlfirecrawl