Zum Hauptinhalt springen

Function: isTerminalPromptBlockId()

isTerminalPromptBlockId(id): id is "chat-history" | "post-history-instructions"

Defined in: packages/contracts/src/promptTemplate.ts:133

Return whether a block is a fixed terminal prompt anchor.

Parameters

id

string

Returns

id is "chat-history" | "post-history-instructions"