@nodetool-ai/websocket 0.8.4-a24.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.nodetool-build-stamp +1 -1
- package/dist/example-workflows.d.ts +2 -0
- package/dist/example-workflows.d.ts.map +1 -1
- package/dist/example-workflows.js +16 -4
- package/dist/example-workflows.js.map +1 -1
- package/dist/examples/nodetool-base/A Campaign Concept from a Brief.json +135 -0
- package/dist/examples/nodetool-base/A Gradient Card as PNG.json +128 -0
- package/dist/examples/nodetool-base/A Poster in Portrait.json +129 -0
- package/dist/examples/nodetool-base/A Repeating Texture Tile.json +129 -0
- package/dist/examples/nodetool-base/A Run Button for Any Job.json +152 -0
- package/dist/examples/nodetool-base/A Webhook That Answers.json +170 -0
- package/dist/examples/nodetool-base/AI Spokesperson.json +328 -0
- package/dist/examples/nodetool-base/Action Items from a Meeting Recording.json +198 -0
- package/dist/examples/nodetool-base/Ad Copy in Three Registers.json +135 -0
- package/dist/examples/nodetool-base/Ad Loop from a Product Photo.json +277 -0
- package/dist/examples/nodetool-base/Add Reverb to a Voice.json +125 -0
- package/dist/examples/nodetool-base/Album Art from a Mood.json +129 -0
- package/dist/examples/nodetool-base/Assemble a UGC Product Video.json +158 -0
- package/dist/examples/nodetool-base/Audio To Image.json +184 -0
- package/dist/examples/nodetool-base/B-Roll Reel from a Brief.json +339 -0
- package/dist/examples/nodetool-base/Batch a List.json +171 -0
- package/dist/examples/nodetool-base/Black and White, Hard.json +147 -0
- package/dist/examples/nodetool-base/Blog Post to Social Thread.json +135 -0
- package/dist/examples/nodetool-base/Blur a Channel.json +205 -0
- package/dist/examples/nodetool-base/Blur an Image.json +179 -0
- package/dist/examples/nodetool-base/Boost Saturation.json +178 -0
- package/dist/examples/nodetool-base/Brand Asset Generator.json +585 -0
- package/dist/examples/nodetool-base/Brand a UGC Product Video.json +402 -0
- package/dist/examples/nodetool-base/Bring a Still to Life.json +250 -0
- package/dist/examples/nodetool-base/Bullet Points to Press Release.json +135 -0
- package/dist/examples/nodetool-base/Chapter Markers for a Long Recording.json +198 -0
- package/dist/examples/nodetool-base/Chat With Your Documents.json +569 -0
- package/dist/examples/nodetool-base/Chunk a Transcript for Indexing.json +202 -0
- package/dist/examples/nodetool-base/Circles and Lines.json +126 -0
- package/dist/examples/nodetool-base/Clean Up a Rough Voice Recording.json +208 -0
- package/dist/examples/nodetool-base/Clip on Kie.json +173 -0
- package/dist/examples/nodetool-base/Cold Outreach Co-Pilot.json +423 -0
- package/dist/examples/nodetool-base/Color Boost Video.json +250 -0
- package/dist/examples/nodetool-base/Compose Directed Campaign Formats.json +764 -0
- package/dist/examples/nodetool-base/Concept Art Iteration Board.json +439 -0
- package/dist/examples/nodetool-base/Concept Art, Then a Moving Version.json +173 -0
- package/dist/examples/nodetool-base/Conditional Logic Engine.json +535 -0
- package/dist/examples/nodetool-base/Count a List.json +168 -0
- package/dist/examples/nodetool-base/Count to Three with a Loop.json +157 -0
- package/dist/examples/nodetool-base/Crop an Image.json +181 -0
- package/dist/examples/nodetool-base/Crop then Fit.json +208 -0
- package/dist/examples/nodetool-base/Crush It to 8 Bits.json +123 -0
- package/dist/examples/nodetool-base/Cut Out the Subject.json +184 -0
- package/dist/examples/nodetool-base/Cut a Landscape Clip for Vertical.json +123 -0
- package/dist/examples/nodetool-base/Cut a Product Out of Its Background.json +238 -0
- package/dist/examples/nodetool-base/Data Generator.json +216 -0
- package/dist/examples/nodetool-base/Denoise Footage.json +178 -0
- package/dist/examples/nodetool-base/Direct a Short Film.json +305 -0
- package/dist/examples/nodetool-base/Directed Film to Timeline.json +385 -0
- package/dist/examples/nodetool-base/Does This Text Mention the Deadline.json +130 -0
- package/dist/examples/nodetool-base/Draft Answers for an FAQ.json +135 -0
- package/dist/examples/nodetool-base/Draw a Badge in SVG.json +126 -0
- package/dist/examples/nodetool-base/Drop Duplicates.json +170 -0
- package/dist/examples/nodetool-base/Drop the First Few.json +148 -0
- package/dist/examples/nodetool-base/Dungeon and Ruins Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Edit a Still with Words.json +284 -0
- package/dist/examples/nodetool-base/Editorial Still from a Line.json +197 -0
- package/dist/examples/nodetool-base/Emboss a Still.json +120 -0
- package/dist/examples/nodetool-base/Every Combination.json +225 -0
- package/dist/examples/nodetool-base/Every Hour, On the Hour.json +162 -0
- package/dist/examples/nodetool-base/Executive Summary of a Long Document.json +135 -0
- package/dist/examples/nodetool-base/Explainer Clip from a Paragraph.json +244 -0
- package/dist/examples/nodetool-base/Extract the Claims Worth Checking.json +135 -0
- package/dist/examples/nodetool-base/Fade Audio In and Out.json +203 -0
- package/dist/examples/nodetool-base/Fade Audio Out.json +202 -0
- package/dist/examples/nodetool-base/Fill a Template.json +149 -0
- package/dist/examples/nodetool-base/Find Every Number in a Sentence.json +127 -0
- package/dist/examples/nodetool-base/Find and Replace.json +224 -0
- package/dist/examples/nodetool-base/Find the Edges.json +123 -0
- package/dist/examples/nodetool-base/Fit an Image.json +179 -0
- package/dist/examples/nodetool-base/Five Headlines for a Landing Page.json +135 -0
- package/dist/examples/nodetool-base/Flashcard Generator.json +297 -0
- package/dist/examples/nodetool-base/Gate Out the Room Noise.json +124 -0
- package/dist/examples/nodetool-base/Generate a Native-Audio UGC Testimonial.json +276 -0
- package/dist/examples/nodetool-base/Generate a Silent Bed.json +126 -0
- package/dist/examples/nodetool-base/Generate then Upscale a Poster.json +164 -0
- package/dist/examples/nodetool-base/Hacker News Agent.json +183 -0
- package/dist/examples/nodetool-base/Hook & Thumbnail Factory.json +498 -0
- package/dist/examples/nodetool-base/How Long Is This Transcript.json +185 -0
- package/dist/examples/nodetool-base/Image Enhance.json +272 -0
- package/dist/examples/nodetool-base/Image To Audio Story.json +180 -0
- package/dist/examples/nodetool-base/Image to Video Animation.json +346 -0
- package/dist/examples/nodetool-base/Inspect a Clip's Audio.json +187 -0
- package/dist/examples/nodetool-base/Inspect a Clip.json +163 -0
- package/dist/examples/nodetool-base/Invert a Still.json +120 -0
- package/dist/examples/nodetool-base/Keep Only the Long Lines.json +220 -0
- package/dist/examples/nodetool-base/Keep Only the Matches.json +148 -0
- package/dist/examples/nodetool-base/Key Out a Green Screen.json +124 -0
- package/dist/examples/nodetool-base/Last One Wins.json +144 -0
- package/dist/examples/nodetool-base/Lip-sync a Clip to a Voice Track.json +313 -0
- package/dist/examples/nodetool-base/Localise a Product Listing.json +135 -0
- package/dist/examples/nodetool-base/Localise a Script and Revoice It.json +242 -0
- package/dist/examples/nodetool-base/Localized Explainer.json +430 -0
- package/dist/examples/nodetool-base/Low-poly Adventure Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Low-poly Seaside Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Master a Voice Track.json +180 -0
- package/dist/examples/nodetool-base/Meeting Transcript Summarizer.json +524 -0
- package/dist/examples/nodetool-base/Model Arena.json +550 -0
- package/dist/examples/nodetool-base/Moodboard Frame from a Theme.json +129 -0
- package/dist/examples/nodetool-base/Movie Posters.json +660 -0
- package/dist/examples/nodetool-base/Movie Trailer Generator.json +418 -0
- package/dist/examples/nodetool-base/Music Video Visualizer.json +720 -0
- package/dist/examples/nodetool-base/Name a File from Its Narration.json +231 -0
- package/dist/examples/nodetool-base/Narrate a Script.json +169 -0
- package/dist/examples/nodetool-base/Narration with a Music Bed.json +360 -0
- package/dist/examples/nodetool-base/Normalize a Clip's Audio.json +201 -0
- package/dist/examples/nodetool-base/One Tagline, Six Markets.json +135 -0
- package/dist/examples/nodetool-base/Pad a Canvas.json +188 -0
- package/dist/examples/nodetool-base/Per-SKU Ad Factory.json +511 -0
- package/dist/examples/nodetool-base/Photo Enhancement Suite.json +417 -0
- package/dist/examples/nodetool-base/Picture in Picture.json +231 -0
- package/dist/examples/nodetool-base/Pitch a Voice Up.json +122 -0
- package/dist/examples/nodetool-base/Pixelate a Still.json +122 -0
- package/dist/examples/nodetool-base/Platformer Playground Starter Pack.json +786 -0
- package/dist/examples/nodetool-base/Podcast Episode to Show Notes.json +198 -0
- package/dist/examples/nodetool-base/Podcast Repurposing Studio.json +745 -0
- package/dist/examples/nodetool-base/Pokemon Maker.json +282 -0
- package/dist/examples/nodetool-base/Poster on Kie.json +172 -0
- package/dist/examples/nodetool-base/Posterize to Four Bits.json +122 -0
- package/dist/examples/nodetool-base/Private Assistant.json +236 -0
- package/dist/examples/nodetool-base/Product Mockup Generator.json +608 -0
- package/dist/examples/nodetool-base/Product Spot from Text.json +330 -0
- package/dist/examples/nodetool-base/Product Video Generator.json +344 -0
- package/dist/examples/nodetool-base/Prompt Template.json +221 -0
- package/dist/examples/nodetool-base/Propose Three Campaign Directions.json +614 -0
- package/dist/examples/nodetool-base/Pull a Field out of JSON Text.json +128 -0
- package/dist/examples/nodetool-base/Pull a Still from a Clip.json +179 -0
- package/dist/examples/nodetool-base/Pull the Quotable Lines Out of an Interview.json +198 -0
- package/dist/examples/nodetool-base/Put a Product on a Studio Backdrop.json +252 -0
- package/dist/examples/nodetool-base/Put a Voice Over a Music Bed.json +358 -0
- package/dist/examples/nodetool-base/README_EXAMPLES.md +59 -0
- package/dist/examples/nodetool-base/Re-delimit a List.json +199 -0
- package/dist/examples/nodetool-base/Read a Clip's Frame Rate.json +120 -0
- package/dist/examples/nodetool-base/Redact Email Addresses.json +129 -0
- package/dist/examples/nodetool-base/Redact and Tidy a Log Line.json +266 -0
- package/dist/examples/nodetool-base/Relight a Product for a Seasonal Campaign.json +131 -0
- package/dist/examples/nodetool-base/Render a Directed Campaign Hero.json +338 -0
- package/dist/examples/nodetool-base/Reopen a Directed Campaign.json +1748 -0
- package/dist/examples/nodetool-base/Research Agent.json +231 -0
- package/dist/examples/nodetool-base/Research a Brand from Its Website.json +445 -0
- package/dist/examples/nodetool-base/Restyle a Photo as an Illustration.json +136 -0
- package/dist/examples/nodetool-base/Reverse Audio.json +201 -0
- package/dist/examples/nodetool-base/Reverse a Clip.json +176 -0
- package/dist/examples/nodetool-base/Revise an Accepted Campaign Hero.json +486 -0
- package/dist/examples/nodetool-base/Rewrite This So a Customer Understands It.json +135 -0
- package/dist/examples/nodetool-base/Rotate Footage.json +178 -0
- package/dist/examples/nodetool-base/SEO Content Engine.json +708 -0
- package/dist/examples/nodetool-base/SEO Title and Meta Description.json +135 -0
- package/dist/examples/nodetool-base/Sci-fi Game Model Starter Pack.json +693 -0
- package/dist/examples/nodetool-base/Sci-fi Outpost Expansion.json +601 -0
- package/dist/examples/nodetool-base/Score a Clip from Its Own Mood.json +229 -0
- package/dist/examples/nodetool-base/Score a Silent Clip.json +382 -0
- package/dist/examples/nodetool-base/Script to Narrated Clip.json +224 -0
- package/dist/examples/nodetool-base/Script to Screen.json +940 -0
- package/dist/examples/nodetool-base/Sharpen Footage.json +179 -0
- package/dist/examples/nodetool-base/Shot List from a Synopsis.json +136 -0
- package/dist/examples/nodetool-base/Single Shot from a Line.json +199 -0
- package/dist/examples/nodetool-base/Slice Text.json +159 -0
- package/dist/examples/nodetool-base/Slow a Clip Without Dropping Pitch.json +122 -0
- package/dist/examples/nodetool-base/Soften a Plate.json +178 -0
- package/dist/examples/nodetool-base/Solarize a Still.json +122 -0
- package/dist/examples/nodetool-base/Speak a Line, Then Trim the Silence.json +157 -0
- package/dist/examples/nodetool-base/Spin a Packshot into a Turntable Clip.json +137 -0
- package/dist/examples/nodetool-base/Split a Channel.json +178 -0
- package/dist/examples/nodetool-base/Split a Log into Records.json +128 -0
- package/dist/examples/nodetool-base/Stabilize Handheld.json +179 -0
- package/dist/examples/nodetool-base/Still on Replicate.json +172 -0
- package/dist/examples/nodetool-base/Subject Lines Worth Testing.json +135 -0
- package/dist/examples/nodetool-base/Subtitle Lines from a Script.json +170 -0
- package/dist/examples/nodetool-base/Subtitle Text from a Recording.json +198 -0
- package/dist/examples/nodetool-base/Summarise a Recorded Call.json +198 -0
- package/dist/examples/nodetool-base/Swirl and Echo.json +154 -0
- package/dist/examples/nodetool-base/Take While the Numbers Are Small.json +148 -0
- package/dist/examples/nodetool-base/Take a Product Shot to Print Resolution.json +209 -0
- package/dist/examples/nodetool-base/Take the First Few Seconds of a Bed.json +127 -0
- package/dist/examples/nodetool-base/Take the First Few.json +170 -0
- package/dist/examples/nodetool-base/Telephone Voice.json +174 -0
- package/dist/examples/nodetool-base/Themes Across Customer Feedback.json +135 -0
- package/dist/examples/nodetool-base/Three Ratios.json +315 -0
- package/dist/examples/nodetool-base/Tidy Up Messy Text.json +199 -0
- package/dist/examples/nodetool-base/Top-down Native Asset Pack.json +955 -0
- package/dist/examples/nodetool-base/Trailer Beats from a Premise.json +136 -0
- package/dist/examples/nodetool-base/Transcribe Audio.json +138 -0
- package/dist/examples/nodetool-base/Transcribe a Clip.json +198 -0
- package/dist/examples/nodetool-base/Translate Marketing Copy to German.json +135 -0
- package/dist/examples/nodetool-base/Translate a Script for Dubbing.json +224 -0
- package/dist/examples/nodetool-base/Trim Audio to a Range.json +203 -0
- package/dist/examples/nodetool-base/Trim a Blurb to Length.json +128 -0
- package/dist/examples/nodetool-base/Trim a Clip.json +180 -0
- package/dist/examples/nodetool-base/Turn Research Notes into a Comparison Table.json +136 -0
- package/dist/examples/nodetool-base/Turn Specs into Product Copy.json +135 -0
- package/dist/examples/nodetool-base/Turn a Changelog into Release Notes.json +135 -0
- package/dist/examples/nodetool-base/Turn a Logo into Print-Ready Vector.json +126 -0
- package/dist/examples/nodetool-base/Turn a Support Thread into a Bug Report.json +135 -0
- package/dist/examples/nodetool-base/Turn a Talk into a Blog Post.json +198 -0
- package/dist/examples/nodetool-base/Upscale a Still.json +186 -0
- package/dist/examples/nodetool-base/Vectorize a Generated Logo.json +162 -0
- package/dist/examples/nodetool-base/Video Restyle Studio.json +281 -0
- package/dist/examples/nodetool-base/Vignette a Portrait.json +124 -0
- package/dist/examples/nodetool-base/Voice a Script in Two Voices.json +217 -0
- package/dist/examples/nodetool-base/Warm Up a Cold Clip.json +124 -0
- package/dist/examples/nodetool-base/Watch a Folder, Act on What Lands.json +177 -0
- package/dist/examples/nodetool-base/Widen a Mono Voice.json +151 -0
- package/dist/examples/nodetool-base/Workflow As A Tool.json +257 -0
- package/dist/examples/nodetool-base/Write a Listing from the Product Photo.json +139 -0
- package/dist/examples/nodetool-base/Write the Prompt, Then Make the Image.json +200 -0
- package/dist/examples/nodetool-base/gallery_thumbnail_generator.ts +384 -0
- package/dist/fake-runtime.d.ts.map +1 -1
- package/dist/fake-runtime.js +5 -1
- package/dist/fake-runtime.js.map +1 -1
- package/dist/http-api.d.ts.map +1 -1
- package/dist/http-api.js +20 -3
- package/dist/http-api.js.map +1 -1
- package/dist/lib/openverse.d.ts +47 -0
- package/dist/lib/openverse.d.ts.map +1 -0
- package/dist/lib/openverse.js +255 -0
- package/dist/lib/openverse.js.map +1 -0
- package/dist/model-execution-availability.d.ts.map +1 -1
- package/dist/model-execution-availability.js +7 -2
- package/dist/model-execution-availability.js.map +1 -1
- package/dist/screenshot-server.js +87 -49
- package/dist/screenshot-server.js.map +1 -1
- package/dist/trpc/router.d.ts +2 -0
- package/dist/trpc/router.d.ts.map +1 -1
- package/dist/trpc/router.js +2 -0
- package/dist/trpc/router.js.map +1 -1
- package/dist/trpc/routers/games.d.ts +179 -0
- package/dist/trpc/routers/games.d.ts.map +1 -1
- package/dist/trpc/routers/games.js +1 -1
- package/dist/trpc/routers/games.js.map +1 -1
- package/dist/trpc/routers/models.d.ts +270 -0
- package/dist/trpc/routers/models.d.ts.map +1 -1
- package/dist/trpc/routers/models.js +37 -19
- package/dist/trpc/routers/models.js.map +1 -1
- package/dist/trpc/routers/openverse.d.ts +91 -0
- package/dist/trpc/routers/openverse.d.ts.map +1 -0
- package/dist/trpc/routers/openverse.js +98 -0
- package/dist/trpc/routers/openverse.js.map +1 -0
- package/dist/trpc/sandbox-coverage.d.ts.map +1 -1
- package/dist/trpc/sandbox-coverage.js +11 -0
- package/dist/trpc/sandbox-coverage.js.map +1 -1
- package/dist/websocket-client-session.d.ts +8 -0
- package/dist/websocket-client-session.d.ts.map +1 -1
- package/dist/websocket-client-session.js +31 -1
- package/dist/websocket-client-session.js.map +1 -1
- package/package.json +27 -28
|
@@ -84,6 +84,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
84
84
|
allow_patterns?: string[] | null | undefined;
|
|
85
85
|
model_type?: string | null | undefined;
|
|
86
86
|
} | null | undefined;
|
|
87
|
+
extra_artifact_refs?: {
|
|
88
|
+
source: "huggingface";
|
|
89
|
+
repo_id: string;
|
|
90
|
+
revision?: string | null | undefined;
|
|
91
|
+
path?: string | null | undefined;
|
|
92
|
+
allow_patterns?: string[] | null | undefined;
|
|
93
|
+
model_type?: string | null | undefined;
|
|
94
|
+
}[] | null | undefined;
|
|
95
|
+
files_present?: boolean | null | undefined;
|
|
87
96
|
} | null | undefined;
|
|
88
97
|
execution?: {
|
|
89
98
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -154,6 +163,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
154
163
|
allow_patterns?: string[] | null | undefined;
|
|
155
164
|
model_type?: string | null | undefined;
|
|
156
165
|
} | null | undefined;
|
|
166
|
+
extra_artifact_refs?: {
|
|
167
|
+
source: "huggingface";
|
|
168
|
+
repo_id: string;
|
|
169
|
+
revision?: string | null | undefined;
|
|
170
|
+
path?: string | null | undefined;
|
|
171
|
+
allow_patterns?: string[] | null | undefined;
|
|
172
|
+
model_type?: string | null | undefined;
|
|
173
|
+
}[] | null | undefined;
|
|
174
|
+
files_present?: boolean | null | undefined;
|
|
157
175
|
} | null | undefined;
|
|
158
176
|
execution?: {
|
|
159
177
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -215,6 +233,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
215
233
|
allow_patterns?: string[] | null | undefined;
|
|
216
234
|
model_type?: string | null | undefined;
|
|
217
235
|
} | null | undefined;
|
|
236
|
+
extra_artifact_refs?: {
|
|
237
|
+
source: "huggingface";
|
|
238
|
+
repo_id: string;
|
|
239
|
+
revision?: string | null | undefined;
|
|
240
|
+
path?: string | null | undefined;
|
|
241
|
+
allow_patterns?: string[] | null | undefined;
|
|
242
|
+
model_type?: string | null | undefined;
|
|
243
|
+
}[] | null | undefined;
|
|
244
|
+
files_present?: boolean | null | undefined;
|
|
218
245
|
} | null | undefined;
|
|
219
246
|
execution?: {
|
|
220
247
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -276,6 +303,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
276
303
|
allow_patterns?: string[] | null | undefined;
|
|
277
304
|
model_type?: string | null | undefined;
|
|
278
305
|
} | null | undefined;
|
|
306
|
+
extra_artifact_refs?: {
|
|
307
|
+
source: "huggingface";
|
|
308
|
+
repo_id: string;
|
|
309
|
+
revision?: string | null | undefined;
|
|
310
|
+
path?: string | null | undefined;
|
|
311
|
+
allow_patterns?: string[] | null | undefined;
|
|
312
|
+
model_type?: string | null | undefined;
|
|
313
|
+
}[] | null | undefined;
|
|
314
|
+
files_present?: boolean | null | undefined;
|
|
279
315
|
} | null | undefined;
|
|
280
316
|
execution?: {
|
|
281
317
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -337,6 +373,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
337
373
|
allow_patterns?: string[] | null | undefined;
|
|
338
374
|
model_type?: string | null | undefined;
|
|
339
375
|
} | null | undefined;
|
|
376
|
+
extra_artifact_refs?: {
|
|
377
|
+
source: "huggingface";
|
|
378
|
+
repo_id: string;
|
|
379
|
+
revision?: string | null | undefined;
|
|
380
|
+
path?: string | null | undefined;
|
|
381
|
+
allow_patterns?: string[] | null | undefined;
|
|
382
|
+
model_type?: string | null | undefined;
|
|
383
|
+
}[] | null | undefined;
|
|
384
|
+
files_present?: boolean | null | undefined;
|
|
340
385
|
} | null | undefined;
|
|
341
386
|
execution?: {
|
|
342
387
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -398,6 +443,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
398
443
|
allow_patterns?: string[] | null | undefined;
|
|
399
444
|
model_type?: string | null | undefined;
|
|
400
445
|
} | null | undefined;
|
|
446
|
+
extra_artifact_refs?: {
|
|
447
|
+
source: "huggingface";
|
|
448
|
+
repo_id: string;
|
|
449
|
+
revision?: string | null | undefined;
|
|
450
|
+
path?: string | null | undefined;
|
|
451
|
+
allow_patterns?: string[] | null | undefined;
|
|
452
|
+
model_type?: string | null | undefined;
|
|
453
|
+
}[] | null | undefined;
|
|
454
|
+
files_present?: boolean | null | undefined;
|
|
401
455
|
} | null | undefined;
|
|
402
456
|
execution?: {
|
|
403
457
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -459,6 +513,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
459
513
|
allow_patterns?: string[] | null | undefined;
|
|
460
514
|
model_type?: string | null | undefined;
|
|
461
515
|
} | null | undefined;
|
|
516
|
+
extra_artifact_refs?: {
|
|
517
|
+
source: "huggingface";
|
|
518
|
+
repo_id: string;
|
|
519
|
+
revision?: string | null | undefined;
|
|
520
|
+
path?: string | null | undefined;
|
|
521
|
+
allow_patterns?: string[] | null | undefined;
|
|
522
|
+
model_type?: string | null | undefined;
|
|
523
|
+
}[] | null | undefined;
|
|
524
|
+
files_present?: boolean | null | undefined;
|
|
462
525
|
} | null | undefined;
|
|
463
526
|
execution?: {
|
|
464
527
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -520,6 +583,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
520
583
|
allow_patterns?: string[] | null | undefined;
|
|
521
584
|
model_type?: string | null | undefined;
|
|
522
585
|
} | null | undefined;
|
|
586
|
+
extra_artifact_refs?: {
|
|
587
|
+
source: "huggingface";
|
|
588
|
+
repo_id: string;
|
|
589
|
+
revision?: string | null | undefined;
|
|
590
|
+
path?: string | null | undefined;
|
|
591
|
+
allow_patterns?: string[] | null | undefined;
|
|
592
|
+
model_type?: string | null | undefined;
|
|
593
|
+
}[] | null | undefined;
|
|
594
|
+
files_present?: boolean | null | undefined;
|
|
523
595
|
} | null | undefined;
|
|
524
596
|
execution?: {
|
|
525
597
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -589,6 +661,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
589
661
|
allow_patterns?: string[] | null | undefined;
|
|
590
662
|
model_type?: string | null | undefined;
|
|
591
663
|
} | null | undefined;
|
|
664
|
+
extra_artifact_refs?: {
|
|
665
|
+
source: "huggingface";
|
|
666
|
+
repo_id: string;
|
|
667
|
+
revision?: string | null | undefined;
|
|
668
|
+
path?: string | null | undefined;
|
|
669
|
+
allow_patterns?: string[] | null | undefined;
|
|
670
|
+
model_type?: string | null | undefined;
|
|
671
|
+
}[] | null | undefined;
|
|
672
|
+
files_present?: boolean | null | undefined;
|
|
592
673
|
} | null | undefined;
|
|
593
674
|
execution?: {
|
|
594
675
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -653,6 +734,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
653
734
|
allow_patterns?: string[] | null | undefined;
|
|
654
735
|
model_type?: string | null | undefined;
|
|
655
736
|
} | null | undefined;
|
|
737
|
+
extra_artifact_refs?: {
|
|
738
|
+
source: "huggingface";
|
|
739
|
+
repo_id: string;
|
|
740
|
+
revision?: string | null | undefined;
|
|
741
|
+
path?: string | null | undefined;
|
|
742
|
+
allow_patterns?: string[] | null | undefined;
|
|
743
|
+
model_type?: string | null | undefined;
|
|
744
|
+
}[] | null | undefined;
|
|
745
|
+
files_present?: boolean | null | undefined;
|
|
656
746
|
} | null | undefined;
|
|
657
747
|
execution?: {
|
|
658
748
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -720,6 +810,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
720
810
|
allow_patterns?: string[] | null | undefined;
|
|
721
811
|
model_type?: string | null | undefined;
|
|
722
812
|
} | null | undefined;
|
|
813
|
+
extra_artifact_refs?: {
|
|
814
|
+
source: "huggingface";
|
|
815
|
+
repo_id: string;
|
|
816
|
+
revision?: string | null | undefined;
|
|
817
|
+
path?: string | null | undefined;
|
|
818
|
+
allow_patterns?: string[] | null | undefined;
|
|
819
|
+
model_type?: string | null | undefined;
|
|
820
|
+
}[] | null | undefined;
|
|
821
|
+
files_present?: boolean | null | undefined;
|
|
723
822
|
} | null | undefined;
|
|
724
823
|
execution?: {
|
|
725
824
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -799,6 +898,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
799
898
|
allow_patterns?: string[] | null | undefined;
|
|
800
899
|
model_type?: string | null | undefined;
|
|
801
900
|
} | null | undefined;
|
|
901
|
+
extra_artifact_refs?: {
|
|
902
|
+
source: "huggingface";
|
|
903
|
+
repo_id: string;
|
|
904
|
+
revision?: string | null | undefined;
|
|
905
|
+
path?: string | null | undefined;
|
|
906
|
+
allow_patterns?: string[] | null | undefined;
|
|
907
|
+
model_type?: string | null | undefined;
|
|
908
|
+
}[] | null | undefined;
|
|
909
|
+
files_present?: boolean | null | undefined;
|
|
802
910
|
} | null | undefined;
|
|
803
911
|
execution?: {
|
|
804
912
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -869,6 +977,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
869
977
|
allow_patterns?: string[] | null | undefined;
|
|
870
978
|
model_type?: string | null | undefined;
|
|
871
979
|
} | null | undefined;
|
|
980
|
+
extra_artifact_refs?: {
|
|
981
|
+
source: "huggingface";
|
|
982
|
+
repo_id: string;
|
|
983
|
+
revision?: string | null | undefined;
|
|
984
|
+
path?: string | null | undefined;
|
|
985
|
+
allow_patterns?: string[] | null | undefined;
|
|
986
|
+
model_type?: string | null | undefined;
|
|
987
|
+
}[] | null | undefined;
|
|
988
|
+
files_present?: boolean | null | undefined;
|
|
872
989
|
} | null | undefined;
|
|
873
990
|
execution?: {
|
|
874
991
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -936,6 +1053,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
936
1053
|
allow_patterns?: string[] | null | undefined;
|
|
937
1054
|
model_type?: string | null | undefined;
|
|
938
1055
|
} | null | undefined;
|
|
1056
|
+
extra_artifact_refs?: {
|
|
1057
|
+
source: "huggingface";
|
|
1058
|
+
repo_id: string;
|
|
1059
|
+
revision?: string | null | undefined;
|
|
1060
|
+
path?: string | null | undefined;
|
|
1061
|
+
allow_patterns?: string[] | null | undefined;
|
|
1062
|
+
model_type?: string | null | undefined;
|
|
1063
|
+
}[] | null | undefined;
|
|
1064
|
+
files_present?: boolean | null | undefined;
|
|
939
1065
|
} | null | undefined;
|
|
940
1066
|
execution?: {
|
|
941
1067
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1008,6 +1134,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1008
1134
|
allow_patterns?: string[] | null | undefined;
|
|
1009
1135
|
model_type?: string | null | undefined;
|
|
1010
1136
|
} | null | undefined;
|
|
1137
|
+
extra_artifact_refs?: {
|
|
1138
|
+
source: "huggingface";
|
|
1139
|
+
repo_id: string;
|
|
1140
|
+
revision?: string | null | undefined;
|
|
1141
|
+
path?: string | null | undefined;
|
|
1142
|
+
allow_patterns?: string[] | null | undefined;
|
|
1143
|
+
model_type?: string | null | undefined;
|
|
1144
|
+
}[] | null | undefined;
|
|
1145
|
+
files_present?: boolean | null | undefined;
|
|
1011
1146
|
} | null | undefined;
|
|
1012
1147
|
execution?: {
|
|
1013
1148
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1079,6 +1214,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1079
1214
|
allow_patterns?: string[] | null | undefined;
|
|
1080
1215
|
model_type?: string | null | undefined;
|
|
1081
1216
|
} | null | undefined;
|
|
1217
|
+
extra_artifact_refs?: {
|
|
1218
|
+
source: "huggingface";
|
|
1219
|
+
repo_id: string;
|
|
1220
|
+
revision?: string | null | undefined;
|
|
1221
|
+
path?: string | null | undefined;
|
|
1222
|
+
allow_patterns?: string[] | null | undefined;
|
|
1223
|
+
model_type?: string | null | undefined;
|
|
1224
|
+
}[] | null | undefined;
|
|
1225
|
+
files_present?: boolean | null | undefined;
|
|
1082
1226
|
} | null | undefined;
|
|
1083
1227
|
execution?: {
|
|
1084
1228
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1166,6 +1310,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1166
1310
|
allow_patterns?: string[] | null | undefined;
|
|
1167
1311
|
model_type?: string | null | undefined;
|
|
1168
1312
|
} | null | undefined;
|
|
1313
|
+
extra_artifact_refs?: {
|
|
1314
|
+
source: "huggingface";
|
|
1315
|
+
repo_id: string;
|
|
1316
|
+
revision?: string | null | undefined;
|
|
1317
|
+
path?: string | null | undefined;
|
|
1318
|
+
allow_patterns?: string[] | null | undefined;
|
|
1319
|
+
model_type?: string | null | undefined;
|
|
1320
|
+
}[] | null | undefined;
|
|
1321
|
+
files_present?: boolean | null | undefined;
|
|
1169
1322
|
} | null | undefined;
|
|
1170
1323
|
execution?: {
|
|
1171
1324
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1247,6 +1400,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1247
1400
|
allow_patterns?: string[] | null | undefined;
|
|
1248
1401
|
model_type?: string | null | undefined;
|
|
1249
1402
|
} | null | undefined;
|
|
1403
|
+
extra_artifact_refs?: {
|
|
1404
|
+
source: "huggingface";
|
|
1405
|
+
repo_id: string;
|
|
1406
|
+
revision?: string | null | undefined;
|
|
1407
|
+
path?: string | null | undefined;
|
|
1408
|
+
allow_patterns?: string[] | null | undefined;
|
|
1409
|
+
model_type?: string | null | undefined;
|
|
1410
|
+
}[] | null | undefined;
|
|
1411
|
+
files_present?: boolean | null | undefined;
|
|
1250
1412
|
} | null | undefined;
|
|
1251
1413
|
execution?: {
|
|
1252
1414
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1310,6 +1472,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1310
1472
|
allow_patterns?: string[] | null | undefined;
|
|
1311
1473
|
model_type?: string | null | undefined;
|
|
1312
1474
|
} | null | undefined;
|
|
1475
|
+
extra_artifact_refs?: {
|
|
1476
|
+
source: "huggingface";
|
|
1477
|
+
repo_id: string;
|
|
1478
|
+
revision?: string | null | undefined;
|
|
1479
|
+
path?: string | null | undefined;
|
|
1480
|
+
allow_patterns?: string[] | null | undefined;
|
|
1481
|
+
model_type?: string | null | undefined;
|
|
1482
|
+
}[] | null | undefined;
|
|
1483
|
+
files_present?: boolean | null | undefined;
|
|
1313
1484
|
} | null | undefined;
|
|
1314
1485
|
execution?: {
|
|
1315
1486
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1371,6 +1542,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1371
1542
|
allow_patterns?: string[] | null | undefined;
|
|
1372
1543
|
model_type?: string | null | undefined;
|
|
1373
1544
|
} | null | undefined;
|
|
1545
|
+
extra_artifact_refs?: {
|
|
1546
|
+
source: "huggingface";
|
|
1547
|
+
repo_id: string;
|
|
1548
|
+
revision?: string | null | undefined;
|
|
1549
|
+
path?: string | null | undefined;
|
|
1550
|
+
allow_patterns?: string[] | null | undefined;
|
|
1551
|
+
model_type?: string | null | undefined;
|
|
1552
|
+
}[] | null | undefined;
|
|
1553
|
+
files_present?: boolean | null | undefined;
|
|
1374
1554
|
} | null | undefined;
|
|
1375
1555
|
execution?: {
|
|
1376
1556
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1434,6 +1614,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1434
1614
|
allow_patterns?: string[] | null | undefined;
|
|
1435
1615
|
model_type?: string | null | undefined;
|
|
1436
1616
|
} | null | undefined;
|
|
1617
|
+
extra_artifact_refs?: {
|
|
1618
|
+
source: "huggingface";
|
|
1619
|
+
repo_id: string;
|
|
1620
|
+
revision?: string | null | undefined;
|
|
1621
|
+
path?: string | null | undefined;
|
|
1622
|
+
allow_patterns?: string[] | null | undefined;
|
|
1623
|
+
model_type?: string | null | undefined;
|
|
1624
|
+
}[] | null | undefined;
|
|
1625
|
+
files_present?: boolean | null | undefined;
|
|
1437
1626
|
} | null | undefined;
|
|
1438
1627
|
execution?: {
|
|
1439
1628
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1495,6 +1684,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1495
1684
|
allow_patterns?: string[] | null | undefined;
|
|
1496
1685
|
model_type?: string | null | undefined;
|
|
1497
1686
|
} | null | undefined;
|
|
1687
|
+
extra_artifact_refs?: {
|
|
1688
|
+
source: "huggingface";
|
|
1689
|
+
repo_id: string;
|
|
1690
|
+
revision?: string | null | undefined;
|
|
1691
|
+
path?: string | null | undefined;
|
|
1692
|
+
allow_patterns?: string[] | null | undefined;
|
|
1693
|
+
model_type?: string | null | undefined;
|
|
1694
|
+
}[] | null | undefined;
|
|
1695
|
+
files_present?: boolean | null | undefined;
|
|
1498
1696
|
} | null | undefined;
|
|
1499
1697
|
execution?: {
|
|
1500
1698
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1558,6 +1756,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1558
1756
|
allow_patterns?: string[] | null | undefined;
|
|
1559
1757
|
model_type?: string | null | undefined;
|
|
1560
1758
|
} | null | undefined;
|
|
1759
|
+
extra_artifact_refs?: {
|
|
1760
|
+
source: "huggingface";
|
|
1761
|
+
repo_id: string;
|
|
1762
|
+
revision?: string | null | undefined;
|
|
1763
|
+
path?: string | null | undefined;
|
|
1764
|
+
allow_patterns?: string[] | null | undefined;
|
|
1765
|
+
model_type?: string | null | undefined;
|
|
1766
|
+
}[] | null | undefined;
|
|
1767
|
+
files_present?: boolean | null | undefined;
|
|
1561
1768
|
} | null | undefined;
|
|
1562
1769
|
execution?: {
|
|
1563
1770
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1619,6 +1826,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1619
1826
|
allow_patterns?: string[] | null | undefined;
|
|
1620
1827
|
model_type?: string | null | undefined;
|
|
1621
1828
|
} | null | undefined;
|
|
1829
|
+
extra_artifact_refs?: {
|
|
1830
|
+
source: "huggingface";
|
|
1831
|
+
repo_id: string;
|
|
1832
|
+
revision?: string | null | undefined;
|
|
1833
|
+
path?: string | null | undefined;
|
|
1834
|
+
allow_patterns?: string[] | null | undefined;
|
|
1835
|
+
model_type?: string | null | undefined;
|
|
1836
|
+
}[] | null | undefined;
|
|
1837
|
+
files_present?: boolean | null | undefined;
|
|
1622
1838
|
} | null | undefined;
|
|
1623
1839
|
execution?: {
|
|
1624
1840
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1682,6 +1898,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1682
1898
|
allow_patterns?: string[] | null | undefined;
|
|
1683
1899
|
model_type?: string | null | undefined;
|
|
1684
1900
|
} | null | undefined;
|
|
1901
|
+
extra_artifact_refs?: {
|
|
1902
|
+
source: "huggingface";
|
|
1903
|
+
repo_id: string;
|
|
1904
|
+
revision?: string | null | undefined;
|
|
1905
|
+
path?: string | null | undefined;
|
|
1906
|
+
allow_patterns?: string[] | null | undefined;
|
|
1907
|
+
model_type?: string | null | undefined;
|
|
1908
|
+
}[] | null | undefined;
|
|
1909
|
+
files_present?: boolean | null | undefined;
|
|
1685
1910
|
} | null | undefined;
|
|
1686
1911
|
execution?: {
|
|
1687
1912
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1743,6 +1968,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1743
1968
|
allow_patterns?: string[] | null | undefined;
|
|
1744
1969
|
model_type?: string | null | undefined;
|
|
1745
1970
|
} | null | undefined;
|
|
1971
|
+
extra_artifact_refs?: {
|
|
1972
|
+
source: "huggingface";
|
|
1973
|
+
repo_id: string;
|
|
1974
|
+
revision?: string | null | undefined;
|
|
1975
|
+
path?: string | null | undefined;
|
|
1976
|
+
allow_patterns?: string[] | null | undefined;
|
|
1977
|
+
model_type?: string | null | undefined;
|
|
1978
|
+
}[] | null | undefined;
|
|
1979
|
+
files_present?: boolean | null | undefined;
|
|
1746
1980
|
} | null | undefined;
|
|
1747
1981
|
execution?: {
|
|
1748
1982
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1806,6 +2040,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1806
2040
|
allow_patterns?: string[] | null | undefined;
|
|
1807
2041
|
model_type?: string | null | undefined;
|
|
1808
2042
|
} | null | undefined;
|
|
2043
|
+
extra_artifact_refs?: {
|
|
2044
|
+
source: "huggingface";
|
|
2045
|
+
repo_id: string;
|
|
2046
|
+
revision?: string | null | undefined;
|
|
2047
|
+
path?: string | null | undefined;
|
|
2048
|
+
allow_patterns?: string[] | null | undefined;
|
|
2049
|
+
model_type?: string | null | undefined;
|
|
2050
|
+
}[] | null | undefined;
|
|
2051
|
+
files_present?: boolean | null | undefined;
|
|
1809
2052
|
} | null | undefined;
|
|
1810
2053
|
execution?: {
|
|
1811
2054
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1867,6 +2110,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1867
2110
|
allow_patterns?: string[] | null | undefined;
|
|
1868
2111
|
model_type?: string | null | undefined;
|
|
1869
2112
|
} | null | undefined;
|
|
2113
|
+
extra_artifact_refs?: {
|
|
2114
|
+
source: "huggingface";
|
|
2115
|
+
repo_id: string;
|
|
2116
|
+
revision?: string | null | undefined;
|
|
2117
|
+
path?: string | null | undefined;
|
|
2118
|
+
allow_patterns?: string[] | null | undefined;
|
|
2119
|
+
model_type?: string | null | undefined;
|
|
2120
|
+
}[] | null | undefined;
|
|
2121
|
+
files_present?: boolean | null | undefined;
|
|
1870
2122
|
} | null | undefined;
|
|
1871
2123
|
execution?: {
|
|
1872
2124
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1930,6 +2182,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1930
2182
|
allow_patterns?: string[] | null | undefined;
|
|
1931
2183
|
model_type?: string | null | undefined;
|
|
1932
2184
|
} | null | undefined;
|
|
2185
|
+
extra_artifact_refs?: {
|
|
2186
|
+
source: "huggingface";
|
|
2187
|
+
repo_id: string;
|
|
2188
|
+
revision?: string | null | undefined;
|
|
2189
|
+
path?: string | null | undefined;
|
|
2190
|
+
allow_patterns?: string[] | null | undefined;
|
|
2191
|
+
model_type?: string | null | undefined;
|
|
2192
|
+
}[] | null | undefined;
|
|
2193
|
+
files_present?: boolean | null | undefined;
|
|
1933
2194
|
} | null | undefined;
|
|
1934
2195
|
execution?: {
|
|
1935
2196
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1993,6 +2254,15 @@ export declare const modelsRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1993
2254
|
allow_patterns?: string[] | null | undefined;
|
|
1994
2255
|
model_type?: string | null | undefined;
|
|
1995
2256
|
} | null | undefined;
|
|
2257
|
+
extra_artifact_refs?: {
|
|
2258
|
+
source: "huggingface";
|
|
2259
|
+
repo_id: string;
|
|
2260
|
+
revision?: string | null | undefined;
|
|
2261
|
+
path?: string | null | undefined;
|
|
2262
|
+
allow_patterns?: string[] | null | undefined;
|
|
2263
|
+
model_type?: string | null | undefined;
|
|
2264
|
+
}[] | null | undefined;
|
|
2265
|
+
files_present?: boolean | null | undefined;
|
|
1996
2266
|
} | null | undefined;
|
|
1997
2267
|
execution?: {
|
|
1998
2268
|
kind: "api" | "local" | "server" | "unavailable";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/trpc/routers/models.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/trpc/routers/models.ts"],"names":[],"mappings":"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqUH;;OAEG;;;;;;;;;;;;;;;;IA2CH;;OAEG;;;;;;;;;;;GAcH,CAAC"}
|
|
@@ -44,7 +44,9 @@ const modelAdapterInfoSchema = z.object({
|
|
|
44
44
|
state: z.enum(["installed", "missing_dependency", "unknown"]),
|
|
45
45
|
reason_code: z.string().nullish(),
|
|
46
46
|
reason: z.string().nullish(),
|
|
47
|
-
artifact_ref: modelArtifactRefSchema.nullish()
|
|
47
|
+
artifact_ref: modelArtifactRefSchema.nullish(),
|
|
48
|
+
extra_artifact_refs: z.array(modelArtifactRefSchema).nullish(),
|
|
49
|
+
files_present: z.boolean().nullish()
|
|
48
50
|
});
|
|
49
51
|
const modelExecutionAvailabilitySchema = z.object({
|
|
50
52
|
kind: z.enum(["local", "server", "api", "unavailable"]),
|
|
@@ -600,6 +602,14 @@ function tjsCachedAsRecommended(repoId, models) {
|
|
|
600
602
|
}
|
|
601
603
|
function toUnifiedLanguageModel(model, supportsTools) {
|
|
602
604
|
const registration = getRegisteredProvider(model.provider);
|
|
605
|
+
// A local model with files to download carries its adapter. The image
|
|
606
|
+
// conversion already maps it, so reuse that mapping.
|
|
607
|
+
if (model.adapter) {
|
|
608
|
+
return {
|
|
609
|
+
...toUnifiedModel(model, "language_model"),
|
|
610
|
+
supports_tools: supportsTools ?? null
|
|
611
|
+
};
|
|
612
|
+
}
|
|
603
613
|
return {
|
|
604
614
|
id: model.id,
|
|
605
615
|
type: "language_model",
|
|
@@ -615,6 +625,26 @@ function toUnifiedLanguageModel(model, supportsTools) {
|
|
|
615
625
|
: null
|
|
616
626
|
};
|
|
617
627
|
}
|
|
628
|
+
function toUnifiedArtifactRef(ref) {
|
|
629
|
+
return {
|
|
630
|
+
source: ref.source,
|
|
631
|
+
repo_id: ref.repoId,
|
|
632
|
+
revision: ref.revision ?? null,
|
|
633
|
+
path: ref.path ?? null,
|
|
634
|
+
allow_patterns: ref.allowPatterns ?? null,
|
|
635
|
+
model_type: ref.modelType ?? null
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
function toUnifiedAdapter(adapter) {
|
|
639
|
+
return {
|
|
640
|
+
state: adapter.state,
|
|
641
|
+
reason_code: adapter.reasonCode ?? null,
|
|
642
|
+
reason: adapter.reason ?? null,
|
|
643
|
+
artifact_ref: adapter.artifactRef ? toUnifiedArtifactRef(adapter.artifactRef) : null,
|
|
644
|
+
extra_artifact_refs: adapter.extraArtifactRefs?.map(toUnifiedArtifactRef) ?? null,
|
|
645
|
+
files_present: adapter.filesPresent ?? null
|
|
646
|
+
};
|
|
647
|
+
}
|
|
618
648
|
function toUnifiedModel(model, type) {
|
|
619
649
|
const registration = getRegisteredProvider(model.provider);
|
|
620
650
|
return {
|
|
@@ -634,23 +664,7 @@ function toUnifiedModel(model, type) {
|
|
|
634
664
|
languages: model.languages ?? null,
|
|
635
665
|
sample_rate: model.sampleRate ?? null,
|
|
636
666
|
requires_reference_text: model.requiresReferenceText ?? null,
|
|
637
|
-
adapter: model.adapter
|
|
638
|
-
? {
|
|
639
|
-
state: model.adapter.state,
|
|
640
|
-
reason_code: model.adapter.reasonCode ?? null,
|
|
641
|
-
reason: model.adapter.reason ?? null,
|
|
642
|
-
artifact_ref: model.adapter.artifactRef
|
|
643
|
-
? {
|
|
644
|
-
source: model.adapter.artifactRef.source,
|
|
645
|
-
repo_id: model.adapter.artifactRef.repoId,
|
|
646
|
-
revision: model.adapter.artifactRef.revision ?? null,
|
|
647
|
-
path: model.adapter.artifactRef.path ?? null,
|
|
648
|
-
allow_patterns: model.adapter.artifactRef.allowPatterns ?? null,
|
|
649
|
-
model_type: model.adapter.artifactRef.modelType ?? null
|
|
650
|
-
}
|
|
651
|
-
: null
|
|
652
|
-
}
|
|
653
|
-
: null,
|
|
667
|
+
adapter: model.adapter ? toUnifiedAdapter(model.adapter) : null,
|
|
654
668
|
supported_tasks: (type === "image_model"
|
|
655
669
|
? imageModelTasks(model)
|
|
656
670
|
: model.supportedTasks) ?? null,
|
|
@@ -1185,7 +1199,11 @@ export const modelsRouter = router({
|
|
|
1185
1199
|
return [];
|
|
1186
1200
|
const models = await instance.getAvailableLanguageModels();
|
|
1187
1201
|
const toolFlags = await Promise.all(models.map((m) => instance.hasToolSupport(m.id).catch(() => null)));
|
|
1188
|
-
|
|
1202
|
+
const unified = models.map((m, i) => toUnifiedLanguageModel(m, toolFlags[i]));
|
|
1203
|
+
// Only a local model has files to download.
|
|
1204
|
+
return unified.some((model) => model.adapter)
|
|
1205
|
+
? resolveProviderModelExecution(unified, [input.provider])
|
|
1206
|
+
: unified;
|
|
1189
1207
|
}, [])),
|
|
1190
1208
|
/**
|
|
1191
1209
|
* Aspect ratios / resolutions / (video) durations a given model supports.
|