opentelemetry-instrumentation-openai-v2: add codefromthecrypt and fix yaml fixture (#2989)

This commit is contained in:
Adrian Cole
2024-11-12 00:12:26 +08:00
committed by GitHub
parent 4606cf2c10
commit bf8e2814ea
3 changed files with 9 additions and 6 deletions

View File

@ -73,3 +73,4 @@ components:
- lzchen
- gyliu513
- nirga
- codefromthecrypt

View File

@ -24,7 +24,7 @@ interactions:
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.26.0
- OpenAI/Python 1.54.3
x-stainless-arch:
- arm64
x-stainless-async:
@ -34,7 +34,9 @@ interactions:
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.26.0
- 1.54.3
x-stainless-retry-count:
- '0'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
@ -56,13 +58,13 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8dd0709dffd19c8c-SIN
- 8e0ca7056be15f93-SIN
Connection:
- keep-alive
Content-Type:
- application/json; charset=utf-8
Date:
- Mon, 04 Nov 2024 00:20:44 GMT
- Mon, 11 Nov 2024 07:43:38 GMT
Server:
- cloudflare
Set-Cookie: test_set_cookie
@ -80,7 +82,7 @@ interactions:
vary:
- Origin
x-request-id:
- req_e08854c4f7d5104af6fdc755caed30fc
- req_75175efff56c313161c136c479e082ac
status:
code: 404
message: Not Found

View File

@ -161,7 +161,7 @@ class PrettyPrintJSONBody:
return yaml.load(cassette_string, Loader=yaml.Loader)
@pytest.fixture(scope="module")
@pytest.fixture(scope="module", autouse=True)
def fixture_vcr(vcr):
vcr.register_serializer("yaml", PrettyPrintJSONBody)
return vcr