You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TASK] Bump inference-gateway/sdk to v1.38.0 (sfx, music, video client methods) #1260
Bump github.com/inference-gateway/sdk from v1.37.2 to v1.38.0. The release adds five sdk.Client methods the CLI has no tool for yet:
CreateSFX(ctx, provider, CreateSFXRequest) ([]byte, error) - POST /v1/audio/sfx
CreateMusic(ctx, provider, CreateMusicRequest) ([]byte, error) - POST /v1/audio/music
CreateVideo(ctx, provider, CreateVideoRequest) (*VideoJob, error) - POST /v1/videos
RetrieveVideo(ctx, provider, videoID) (*VideoJob, error) - GET /v1/videos/{id}
DownloadVideoContent(ctx, provider, videoID) ([]byte, error) - GET /v1/videos/{id}/content
Gateway v0.54.0 serves all of these with the ElevenLabs provider, so nothing else is blocking. This bump is a prerequisite for the three tool issues that use the methods: #1227 (TextToSFX), #1257 (TextToVideo) and #1261 (TextToMusic).
Because sdk.Client grew, the committed counterfeiter fake tests/mocks/sdk/fake_client.go no longer implements it until regenerated, so the bump and task mocks:generate land in one PR.
Acceptance Criteria
go.mod pins github.com/inference-gateway/sdk v1.38.0 and go mod tidy is clean.
tests/mocks/sdk/fake_client.go regenerated with task mocks:generate; the fake implements the five new methods.
task precommit:run and task test pass with no other code changes.
PR body states no docs ticket: internal-only refactor.
Done. SDK v1.38.0 bump is complete and ready for review in PR #1262: #1262
What changed
go.mod/go.sum: pinned github.com/inference-gateway/sdk v1.38.0; go mod tidy is clean.
tests/mocks/sdk/fake_client.go: regenerated with task mocks:generate; the fake now implements all five new methods (CreateSFX, CreateMusic, CreateVideo, RetrieveVideo, DownloadVideoContent).
internal/platform/adapters/anthropic_messages.go: the issue underestimated this one - the adapter holds a var _ sdk.Client = (*AnthropicMessages)(nil) compile-time assertion, so it failed to build once the interface grew. Added five thin a.inner.X(...) delegations following the existing CreateSpeech passthrough pattern (the adapter is a decorator; every non-generate method delegates untouched).
internal/agent/infrastructure/speech_service.go (+ test): v1.38.0 replaced the shared audio-format constants with per-endpoint enums, so sdk.Wav became sdk.CreateSpeechRequestResponseFormatWav.
task test passes (all packages, -tags purego; the robotgo X11 failure from a bare go build ./... is a pre-existing runner environment limitation, not related to this change).
Working tree clean, everything pushed to fix/issue-1260, PR marked ready for review, board item set to QA.
PR body states no docs ticket: internal-only refactor.
This unblocks #1227 (TextToSFX), #1257 (TextToVideo) and #1261 (TextToMusic) - the five client methods and their fakes are ready for those tool implementations.
Activity
edenreich commentedon Sep 22, 2026
@infer Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 22, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#1262
✅ Infer Result: Success
Done. SDK v1.38.0 bump is complete and ready for review in PR #1262: #1262
What changed
go.mod/go.sum: pinnedgithub.com/inference-gateway/sdk v1.38.0;go mod tidyis clean.tests/mocks/sdk/fake_client.go: regenerated withtask mocks:generate; the fake now implements all five new methods (CreateSFX,CreateMusic,CreateVideo,RetrieveVideo,DownloadVideoContent).internal/platform/adapters/anthropic_messages.go: the issue underestimated this one - the adapter holds avar _ sdk.Client = (*AnthropicMessages)(nil)compile-time assertion, so it failed to build once the interface grew. Added five thina.inner.X(...)delegations following the existingCreateSpeechpassthrough pattern (the adapter is a decorator; every non-generate method delegates untouched).internal/agent/infrastructure/speech_service.go(+ test): v1.38.0 replaced the shared audio-format constants with per-endpoint enums, sosdk.Wavbecamesdk.CreateSpeechRequestResponseFormatWav.Verification
task precommit:runpasses (golangci-lint: 0 issues, hook gate green).task testpasses (all packages,-tags purego; therobotgoX11 failure from a barego build ./...is a pre-existing runner environment limitation, not related to this change).fix/issue-1260, PR marked ready for review, board item set to QA.no docs ticket: internal-only refactor.This unblocks #1227 (
TextToSFX), #1257 (TextToVideo) and #1261 (TextToMusic) - the five client methods and their fakes are ready for those tool implementations.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 8m 38sTokens: 2,376,322 in · 10,623 out · 2,386,945 total (36 requests)
Cost: $0.1301 in · $0.0053 out · $0.1354 total
Tool calls: 51 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
chore(deps): bump inference-gateway/sdk to v1.38.0 (#1262)
fix(communitygen): keep subscription=true for priced ollama cloud mod…
fix(pricing): bill subscription-gated models at zero cost (#1263)
chore(release): 🔖 0.54.1 [skip ci]
inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.205.2 🎉
The release is available on:
Your semantic-release bot 📦🚀