snehmehta
08/07/2025, 11:54 AMModel request failed (attempt #1, reason: 400 "function-after[check_json_schema(), function-after[check_n(), function-after[disallow_beam_search(), DynamoTRTLLMChatCompletionRequest]]].metadata.numAssistantTurns (0): Input should be a valid string, function-after[check_json_schema(), function-after[check_n(), function-af...) (provider: custom-llm, model: meta-llama/Llama-4-Maverick-17B-128E-Instruct, region: unknown, credential: true)Vapi Support Bot
08/07/2025, 11:56 AMmetadata.numAssistantTurns (0): Input should be a valid string.
Could you please share the exact JSON payload you are sending from Vapi to the Baseten endpoint (with any sensitive info redacted)? This will help identify if any required fields are missing or incorrectly formatted.
Source:
- [Custom LLM Tool Calling Integration](https://docs.vapi.ai/customization/tool-calling-integration)