Commit 1df9d6d
fix(seer): Add gen-ai-explore-metrics-search flag check to state endpoint
The start endpoint allows access with either gen-ai-search-agent-translate
or gen-ai-explore-metrics-search flag when strategy is Metrics, but the
state endpoint only checked gen-ai-search-agent-translate. This caused
users with only the metrics flag to successfully start a search agent
but get 403 errors when polling for state.
Since the state endpoint doesn't know which strategy was used, it now
accepts either flag to match the start endpoint's behavior.
Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>1 parent 80e14c4 commit 1df9d6d
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
0 commit comments