(
self,
tools: list[dict],
history: list[Conversation],
**parameters,
)
| 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 | |
| 37 | def process_input(history: list[dict], tools: list[dict], role_name_replace: dict = None) -> list[dict]: |