MCPcopy
hub / github.com/zhayujie/CowAgent / model_mapping

Method model_mapping

plugins/godcmd/godcmd.py:477–480  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

475
476
477 def model_mapping(self, model) -> str:
478 if model == "gpt-4-turbo":
479 return const.GPT4_TURBO_PREVIEW
480 return model
481
482 def reload(self):
483 gconf = pconf(self.name)

Callers 1

on_handle_contextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected