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

Method allow_streaming

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

Source from the content-addressed store, hash-verified

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)
50
51 @classmethod
52 def build(cls, row: Dict):

Callers 3

api_chat_completionFunction · 0.80
prepareMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected