Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai proto update/fed console fix #10642

Merged
merged 3 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading