Interface: Provider
Represents a provider, which is used to retrieve information or perform actions on behalf of the agent, such as fetching data from an external API or service.
Properties
get
• get: (runtime
: BgentRuntime
, message
: Message
, state?
: State
) => Promise
<unknown
>
Type declaration
▸ (runtime
, message
, state?
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
runtime | BgentRuntime |
message | Message |
state? | State |
Returns
Promise
<unknown
>