Skip to content

fix(langchain): Remove token checks and use correct API for embedding tests#125

Merged
nicohrubec merged 1 commit intomainfrom
nh/langchain-embeddings-js
Apr 2, 2026
Merged

fix(langchain): Remove token checks and use correct API for embedding tests#125
nicohrubec merged 1 commit intomainfrom
nh/langchain-embeddings-js

Conversation

@nicohrubec
Copy link
Copy Markdown
Member

@nicohrubec nicohrubec commented Mar 30, 2026

Embedding support in langchain is added through a separate API Sentry.instrumentLangChainEmbeddings(). As usual this gets auto-instrumented in node and other runtimes need to wrap manually. Updating the templates to use the correct API. PR that implements support in the JS SDK is here.

As in google-genai we don't get any information about token usage for this so skipping the checks.

@nicohrubec nicohrubec requested a review from constantinius April 2, 2026 11:54
@nicohrubec nicohrubec marked this pull request as ready for review April 2, 2026 11:54
Copy link
Copy Markdown
Collaborator

@constantinius constantinius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@nicohrubec nicohrubec merged commit f573341 into main Apr 2, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants