Skip to content

Commit

Permalink
Release 2024-08-06 (#112)
Browse files Browse the repository at this point in the history
* Changes to OpenAPI.ts + json

* bump version

* Add kitchen sink example
  • Loading branch information
liamgriffiths authored Aug 6, 2024
1 parent 940bcd1 commit 2d7f599
Show file tree
Hide file tree
Showing 7 changed files with 740 additions and 1,446 deletions.
2 changes: 1 addition & 1 deletion bin/update-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { execSync } from "node:child_process";

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

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

Expand Down
8 changes: 8 additions & 0 deletions examples/kitchen-sink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import {
SplitDocument,
If,
Box,
InterpolateFrames,
} from "substrate";

const STAGING = "https://api-staging.substrate.run";
Expand Down Expand Up @@ -330,6 +331,13 @@ const examples = [
new Llama3Instruct8B({
prompt: "what does quixotic mean?",
}),
new InterpolateFrames({
frame_uris: [
"https://media.substrate.run/apple-forest2.jpeg",
"https://media.substrate.run/apple-forest3.jpeg",
],
store: "hosted",
}),
];

const noColor = process.argv.includes("--no-color");
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substrate",
"version": "120240617.1.8",
"version": "120240617.1.9",
"description": "The official SDK for the Substrate API",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 2d7f599

Please sign in to comment.