diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile old mode 100644 new mode 100755 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json old mode 100644 new mode 100755 diff --git a/.eslintrc.js b/.eslintrc.js old mode 100644 new mode 100755 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.prettierignore b/.prettierignore old mode 100644 new mode 100755 diff --git a/.prettierrc.json b/.prettierrc.json old mode 100644 new mode 100755 diff --git a/.release-please-manifest.json b/.release-please-manifest.json old mode 100644 new mode 100755 diff --git a/.stats.yml b/.stats.yml old mode 100644 new mode 100755 index ed7794b..1572e80 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 15 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-bbe2e1c1edae74e765e131bc83d9f2820b4c52b77bd75a00181905232d87081c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-4d2d6b953f3918f01c022b00942571be9241e37a4e6877444e0353913f21cba0.yml diff --git a/Brewfile b/Brewfile old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/SECURITY.md b/SECURITY.md old mode 100644 new mode 100755 diff --git a/api.md b/api.md old mode 100644 new mode 100755 diff --git a/bin/check-release-environment b/bin/check-release-environment old mode 100644 new mode 100755 diff --git a/bin/publish-npm b/bin/publish-npm old mode 100644 new mode 100755 diff --git a/examples/.keep b/examples/.keep old mode 100644 new mode 100755 diff --git a/jest.config.ts b/jest.config.ts old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/release-please-config.json b/release-please-config.json old mode 100644 new mode 100755 diff --git a/scripts/utils/check-version.cjs b/scripts/utils/check-version.cjs old mode 100644 new mode 100755 diff --git a/scripts/utils/fix-index-exports.cjs b/scripts/utils/fix-index-exports.cjs old mode 100644 new mode 100755 diff --git a/scripts/utils/make-dist-package-json.cjs b/scripts/utils/make-dist-package-json.cjs old mode 100644 new mode 100755 diff --git a/scripts/utils/postprocess-files.cjs b/scripts/utils/postprocess-files.cjs old mode 100644 new mode 100755 diff --git a/src/_shims/MultipartBody.ts b/src/_shims/MultipartBody.ts old mode 100644 new mode 100755 diff --git a/src/_shims/README.md b/src/_shims/README.md old mode 100644 new mode 100755 diff --git a/src/_shims/auto/runtime-bun.ts b/src/_shims/auto/runtime-bun.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/runtime-deno.ts b/src/_shims/auto/runtime-deno.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/runtime-node.ts b/src/_shims/auto/runtime-node.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/runtime.ts b/src/_shims/auto/runtime.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/types-deno.ts b/src/_shims/auto/types-deno.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/types-node.ts b/src/_shims/auto/types-node.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/types.d.ts b/src/_shims/auto/types.d.ts old mode 100644 new mode 100755 diff --git a/src/_shims/auto/types.js b/src/_shims/auto/types.js old mode 100644 new mode 100755 diff --git a/src/_shims/auto/types.mjs b/src/_shims/auto/types.mjs old mode 100644 new mode 100755 diff --git a/src/_shims/bun-runtime.ts b/src/_shims/bun-runtime.ts old mode 100644 new mode 100755 diff --git a/src/_shims/index-deno.ts b/src/_shims/index-deno.ts old mode 100644 new mode 100755 diff --git a/src/_shims/index.d.ts b/src/_shims/index.d.ts old mode 100644 new mode 100755 diff --git a/src/_shims/index.js b/src/_shims/index.js old mode 100644 new mode 100755 diff --git a/src/_shims/index.mjs b/src/_shims/index.mjs old mode 100644 new mode 100755 diff --git a/src/_shims/manual-types.d.ts b/src/_shims/manual-types.d.ts old mode 100644 new mode 100755 diff --git a/src/_shims/manual-types.js b/src/_shims/manual-types.js old mode 100644 new mode 100755 diff --git a/src/_shims/manual-types.mjs b/src/_shims/manual-types.mjs old mode 100644 new mode 100755 diff --git a/src/_shims/node-runtime.ts b/src/_shims/node-runtime.ts old mode 100644 new mode 100755 diff --git a/src/_shims/node-types.d.ts b/src/_shims/node-types.d.ts old mode 100644 new mode 100755 diff --git a/src/_shims/node-types.js b/src/_shims/node-types.js old mode 100644 new mode 100755 diff --git a/src/_shims/node-types.mjs b/src/_shims/node-types.mjs old mode 100644 new mode 100755 diff --git a/src/_shims/registry.ts b/src/_shims/registry.ts old mode 100644 new mode 100755 diff --git a/src/_shims/web-runtime.ts b/src/_shims/web-runtime.ts old mode 100644 new mode 100755 diff --git a/src/_shims/web-types.d.ts b/src/_shims/web-types.d.ts old mode 100644 new mode 100755 diff --git a/src/_shims/web-types.js b/src/_shims/web-types.js old mode 100644 new mode 100755 diff --git a/src/_shims/web-types.mjs b/src/_shims/web-types.mjs old mode 100644 new mode 100755 diff --git a/src/core.ts b/src/core.ts old mode 100644 new mode 100755 diff --git a/src/error.ts b/src/error.ts old mode 100644 new mode 100755 diff --git a/src/index.ts b/src/index.ts old mode 100644 new mode 100755 diff --git a/src/lib/.keep b/src/lib/.keep old mode 100644 new mode 100755 diff --git a/src/resource.ts b/src/resource.ts old mode 100644 new mode 100755 diff --git a/src/resources/chat/chat.ts b/src/resources/chat/chat.ts old mode 100644 new mode 100755 diff --git a/src/resources/chat/completions.ts b/src/resources/chat/completions.ts old mode 100644 new mode 100755 index 1d82a86..be09d27 --- a/src/resources/chat/completions.ts +++ b/src/resources/chat/completions.ts @@ -110,7 +110,7 @@ export namespace ChatCompletionChunk { export interface Choice { delta: Choice.Delta; - finish_reason: 'stop' | 'eos' | 'length' | 'tool_calls' | 'function_call'; + finish_reason: 'stop' | 'eos' | 'length' | 'tool_calls' | 'function_call' | null; index: number; diff --git a/src/resources/chat/index.ts b/src/resources/chat/index.ts old mode 100644 new mode 100755 diff --git a/src/resources/completions.ts b/src/resources/completions.ts old mode 100644 new mode 100755 diff --git a/src/resources/embeddings.ts b/src/resources/embeddings.ts old mode 100644 new mode 100755 diff --git a/src/resources/files.ts b/src/resources/files.ts old mode 100644 new mode 100755 diff --git a/src/resources/fine-tune.ts b/src/resources/fine-tune.ts old mode 100644 new mode 100755 diff --git a/src/resources/images.ts b/src/resources/images.ts old mode 100644 new mode 100755 diff --git a/src/resources/index.ts b/src/resources/index.ts old mode 100644 new mode 100755 diff --git a/src/resources/models.ts b/src/resources/models.ts old mode 100644 new mode 100755 diff --git a/src/shims/node.ts b/src/shims/node.ts old mode 100644 new mode 100755 diff --git a/src/shims/web.ts b/src/shims/web.ts old mode 100644 new mode 100755 diff --git a/src/streaming.ts b/src/streaming.ts old mode 100644 new mode 100755 diff --git a/src/uploads.ts b/src/uploads.ts old mode 100644 new mode 100755 diff --git a/src/version.ts b/src/version.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/chat/completions.test.ts b/tests/api-resources/chat/completions.test.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/completions.test.ts b/tests/api-resources/completions.test.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/embeddings.test.ts b/tests/api-resources/embeddings.test.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/files.test.ts b/tests/api-resources/files.test.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/fine-tune.test.ts b/tests/api-resources/fine-tune.test.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/images.test.ts b/tests/api-resources/images.test.ts old mode 100644 new mode 100755 diff --git a/tests/api-resources/models.test.ts b/tests/api-resources/models.test.ts old mode 100644 new mode 100755 diff --git a/tests/form.test.ts b/tests/form.test.ts old mode 100644 new mode 100755 diff --git a/tests/index.test.ts b/tests/index.test.ts old mode 100644 new mode 100755 diff --git a/tests/responses.test.ts b/tests/responses.test.ts old mode 100644 new mode 100755 diff --git a/tests/streaming.test.ts b/tests/streaming.test.ts old mode 100644 new mode 100755 diff --git a/tests/stringifyQuery.test.ts b/tests/stringifyQuery.test.ts old mode 100644 new mode 100755 diff --git a/tests/uploads.test.ts b/tests/uploads.test.ts old mode 100644 new mode 100755 diff --git a/tsc-multi.json b/tsc-multi.json old mode 100644 new mode 100755 diff --git a/tsconfig.build.json b/tsconfig.build.json old mode 100644 new mode 100755 diff --git a/tsconfig.deno.json b/tsconfig.deno.json old mode 100644 new mode 100755 diff --git a/tsconfig.dist-src.json b/tsconfig.dist-src.json old mode 100644 new mode 100755 diff --git a/tsconfig.json b/tsconfig.json old mode 100644 new mode 100755 diff --git a/yarn.lock b/yarn.lock old mode 100644 new mode 100755