Using o* model in Azure OpenAI for ActivePieces copilot

I’m using Azure OpenAI as the provider for ActivePieces copilot. I was planning to use o1 mini, but got this error when trying to use AP copilot.

export const code = async (inputs: Record<string, never>) => {
    throw new Error('Unsupported value: 'messages[0].role' does not support 'system' with this model.')
    return { error: true }

Saw this post on the OpenAI community: O1 models do not support 'system' role in chat completion? - API - OpenAI Developer Community

Is this something that would need to be supported/updated by ActivePieces or do I need to update my Azure OpenAI deployment? If the latter, any suggestions on how to update my deployment?

Hello @tycecycle, I will forward this to the team to fix the issue. Moving it to bugs.

2 Likes

@kishanprmr where can I track updates on this? I don’t see anything here in the community with the bugs label or in the issues for the Github repo.