Files
letta-server/fern/python-reference/LLMConfig.mdx
2025-09-09 09:35:12 -07:00

22 lines
617 B
Plaintext

---
slug: python-reference/LLMConfig
---
<a id="letta.schemas.llm_config.LLMConfig"></a>
## LLMConfig
```python
class LLMConfig(BaseModel)
```
Configuration for a Language Model (LLM) model. This object specifies all the information necessary to access an LLM model to usage with Letta, except for secret keys.
**Attributes**:
- `model` _str_ - The name of the LLM model.
- `model_endpoint_type` _str_ - The endpoint type for the model.
- `model_endpoint` _str_ - The endpoint for the model.
- `model_wrapper` _str_ - The wrapper for the model.
- `context_window` _int_ - The context window size for the model.