get(provider = null, model = null) {
    if (!provider || !this.cachedModelMap || !this.cachedModelMap[provider])
      return null;
    if (!model) return this.cachedModelMap[provider];

    const modelContextWindow = this.cachedModelMap[provider][model];
    if (!modelContextWindow) {
      this.log("Invalid access to model context window - not found in cache", {
        provider,
        model,
      });
      return null;
    }
    return Number(modelContextWindow);
  }
Gets the context window for a given provider and model.

If the provider is not found, null is returned.
If the model is not found, the provider's entire model map is returned.

if both provider and model are provided, the context window for the given model is returned.
@param {string|null} provider - The provider to get the context window for
@param {string|null} model - The model to get the context window for
@returns {number|null} - The context window for the given provider and model