R/model-ellmer.R
as_chat_factory.Rd
Convert a model input to a chat factory
as_chat_factory(model)
NULL, a fake chat, an ellmer chat-like object, a factory function, or a small string spec such as "openai:gpt-4.1".
NULL
ellmer
"openai:gpt-4.1"
A function accepting system_prompt.
system_prompt