nlmatics / llmsherpa

Developer APIs to Accelerate LLM Projects
https://www.nlmatics.com
MIT License
1.37k stars 134 forks source link

APIConnectionError: Connection error. #35

Open Ellokoakarata opened 9 months ago

Ellokoakarata commented 9 months ago

LocalProtocolError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/httpcore/_exceptions.py in map_exceptions(map) 9 try: ---> 10 yield 11 except Exception as exc: # noqa: PIE786

106 frames LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

During handling of the above exception, another exception occurred:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

During handling of the above exception, another exception occurred:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

During handling of the above exception, another exception occurred:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

LocalProtocolError Traceback (most recent call last) LocalProtocolError: Illegal header value b'Bearer '

The above exception was the direct cause of the following exception:

APIConnectionError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/openai/_base_client.py in _request(self, cast_to, options, remaining_retries, stream, stream_cls) 903 ) 904 --> 905 raise APIConnectionError(request=request) from err 906 907 log.debug(

APIConnectionError: Connection error.