Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fixbug tts(stream) not work on ios safari(17.1+) (#8645)
Likename Haojie52da5b16e700
diff --git a/web/app/components/base/audio-btn/audio.ts b/web/app/components/base/audio-btn/audio.tsindex a61fd085d44..baf675d0be9 100644--- a/web/app/components/base/audio-btn/audio.ts+++ b/web/app/components/base/audio-btn/audio.ts@@ -12,7 +12,7 @@ export default class AudioPlayer {mediaSource: MediaSource | nullaudio: HTMLAudioElementaudioContext: AudioContext- sourceBuffer?: SourceBuffer+ sourceBuffer?: anycacheBuffers: ArrayBuffer[] = []pauseTimer: number | null = nullmsgId: string | undefined@@ -33,7 +33,7 @@ export default class AudioPlayer {this.callback = callback// Compatible with iphone ios17 ManagedMediaSource- const MediaSource = window.MediaSource || window.ManagedMediaSource+ const MediaSource = window.ManagedMediaSource || window.MediaSourceif (!MediaSource) {Toast.notify({message: 'Your browser does not support audio streaming, if you are using an iPhone, please update to iOS 17.1 or later.',@@ -43,6 +43,10 @@ export default class AudioPlayer {this.mediaSource = MediaSource ? new MediaSource() : nullthis.audio = new Audio()this.setCallback(callback)+ if (!window.MediaSource) { // if use ManagedMediaSource+ this.audio.disableRemotePlayback = true+ this.audio.controls = true+ }this.audio.src = this.mediaSource ? URL.createObjectURL(this.mediaSource) : ''this.audio.autoplay = true