MCPcopy
hub / github.com/zai-org/ChatGLM3 / DeltaMessage

Class DeltaMessage

openai_api_demo/api_server.py:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106
107class DeltaMessage(BaseModel):
108 role: Optional[Literal["user", "assistant", "system"]] = None
109 content: Optional[str] = None
110 function_call: Optional[FunctionCallResponse] = None
111
112
113## for Embedding

Callers 3

predictFunction · 0.70
predict_streamFunction · 0.70
parse_output_textFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected