Unstable Provider
# support
g
Hi. I'm trying to explore different providers such as Anthropic but I noticed that whenever I talk to the assistant, it only says its first message then the assistant ends the call. I have tried changing the provider back to openai but it do continue the conversation. The endcall conversation only happens when I integrate the Anthropic as the provider.
v
@Gelo Hello! It sounds like you're experiencing an issue with the assistant's behavior when switching to Anthropic as the provider. This could be due to a variety of reasons, such as configuration settings or compatibility issues between the assistant and the Anthropic provider. To better assist you, could you please provide more details about how you're integrating Anthropic as the provider? Additionally, have you checked if there are any specific requirements or settings that need to be configured for Anthropic to work correctly with your assistant? In the meantime, if you have set up any clientMessages for the assistant, please ensure they are correctly configured to allow for continuous interaction. If the issue persists, you might want to reach out to Anthropic's support for more detailed guidance on integrating their API with your assistant.
You can continue this conversation by mentioning me in the message.
g
@Vapi I created an outbound assistant. I honestly think that there is nothing wrong with the system prompt because it works if the provider is OpenAI and others except Anthropic. Whenever I call with Anthropic as the provider, it shows "Existing meeting because the room was deleted"
v
@Gelo It seems like there might be an issue specific to the integration with Anthropic as the provider, which is causing the assistant to exit the meeting prematurely. This could be related to how the assistant is configured to interact with Anthropic's API or a compatibility issue. Here's what you can do to troubleshoot the problem: 1. Double-check the integration settings for Anthropic to ensure that all the necessary parameters and authentication details are correctly set up. 2. Review any logs or error messages that are generated when the assistant attempts to use Anthropic as the provider. This can provide clues as to what might be going wrong. 3. Make sure that the Anthropic API is currently operational and that there are no outages or maintenance activities that could be affecting the service. 4. If possible, test the Anthropic integration in a different environment or with a minimal setup to rule out any conflicts with other parts of your system. If after these steps the issue remains unresolved, it would be best to contact Anthropic's support team for further assistance. They may have insights into any known issues or additional configuration steps that are required for their API to work with your assistant. Would you like me to guide you through checking the integration settings or provide you with additional support contact information?
g
@Vapi it shows this on the call logs "An error occurred in this call: pipeline-error-anthropic-400-bad-request-validation-failed"
v
@Gelo The error message "pipeline-error-anthropic-400-bad-request-validation-failed" indicates that the request sent to the Anthropic API did not meet the expected format or contained invalid data, resulting in a 400 Bad Request response. Here are some steps you can take to resolve this issue: 1. **Validate Input Data**: Ensure that the data being sent in the request to Anthropic conforms to their API specifications. This includes checking data types, required fields, and any data formatting requirements. 2. **Check API Documentation**: Review Anthropic's API documentation to understand the expected request structure and any specific validation rules that must be followed. 3. **Error Details**: Look for more detailed error messages or logs that might indicate which part of the request failed validation. 4. **API Updates**: Verify if there have been any recent updates to the Anthropic API that might require changes to the request format. 5. **Test Environment**: If possible, use a test environment to send requests to the Anthropic API with varying data to pinpoint what is causing the validation to fail. 6. **Contact Support**: If you're unable to resolve the issue, consider reaching out to Anthropic's support team with the details of the error and the request you're trying to make. They may be able to provide more specific guidance. If you need assistance with any of these steps or require further support, please let me know, and I'll be happy to help.
s
Hey @Gelo To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
4 Views