[文档、验收与归档]:完成真实运行说明和OpenSpec归档,包含README、最终门禁和主规范更新
This commit is contained in:
@@ -13,7 +13,7 @@ class AppConfig:
|
||||
channels: int = 1
|
||||
llm_base_url: str = "https://token-plan-cn.xiaomimimo.com/v1"
|
||||
llm_api_key: str | None = None
|
||||
llm_model: str = "gpt-5.4-mini"
|
||||
llm_model: str = "mimo-v2.5"
|
||||
llm_api_style: str = "chat_completions"
|
||||
llm_stream: bool = True
|
||||
audio_input_device: str | None = None
|
||||
@@ -23,7 +23,7 @@ class AppConfig:
|
||||
speech_provider: str = "cloud"
|
||||
asr_model: str = "mimo-v2.5-asr"
|
||||
tts_model: str = "mimo-v2.5-tts"
|
||||
tts_voice: str = "alloy"
|
||||
tts_voice: str = "mimo_default"
|
||||
speech_models_dir: Path = Path("models")
|
||||
context_max_messages: int = 12
|
||||
context_max_chars: int = 12000
|
||||
@@ -42,7 +42,7 @@ class AppConfig:
|
||||
channels=int(get("CHANNELS", "1") or "1"),
|
||||
llm_base_url=(get("LLM_BASE_URL", "https://token-plan-cn.xiaomimimo.com/v1") or "").rstrip("/"),
|
||||
llm_api_key=get("LLM_API_KEY"),
|
||||
llm_model=get("LLM_MODEL", "gpt-5.4-mini") or "gpt-5.4-mini",
|
||||
llm_model=get("LLM_MODEL", "mimo-v2.5") or "mimo-v2.5",
|
||||
llm_api_style=get("LLM_API_STYLE", "chat_completions") or "chat_completions",
|
||||
llm_stream=(get("LLM_STREAM", "1") or "1").lower() not in {"0", "false", "no"},
|
||||
audio_input_device=get("AUDIO_INPUT_DEVICE"),
|
||||
@@ -52,7 +52,7 @@ class AppConfig:
|
||||
speech_provider=(get("SPEECH_PROVIDER", "cloud") or "cloud").lower(),
|
||||
asr_model=get("ASR_MODEL", "mimo-v2.5-asr") or "mimo-v2.5-asr",
|
||||
tts_model=get("TTS_MODEL", "mimo-v2.5-tts") or "mimo-v2.5-tts",
|
||||
tts_voice=get("TTS_VOICE", "alloy") or "alloy",
|
||||
tts_voice=get("TTS_VOICE", "mimo_default") or "mimo_default",
|
||||
speech_models_dir=Path(get("SPEECH_MODELS_DIR", "models") or "models"),
|
||||
context_max_messages=int(get("CONTEXT_MAX_MESSAGES", "12") or "12"),
|
||||
context_max_chars=int(get("CONTEXT_MAX_CHARS", "12000") or "12000"),
|
||||
|
||||
Reference in New Issue
Block a user