ModelResult(
self,
model: BaseChatModel,
model_name: str,
provider: str,
context_limit: | Name | Type |
|---|---|
| model | BaseChatModel |
| model_name | str |
| provider | str |
| context_limit | int | None |
Result of creating a chat model, bundling the model with its metadata.
This separates model creation from settings mutation so callers can decide when to commit the metadata to global settings.
Commit this result's metadata to global settings.