Skip to content

feat: add pipeline_image and pipeline_version support#164

Open
archae0pteryx wants to merge 1 commit intomainfrom
feat/pipeline-image-support
Open

feat: add pipeline_image and pipeline_version support#164
archae0pteryx wants to merge 1 commit intomainfrom
feat/pipeline-image-support

Conversation

@archae0pteryx
Copy link
Contributor

Summary

  • Adds pipeline_image and pipeline_version parameters to EyePopSdk.workerEndpoint()
  • Also reads from EYEPOP_PIPELINE_IMAGE and EYEPOP_PIPELINE_VERSION env vars
  • Sends these as JSON body in POST /v1/sessions when set (no body sent when unset, preserving current behavior)
  • Enables testing custom worker Docker images in staging/production

Test plan

  • Two new unit tests for with/without pipeline_image
  • Verified end-to-end in staging: created session with custom image, ran inference successfully
  • Confirmed no regression when env vars are not set (existing behavior unchanged)

…er images

Allow SDK users to specify a custom Docker image for worker sessions via
EYEPOP_PIPELINE_IMAGE/EYEPOP_PIPELINE_VERSION env vars or workerEndpoint() params.
Copy link
Contributor

@tschulz tschulz left a comment

Choose a reason for hiding this comment

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

lgtm

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.

2 participants