From d12f52e46fed95d8a485cd9b75521fd1a70e0302 Mon Sep 17 00:00:00 2001 From: bromnhub <241785706+bromnhub@users.noreply.github.com> Date: Thu, 18 Dec 2025 05:01:18 -0500 Subject: [PATCH] docs: Improve docstring for Vapi.add_message --- vapi_python/vapi_python.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapi_python/vapi_python.py b/vapi_python/vapi_python.py index 69e9797..688cecc 100644 --- a/vapi_python/vapi_python.py +++ b/vapi_python/vapi_python.py @@ -83,7 +83,10 @@ def send(self, message): def add_message(self, role, content): """ - method to send text messages with specific parameters. + Sends a text message to the assistant with a specified role and content. + + :param role: The role of the message sender (e.g., 'user', 'system'). + :param content: The text content of the message. """ message = { 'type': 'add-message',