Skip to content

Commit 2d7f599

Browse files
Release 2024-08-06 (#112)
* Changes to OpenAPI.ts + json * bump version * Add kitchen sink example
1 parent 940bcd1 commit 2d7f599

File tree

7 files changed

+740
-1446
lines changed

7 files changed

+740
-1446
lines changed

bin/update-version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { execSync } from "node:child_process";
55

66
// NOTE: Merged with API version to produce the full SDK version string
77
// https://docs.substrate.run/versioning
8-
const SDK_VERSION = "1.1.8";
8+
const SDK_VERSION = "1.1.9";
99

1010
const ok = (message: string) => console.log("\x1b[32m✓\x1b[0m", message);
1111

examples/kitchen-sink.ts

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import {
4040
SplitDocument,
4141
If,
4242
Box,
43+
InterpolateFrames,
4344
} from "substrate";
4445

4546
const STAGING = "https://api-staging.substrate.run";
@@ -330,6 +331,13 @@ const examples = [
330331
new Llama3Instruct8B({
331332
prompt: "what does quixotic mean?",
332333
}),
334+
new InterpolateFrames({
335+
frame_uris: [
336+
"https://media.substrate.run/apple-forest2.jpeg",
337+
"https://media.substrate.run/apple-forest3.jpeg",
338+
],
339+
store: "hosted",
340+
}),
333341
];
334342

335343
const noColor = process.argv.includes("--no-color");

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "substrate",
3-
"version": "120240617.1.8",
3+
"version": "120240617.1.9",
44
"description": "The official SDK for the Substrate API",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)