101 Commits
Author SHA1 Message Date
Samveg 74a95ca804 feat: add Not Null plugin to check for null or empty response content 2025-12-22 22:50:03 -08:00
visargD dd6169253f feat: add addPrefix handler with comprehensive tests for various message formats and edge cases 2025-10-23 11:55:01 +05:30
visargD 00d62f320a fix: update falsy check for currentContent in addPrefix function 2025-10-23 11:52:26 +05:30
visargD 6e34a50825 merge main into prefix-guardrail 2025-10-22 18:14:16 +05:30
Visarg Desai f9054567e6 Merge pull request #1335 from Portkey-AI/feat/plugin-supported-endpoints
feat: add Allowed Request Types plugin to control request processing
2025-09-16 10:54:54 +05:30
Visarg Desai f400d728e0 Merge pull request #1329 from siddharthsambharia-portkey/fix/regex-replace-guardrail
fix: remove the regex replace plugin with the correct regex function parsing
2025-09-16 10:52:28 +05:30
Rohit Agarwal 50aa6b6672 feat: add Allowed Request Types plugin to control request processing 2025-09-13 00:48:05 +05:30
siddharthsambharia-portkey daa9533754 fix/regex-replace-guardrail 2025-09-11 17:42:20 +05:30
siddharthsambharia-portkey 8a058b55fb fix regex replace 2025-09-10 16:23:27 +05:30
vrushankportkey 168d925462 Update manifest.json 2025-09-03 20:40:44 +05:30
vrushankportkey 5d384401d2 Update modelWhitelist.ts 2025-09-03 20:37:26 +05:30
vrushankportkey 39e32b625a split into two 2025-09-03 20:30:18 +05:30
Vrushank Vyas a793b00c22 Merge branch 'main' into allowed-models-metadata 2025-09-03 20:23:54 +05:30
siddharthsambharia-portkey f60e2d9322 feat/regex-replace-guardrail 2025-09-01 18:09:55 +05:30
vrushankportkey 9497dbea98 make it lean! 2025-08-26 16:34:11 +05:30
vrushankportkey 6a15064381 make the implementation neater 2025-08-26 15:49:37 +05:30
vrushankportkey 7d7483a08b Update manifest.json 2025-08-26 14:58:43 +05:30
vrushankportkey 30250b2c5e Update manifest.json 2025-08-26 14:58:15 +05:30
vrushankportkey aeb8693706 final fixes 2025-08-26 14:56:59 +05:30
vrushankportkey f7ebfbf57d Update modelWhitelist.ts 2025-08-26 14:49:46 +05:30
vrushankportkey 9733621e09 Update modelWhitelist.ts 2025-08-26 14:42:15 +05:30
vrushankportkey fcaafdb2c9 update the implementation to general purpose JSON 2025-08-26 14:32:56 +05:30
vrushankportkey 0910abd994 model whitelist + metadata 2025-08-26 11:52:30 +05:30
Vrushank Vyasandmatter-code-review[bot] b774a35cf3 Update plugins/default/addPrefix.ts
Co-authored-by: matter-code-review[bot] <150888575+matter-code-review[bot]@users.noreply.github.com>
2025-08-20 17:42:08 +05:30
vrushankportkey 803b9ace11 fix a few things visarg suggested 2025-08-20 17:40:45 +05:30
Vrushank Vyas 2b612abb61 Merge branch 'main' into prefix-guardrail 2025-08-04 18:24:16 +05:30
vrushankportkey 166cf0d71d Prefix Guardrail 2025-07-31 18:06:01 +05:30
visargD dd86d90a71 fix: remove headers from webhook plugin response object 2025-07-29 19:04:12 +05:30
Visarg Desai f519a9c1e7 Merge branch 'main' into main 2025-06-25 13:50:30 +05:30
Mahesh 1559b5c308 Merge branch 'main' of github.com:Portkey-AI/gateway into fix/webhook-plugin-errors 2025-06-25 13:34:58 +05:30
Mahesh f5c6e65e75 chore: update keys and return correct values 2025-06-25 13:34:45 +05:30
Mahesh b5d296371c fix: return error response for webhook non-timeout error 2025-06-20 20:51:49 +05:30
Vrushank Vyas 5f25b79001 Update manifest.json 2025-06-19 18:16:46 +05:30
visargD 96277c2d55 feat: add required metadata keys plugin 2025-06-17 23:58:02 +05:30
Vrushank Vyas 2f233823c5 chore: update model whitelist copy 2025-06-17 15:53:14 +05:30
sk-portkey be52998d38 feat: jwt guardrails for runtime token validation 2025-05-14 18:58:26 +05:30
visargD f75975ebfd feat: make timeout configurable for plugins 2025-02-14 03:11:33 +05:30
visargD 9b5fa501c6 feat: allow mutations in webhook plugin 2025-02-14 02:56:42 +05:30
visargD 169bc62ef0 fix: add verbose mapping for python and js md code blocks 2025-01-13 13:15:19 +05:30
visargD f502fd80eb chore: replace node dns package with dns over http approach 2024-12-28 16:09:10 +05:30
visargD 6d2f40deb9 chore: remove console log 2024-12-28 15:47:21 +05:30
visargD b5719a42fd fix: extend regex for valid urls extraction logic 2024-12-28 15:45:40 +05:30
Rohit Agarwal 32d71bd9ed updated tests with a negative case 2024-12-16 18:45:37 +05:30
Rohit Agarwal 9ec340005c format 2024-12-16 18:40:29 +05:30
Rohit Agarwal 009d00b388 Replaced ajv with json-schema 2024-12-16 18:40:11 +05:30
Rohit Agarwal 67c0bed400 format 2024-12-08 16:20:29 -08:00
Rohit Agarwal f711ee5528 "not" operator added to all default plugins 2024-12-08 16:20:21 -08:00
Rohit Agarwal 8bae5bc097 format 2024-12-08 15:55:38 -08:00
Rohit Agarwal 10ee1b17ec containsCode explanations added 2024-12-08 15:55:31 -08:00
Rohit Agarwal 2501f1840d jsonSchema plugin now runs on jsonSchema and not zod. Added explanations and tests for complex schemas 2024-12-08 15:42:48 -08:00