Method

FoundryAcpSessionprompt

unstable since: 1.2

Declaration [src]

DexFuture*
foundry_acp_session_prompt (
  FoundryAcpSession* self,
  FoundryAcpContentBlock* const* blocks,
  guint n_blocks
)

Description [src]

Sends a prompt turn to the ACP agent.

Available since: 1.2

Parameters

blocks

Type: An array of FoundryAcpContentBlock*

Content blocks for the prompt.

The length of the array is specified in the n_blocks argument.
The data is owned by the caller of the method.
n_blocks

Type: guint

The number of content blocks.

Return value

Type: DexFuture

A DexFuture that resolves to a FoundryAcpPromptResult.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.