Skip to content

Commit 124b977

Browse files
committed
fix cloudflare integration tests
1 parent 6b13d3c commit 124b977

File tree

1 file changed

+2
-1
lines changed
  • dev-packages/cloudflare-integration-tests/suites/tracing/openai

1 file changed

+2
-1
lines changed

dev-packages/cloudflare-integration-tests/suites/tracing/openai/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ it('traces a basic chat completion request', async () => {
1919
data: expect.objectContaining({
2020
'gen_ai.operation.name': 'chat',
2121
'sentry.op': 'gen_ai.chat',
22+
'sentry.origin': 'auto.ai.openai',
2223
'gen_ai.system': 'openai',
2324
'gen_ai.request.model': 'gpt-3.5-turbo',
2425
'gen_ai.request.temperature': 0.7,
@@ -31,7 +32,7 @@ it('traces a basic chat completion request', async () => {
3132
}),
3233
description: 'chat gpt-3.5-turbo',
3334
op: 'gen_ai.chat',
34-
origin: 'manual',
35+
origin: 'auto.ai.openai',
3536
}),
3637
]),
3738
);

0 commit comments

Comments
 (0)