I have updated my code for the new model:
{
"model": "sonar",
"messages": [
{
"role": "system",
"content": "Be precise and concise."
},
{
"role": "user",
"content": "Private Prompt"
}
]
}
This was my old code:
{
"model": "llama-3.1-sonar-small-128k-online",
"messages": [
{
"role": "system",
"content": "Be precise and concise."
},
{
"role": "user",
"content": "Private Prompt."
}
]
}
As you can see, I have only adapted the model name. Everything worked before, but now I only get a network timeout at: https://api.perplexity.ai/chat/completions