Commit 291d215
authored
docs: fix access probe response codes in model-listing-flow (#559)
## Summary
- Remove incorrect `3xx` from the list of response codes that grant
access in the model-listing-flow documentation
- The source code (`discovery.go:256-300`) confirms that 3xx codes fall
into the `default` switch case which returns `authRetry` (not
`authGranted`). Only `2xx` and `405` result in `authGranted`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
* **Bug Fixes**
* Updated model listing behavior to refine access validation criteria.
The model listing endpoint now filters models more precisely based on
HTTP response codes from endpoint probes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 4f06bcf commit 291d215
File tree
1 file changed
+1
-1
lines changed- docs/content/configuration-and-management
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments