Theia API Documentation v1.71.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/ai-chat-ui
browser/chat-response-renderer/tool-confirmation
createConfirmationHandlers
Function createConfirmationHandlers
createConfirmationHandlers
(
toolId
:
undefined
|
string
,
response
:
ToolCallChatResponseContent
,
toolConfirmationManager
:
ToolConfirmationManager
,
chatId
:
string
,
toolRequest
?:
ToolRequest
<
ToolInvocationContext
>
,
)
:
{
handleAllow
:
(
scope
:
ConfirmationScope
)
=>
void
;
handleDeny
:
(
scope
:
ConfirmationScope
,
reason
?:
string
)
=>
void
;
}
Parameters
toolId
:
undefined
|
string
response
:
ToolCallChatResponseContent
toolConfirmationManager
:
ToolConfirmationManager
chatId
:
string
Optional
toolRequest
:
ToolRequest
<
ToolInvocationContext
>
Returns
{
handleAllow
:
(
scope
:
ConfirmationScope
)
=>
void
;
handleDeny
:
(
scope
:
ConfirmationScope
,
reason
?:
string
)
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Eclipse Theia Website
GitHub
Theia API Documentation v1.71.0
Loading...