MCPcopy Create free account
hub / github.com/arctic-cli/interface / message

Function message

packages/arctic/src/provider/transform.ts:192–200  ·  view source on GitHub ↗
(msgs: ModelMessage[], model: Provider.Model)

Source from the content-addressed store, hash-verified

190 }
191
192 export function message(msgs: ModelMessage[], model: Provider.Model) {
193 msgs = unsupportedParts(msgs, model)
194 msgs = normalizeMessages(msgs, model)
195 if (model.providerID === "anthropic" || model.api.id.includes("anthropic") || model.api.id.includes("claude")) {
196 msgs = applyCaching(msgs, model.providerID)
197 }
198
199 return msgs
200 }
201
202 export function temperature(model: Provider.Model) {
203 const id = model.id.toLowerCase()

Callers

nothing calls this directly

Calls 3

unsupportedPartsFunction · 0.85
normalizeMessagesFunction · 0.85
applyCachingFunction · 0.85

Tested by

no test coverage detected