Skip to content
1 min read · 42 words

Function: deCollideOpenAIResponsesToolCallIds()

ts
function deCollideOpenAIResponsesToolCallIds(
  id: string,
  ctx: DispatchContext,
): string;

Defined in: src/batteries/llm/openai_responses/helpers.ts:78

De-collides a Responses id while preserving a valid fc_ item discriminator.

Parameters

ParameterType
idstring
ctxDispatchContext

Returns

string