Something went wrong. Try again.
A local-first event pipeline for independent agents, built on Jazz.
Something went wrong. Try again.
418 B · 8 lines
TypeScript
123456789import { LETTA_AGENT_SDK_ADAPTER_REVISION } from "./letta-agent-sdk.js";import type { ThoughtAgentDeclaration } from "./types.js";
export function executionAdapterRevisionFor(declaration: ThoughtAgentDeclaration): string { if (declaration.mode === "pi") return "pi-openai-completions-v1"; if (declaration.mode === "letta-agent-sdk") return LETTA_AGENT_SDK_ADAPTER_REVISION; return "deterministic-triage-v1";}