Skip to content

Commit

Permalink
ai proto update/fed console fix (#10642)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheidkamp authored Feb 20, 2025
1 parent 2e8882e commit e1d9b9e
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 66 deletions.
6 changes: 6 additions & 0 deletions changelog/v1.19.0-beta11/ai-options-proto-fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
changelog:
- type: FIX
issueLink: https://github.com/solo-io/solo-projects/issues/7875
resolvesIssue: false
description: >-
Remove `regex` field from ai options proto enum to avoid generated code conflicts with `REGEX` field

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions projects/gloo/api/v1/enterprise/options/ai/ai.proto
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ message AIPromptGuard {
message HeaderMatch {
// The header string match type.
enum MatchType {
option allow_alias = true;
// The string must match exactly the specified string.
EXACT = 0;
// The string must have the specified prefix.
Expand All @@ -666,8 +665,6 @@ message AIPromptGuard {
CONTAINS = 3;
// The string must match the specified [RE2-style regular expression](https://github.com/google/re2/wiki/) pattern.
REGEX = 4;
// Do not use. Use `REGEX` (fully capitalized) instead.
regex = 4;
}
// The header key string to match against.
string key = 1;
Expand Down
119 changes: 57 additions & 62 deletions projects/gloo/pkg/api/v1/enterprise/options/ai/ai.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e1d9b9e

Please sign in to comment.