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

Function transformParams

packages/arctic/src/session/compaction.ts:185–191  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

183 middleware: [
184 {
185 async transformParams(args) {
186 if (args.type === "stream") {
187 // @ts-expect-error
188 args.params.prompt = ProviderTransform.message(args.params.prompt, model)
189 }
190 return args.params
191 },
192 },
193 ],
194 }),

Callers

nothing calls this directly

Calls 1

messageMethod · 0.45

Tested by

no test coverage detected