Table of Contents

Method RecordToolResultAsync

Namespace
MailFathom.Application.Agent.Answering
Assembly
MailFathom.Application.dll

RecordToolResultAsync(string, string, CancellationToken)

Records what a tool handed back to the model.

public Task<bool> RecordToolResultAsync(string callId, string result, CancellationToken cancellationToken)

Parameters

callId string

The call it answers.

result string

What the model was sent.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<bool>

true when the answer was recorded; false when the answer is no longer being composed.