Perplexity AI integration doesn't work
I can't use my Perplexity API in linqpad, how can I fix it?
The Custom Provider - OpenID protocol API returned HTTP error code BadRequest
["At body -> messages -> 0 -> role: Input should be 'system', 'user', 'assistant' or 'tool'"]
it works without [System] prompt but if I provide a System prompt I get this exception. and the same problem with the autoCompletion (alt+.)
The AI configuration UI in LINQpad is so limited and is not flexible, is there any other way to configure the AI integration?

Answers
-
I think it's flexible enough for that scenario. Go to the System Role textbox and type in user.
