MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / createPredictionProperties

Function createPredictionProperties

integrations/replicate/src/utils.ts:3–13  ·  view source on GitHub ↗
(
  params: Partial<{
    version: string;
    stream: boolean;
  }>
)

Source from the content-addressed store, hash-verified

1import { CallbackTimeout } from "./types";
2
3export const createPredictionProperties = (
4 params: Partial<{
5 version: string;
6 stream: boolean;
7 }>
8) => {
9 return [
10 ...(params.version ? [{ label: "Model Version", text: params.version }] : []),
11 ...streamingProperty(params),
12 ];
13};
14
15export const createDeploymentProperties = (
16 params: Partial<{

Callers 2

createMethod · 0.90
createAndAwaitMethod · 0.90

Calls 1

streamingPropertyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…