module RubyLLM::Providers::DeepSeek::Capabilities
def context_window_for(model_id)
-
(Integer)
- the context window size in tokens
Parameters:
-
model_id
(String
) -- the model identifier
def context_window_for(model_id) case model_id when /deepseek-(?:chat|reasoner)/ then 64_000 else 32_768 # Sensible default end end