Skip to content

Conversation

@jee14
Copy link
Contributor

@jee14 jee14 commented Jan 5, 2026

Relates to: #1608

Summary

  • Fix deprecated DEFAULT_IMAGE_MODEL (stable-diffusion-v1-6stable-diffusion-xl-1024-v1-0)
  • Add ObservationRegistry support to StabilityAiImageModel for metrics/tracing
  • Add STABILITY_AI to AiProvider enum
  • Add ImageModel enum to StabilityAiApi for type-safe model selection
  • Add integration test StabilityAiImageModelObservationIT

Changes

Following the same pattern as OpenAiImageModel:

  • StabilityAiImageModel: Wrap API call with observation instrumentation
  • StabilityAiImageAutoConfiguration: Inject ObservationRegistry and ImageModelObservationConvention
  • AiProvider: Add STABILITY_AI("stability_ai") enum value

Test

  • Added StabilityAiImageModelObservationIT (requires STABILITYAI_API_KEY env var)

jee14 added 2 commits January 6, 2026 00:40
Signed-off-by: Seunghyeon Ji <3aroa2@gmail.com>
Signed-off-by: Seunghyeon Ji <3aroa2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants