MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / get_all_messages_content

Function get_all_messages_content

api/openai_client.py:100–102  ·  view source on GitHub ↗

r"""When the n > 1, get all the messages content.

(completion: ChatCompletion)

Source from the content-addressed store, hash-verified

98
99
100def get_all_messages_content(completion: ChatCompletion) -> List[str]:
101 r"""When the n > 1, get all the messages content."""
102 return [c.message.content for c in completion.choices]
103
104
105def get_probabilities(completion: ChatCompletion) -> List[List[TokenLogProb]]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected