SIGN IN SIGN UP

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

182972 0 0 Python

fix(backend): replace hardcoded _MODEL_CONTEXT_WINDOWS with LlmModel enum lookup

Use the existing LlmModel enum + MODEL_METADATA registry (which already
tracks context_window for every model) instead of a separate hardcoded
dict.  This eliminates the need to maintain context window sizes in two
places and ensures new models added to MODEL_METADATA are automatically
picked up by get_context_window().
Z
Zamil Majdy committed
84090afdd0320d4703f41a5549b20e7e1730bb9d
Parent: 26558cb