Skip to content

tests: Migrate openai under toxgen #4369

New issue

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

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

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: ivana/toxgen/move-even-more-stuff
Choose a base branch
from

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant