Welcome to Portkey Forum

Home
Members
Andrés
A
Andrés
Offline, last seen 4 weeks ago
Joined December 3, 2024
A
Andrés
·

Guardrails

Hello! I'm having an issue with guardrails. I have one of them enable and it works well. The issue came up when I'm trying to disable it, I'm trying from Plugins tab and from Guardrails tab, selecting the guardarail and toggle the button but it's still enabled and keeps executing when calling the API. Is that correct or am I doing something wrong? Does it have some kind of cache that keep it enable maybe?
4 comments
V
A
Hello! I'm trying to test the Pangea AI Guard Guardrails but I'm seeing the button disabled, how should I do to enable it? I've already set token and domain in Plugins section.
18 comments
A
V
Hi everyone. I'm trying to implement a plugin to integrate with one of out Pangea services (https://pangea.cloud/) and I'm getting and error in all the implemented plugins.
Seems to be that the PluginHandler has changed last month (https://github.com/Portkey-AI/gateway/blob/a66c3a34d57f8724293000a7dc4b4b3399e308ed/plugins/types.ts#L23), it has a 4th parameter called options that it's a required param and it's breaking all the plugins implementations (https://github.com/Portkey-AI/gateway/blob/a66c3a34d57f8724293000a7dc4b4b3399e308ed/plugins/pillar/scanPrompt.ts#L10) . Could someone check it and confirm if that's right or if I had to do something else?
I'd like to know what's the proper plugin interface I should follow
7 comments
b
A