Skip to content

fix: add enabledByDefault to groq and deepgram media plugin manifests#59982

Merged
obviyus merged 2 commits into
openclaw:mainfrom
yxjsxy:fix/groq-deepgram-plugin-manifest
Apr 4, 2026
Merged

fix: add enabledByDefault to groq and deepgram media plugin manifests#59982
obviyus merged 2 commits into
openclaw:mainfrom
yxjsxy:fix/groq-deepgram-plugin-manifest

Conversation

@yxjsxy

@yxjsxy yxjsxy commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Problem

The groq and deepgram plugin manifests were missing "enabledByDefault": true. Without this flag, both plugins are treated as bundled-but-disabled-by-default during gateway startup.

resolveRuntimePluginRegistry() loads without them. When buildProviderRegistry later needs to resolve audio providers, resolvePluginCapabilityProviders short-circuits to the active registry (skipping the compat path), so groq and deepgram are absent from the registry.

This caused the error in #59875:

audio understanding failed: Error: Media provider not available: groq

Even with GROQ_API_KEY / DEEPGRAM_API_KEY correctly configured, the plugin never loaded.

Root cause

resolvePluginActivationState in src/plugins/config-state.ts reaches this branch for groq/deepgram:

if (params.origin === 'bundled') {
  return { enabled: false, reason: 'bundled (disabled by default)' };
}

Because params.enabledByDefault is undefined (missing from manifest).

Fix

Add "enabledByDefault": true to both extensions/groq/openclaw.plugin.json and extensions/deepgram/openclaw.plugin.json, matching the pattern used by mistral and other audio/media providers.

Testing

  • All 1213 plugin tests pass (pnpm exec vitest run src/plugins/)
  • All 117 media-understanding tests pass (pnpm exec vitest run src/media-understanding/)
  • Pre-commit hook (tsgo + oxlint) passes

Fixes #59875

@greptile-apps

greptile-apps Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds "enabledByDefault": true to the openclaw.plugin.json manifests for both the groq and deepgram bundled plugins, fixing a regression where both plugins were silently skipped during gateway startup (treated as disabled-by-default), causing media/audio provider resolution to fail even when the relevant API keys were configured.

Confidence Score: 5/5

This PR is safe to merge — it is a two-line targeted manifest fix with no logic changes.

The change is minimal (one field added to two JSON manifests), matches the established pattern used by all other bundled provider plugins, and directly addresses the documented failure path in config-state.ts. No logic, interface, or schema changes were introduced.

No files require special attention.

Reviews (1): Last reviewed commit: "fix: add enabledByDefault to groq and de..." | Re-trigger Greptile

@yxjsxy

yxjsxy commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

Hey @vincentkoc — this is a small 2-line fix for the Groq/Deepgram STT regression (#59875). Both plugin manifests were missing "enabledByDefault": true, causing the bundled plugins to be silently skipped during gateway startup.

All tests pass (1213 plugin + 117 media-understanding). Would appreciate a review when you have a moment!

@yxjsxy

yxjsxy commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

Hi @vincentkoc — gentle ping on this one when you have a moment! 🙏

All CI checks are green and Greptile reviewed it at 5/5 confidence (safe to merge). It's a two-line targeted fix for the Groq/Deepgram bundled plugin regression (#59875) — no logic changes, just adding the missing enabledByDefault: true field to match the pattern used by all other bundled providers.

Would really appreciate a quick review!

@obviyus obviyus self-assigned this Apr 4, 2026
yxjsxy and others added 2 commits April 4, 2026 08:08
The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875
@obviyus
obviyus force-pushed the fix/groq-deepgram-plugin-manifest branch from d2b2bd8 to e96121f Compare April 4, 2026 02:40

@obviyus obviyus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed latest changes; landing now.

@obviyus
obviyus merged commit 6d33c67 into openclaw:main Apr 4, 2026
23 of 27 checks passed
@obviyus

obviyus commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Landed on main.

Thanks @yxjsxy.

KimGLee pushed a commit to KimGLee/openclaw that referenced this pull request Apr 4, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
jjjojoj pushed a commit to jjjojoj/openclaw-jjjojoj that referenced this pull request Apr 6, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
Nachx639 pushed a commit to Nachx639/clawdbot that referenced this pull request Jun 17, 2026
…nclaw#59982) (thanks @yxjsxy)

* fix: add enabledByDefault to groq and deepgram media plugin manifests

The groq and deepgram plugin manifests were missing the
enabledByDefault: true flag. Without this flag, both plugins are
treated as bundled-but-disabled-by-default, so resolveRuntimePluginRegistry
loads without them. When buildProviderRegistry later needs to resolve
audio providers, the active registry is used first (short-circuits
the compat path in resolvePluginCapabilityProviders), leaving groq
and deepgram absent from the registry.

This caused 'Media provider not available: groq' errors when users
configured tools.media.audio.models with groq or deepgram, even
with GROQ_API_KEY / DEEPGRAM_API_KEY set correctly.

The fix mirrors the pattern used by other audio/media-only providers
such as mistral, which already has enabledByDefault: true.

Fixes openclaw#59875

* fix: enable groq and deepgram bundled media providers by default (openclaw#59982) (thanks @yxjsxy)

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Groq Whisper STT completely broken since 2026.3.31 — "deprecate legacy provider compat subpaths" broke audio provider resolution

2 participants