tinker_cookbook.completers.MessageCompleter
Generated from tinker-cookbook at commit 8486b8d. Source links point at that snapshot.
class tinker_cookbook.completers.MessageCompleter()
Abstract interface for generating message responses.
__call__(messages)
Generate an assistant message given a conversation history.
Parameters:
- messages (list[renderers.Message]) – The conversation history as a list of message dicts with
roleandcontentkeys.
Returns: renderers.Message – The generated assistant message, which may include tool_calls if the model produced them.