in aidial_sdk/chat_completion/stage.py [0:0]
def append_name(self, name: str):
if not self._opened:
raise runtime_error("Trying to append name to an unopened stage")
if self._closed:
raise runtime_error("Trying to append name to a closed stage")
self._queue.put_nowait(
NameStageChunk(self._choice_index, self._stage_index, name)
)