Skip to content

Commit

Permalink
feat(api): Set latest default API version (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 6, 2024
1 parent 2f91b22 commit 1438a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class RunwayML extends Core.APIClient {
* API Client for interfacing with the RunwayML API.
*
* @param {string | undefined} [opts.apiKey=process.env['RUNWAYML_API_SECRET'] ?? undefined]
* @param {string | undefined} [opts.runwayVersion=2024-09-13]
* @param {string | undefined} [opts.runwayVersion=2024-11-06]
* @param {string} [opts.baseURL=process.env['RUNWAYML_BASE_URL'] ?? https://api.dev.runwayml.com] - Override the default base URL for the API.
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
* @param {number} [opts.httpAgent] - An HTTP agent used to manage HTTP(s) connections.
Expand All @@ -102,7 +102,7 @@ export class RunwayML extends Core.APIClient {
constructor({
baseURL = Core.readEnv('RUNWAYML_BASE_URL'),
apiKey = Core.readEnv('RUNWAYML_API_SECRET'),
runwayVersion = '2024-09-13',
runwayVersion = '2024-11-06',
...opts
}: ClientOptions = {}) {
if (apiKey === undefined) {
Expand Down

0 comments on commit 1438a26

Please sign in to comment.