ChatBotKit Node SDK
CBK.AI
CBK.AI DOCS
CBK.AI MCP
ChatBotKit
GitHub Repo
GitHub Org
Preparing search index...
@chatbotkit/agent
agent
complete
Function complete
complete
(
options
:
(
{}
&
{}
|
Omit
<
{}
&
{}
,
"model"
>
&
{}
)
&
{
client
:
ChatBotKit
;
tools
?:
Tools
;
}
,
)
:
AsyncGenerator
<
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
ToolCallStartEvent
|
ToolCallEndEvent
|
ToolCallErrorEvent
,
void
,
unknown
,
>
Agent complete generator function.
Parameters
options
: (
{}
&
{}
|
Omit
<
{}
&
{}
,
"model"
>
&
{}
)
&
{
client
:
ChatBotKit
;
tools
?:
Tools
}
Returns
AsyncGenerator
<
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
{}
|
ToolCallStartEvent
|
ToolCallEndEvent
|
ToolCallErrorEvent
,
void
,
unknown
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
CBK.AI
CBK.AI DOCS
CBK.AI MCP
ChatBotKit
GitHub Repo
GitHub Org
ChatBotKit Node SDK
Loading...
Agent complete generator function.