[Core] Graduate MiniCPM-o 4.5 and PersonaPlex full-duplex serving out of experimental (#6196)
Signed-off-by: chickeyton <ngton2014@gmail.com> Signed-off-by: Gao Han <hgaoaf@connect.ust.hk> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Gao Han <hgaoaf@connect.ust.hk>
This commit is contained in:
179 files changed
+6462
-3832
No files matched your search
@@ -130,7 +130,7 @@ def build_realtime_url(
|
||||
if model:
|
||||
query["model"] = model
|
||||
if native_duplex is not None:
|
||||
query["minicpmo45_native_duplex"] = "1" if native_duplex else "0"
|
||||
query["native_duplex"] = "1" if native_duplex else "0"
|
||||
if autostart is not None:
|
||||
query["autostart"] = "1" if autostart else "0"
|
||||
if session_id:
|
||||
@@ -526,12 +526,12 @@ class RealtimeDuplexClient:
|
||||
session_extra_body.update(
|
||||
{
|
||||
"auto_response": auto_response,
|
||||
"minicpmo45_native_duplex": True,
|
||||
"native_duplex": True,
|
||||
"force_listen_count": 0,
|
||||
}
|
||||
)
|
||||
else:
|
||||
session_extra_body["minicpmo45_native_duplex"] = False
|
||||
session_extra_body["native_duplex"] = False
|
||||
session: dict[str, object] = {
|
||||
"model": model,
|
||||
"modalities": ["audio", "text"],
|
||||
|
||||
Reference in new issue
Block a user