MCPcopy
hub / github.com/zai-org/GLM-4 / generate_stream

Method generate_stream

demo/composite_demo/src/client.py:29–34  ·  view source on GitHub ↗
(
        self,
        tools: list[dict],
        history: list[Conversation],
        **parameters,
    )

Source from the content-addressed store, hash-verified

27 def __init__(self, model_path: str): ...
28
29 def generate_stream(
30 self,
31 tools: list[dict],
32 history: list[Conversation],
33 **parameters,
34 ) -> Generator[tuple[str | dict, list[dict]]]: ...
35
36
37def process_input(history: list[dict], tools: list[dict], role_name_replace: dict = None) -> list[dict]:

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected