Repository navigation
v0.51.0
Immutable
release. Only release title and notes can be modified.
Features
First-party model adapters
@templatical/ai-kit
@templatical/ai-kit/adapters/anthropic,/adapters/openaiand/adapters/vercelexportcreateAnthropicAdapter,createOpenAiAdapter(Chat Completions) andcreateVercelAdapter, each anAiModelAdapter. You pass the client (new Anthropic(),new OpenAI(),new AzureOpenAI()) or the AI SDK model.@anthropic-ai/sdk,openaiandaiare optional peers.- All three take image Blobs, PDF Blobs and image URLs. A 429 rejects with
ThrottledError, a refusal withai_provider_error, and a tool call cut off at the token limit withai_output_invalid. The Anthropic adapter caches the system prompt by default (cache: falseturns it off). AiModelPartgains{ type: "state", state }, and the assistantAiModelMessagegainsstate: an adapter's own record of a step, such as the model's thinking, whichrunEditingTurnhands back on the next step.AiUsagegainscacheReadInputTokensandcacheWriteInputTokens.inputTokenscounts only the uncached input.
All 16 @templatical/* packages are published at 0.51.0 — they share one version number.
Full changelog: https://docs.templatical.com/changelog