MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / ChatModelProvider

Class ChatModelProvider

src/skillspector/providers/base.py:72–81  ·  view source on GitHub ↗

Anything that can construct its native LangChain chat model.

Source from the content-addressed store, hash-verified

70
71
72class 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
84class AgentCLICapable(Protocol):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected