Skip to content

docs(semantic): drop stale references to a gateway-added classifier option - #1261

Merged
jarvis9443 merged 1 commit into
mainfrom
docs/semantic-classifier-stale-comments
Sep 29, 2026
Merged

jarvis9443 merged 1 commit into
mainfrom
docs/semantic-classifier-stale-comments

Conversation

@jarvis9443

Copy link
Copy Markdown
Contributor

Two comments still described the classifier option that was removed before #1257 merged: the gateway adds no option of its own, so the choice criteria sent to the decision model are exactly the configured routes, and an operator who wants a catch-all configures one as an ordinary route.

split_semantic_modes in crates/aisix-core/src/models/schema.rs said a route named after the gateway-added option was refused; the code never refuses any route name, so the comment now says no name is reserved. The module doc in crates/aisix-core/src/models/semantic.rs said the decision model picks one route "(or none of them)"; it now says it picks one of the configured routes (a low-confidence pick still falls back to default, as the SemanticClassifier docs already state).

I swept the rest of the repo — code comments, schema descriptions, schemas/, config examples, and e2e test names — for any other mention of the removed option or a reserved route name and found none. Both edits are non-doc comments, so dump-schema produces no change in schemas/. Comment-only, no behavior change, so no test is added.

🤖 Generated with Claude Code

…ption

The classifier's choice criteria are exactly the configured routes and no
route name is reserved; two comments still described the removed
gateway-added option and a refusal of a same-named route.
@jarvis9443
jarvis9443 merged commit 9c0b632 into main Sep 29, 2026
14 checks passed
@jarvis9443
jarvis9443 deleted the docs/semantic-classifier-stale-comments branch September 29, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant