One paragraph call is divided in multiple messages...
# support
s
While we call the assistant and after call get call details is being called In that api single paragraph message is divided in multiple messages previously it was coming in single paragraph Callid - 019b0db7-2148-7ccd-9272-633961145896 Assistant id - 5e9a8982-c8b5-456d-ba1c-1732158dd91d This usse screenshot and i am also attaching screenshot of when it was working https://cdn.discordapp.com/attachments/1448687596179030176/1448687596568842260/tmp_757331c9-84d2-4093-8a59-674d41c812bd.png?ex=693c2af6&is=693ad976&hm=c69ca9d7a678b6fed5e0ef3c749d7bfb32b77b1277918044e4064f0bfa2b0381& https://cdn.discordapp.com/attachments/1448687596179030176/1448687597110169772/tmp_17e3f2e8-a242-4d6a-9526-1cdd4a2159b8.png?ex=693c2af6&is=693ad976&hm=14488a3cd1fdf082e1d8ccc5f8aa9724be58c36732a748996c2e2c448dfd681e&
v
It looks like the splitting of single-paragraph messages into multiple messages in the call GET API is due to recent updates to the
ClientMessage
schemas and call structure, as noted in the May 7, 2025 changelog. To handle this, you can programmatically concatenate consecutive message parts on the client side. For example:
Copy code
python
# Example: Merge consecutive assistant messages
merged = " ".join([msg['content'] for msg in messages if msg['role'] == 'assistant'])
This approach will help you reconstruct the original paragraph for display or processing. For more details, see the [May 7, 2025 changelog](https://docs.vapi.ai/changelog/2025/5/7). Source: - [Changelog May 7, 2025](https://docs.vapi.ai/changelog/2025/5/7)
s
This fixed by vapi team
2 Views