I get the following exception (and an HTTP 500 in the proxy) when trying to use /completion:
File "/home/grav/beyond/code/src/python/.venv/lib/python3.12/site-packages/litellm/main.py", line 2821, in aembedding
raise exception_type(
^^^^^^^^^^^^^^^
File "/home/grav/beyond/code/src/python/.venv/lib/python3.12/site-packages/litellm/utils.py", line 9996, in exception_type
raise e
File "/home/grav/beyond/code/src/python/.venv/lib/python3.12/site-packages/litellm/utils.py", line 8997, in exception_type
raise ServiceUnavailableError(
litellm.exceptions.ServiceUnavailableError: BedrockException - cannot access local variable 'data' where it is not associated with a value LiteLLM Retried: 1 times, LiteLLM Max Retries: 2
I've had luck with using the Embedding models, so I suspect there's a bug in the way response data is transformed?
What happened?
Using this config snippet:
I get the following exception (and an
HTTP 500
in the proxy) when trying to use/completion
:I've had luck with using the Embedding models, so I suspect there's a bug in the way response data is transformed?
Relevant log output
No response
Twitter / LinkedIn details
No response