While configuring Generative AI services opting for Cohere, it works fine on apex.oracle.com when using in Catbot, but same is giving error on OCI based Instance, like here.
ERROR:
The HTTP request to Generative AI Service at https://api.cohere.ai/v1/chat failed with HTTP-400: invalid request: Invalid role in chat_history at index 1. Role must be one of the following: User, Chatbot, System, Tool