Closed DarkC343 closed 1 week ago
In version 2.4.12 (2024-11-15):
httpx-socks
has been integrated into the compiled versions (Windows and Linux) - enabling support for HTTP/SOCKS proxies.Config -> Settings -> Proxy URL
, or you can use the environment variables: HTTP_PROXY
, HTTPS_PROXY
.
Exception: Error code: 403 - {'error': {'code': 'unsupported_country_region_territory', 'message': 'Country, region, or territory not supported', 'param': None, 'type': 'request_forbidden'}} Type: PermissionDeniedErrorMessage: Error code: 403 - {'error': {'code': 'unsupported_country_region_territory', 'message': 'Country, region, or territory not supported', 'param': None, 'type': 'request_forbidden'}} Traceback: File "/snap/pygpt/238/lib/python3.10/site-packages/openai/resources/chat/completions.py", line 579, in create return self._post( File "/snap/pygpt/238/lib/python3.10/site-packages/openai/_base_client.py", line 1232, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/snap/pygpt/238/lib/python3.10/site-packages/openai/_base_client.py", line 921, in request return self._request( File "/snap/pygpt/238/lib/python3.10/site-packages/openai/_base_client.py", line 1012, in _request raise self._make_status_error_from_response(err.response) from None