-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ollama embedding - Changed localhost
to 127.0.0.1
#3087
Conversation
…m localhost to 127.0.0.1 to work out of the box
…lama class implementation
@@ -95,7 +95,17 @@ export class OllamaEmbeddings extends Embeddings { | |||
async _request(prompt: string): Promise<number[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds a new fetch request using the fetch
function, with a modified base URL to handle a specific issue with Node 18 and resolving "localhost". Please review this change to ensure it aligns with the project's requirements and best practices.
if (formattedBaseUrl.startsWith("http://localhost:")) { | ||
// Node 18 has issues with resolving "localhost" | ||
// See https://github.com/node-fetch/node-fetch/issues/1624 | ||
formattedBaseUrl = formattedBaseUrl.replace( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to reduce the amount of magic, can we do something like this and change the default in the constructor instead?
https://github.com/langchain-ai/langchainjs/blob/main/langchain/src/chat_models/ollama.ts#L35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was about to change the baseUrl to 127.0.0.1 but after looking through the rest of the Ollama code, I realized that all the other Ollama functions like ChatOllama
and Ollama
class call on this createOllamaStream
which has this reformatting logic
let formattedBaseUrl = baseUrl;
if (formattedBaseUrl.startsWith("http://localhost:")) {
// Node 18 has issues with resolving "localhost"
// See https://github.com/node-fetch/node-fetch/issues/1624
formattedBaseUrl = formattedBaseUrl.replace(
"http://localhost:",
"http://127.0.0.1:"
);
}
I thought this was more appropriate for the following reasons:
- The default
baseUrl
across Ollama classes can be consitentlylocalhost
. The docs showing examples are consistent too in terms of showing the default baseUrl in the config object aslocalhost
instead of127.0.0.1
. - The end user won't mess it up if they override the default baseUrl with
http://localhost/....
either. Compared to if we change the baseUrl to127.0.0.1
, and the user overrides withlocalhost
and it doesn't work, they'll raise an issue on the repo. Having this function avoids potential future issues.
Either way, once you confirm either approach, I'll make the PR. If as-is, this PR should be okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you're right, let's leave it your way then!
Small comment |
Thank you! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`6.2.1` -> `6.10.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.2.1/6.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.2.1/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.2.1/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`6.2.1` -> `6.10.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.2.1/6.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.2.1/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.2.1/6.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.52.0` -> `8.53.0`](https://renovatebot.com/diffs/npm/eslint/8.52.0/8.53.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.52.0/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.52.0/8.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [langchain](https://togithub.com/langchain-ai/langchainjs) | [`^0.0.175` -> `^0.0.181`](https://renovatebot.com/diffs/npm/langchain/0.0.175/0.0.181) | [![age](https://developer.mend.io/api/mc/badges/age/npm/langchain/0.0.181?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/langchain/0.0.181?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/langchain/0.0.175/0.0.181?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/langchain/0.0.175/0.0.181?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-node) | [`4.14.2` -> `4.15.4`](https://renovatebot.com/diffs/npm/openai/4.14.2/4.15.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.14.2/4.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.14.2/4.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tsx](https://togithub.com/esbuild-kit/tsx) | [`3.12.7` -> `3.14.0`](https://renovatebot.com/diffs/npm/tsx/3.12.7/3.14.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tsx/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tsx/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tsx/3.12.7/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsx/3.12.7/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.6` -> `5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v6.10.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6100-2023-11-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.1...v6.10.0) ##### Bug Fixes - **eslint-plugin:** \[no-unused-vars] handle logical assignment ([#​7854](https://togithub.com/typescript-eslint/typescript-eslint/issues/7854)) ([11e57c5](https://togithub.com/typescript-eslint/typescript-eslint/commit/11e57c5937cc2ad2e6b035f8d3fb25a918490960)) - **eslint-plugin:** \[require-await] add support for "await using" ([#​7866](https://togithub.com/typescript-eslint/typescript-eslint/issues/7866)) ([855abea](https://togithub.com/typescript-eslint/typescript-eslint/commit/855abea2d7ba0235e61430f9481117af5f8f1bf7)) ##### Features - **eslint-plugin:** \[ban-ts-comments] suggest ts-expect-error over ts-ignore ([#​7849](https://togithub.com/typescript-eslint/typescript-eslint/issues/7849)) ([5e73a48](https://togithub.com/typescript-eslint/typescript-eslint/commit/5e73a4810add09470426129bc6b267cfaa42c378)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.9.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1) (2023-10-30) ##### Bug Fixes - **eslint-plugin:** \[naming-convention] allow PascalCase for imports ([#​7841](https://togithub.com/typescript-eslint/typescript-eslint/issues/7841)) ([7ad86ee](https://togithub.com/typescript-eslint/typescript-eslint/commit/7ad86eead76fa9e96573ac011376c1cb8c009cee)) - **eslint-plugin:** \[no-unused-expressions] handle TSInstantiationExpression expression ([#​7831](https://togithub.com/typescript-eslint/typescript-eslint/issues/7831)) ([31988e0](https://togithub.com/typescript-eslint/typescript-eslint/commit/31988e0d2e6cf5e6bb9bb287958b1f03ca084259)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#691-2023-10-30) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1) ##### Bug Fixes - **eslint-plugin:** \[naming-convention] allow PascalCase for imports ([#​7841](https://togithub.com/typescript-eslint/typescript-eslint/issues/7841)) ([7ad86ee](https://togithub.com/typescript-eslint/typescript-eslint/commit/7ad86eead76fa9e96573ac011376c1cb8c009cee)) - **eslint-plugin:** \[no-unused-expressions] handle TSInstantiationExpression expression ([#​7831](https://togithub.com/typescript-eslint/typescript-eslint/issues/7831)) ([31988e0](https://togithub.com/typescript-eslint/typescript-eslint/commit/31988e0d2e6cf5e6bb9bb287958b1f03ca084259)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.9.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#690-2023-10-23) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.8.0...v6.9.0) ##### Bug Fixes - **eslint-plugin:** \[no-confusing-void-expression] handle unfixable cases ([#​7674](https://togithub.com/typescript-eslint/typescript-eslint/issues/7674)) ([7e52f27](https://togithub.com/typescript-eslint/typescript-eslint/commit/7e52f276ed5b8b2c0b76be02cb2e8a77892c10f2)) - **eslint-plugin:** \[no-unsafe-return] allow returning anything if explicitly returning any ([#​7708](https://togithub.com/typescript-eslint/typescript-eslint/issues/7708)) ([c6124b2](https://togithub.com/typescript-eslint/typescript-eslint/commit/c6124b2c93a53f11471cce8054388dec7a58f90b)) ##### Features - **eslint-plugin:** \[max-params] don't count `this: void` parameter ([#​7696](https://togithub.com/typescript-eslint/typescript-eslint/issues/7696)) ([6398d3f](https://togithub.com/typescript-eslint/typescript-eslint/commit/6398d3fd0a576d8cdc957ec1b57929acacc60ba0)), closes [#​7538](https://togithub.com/typescript-eslint/typescript-eslint/issues/7538) - **eslint-plugin:** \[naming-convention] add support for default and namespace imports ([#​7269](https://togithub.com/typescript-eslint/typescript-eslint/issues/7269)) ([bb15aae](https://togithub.com/typescript-eslint/typescript-eslint/commit/bb15aae877ae260f59aa5e6cfc338b1eefc6d85c)) - **eslint-plugin:** \[no-restricted-imports] support import = require ([#​7709](https://togithub.com/typescript-eslint/typescript-eslint/issues/7709)) ([4c8edcf](https://togithub.com/typescript-eslint/typescript-eslint/commit/4c8edcfb7d3cc02d07d2329c87da4377c1cbf969)) - **eslint-plugin:** \[no-unsafe-enum-comparison] add switch suggestion ([#​7691](https://togithub.com/typescript-eslint/typescript-eslint/issues/7691)) ([53d5263](https://togithub.com/typescript-eslint/typescript-eslint/commit/53d5263cee8e0b5ddc5de3321d27559c196e5b58)), closes [#​7643](https://togithub.com/typescript-eslint/typescript-eslint/issues/7643) - **eslint-plugin:** \[prefer-readonly] private fields support ([#​7686](https://togithub.com/typescript-eslint/typescript-eslint/issues/7686)) ([0e875bf](https://togithub.com/typescript-eslint/typescript-eslint/commit/0e875bf77a9d94dc74924245fabc36c0ae780977)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.8.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#680-2023-10-16) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.5...v6.8.0) ##### Bug Fixes - **eslint-plugin:** \[consistent-type-imports] import assertion checks added ([#​7722](https://togithub.com/typescript-eslint/typescript-eslint/issues/7722)) ([afdae37](https://togithub.com/typescript-eslint/typescript-eslint/commit/afdae3739c68469a488277eb7b7f56f679d6eb20)) - **eslint-plugin:** \[no-shadow] fix static class generics for class expressions ([#​7724](https://togithub.com/typescript-eslint/typescript-eslint/issues/7724)) ([e5ea1d0](https://togithub.com/typescript-eslint/typescript-eslint/commit/e5ea1d05603e6212093de541e5da49f139571454)) - **eslint-plugin:** \[no-unsafe-member-access] report on only the accessed property ([#​7717](https://togithub.com/typescript-eslint/typescript-eslint/issues/7717)) ([f81a2da](https://togithub.com/typescript-eslint/typescript-eslint/commit/f81a2da13529e77d039c5b31b4313a6984ceb964)) - **eslint-plugin:** \[no-useless-empty-export] exempt .d.ts ([#​7718](https://togithub.com/typescript-eslint/typescript-eslint/issues/7718)) ([ac397f1](https://togithub.com/typescript-eslint/typescript-eslint/commit/ac397f18176a9defd8c189b5b6b4e5d0b7582210)) ##### Features - **eslint-plugin:** add new extended rule `prefer-destructuring` ([#​7117](https://togithub.com/typescript-eslint/typescript-eslint/issues/7117)) ([3c6379b](https://togithub.com/typescript-eslint/typescript-eslint/commit/3c6379b7678bcb190ae70d211cb3930c942d17a0)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.5](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.4...v6.7.5) (2023-10-09) ##### Bug Fixes - **eslint-plugin:** \[prefer-string-starts-ends-with] only report slice/substring with correct range ([#​7712](https://togithub.com/typescript-eslint/typescript-eslint/issues/7712)) ([db40a0a](https://togithub.com/typescript-eslint/typescript-eslint/commit/db40a0a83abf14237a7a9b3f75d869da26512292)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.4](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.3...v6.7.4) (2023-10-02) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.3](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.2...v6.7.3) (2023-09-25) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.1...v6.7.2) (2023-09-18) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.0...v6.7.1) (2023-09-18) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#675-2023-10-09) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.4...v6.7.5) ##### Bug Fixes - **eslint-plugin:** \[prefer-string-starts-ends-with] only report slice/substring with correct range ([#​7712](https://togithub.com/typescript-eslint/typescript-eslint/issues/7712)) ([db40a0a](https://togithub.com/typescript-eslint/typescript-eslint/commit/db40a0a83abf14237a7a9b3f75d869da26512292)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.4`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#674-2023-10-02) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.3...v6.7.4) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.3`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#673-2023-09-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.2...v6.7.3) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#672-2023-09-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.0...v6.7.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#670-2023-09-11) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) ##### Bug Fixes - **eslint-plugin:** \[no-restricted-imports] disallow side effect imports when allowTypeImports is enabled ([#​7560](https://togithub.com/typescript-eslint/typescript-eslint/issues/7560)) ([4908905](https://togithub.com/typescript-eslint/typescript-eslint/commit/4908905e4ee2b533504fcba0c671aa869668df25)) ##### Features - **eslint-plugin:** \[await-thenable] added suggestion fixer ([#​7437](https://togithub.com/typescript-eslint/typescript-eslint/issues/7437)) ([b284370](https://togithub.com/typescript-eslint/typescript-eslint/commit/b284370e1e95493764d2806cd45975201e02f374)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#660-2023-09-04) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) ##### Bug Fixes - **eslint-plugin:** \[key-spacing] consider properties with parens and comments ([#​7525](https://togithub.com/typescript-eslint/typescript-eslint/issues/7525)) ([7012279](https://togithub.com/typescript-eslint/typescript-eslint/commit/7012279b8510f9fcaee64b610d0a66e8e90f0865)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#650-2023-08-28) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.1...v6.5.0) ##### Bug Fixes - **eslint-plugin:** \[consistent-type-assertions] wrap object return value with parentheses ([#​6885](https://togithub.com/typescript-eslint/typescript-eslint/issues/6885)) ([23ac499](https://togithub.com/typescript-eslint/typescript-eslint/commit/23ac49944e4f4067f89123fddd4a80c629270b4c)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.4.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.0...v6.4.1) (2023-08-21) ##### Bug Fixes - **eslint-plugin:** \[no-unnecessary-condition] false positives with branded types ([#​7466](https://togithub.com/typescript-eslint/typescript-eslint/issues/7466)) ([b52658f](https://togithub.com/typescript-eslint/typescript-eslint/commit/b52658fbb6f5cf2085c94926872e6d39efaa3b01)), closes [#​7293](https://togithub.com/typescript-eslint/typescript-eslint/issues/7293) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.4.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#641-2023-08-21) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.0...v6.4.1) ##### Bug Fixes - **eslint-plugin:** \[no-unnecessary-condition] false positives with branded types ([#​7466](https://togithub.com/typescript-eslint/typescript-eslint/issues/7466)) ([b52658f](https://togithub.com/typescript-eslint/typescript-eslint/commit/b52658fbb6f5cf2085c94926872e6d39efaa3b01)), closes [#​7293](https://togithub.com/typescript-eslint/typescript-eslint/issues/7293) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#640-2023-08-14) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.3.0...v6.4.0) ##### Bug Fixes - **eslint-plugin:** \[non-nullable-type-assertion-style] consider operator precedence when fixing ([#​7289](https://togithub.com/typescript-eslint/typescript-eslint/issues/7289)) ([bad37a2](https://togithub.com/typescript-eslint/typescript-eslint/commit/bad37a22025b718a10e70cc84b9847eb41f723d0)) - **eslint-plugin:** \[strict-boolean-expressions] replace dangerous fixer with suggestions ([#​7394](https://togithub.com/typescript-eslint/typescript-eslint/issues/7394)) ([ad8401a](https://togithub.com/typescript-eslint/typescript-eslint/commit/ad8401a5970441258cc4440a01a3acf35d861171)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#630-2023-08-07) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.1...v6.3.0) ##### Bug Fixes - **eslint-plugin:** \[no-extra-parens] keep parens around call expression arguments when type arguments contain parens ([#​7375](https://togithub.com/typescript-eslint/typescript-eslint/issues/7375)) ([38e5e4e](https://togithub.com/typescript-eslint/typescript-eslint/commit/38e5e4eb8624649a2b66e19a303383bebbda1e2e)) - **eslint-plugin:** \[no-restricted-imports] allow inline type qualifiers when `allowTypeImports` enabled ([#​7379](https://togithub.com/typescript-eslint/typescript-eslint/issues/7379)) ([cc9a46d](https://togithub.com/typescript-eslint/typescript-eslint/commit/cc9a46d01bce4282ff841d5ccef5445984aff8f6)) ##### Features - **eslint-plugin:** \[prefer-nullish-coalescing] allow `ignorePrimitives` option to be `true` ([#​7331](https://togithub.com/typescript-eslint/typescript-eslint/issues/7331)) ([dfcafae](https://togithub.com/typescript-eslint/typescript-eslint/commit/dfcafae515e7f4d1ae69387eb163200e455dd0ce)) ##### Reverts - Revert "chore(deps): update dependency marked to v6" ([#​7429](https://togithub.com/typescript-eslint/typescript-eslint/issues/7429)) ([7891a06](https://togithub.com/typescript-eslint/typescript-eslint/commit/7891a06892445a30c90c882d7e2f17fdf9da5601)), closes [#​7429](https://togithub.com/typescript-eslint/typescript-eslint/issues/7429) [#​7422](https://togithub.com/typescript-eslint/typescript-eslint/issues/7422) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.2.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1) (2023-07-31) ##### Bug Fixes - **eslint-plugin:** \[no-inferrable-types] apply also for parameter properties ([#​7288](https://togithub.com/typescript-eslint/typescript-eslint/issues/7288)) ([67f93b1](https://togithub.com/typescript-eslint/typescript-eslint/commit/67f93b19f2e481a4e441635d72e81de9d5d7ad44)) - **scope-manager:** correct decorators(.length) check in ClassVisitor for methods ([#​7334](https://togithub.com/typescript-eslint/typescript-eslint/issues/7334)) ([abbb6c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/abbb6c2c6d2bc1f8d4defd2060dbc473735b2cc7)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v6.10.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6100-2023-11-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.1...v6.10.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.9.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1) (2023-10-30) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#691-2023-10-30) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.9.0...v6.9.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.9.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#690-2023-10-23) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.8.0...v6.9.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.8.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#680-2023-10-16) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.5...v6.8.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.5](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.4...v6.7.5) (2023-10-09) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.4](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.3...v6.7.4) (2023-10-02) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.3](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.2...v6.7.3) (2023-09-25) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.1...v6.7.2) (2023-09-18) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.7.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.0...v6.7.1) (2023-09-18) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#675-2023-10-09) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.4...v6.7.5) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.4`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#674-2023-10-02) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.3...v6.7.4) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.3`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#673-2023-09-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.2...v6.7.3) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#672-2023-09-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.7.0...v6.7.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.7.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#670-2023-09-11) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.6.0...v6.7.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#660-2023-09-04) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#650-2023-08-28) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.1...v6.5.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.4.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.0...v6.4.1) (2023-08-21) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.4.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#641-2023-08-21) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.4.0...v6.4.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#640-2023-08-14) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.3.0...v6.4.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#630-2023-08-07) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.1...v6.3.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. #### [6.2.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.2.0...v6.2.1) (2023-07-31) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.53.0`](https://togithub.com/eslint/eslint/releases/tag/v8.53.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.52.0...v8.53.0) #### Features - [`528e1c0`](https://togithub.com/eslint/eslint/commit/528e1c00dc2aa8636e5b706c4270dc655cfa17e3) feat: Deprecate formatting rules ([#​17696](https://togithub.com/eslint/eslint/issues/17696)) (Nicholas C. Zakas) - [`c0b11dd`](https://togithub.com/eslint/eslint/commit/c0b11ddb9f8aacc64c3933b9f278939aa7bea481) feat: Add suggestions for no-prototype-builtins ([#​17677](https://togithub.com/eslint/eslint/issues/17677)) (Yonathan Randolph) #### Bug Fixes - [`1ad6257`](https://togithub.com/eslint/eslint/commit/1ad6257744d63281235fcc33288394b1d69b34ce) fix: ensure that exit code for fatal errors is not overwritten ([#​17683](https://togithub.com/eslint/eslint/issues/17683)) (Milos Djermanovic) - [`b329ea7`](https://togithub.com/eslint/eslint/commit/b329ea748dff45f11c7e218208244dc24fcb5c8f) fix: add `;` after JSX nodes in `no-object-constructor` autofix ([#​17672](https://togithub.com/eslint/eslint/issues/17672)) (Francesco Trotta) #### Documentation - [`ab8c60d`](https://togithub.com/eslint/eslint/commit/ab8c60d4f859cec787b5a12f7271b40e666235f5) docs: change position of return to top button ([#​17688](https://togithub.com/eslint/eslint/issues/17688)) (Tanuj Kanti) - [`4fc44c0`](https://togithub.com/eslint/eslint/commit/4fc44c0b8c5dca466bffdfe01dfd80794d7762b7) docs: update twitter icon to new X icon ([#​17687](https://togithub.com/eslint/eslint/issues/17687)) (Tanuj Kanti) - [`4164b2c`](https://togithub.com/eslint/eslint/commit/4164b2ceec89726b18ea0b0e34fab05735d55a09) docs: Update README (GitHub Actions Bot) - [`8651895`](https://togithub.com/eslint/eslint/commit/8651895ca7ae15e13d74c8be67d9eebd63a7ce1f) docs: Fix tabs in rule examples ([#​17653](https://togithub.com/eslint/eslint/issues/17653)) (Francesco Trotta) - [`3aec1c5`](https://togithub.com/eslint/eslint/commit/3aec1c55ba2c6d2833e1c0afe0a58f0cc6bbc0a4) docs: explained rule fixers and suggestions ([#​17657](https://togithub.com/eslint/eslint/issues/17657)) (Josh Goldberg ✨) #### Chores - [`ba4d4d5`](https://togithub.com/eslint/eslint/commit/ba4d4d567a82554250dd8c7933322824e6a73944) chore: remove metascraper ([#​17707](https://togithub.com/eslint/eslint/issues/17707)) (Milos Djermanovic) - [`0d07338`](https://togithub.com/eslint/eslint/commit/0d0733882944b4849d71a40723c251213698cef9) chore: Update dependencies ([#​17706](https://togithub.com/eslint/eslint/issues/17706)) (Milos Djermanovic) - [`93256a3`](https://togithub.com/eslint/eslint/commit/93256a32e312f3f4e5c532762df71bdc06bded20) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`485ec7d`](https://togithub.com/eslint/eslint/commit/485ec7d08ed2040c292f52bf9b9152f6c8ef4809) test: fix ESLint tests for caching ([#​17699](https://togithub.com/eslint/eslint/issues/17699)) (Milos Djermanovic) - [`db06a7f`](https://togithub.com/eslint/eslint/commit/db06a7ff7992a74368f03d1f21beb00df0407021) ci: bump actions/setup-node from 3 to 4 ([#​17676](https://togithub.com/eslint/eslint/issues/17676)) (dependabot\[bot]) - [`994596b`](https://togithub.com/eslint/eslint/commit/994596b07f5ff20a615a4be1ea03e5fd59cdb84b) ci: run tests in Node.js 21 ([#​17673](https://togithub.com/eslint/eslint/issues/17673)) (Francesco Trotta) </details> <details> <summary>langchain-ai/langchainjs (langchain)</summary> ### [`v0.0.181`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.181) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.180...0.0.181) #### What's Changed - Release 0.0.180 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3150](https://togithub.com/langchain-ai/langchainjs/pull/3150) - Fix docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3151](https://togithub.com/langchain-ai/langchainjs/pull/3151) - Fix typo in output types table by [@​jonathanmv](https://togithub.com/jonathanmv) in [https://github.com/langchain-ai/langchainjs/pull/3153](https://togithub.com/langchain-ai/langchainjs/pull/3153) - Update dep by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3154](https://togithub.com/langchain-ai/langchainjs/pull/3154) - Cloudflare workers stream typing fix by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3159](https://togithub.com/langchain-ai/langchainjs/pull/3159) - Fix Vite support by using pure JS hash algorithm for insecure use cases by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3162](https://togithub.com/langchain-ai/langchainjs/pull/3162) - Voyage AI embeddings by [@​valdo99](https://togithub.com/valdo99) in [https://github.com/langchain-ai/langchainjs/pull/3147](https://togithub.com/langchain-ai/langchainjs/pull/3147) #### New Contributors - [@​jonathanmv](https://togithub.com/jonathanmv) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3153](https://togithub.com/langchain-ai/langchainjs/pull/3153) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.0.180...0.0.181 ### [`v0.0.180`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.180) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.179...0.0.180) #### What's Changed - Release 0.0.179 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3142](https://togithub.com/langchain-ai/langchainjs/pull/3142) - Remove dead code by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3145](https://togithub.com/langchain-ai/langchainjs/pull/3145) - fix: wrong error handling in baidu wenxin chat model ([#​3115](https://togithub.com/langchain-ai/langchainjs/issues/3115)) by [@​PeterPanZH](https://togithub.com/PeterPanZH) in [https://github.com/langchain-ai/langchainjs/pull/3134](https://togithub.com/langchain-ai/langchainjs/pull/3134) - Bump OpenAI dep by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3149](https://togithub.com/langchain-ai/langchainjs/pull/3149) - Cassandra ChatMessageHistory and Cassandra VectorStore enhancements by [@​mieslep](https://togithub.com/mieslep) in [https://github.com/langchain-ai/langchainjs/pull/3136](https://togithub.com/langchain-ai/langchainjs/pull/3136) - Bedrock: Add Cohere and edge support by [@​dqbd](https://togithub.com/dqbd) in [https://github.com/langchain-ai/langchainjs/pull/3137](https://togithub.com/langchain-ai/langchainjs/pull/3137) #### New Contributors - [@​PeterPanZH](https://togithub.com/PeterPanZH) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3134](https://togithub.com/langchain-ai/langchainjs/pull/3134) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.0.179...0.0.180 ### [`v0.0.179`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.179) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.178...0.0.179) #### What's Changed - Release 0.0.178 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3128](https://togithub.com/langchain-ai/langchainjs/pull/3128) - Convex: Fix defaults doc comments by [@​xixixao](https://togithub.com/xixixao) in [https://github.com/langchain-ai/langchainjs/pull/3127](https://togithub.com/langchain-ai/langchainjs/pull/3127) - Fixed crypto could not be resolved warning on build by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3129](https://togithub.com/langchain-ai/langchainjs/pull/3129) - Separate integrations section of docs by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3124](https://togithub.com/langchain-ai/langchainjs/pull/3124) - feat: map reduce chain w/ LCEL by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3066](https://togithub.com/langchain-ai/langchainjs/pull/3066) - Adds output streaming to JsonOutputFunctionsParser by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3141](https://togithub.com/langchain-ai/langchainjs/pull/3141) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.0.178...0.0.179 ### [`v0.0.178`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.178) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.177...0.0.178) #### What's Changed - Release 0.0.177 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3114](https://togithub.com/langchain-ai/langchainjs/pull/3114) - Update Neo4j examples by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/3119](https://togithub.com/langchain-ai/langchainjs/pull/3119) - Update handling missing APOC procedures by [@​tomasonjo](https://togithub.com/tomasonjo) in [https://github.com/langchain-ai/langchainjs/pull/3120](https://togithub.com/langchain-ai/langchainjs/pull/3120) - With memory example to OAI functions agent by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3099](https://togithub.com/langchain-ai/langchainjs/pull/3099) - Feat/step back notebook by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3055](https://togithub.com/langchain-ai/langchainjs/pull/3055) - Small typo by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3123](https://togithub.com/langchain-ai/langchainjs/pull/3123) - Add streaming to Cloudflare WorkersAI by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3112](https://togithub.com/langchain-ai/langchainjs/pull/3112) - Add ChatPromptTemplate.fromTemplate method by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3126](https://togithub.com/langchain-ai/langchainjs/pull/3126) - feat: add chat_model iflytek xinghuo by [@​AIXGEEK](https://togithub.com/AIXGEEK) in [https://github.com/langchain-ai/langchainjs/pull/3026](https://togithub.com/langchain-ai/langchainjs/pull/3026) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.0.177...0.0.178 ### [`v0.0.177`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.177) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.176...0.0.177) #### What's Changed - Release 0.0.176 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3102](https://togithub.com/langchain-ai/langchainjs/pull/3102) - Google Vertex streaming docs by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3106](https://togithub.com/langchain-ai/langchainjs/pull/3106) - fix pinecone bug by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3108](https://togithub.com/langchain-ai/langchainjs/pull/3108) - Ollama embedding - Changed `localhost` to `127.0.0.1` by [@​paulwongx](https://togithub.com/paulwongx) in [https://github.com/langchain-ai/langchainjs/pull/3087](https://togithub.com/langchain-ai/langchainjs/pull/3087) - Feat: FewShotChatMessagePromptTemplate by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3053](https://togithub.com/langchain-ai/langchainjs/pull/3053) - Feat/streaming token usage by [@​wlyh514](https://togithub.com/wlyh514) in [https://github.com/langchain-ai/langchainjs/pull/2891](https://togithub.com/langchain-ai/langchainjs/pull/2891) - feat(huggingface_inference): Add support for huggingface custom inference endpoint URL by [@​OlegIvaniv](https://togithub.com/OlegIvaniv) in [https://github.com/langchain-ai/langchainjs/pull/3104](https://togithub.com/langchain-ai/langchainjs/pull/3104) - Llama2 embedding by [@​nigel-daniels](https://togithub.com/nigel-daniels) in [https://github.com/langchain-ai/langchainjs/pull/3084](https://togithub.com/langchain-ai/langchainjs/pull/3084) - zep/ summary search; bump zep-js version by [@​danielchalef](https://togithub.com/danielchalef) in [https://github.com/langchain-ai/langchainjs/pull/3111](https://togithub.com/langchain-ai/langchainjs/pull/3111) - Fix streaming bug in Bedrock LLM family by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3113](https://togithub.com/langchain-ai/langchainjs/pull/3113) #### New Contributors - [@​wlyh514](https://togithub.com/wlyh514) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/2891](https://togithub.com/langchain-ai/langchainjs/pull/2891) - [@​OlegIvaniv](https://togithub.com/OlegIvaniv) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3104](https://togithub.com/langchain-ai/langchainjs/pull/3104) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.0.176...0.0.177 ### [`v0.0.176`](https://togithub.com/langchain-ai/langchainjs/releases/tag/0.0.176) [Compare Source](https://togithub.com/langchain-ai/langchainjs/compare/0.0.175...0.0.176) #### What's Changed - Release 0.0.175 by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3082](https://togithub.com/langchain-ai/langchainjs/pull/3082) - Update ollama.mdx - `numThreads` to `numThread` by [@​paulwongx](https://togithub.com/paulwongx) in [https://github.com/langchain-ai/langchainjs/pull/3083](https://togithub.com/langchain-ai/langchainjs/pull/3083) - Update RAG fusion notebook by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3095](https://togithub.com/langchain-ai/langchainjs/pull/3095) - JSON functions output parser docs by [@​bracesproul](https://togithub.com/bracesproul) in [https://github.com/langchain-ai/langchainjs/pull/3098](https://togithub.com/langchain-ai/langchainjs/pull/3098) - Reduce max size for docs build by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3100](https://togithub.com/langchain-ai/langchainjs/pull/3100) - Implement streaming for GoogleVertexAI text and chat models by [@​afirstenberg](https://togithub.com/afirstenberg) in [https://github.com/langchain-ai/langchainjs/pull/3088](https://togithub.com/langchain-ai/langchainjs/pull/3088) - Increase docs build RAM by [@​jacoblee93](https://togithub.com/jacoblee93) in [https://github.com/langchain-ai/langchainjs/pull/3101](https://togithub.com/langchain-ai/langchainjs/pull/3101) - Jtcorrin/plan execute adjustments by [@​JTCorrin](https://togithub.com/JTCorrin) in [https://github.com/langchain-ai/langchainjs/pull/3072](https://togithub.com/langchain-ai/langchainjs/pull/3072) #### New Contributors - [@​paulwongx](https://togithub.com/paulwongx) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3083](https://togithub.com/langchain-ai/langchainjs/pull/3083) - [@​JTCorrin](https://togithub.com/JTCorrin) made their first contribution in [https://github.com/langchain-ai/langchainjs/pull/3072](https://togithub.com/langchain-ai/langchainjs/pull/3072) **Full Changelog**: https://github.com/langchain-ai/langchainjs/compare/0.0.175...0.0.176 </details> <details> <summary>openai/openai-node (openai)</summary> ### [`v4.15.4`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4154-2023-11-05) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.15.3...v4.15.4) Full Changelog: [v4.15.3...v4.15.4](https://togithub.com/openai/openai-node/compare/v4.15.3...v4.15.4) ##### Documentation - **readme:** remove redundant whitespace ([#​427](https://togithub.com/openai/openai-node/issues/427)) ([aa3a178](https://togithub.com/openai/openai-node/commit/aa3a1782914a4a285263e4d070bca73e72ed47ec)) ### [`v4.15.3`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4153-2023-11-04) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.15.2...v4.15.3) Full Changelog: [v4.15.2...v4.15.3](https://togithub.com/openai/openai-node/compare/v4.15.2...v4.15.3) ##### Bug Fixes - improve deno releases ([#​425](https://togithub.com/openai/openai-node/issues/425)) ([19469f2](https://togithub.com/openai/openai-node/commit/19469f266ff69a4e549402188d9f6ad87f5a7778)) ### [`v4.15.2`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4152-2023-11-04) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.15.1...v4.15.2) Full Changelog: [v4.15.1...v4.15.2](https://togithub.com/openai/openai-node/compare/v4.15.1...v4.15.2) ##### Documentation - fix deno.land import ([#​423](https://togithub.com/openai/openai-node/issues/423)) ([e5415a2](https://togithub.com/openai/openai-node/commit/e5415a29ab447ced8535fafda7928b0a6748c8d1)) ### [`v4.15.1`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4151-2023-11-04) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.15.0...v4.15.1) Full Changelog: [v4.15.0...v4.15.1](https://togithub.com/openai/openai-node/compare/v4.15.0...v4.15.1) ##### Documentation - document customizing fetch ([#​420](https://togithub.com/openai/openai-node/issues/420)) ([1ca982f](https://togithub.com/openai/openai-node/commit/1ca982f192daf49e33b7acb5505ed26c9d891255)) ### [`v4.15.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4150-2023-11-03) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.14.2...v4.15.0) Full Changelog: [v4.14.2...v4.15.0](https://togithub.com/openai/openai-node/compare/v4.14.2...v4.15.0) ##### Features - **beta:** add streaming and function calling helpers ([#​409](https://togithub.com/openai/openai-node/issues/409)) ([510c1f3](https://togithub.com/openai/openai-node/commit/510c1f325ee55197b4c2f434475128c265500746)) - **client:** allow binary returns ([#​416](https://togithub.com/openai/openai-node/issues/416)) ([02f7ad7](https://togithub.com/openai/openai-node/commit/02f7ad7f736751e0e7687e6744bae464d4e40b79)) - **github:** include a devcontainer setup ([#​413](https://togithub.com/openai/openai-node/issues/413)) ([fb2996f](https://togithub.com/openai/openai-node/commit/fb2996f0d291210878145aacf9b952f8133d9414)) - streaming improvements ([#​411](https://togithub.com/openai/openai-node/issues/411)) ([37b622c](https://togithub.com/openai/openai-node/commit/37b622c79ddbd6c286b730e740403c82b542e796)) </details> <details> <summary>esbuild-kit/tsx (tsx)</summary> ### [`v3.14.0`](https://togithub.com/esbuild-kit/tsx/releases/tag/v3.14.0) [Compare Source](https://togithub.com/esbuild-kit/tsx/compare/v3.13.0...v3.14.0) ##### Bug Fixes - **cache:** scope cache directory to user ([#​332](https://togithub.com/esbuild-kit/tsx/issues/332)) ([7e916f5](https://togithub.com/esbuild-kit/tsx/commit/7e916f5a1db5b21589cedc1dc91b0c498f87adf9)) ##### Features - support Node v20.6.0 `module.register()` & `--import` flag ([#​337](https://togithub.com/esbuild-kit/tsx/issues/337)) ([23e4694](https://togithub.com/esbuild-kit/tsx/commit/23e4694ec6abcb836ce91114b6495bce6ee59254)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/3.14.0) ### [`v3.13.0`](https://togithub.com/esbuild-kit/tsx/releases/tag/v3.13.0) [Compare Source](https://togithub.com/esbuild-kit/tsx/compare/v3.12.10...v3.13.0) ##### Features - esm & cjs loaders ([#​320](https://togithub.com/esbuild-kit/tsx/issues/320)) ([e46366d](https://togithub.com/esbuild-kit/tsx/commit/e46366d2308afdf2dd197165854ff48f94a4b753)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/3.13.0) ### [`v3.12.10`](https://togithub.com/esbuild-kit/tsx/releases/tag/v3.12.10) [Compare Source](https://togithub.com/esbuild-kit/tsx/compare/v3.12.9...v3.12.10) ##### Bug Fixes - **watch:** deep watch files in Node v20 ([#​310](https://togithub.com/esbuild-kit/tsx/issues/310)) ([ccde465](https://togithub.com/esbuild-kit/tsx/commit/ccde4657810931507209da3b4f2ea85bbf525d2d)) *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/tsx/v/3.12.10) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/autoblocksai/javascript-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nicole White <nicole@autoblocks.ai>
Link to discussion
numThreads
tonumThread
in the docs to use the API correctly refOllamaEmbeddings
class to fetch127.0.0.1
if user putslocalhost
to work out of the box with node's fetch since it default resolves to ipv6 (::1
) which Ollama server isn't listening to. Now it works out of the box. Issue is related to node's native fetch command not working when fetchinglocalhost
that isn't listening on the ipv6 localhost address but the ipv4 localhost address of127.0.0.1
as per this. The function is copied over from the Ollama class implementation. No change in the docs otherwise.Fixes # (issue)