Skip to content

feat: wire audioStreamingEnabled + speechToTextEnabled flags to enable voice/dictation UI [JAR-9545]#78

Open
JoshParkSJ wants to merge 4 commits into
developfrom
feat/voice-dictation-feature-flags
Open

feat: wire audioStreamingEnabled + speechToTextEnabled flags to enable voice/dictation UI [JAR-9545]#78
JoshParkSJ wants to merge 4 commits into
developfrom
feat/voice-dictation-feature-flags

Conversation

@JoshParkSJ

@JoshParkSJ JoshParkSJ commented May 15, 2026

Copy link
Copy Markdown

Summary

  • Fetches `audioStreamingEnabled` and `speechToTextEnabled` from `getFeatureFlags()` on init
  • Passes them into `AutopilotChatService` via `disabledFeatures.audio` and `disabledFeatures.audioStreaming`
  • Upgrades `@uipath/apollo-react` from `^3.51.1` → `^4.24.4` — required for the mic (dictation) and waveform (always-on voice) buttons added in apollo-ui#571

…to enable voice/dictation UI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JoshParkSJ JoshParkSJ force-pushed the feat/voice-dictation-feature-flags branch from f3fa54e to a774d52 Compare May 15, 2026 14:28
…on support [JAR-9545]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JoshParkSJ JoshParkSJ changed the title feat: wire audioStreamingEnabled + speechToTextEnabled flags to enable voice/dictation UI feat: wire audioStreamingEnabled + speechToTextEnabled flags to enable voice/dictation UI [JAR-9545] May 15, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

📊 Coverage Report

Package Line Coverage
datatable 87.50%
multi-file-upload 87.27%
conversational-agent-chat 89.04%
validation-station 100.00%

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
? await agentService.current.getById(agentId, folderId)
: undefined;

const featureFlags = await agentService.current.getFeatureFlags();

@JoshParkSJ JoshParkSJ May 15, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

fyi this comes from autopilotforeveryone_/api/utility/feature-flags not feature flag service - I couldn't find other invocation of getFeatureFlag or a singleton file for feature flags so putting here for now

@scottcmg scottcmg May 18, 2026

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.

I think this works for now. I've been going back and forth on whether feature flags should be handled by the host or the widget and haven't really settled one way or another. One question - do you think it should be in a try/catch and just go with default disabled status on failure?

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.

3 participants