Skip to content

refactor(model): replace switch-based ModelFactory with strategy pattern#1

Merged
VLSMB merged 2 commits into
mainfrom
refactor/model-factory
May 23, 2026
Merged

refactor(model): replace switch-based ModelFactory with strategy pattern#1
VLSMB merged 2 commits into
mainfrom
refactor/model-factory

Conversation

@VLSMB
Copy link
Copy Markdown
Member

@VLSMB VLSMB commented May 17, 2026

Extract ModelProvider interface and per-provider implementations, making it possible to add a new model provider by creating a single @Component class without modifying any existing code. Also replace scattered @Value annotations with @ConfigurationProperties for type-safe config.

VLSMB added 2 commits May 17, 2026 23:51
Extract ModelProvider interface and per-provider implementations, making
it possible to add a new model provider by creating a single @component
class without modifying any existing code.  Also replace scattered
@value annotations with @ConfigurationProperties for type-safe config.
@VLSMB VLSMB requested a review from lzq986 May 23, 2026 09:49
@VLSMB VLSMB merged commit 3072c1e into main May 23, 2026
3 checks passed
@VLSMB VLSMB deleted the refactor/model-factory branch May 23, 2026 10:09
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.

3 participants