MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / OpenAIChatMessage

Class OpenAIChatMessage

src/models.py:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51class OpenAIChatMessage(BaseModel):
52 role: str
53 content: Union[str, List[Dict[str, Any]], None] = None
54 reasoning_content: Optional[str] = None
55 name: Optional[str] = None
56 tool_calls: Optional[List[OpenAIToolCall]] = None
57 tool_call_id: Optional[str] = None # for role="tool"
58
59
60class OpenAIChatCompletionRequest(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected