コンテンツにスキップ

IdempotencyKeyBuilder

このコンテンツはまだ日本語訳がありません。

Defined in: src/idempotency/key.ts:127

A per-conversation key dispenser.

Methods

next()

next(intent?): string

Defined in: src/idempotency/key.ts:133

Returns the key for the next reasoning step, assigning a monotonic stepId ("0", "1", …). Call once per logical step; reuse the returned string for retries of that step.

Parameters

intent?

string

Returns

string