cayu.tools.parallel
Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.
ParallelAIWebAdapter
Section titled “ParallelAIWebAdapter”from cayu.tools import ParallelAIWebAdapterImplement provider-neutral search and known-URL fetch through Parallel.
Provider modes, objectives, cache policy, and credentials remain fixed
application configuration. The model continues to see only Cayu’s stable
web_search and web_fetch contracts.
init (method)
Section titled “init (method)”ParallelAIWebAdapter.__init__(*, api_key_ref: SecretRef, origin: str=DEFAULT_PARALLEL_ORIGIN, search_mode: Literal['turbo', 'fast', 'basic', 'advanced']=DEFAULT_PARALLEL_SEARCH_MODE, search_location: str | None=None, search_objective: str | None=None, fetch_objective: str | None=None, search_fetch_max_age_seconds: int | None=None, fetch_max_age_seconds: int | None=None, search_disable_cache_fallback: bool=False, fetch_disable_cache_fallback: bool=False, max_provider_response_bytes: int=DEFAULT_PARALLEL_MAX_PROVIDER_RESPONSE_BYTES, transport: httpx.AsyncBaseTransport | None=None) -> Nonesearch (method)
Section titled “search (method)”async ParallelAIWebAdapter.search(ctx: ToolContext, request: WebSearchAdapterRequest) -> ToolResultfetch (method)
Section titled “fetch (method)”async ParallelAIWebAdapter.fetch(ctx: ToolContext, request: WebFetchAdapterRequest) -> ToolResult