Skip to content

Commit 59abf77

Browse files
authored
removing check for api base (#2442)
1 parent d9dbc83 commit 59abf77

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

learning_resources/content_summarizer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@ def _get_llm(self, model=None, temperature=0.0, max_tokens=1000) -> ChatLiteLLM:
215215
if not settings.LITELLM_CUSTOM_PROVIDER:
216216
raise ValueError("The 'LITELLM_CUSTOM_PROVIDER' setting must be set.") # noqa: EM101, TRY003
217217

218-
if not settings.LITELLM_API_BASE:
219-
raise ValueError("The 'LITELLM_API_BASE' setting must be set.") # noqa: EM101, TRY003
220-
221218
return ChatLiteLLM(
222219
model=model,
223220
temperature=temperature,

0 commit comments

Comments
 (0)