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

Method get

integrations/replicate/src/models.ts:12–30  ·  view source on GitHub ↗

Get information about a model.

(
    key: IntegrationTaskKey,
    params: {
      model_owner: string;
      model_name: string;
    }
  )

Source from the content-addressed store, hash-verified

10
11 /** Get information about a model. */
12 get(
13 key: IntegrationTaskKey,
14 params: {
15 model_owner: string;
16 model_name: string;
17 }
18 ): ReplicateReturnType<Model> {
19 return this.runTask(
20 key,
21 (client) => {
22 return client.models.get(params.model_owner, params.model_name);
23 },
24 {
25 name: "Get Model",
26 params,
27 properties: modelProperties(params),
28 }
29 );
30 }
31
32 get versions() {
33 return new Versions(this.runTask);

Callers 2

onErrorFunction · 0.45
getMethod · 0.45

Calls 2

modelPropertiesFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected