Skip to content

tests: Migrate openai under toxgen #4369

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed

Conversation

sentrivana
Copy link
Contributor

No description provided.

Copy link

codecov bot commented May 6, 2025

❌ 127 Tests Failed:

Tests completed Failed Passed Skipped
23483 127 23356 5867
View the top 3 failed test(s) by shortest run time
tests.integrations.openai.test_openai test_span_origin_nonstreaming_chat
Stack Traces | 0.064s run time
.../integrations/openai/test_openai.py:525: in test_span_origin_nonstreaming_chat
    client = OpenAI(api_key="z")
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11.../site-packages/openai/_client.py:123: in __init__
    super().__init__(
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11....../site-packages/openai/_base_client.py:856: in __init__
    self._client = http_client or SyncHttpxClientWrapper(
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11....../site-packages/openai/_base_client.py:754: in __init__
    super().__init__(**kwargs)
E   TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
tests.integrations.openai.test_openai test_span_origin_streaming_chat
Stack Traces | 0.064s run time
.../integrations/openai/test_openai.py:568: in test_span_origin_streaming_chat
    client = OpenAI(api_key="z")
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11.../site-packages/openai/_client.py:123: in __init__
    super().__init__(
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11....../site-packages/openai/_base_client.py:856: in __init__
    self._client = http_client or SyncHttpxClientWrapper(
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11....../site-packages/openai/_base_client.py:754: in __init__
    super().__init__(**kwargs)
E   TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
tests.integrations.openai.test_openai test_span_origin_streaming_chat_async
Stack Traces | 0.065s run time
.../integrations/openai/test_openai.py:628: in test_span_origin_streaming_chat_async
    client = AsyncOpenAI(api_key="z")
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11.../site-packages/openai/_client.py:337: in __init__
    super().__init__(
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11....../site-packages/openai/_base_client.py:1437: in __init__
    self._client = http_client or AsyncHttpxClientWrapper(
.tox/py3.11-openai-notiktoken-v1.51.2/lib/python3.11....../site-packages/openai/_base_client.py:1334: in __init__
    super().__init__(**kwargs)
E   TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxies'

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@sentrivana sentrivana closed this Jun 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant