module RubyLLM::Providers::Anthropic::Capabilities

def determine_context_window(_model_id)

Returns:
  • (Integer) - the context window size in tokens

Parameters:
  • model_id (String) -- the model identifier
def determine_context_window(_model_id)
  # All Claude 3 and 3.5 and 3.7 models have 200K token context windows
  200_000
end