MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / is_custom_host

Method is_custom_host

backend/app/models/model/model.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 return self.type == "rerank"
41
42 def is_custom_host(self):
43 return self.provider_id == "custom_host"
44
45 def allow_function_call(self):
46 return self.type == "chat_completion" and self.properties.get("function_call", False)

Callers 3

__validate_modelFunction · 0.80
__validate_modelFunction · 0.80
__validate_modelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected