File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev-packages/node-integration-tests/suites/tracing/langchain Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ describe('LangChain integration', () => {
206206 'gen_ai.system' : 'anthropic' ,
207207 'gen_ai.request.model' : 'claude-3-5-sonnet-20241022' ,
208208 // Messages should be present and should include truncated string input (contains only Cs)
209- 'gen_ai.request.messages' : expect . stringMatching ( / ^ \[ { " r o l e " : " u s e r " , " c o n t e n t " : " C + " } \] $ / ) ,
209+ 'gen_ai.request.messages' : expect . stringMatching ( / ^ \[ \ {" r o l e " : " u s e r " , " c o n t e n t " : " C + " \ }\] $ / ) ,
210210 } ) ,
211211 description : 'chat claude-3-5-sonnet-20241022' ,
212212 op : 'gen_ai.chat' ,
@@ -221,7 +221,7 @@ describe('LangChain integration', () => {
221221 'gen_ai.system' : 'anthropic' ,
222222 'gen_ai.request.model' : 'claude-3-5-sonnet-20241022' ,
223223 // Messages should be present (truncation happened) and should be a JSON array of a single index (contains only Cs)
224- 'gen_ai.request.messages' : expect . stringMatching ( / ^ \[ { " r o l e " : " u s e r " , " c o n t e n t " : " C + " } \] $ / ) ,
224+ 'gen_ai.request.messages' : expect . stringMatching ( / ^ \[ \ {" r o l e " : " u s e r " , " c o n t e n t " : " C + " \ }\] $ / ) ,
225225 } ) ,
226226 description : 'chat claude-3-5-sonnet-20241022' ,
227227 op : 'gen_ai.chat' ,
You can’t perform that action at this time.
0 commit comments