LanguageModelOptions (like ChatOpenAIOptions, ChatMistralAIOptions etc) do not specify the default model in the constructor anymore. Instead, the default model is applied if the model field in defaultOptions and the invoke options are null. This prevents the model to be reset when using the bind operator.
Resolves #481
LanguageModelOptions
(likeChatOpenAIOptions
,ChatMistralAIOptions
etc) do not specify the default model in the constructor anymore. Instead, the default model is applied if the model field indefaultOptions
and the invoke options arenull
. This prevents the model to be reset when using the bind operator.