(self, model_name)
| 94 | |
| 95 | class State: |
| 96 | def __init__(self, model_name): |
| 97 | self.conv = get_conversation_template(model_name) |
| 98 | self.conv_id = uuid.uuid4().hex |
| 99 | self.skip_next = False |
| 100 | self.model_name = model_name |
| 101 | |
| 102 | def to_gradio_chatbot(self): |
| 103 | return self.conv.to_gradio_chatbot() |
nothing calls this directly
no test coverage detected