client = OpenAI() client.chat.completions.create( model=model_name, response_model=ABC, temperature=0, max_tokens=8192, messages=[{"role": "system", "content": "PORTKEY PROMPT TEXT"}])
"{\"status\":\"failure\",\"message\":\"Unexpected non-whitespace character after JSON at position 56568 (line 1 column 56569)\"}"
"{\"status\":\"failure\",\"message\":\"Portkey Error: You need to pass prompt_id along with virtual_key. Only virtual keys are not allowed in /v1/prompts config.\"}"
error Error: Invalid value for 'tool_choice': 'tool_choice' is only allowed when 'tools' are specified.