Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TaskingAI/TaskingAI
/ is_chat_completion
Method
is_chat_completion
backend/app/models/model/model.py:33–34 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
31
return
get_provider(self.provider_id)
32
33
def
is_chat_completion(self):
34
return
self.type ==
"chat_completion"
35
36
def
is_text_embedding(self):
37
return
self.type ==
"text_embedding"
Callers
2
create
Method · 0.80
__validate_model
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected