Skip to content

Commit 24f9420

Browse files
pass context_window to super in deepseek llm (#19876)
1 parent 09d3c39 commit 24f9420

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

llama-index-integrations/llms/llama-index-llms-deepseek/llama_index/llms/deepseek/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def __init__(
4545
is_function_calling_model=openai_llm_kwargs.pop(
4646
"is_function_calling_model", model in FUNCTION_CALLING_MODELS
4747
),
48+
context_window=context_window,
4849
**openai_llm_kwargs,
4950
)
5051

llama-index-integrations/llms/llama-index-llms-deepseek/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev = [
2626

2727
[project]
2828
name = "llama-index-llms-deepseek"
29-
version = "0.2.1"
29+
version = "0.2.2"
3030
description = "llama-index llms deepseek integration"
3131
authors = [{name = "Logan Markewich", email = "[email protected]"}]
3232
requires-python = ">=3.9,<4.0"

0 commit comments

Comments
 (0)