You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The langchain versioned tests are failing. Specifically around vectorstores
# Subtest: should create vectorstore events for every similarity search call
ok 1 - should create 3 events
ok 2 - should create 2 langchain events
1..2
ok 1 - should create vectorstore events for every similarity search call # time=47.383ms
# Subtest: should create span on successful vectorstore create
ok 1 - expect truthy value
ok 2 - segment "ROOT" should have child "Llm/vectorstore/Langchain/similaritySearch"
1..2
ok 2 - should create span on successful vectorstore create # time=15.991ms
# Subtest: should increment tracking metric for each langchain vectorstore event
not ok 1 - should be equal
---
found: false
wanted: true
compare: ===
at:
line: 111
column: 9
file: vectorstore.tap.js
stack: |
vectorstore.tap.js:111:9
source: |2
)
t.equal(metrics.callCount > 0, true)
--------^
tx.end()
...
1..1
That test is asserting the supportability metric of Supportability/Nodejs/ML/Langchain/${pkgVersion}. The issue is @langchain/core is getting tested but also the latest of @langchain/community. Since the version of @langchain/core differs the tracking metric version is different. The test needs to be updated to target the correct package version.
Expected Behavior
All tests pass
Steps to Reproduce
npm run versioned:internal langchain
The text was updated successfully, but these errors were encountered:
Description
The langchain versioned tests are failing. Specifically around vectorstores
That test is asserting the supportability metric of
Supportability/Nodejs/ML/Langchain/${pkgVersion}
. The issue is@langchain/core
is getting tested but also the latest of@langchain/community
. Since the version of@langchain/core
differs the tracking metric version is different. The test needs to be updated to target the correct package version.Expected Behavior
All tests pass
Steps to Reproduce
npm run versioned:internal langchain
The text was updated successfully, but these errors were encountered: