MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / allow_function_call

Method allow_function_call

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

Source from the content-addressed store, hash-verified

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)
47
48 def allow_streaming(self):
49 return self.type == "chat_completion" and self.properties.get("streaming", False)

Callers 4

_validate_toolsFunction · 0.45
_validate_retrievalsFunction · 0.45
api_chat_completionFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected