hostedRefused
function hostedRefused( provider, wire, tool, why): ProviderError;Defined in: core/src/hosted/shared.ts:34
A hosted tool the wire can’t send. Refused, never dropped: see the module
comment. wire names the adapter, because provider is often a gateway’s id.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
provider |
string |
wire |
string |
tool |
| "web_search" | "web_fetch" | "code_execution" | "file_search" | "image_generation" |
why |
string |