mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(databricks.py): fix client used
This commit is contained in:
parent
ce7257ec5e
commit
cfc061e38e
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ class DatabricksChatCompletion(BaseLLM):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
response = self.client.post(
|
response = client.post(
|
||||||
api_base, headers=headers, data=json.dumps(data)
|
api_base, headers=headers, data=json.dumps(data)
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue