MCPcopy
hub / github.com/lm-sys/FastChat / register_model_adapter

Function register_model_adapter

fastchat/model/model_adapter.py:132–134  ·  view source on GitHub ↗

Register a model adapter.

(cls)

Source from the content-addressed store, hash-verified

130
131
132def register_model_adapter(cls):
133 """Register a model adapter."""
134 model_adapters.append(cls())
135
136
137@cache

Callers 1

model_adapter.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…