diff --git a/packages/embedder/ai_models/TextEmbeddingsInference.ts b/packages/embedder/ai_models/TextEmbeddingsInference.ts index 0ed12614cd4..c8f22d22796 100644 --- a/packages/embedder/ai_models/TextEmbeddingsInference.ts +++ b/packages/embedder/ai_models/TextEmbeddingsInference.ts @@ -20,8 +20,8 @@ const modelIdDefinitions: Record = { } const openAPIWithTimeout = - (client: ClientMethod, toError: (error: unknown) => any, timeout: number) => - async (...args: Parameters>) => { + (client: ClientMethod, toError: (error: unknown) => any, timeout: number) => + async (...args: Parameters>) => { const controller = new AbortController() const {signal} = controller const timeoutId = setTimeout(() => { diff --git a/packages/embedder/package.json b/packages/embedder/package.json index 34fe59960ba..3e4e64695d9 100644 --- a/packages/embedder/package.json +++ b/packages/embedder/package.json @@ -30,7 +30,7 @@ "jest": "^29.5.0", "jest-extended": "^3.2.4", "jest-junit": "^16.0.0", - "openapi-fetch": "^0.9.3", + "openapi-fetch": "^0.10.0", "sucrase": "^3.32.0", "ts-jest": "^29.1.0", "ts-node-dev": "^1.0.0-pre.44", diff --git a/packages/server/package.json b/packages/server/package.json index b1a7940956a..0c6fec88e3b 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -122,7 +122,6 @@ "nodemailer": "^6.9.9", "oauth-1.0a": "^2.2.6", "openai": "^4.53.0", - "openapi-fetch": "^0.9.7", "oy-vey": "^0.12.1", "parabol-client": "7.46.3", "pg": "^8.5.1", diff --git a/yarn.lock b/yarn.lock index 3f2d7d6cd7d..e8afdb3aac7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18178,34 +18178,22 @@ openai@^4.53.0: node-fetch "^2.6.7" web-streams-polyfill "^3.2.1" -openapi-fetch@^0.9.3: - version "0.9.3" - resolved "https://registry.yarnpkg.com/openapi-fetch/-/openapi-fetch-0.9.3.tgz#37c1dbde7faec885eaa40f351cab1c231b794761" - integrity sha512-tC1NDn71vJHeCzu+lYdrnIpgRt4GxR0B4eSwXNb15ypWpZcpaEOwHFkoz8FcfG5Fvqkz2P0Fl9zQF1JJwBjuvA== - dependencies: - openapi-typescript-helpers "^0.0.7" - -openapi-fetch@^0.9.7: - version "0.9.7" - resolved "https://registry.yarnpkg.com/openapi-fetch/-/openapi-fetch-0.9.7.tgz#e224d1176e11ec68671caf0df6b736d649be97ed" - integrity sha512-NMp/GEmWSGO0b2d731IdGXcMP2PF85Rk1q+oy2Mx/DYMdP3pgTZTRamKxgZpkHhM4iOVsyD1iP5HKL9Fr6CH2Q== +openapi-fetch@^0.10.0: + version "0.10.2" + resolved "https://registry.yarnpkg.com/openapi-fetch/-/openapi-fetch-0.10.2.tgz#2c16bda62cf182ba780a9d94818294731de0b2d6" + integrity sha512-GCzgKIZchnxZRnztiOlRTKk9tQT0NHvs5MNXYFtOwG7xaj1iCJOGDsTLbn/2QUP37PjGTT890qERFjvmjxzQMg== dependencies: - openapi-typescript-helpers "^0.0.8" + openapi-typescript-helpers "^0.0.9" openapi-types@^12.1.0: version "12.1.1" resolved "https://registry.yarnpkg.com/openapi-types/-/openapi-types-12.1.1.tgz#0aface4e05ba60efbf51153ed6af23988796617d" integrity sha512-m/DJaEqOUDSU8KoI74E6A3TokccuDOJ81ewZ6kLFwUT1KEIE0GDWvErtnJJDU4sySx8JKF5kk2GzHUuK6f+VHA== -openapi-typescript-helpers@^0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.7.tgz#1d0ead67c35864d189c2cb2d0556854ccbb16c38" - integrity sha512-7nwlAtdA1fULipibFRBWE/rnF114q6ejRYzNvhdA/x+qTWAZhXGLc/368dlwMlyJDvCQMCnADjpzb5BS5ZmNSA== - -openapi-typescript-helpers@^0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.8.tgz#460f395362cc16e4a5de56264b7b1c5a03746e35" - integrity sha512-1eNjQtbfNi5Z/kFhagDIaIRj6qqDzhjNJKz8cmMW0CVdGwT6e1GLbAfgI0d28VTJa1A8jz82jm/4dG8qNoNS8g== +openapi-typescript-helpers@^0.0.9: + version "0.0.9" + resolved "https://registry.yarnpkg.com/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.9.tgz#bb20cc0b79bf56d4a31a96477d7b2c8d33b9c836" + integrity sha512-BO2TvIDAO/FPVKz1Nj2gy+pUOHfaoENdK5UP3H0Jbh0VXBf3dwYMs58ZwOjiezrbHA2LamdquoyQgahTPvIxGA== opener@^1.5.2: version "1.5.2"