steffenxyz_
04/23/2025, 5:39 PMVapi Support Bot
04/23/2025, 5:41 PMendCall
function to work correctly:
json
{
"model": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"temperature": 0.3,
"messages": [
{
"role": "system",
"content": "You are an assistant at a law firm. If the user is being mean, use the endCall function."
}
],
"tools": [
{
"type": "endCall"
}
]
}
}
According to information found in Discord discussions, updating the model temperature is important for this functionality.
Source:
- [Discord discussion about endCall function](https://discord.com/channels/1211482211119796234/1341663336621674558)steffenxyz_
04/23/2025, 5:50 PMsteffenxyz_
04/23/2025, 5:52 PMsteffenxyz_
04/23/2025, 5:53 PMsteffenxyz_
04/23/2025, 5:54 PMKyle Brunker
04/24/2025, 12:49 PMsteffenxyz_
04/24/2025, 5:42 PMsteffenxyz_
04/24/2025, 5:42 PMKyle Brunker
04/27/2025, 7:46 PMsteffenxyz_
04/29/2025, 4:31 PMsteffenxyz_
04/29/2025, 4:31 PMKyle Brunker
05/02/2025, 12:46 AMsteffenxyz_
05/02/2025, 12:52 PM