Skip to content

Commit bf8e281

Browse files
opentelemetry-instrumentation-openai-v2: add codefromthecrypt and fix yaml fixture (#2989)
1 parent 4606cf2 commit bf8e281

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/component_owners.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ components:
7373
- lzchen
7474
- gyliu513
7575
- nirga
76+
- codefromthecrypt

instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/cassettes/test_chat_completion_404.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interactions:
2424
host:
2525
- api.openai.com
2626
user-agent:
27-
- OpenAI/Python 1.26.0
27+
- OpenAI/Python 1.54.3
2828
x-stainless-arch:
2929
- arm64
3030
x-stainless-async:
@@ -34,7 +34,9 @@ interactions:
3434
x-stainless-os:
3535
- MacOS
3636
x-stainless-package-version:
37-
- 1.26.0
37+
- 1.54.3
38+
x-stainless-retry-count:
39+
- '0'
3840
x-stainless-runtime:
3941
- CPython
4042
x-stainless-runtime-version:
@@ -56,13 +58,13 @@ interactions:
5658
CF-Cache-Status:
5759
- DYNAMIC
5860
CF-RAY:
59-
- 8dd0709dffd19c8c-SIN
61+
- 8e0ca7056be15f93-SIN
6062
Connection:
6163
- keep-alive
6264
Content-Type:
6365
- application/json; charset=utf-8
6466
Date:
65-
- Mon, 04 Nov 2024 00:20:44 GMT
67+
- Mon, 11 Nov 2024 07:43:38 GMT
6668
Server:
6769
- cloudflare
6870
Set-Cookie: test_set_cookie
@@ -80,7 +82,7 @@ interactions:
8082
vary:
8183
- Origin
8284
x-request-id:
83-
- req_e08854c4f7d5104af6fdc755caed30fc
85+
- req_75175efff56c313161c136c479e082ac
8486
status:
8587
code: 404
8688
message: Not Found

instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def deserialize(cassette_string):
161161
return yaml.load(cassette_string, Loader=yaml.Loader)
162162

163163

164-
@pytest.fixture(scope="module")
164+
@pytest.fixture(scope="module", autouse=True)
165165
def fixture_vcr(vcr):
166166
vcr.register_serializer("yaml", PrettyPrintJSONBody)
167167
return vcr

0 commit comments

Comments
 (0)