feat(refacto): update router endpoint toward clean architecture#718
Merged
leoguillaume merged 6 commits intomainfrom Mar 3, 2026
Merged
feat(refacto): update router endpoint toward clean architecture#718leoguillaume merged 6 commits intomainfrom
leoguillaume merged 6 commits intomainfrom
Conversation
8ea8619 to
b2403d5
Compare
1b34769 to
b4bbd86
Compare
06a4077 to
d36a381
Compare
leoguillaume
approved these changes
Mar 3, 2026
| class UpdateRouter(BaseModel): | ||
| name: constr(strip_whitespace=True, min_length=1) | None = Field(default=None, description="Name of the model router.", examples=["model-router-1"]) # fmt: off | ||
| type: ModelType | None = Field(default=None, description="Type of the model router. It will be used to identify the model router type.", examples=["text-generation"]) # fmt: off | ||
| router_type: ModelType | None = Field(default=None, description="Type of the model router. It will be used to identify the model router type.", examples=["text-generation"]) # fmt: off |
Member
There was a problem hiding this comment.
Pourquoi se changement ? Cela va impacter le playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.