MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / get_conversation_template

Function get_conversation_template

toolbench/model/model_adapter.py:177–179  ·  view source on GitHub ↗
(model_path: str)

Source from the content-addressed store, hash-verified

175
176
177def get_conversation_template(model_path: str) -> Conversation:
178 adapter = get_model_adapter(model_path)
179 return adapter.get_default_conv_template(model_path)
180
181
182def add_model_args(parser):

Callers 5

parseMethod · 0.90
parseMethod · 0.90
parseMethod · 0.90
parseMethod · 0.90
preprocessFunction · 0.90

Calls 2

get_model_adapterFunction · 0.85

Tested by

no test coverage detected