Skip to content

Commit 01014ec

Browse files
committed
fix context len
1 parent 2f923c5 commit 01014ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/agent/custom_agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ def __init__(
9797
)
9898
if self.llm.model_name in ["deepseek-reasoner"]:
9999
self.use_function_calling = False
100+
# TODO: deepseek-reasoner only support 64000 context
101+
self.max_input_tokens = 64000
100102
else:
101103
self.use_function_calling = True
102104
self.add_infos = add_infos

0 commit comments

Comments
 (0)