We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
httpx==0.28.0
cerebras-cloud-sdk-python/src/cerebras/cloud/sdk/_base_client.py
Lines 845 to 856 in aaa53f9
Similar to https://community.openai.com/t/typeerror-asyncclient-init-got-an-unexpected-keyword-argument-proxies/1040287/2
we just need to change this proxies= to mounts= if I understand correctly
proxies=
mounts=
This error occurs running:
cerebras_cloud_sdk==1.12.2 httpx==0.28.0
AsyncCerebras(api_key=os.environ["CEREBRAS_API_KEY"]) /usr/local/lib/python3.11/site-packages/cerebras/cloud/sdk/_client.py:271: in __init__ super().__init__( /usr/local/lib/python3.11/site-packages/cerebras/cloud/sdk/_base_client.py:1404: in __init__ self._client = http_client or AsyncHttpxClientWrapper( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <cerebras.cloud.sdk._base_client.AsyncHttpxClientWrapper object at 0x7f9cd02dd090> kwargs = {'base_url': 'https://api.cerebras.ai', 'follow_redirects': True, 'limits': Limits(max_connections=100, max_keepalive_connections=20, keepalive_expiry=5.0), 'proxies': None, ...} def __init__(self, **kwargs: Any) -> None: kwargs.setdefault("timeout", DEFAULT_TIMEOUT) kwargs.setdefault("limits", DEFAULT_CONNECTION_LIMITS) kwargs.setdefault("follow_redirects", True) > super().__init__(**kwargs) E TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxies'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cerebras-cloud-sdk-python/src/cerebras/cloud/sdk/_base_client.py
Lines 845 to 856 in aaa53f9
Similar to https://community.openai.com/t/typeerror-asyncclient-init-got-an-unexpected-keyword-argument-proxies/1040287/2
we just need to change this
proxies=
tomounts=
if I understand correctlyThis error occurs running:
The text was updated successfully, but these errors were encountered: