Skip to content

Commit

Permalink
fix context len
Browse files Browse the repository at this point in the history
  • Loading branch information
vvincent1234 committed Jan 25, 2025
1 parent 2f923c5 commit 01014ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/agent/custom_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def __init__(
)
if self.llm.model_name in ["deepseek-reasoner"]:
self.use_function_calling = False
# TODO: deepseek-reasoner only support 64000 context
self.max_input_tokens = 64000
else:
self.use_function_calling = True
self.add_infos = add_infos
Expand Down

0 comments on commit 01014ec

Please sign in to comment.