forked from phoenix/litellm-mirror
fix(main.py): logit bias mapping for batch_completions
This commit is contained in:
parent
d62da29cbe
commit
e732fb8b97
4 changed files with 6 additions and 3 deletions
|
@ -104,6 +104,8 @@ class UnsupportedParamsError(Exception):
|
|||
def __init__(self, status_code, message):
|
||||
self.status_code = status_code
|
||||
self.message = message
|
||||
self.request = httpx.Request(method="POST", url=" https://openai.api.com/v1/")
|
||||
self.response = httpx.Response(status_code=status_code, request=self.request)
|
||||
super().__init__(
|
||||
self.message
|
||||
) # Call the base class constructor with the parameters it needs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue