Switch Ollama default to json_schema

This commit is contained in:
jacoblee93 2025-02-08 14:26:42 -08:00
parent bc5fafa20e
commit 4b6e10a413

View File

@ -833,7 +833,7 @@ class ChatOllama(BaseChatModel):
*,
method: Literal[
"function_calling", "json_mode", "json_schema"
] = "function_calling",
] = "json_schema",
include_raw: bool = False,
**kwargs: Any,
) -> Runnable[LanguageModelInput, Union[Dict, BaseModel]]: