Anything that can construct its native LangChain chat model.
| 70 | |
| 71 | |
| 72 | class ChatModelProvider(Protocol): |
| 73 | """Anything that can construct its native LangChain chat model.""" |
| 74 | |
| 75 | def create_chat_model( |
| 76 | self, |
| 77 | model: str, |
| 78 | *, |
| 79 | max_tokens: int, |
| 80 | timeout: float | None = 120, |
| 81 | ) -> BaseChatModel | None: ... |
| 82 | |
| 83 | |
| 84 | class AgentCLICapable(Protocol): |
nothing calls this directly
no outgoing calls
no test coverage detected