Skip to content

feat(refacto): update router endpoint toward clean architecture#718

Merged
leoguillaume merged 6 commits intomainfrom
refacto/update_router_endpoint
Mar 3, 2026
Merged

feat(refacto): update router endpoint toward clean architecture#718
leoguillaume merged 6 commits intomainfrom
refacto/update_router_endpoint

Conversation

@benjaminpilia
Copy link
Copy Markdown
Contributor

No description provided.

@benjaminpilia benjaminpilia force-pushed the refacto/update_router_endpoint branch 4 times, most recently from 8ea8619 to b2403d5 Compare February 27, 2026 10:44
@leoguillaume leoguillaume force-pushed the refacto/update_router_endpoint branch from 1b34769 to b4bbd86 Compare March 2, 2026 16:29
@leoguillaume leoguillaume marked this pull request as ready for review March 2, 2026 16:30
@leoguillaume leoguillaume force-pushed the refacto/update_router_endpoint branch from 06a4077 to d36a381 Compare March 3, 2026 18:06
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi se changement ? Cela va impacter le playground

@leoguillaume leoguillaume merged commit 8dda462 into main Mar 3, 2026
@leoguillaume leoguillaume deleted the refacto/update_router_endpoint branch March 3, 2026 18:12
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.

[refacto] Refacto PATCH /v1/admin/routers endpoint toward clean architecture

2 participants