Skip to content

Function: getWebSearchRuntime()

getWebSearchRuntime(overrides?): WebSearchRuntime

Return the shared runtime, building it on first use from the supplied config layered over environment defaults. Overrides are only read when the runtime is first created, so prime it from the plugin’s config at setup; subsequent calls (the tools’ execute) pass nothing and get the same instance.

WebSearchPluginConfig

WebSearchRuntime