MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / __init__

Method __init__

optillm/inference.py:1670–1673  ·  view source on GitHub ↗
(self, content: str, role: str = "assistant", logprobs: Optional[Dict] = None)

Source from the content-addressed store, hash-verified

1668
1669class ChatCompletionMessage:
1670 def __init__(self, content: str, role: str = "assistant", logprobs: Optional[Dict] = None):
1671 self.content = content
1672 self.role = role
1673 self.logprobs = logprobs
1674
1675class ChatCompletionChoice:
1676 def __init__(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected