Skip to content

Commit e1d9b9e

Browse files
authored
ai proto update/fed console fix (#10642)
1 parent 2e8882e commit e1d9b9e

File tree

4 files changed

+63
-66
lines changed

4 files changed

+63
-66
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
changelog:
2+
- type: FIX
3+
issueLink: https://github.com/solo-io/solo-projects/issues/7875
4+
resolvesIssue: false
5+
description: >-
6+
Remove `regex` field from ai options proto enum to avoid generated code conflicts with `REGEX` field

docs/content/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/enterprise/options/ai/ai.proto.sk.md

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/gloo/api/v1/enterprise/options/ai/ai.proto

-3
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,6 @@ message AIPromptGuard {
655655
message HeaderMatch {
656656
// The header string match type.
657657
enum MatchType {
658-
option allow_alias = true;
659658
// The string must match exactly the specified string.
660659
EXACT = 0;
661660
// The string must have the specified prefix.
@@ -666,8 +665,6 @@ message AIPromptGuard {
666665
CONTAINS = 3;
667666
// The string must match the specified [RE2-style regular expression](https://github.com/google/re2/wiki/) pattern.
668667
REGEX = 4;
669-
// Do not use. Use `REGEX` (fully capitalized) instead.
670-
regex = 4;
671668
}
672669
// The header key string to match against.
673670
string key = 1;

projects/gloo/pkg/api/v1/enterprise/options/ai/ai.pb.go

+57-62
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)