Skip to content
This repository was archived by the owner on Jun 29, 2026. It is now read-only.

fix: StegClient implements InferenceClientInterface - #1

Merged
ndrstmr merged 1 commit into
mainfrom
fix/stegclient-implements-interface
May 6, 2026
Merged

ndrstmr merged 1 commit into
mainfrom
fix/stegclient-implements-interface

Conversation

@ndrstmr

@ndrstmr ndrstmr commented May 6, 2026

Copy link
Copy Markdown
Owner

The StegClient façade exposed all methods of InferenceClientInterface (complete, stream, isHealthy, listModels) with identical signatures, but did not declare 'implements InferenceClientInterface'. As a result, ndrstmr/steg-bundle's DI alias of InferenceClientInterface::class to a StegClient instance threw a TypeError whenever a consumer typehinted the interface in their constructor.

Adds the missing 'implements' declaration. Pure type-system change, no behavior modification. Adds StegClientTest covering polymorphism and delegation.

The StegClient façade exposed all methods of InferenceClientInterface
(complete, stream, isHealthy, listModels) with identical signatures, but
did not declare 'implements InferenceClientInterface'. As a result,
ndrstmr/steg-bundle's DI alias of InferenceClientInterface::class to a
StegClient instance threw a TypeError whenever a consumer typehinted
the interface in their constructor.

Adds the missing 'implements' declaration. Pure type-system change, no
behavior modification. Adds StegClientTest covering polymorphism and
delegation.
@ndrstmr
ndrstmr merged commit b2d9707 into main May 6, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant