Skip to content

Commit

Permalink
fix(ai-plugins): remove no_consumer and no_service restriction on AI
Browse files Browse the repository at this point in the history
plugins
  • Loading branch information
fffonion committed Jun 14, 2024
1 parent 50f5a37 commit 5d3879f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog/unreleased/kong/fix-ai-plugin-no-consumer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
message: "Fix certain AI plugins cannot be applied per consumer or per service."
type: bugfix
scope: Plugin

1 change: 0 additions & 1 deletion kong/plugins/ai-prompt-template/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ return {
name = "ai-prompt-template",
fields = {
{ protocols = typedefs.protocols_http },
{ consumer = typedefs.no_consumer },
{ config = {
type = "record",
fields = {
Expand Down
2 changes: 0 additions & 2 deletions kong/plugins/ai-proxy/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ return {
name = "ai-proxy",
fields = {
{ protocols = typedefs.protocols_http },
{ consumer = typedefs.no_consumer },
{ service = typedefs.no_service },
{ config = this_schema },
},
}
1 change: 0 additions & 1 deletion kong/plugins/ai-response-transformer/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ return {
name = "ai-response-transformer",
fields = {
{ protocols = typedefs.protocols_http },
{ consumer = typedefs.no_consumer },
{ config = {
type = "record",
fields = {
Expand Down

0 comments on commit 5d3879f

Please sign in to comment.