from llama_index.core import Settings Settings.context_window = 2048 # Set the context window to your desired value