Skip to content

Commit 1af2d50

Browse files
committed
remove lower bound version from litellm
1 parent da807da commit 1af2d50

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/open_source/scan/scan_llm/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class MyCustomLLM(litellm.CustomLLM):
177177

178178
return litellm.ModelResponse(**response.json())
179179

180-
# Custom embeddings
180+
# Custom embeddings (available since LiteLLM v1.71.1)
181181
def embedding(
182182
self,
183183
model: str,

docs/open_source/setting_up/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class MyCustomLLM(litellm.CustomLLM):
204204

205205
return litellm.ModelResponse(**response.json())
206206

207-
# Custom embeddings
207+
# Custom embeddings (available since LiteLLM v1.71.1)
208208
def embedding(
209209
self,
210210
model: str,

docs/open_source/testset_generation/testset_generation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class MyCustomLLM(litellm.CustomLLM):
215215

216216
return litellm.ModelResponse(**response.json())
217217

218-
# Custom embeddings
218+
# Custom embeddings (available since LiteLLM v1.71.1)
219219
def embedding(
220220
self,
221221
model: str,

giskard/llm/client/litellm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _get_response_format(format):
2424
return None
2525

2626
if format in ("json", "json_object"):
27-
return {"type": "json_object"}
27+
return {"type": format}
2828

2929
warning(f"Unsupported format '{format}', ignoring.")
3030
return None

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ llm = [
188188
"bokeh>=3.3.4, <3.5", # Bokeh >= 3.6 cause issue with rendering plots when saving to html file
189189
"umap-learn>=0.5.5",
190190
"scikit-learn>=1.3.2",
191-
"litellm>=1.71.1,<2",
191+
"litellm<2",
192192
"groq>=0.10.0",
193193
]
194194

0 commit comments

Comments
 (0)