Add chatId in ws connection
This commit is contained in:
@@ -126,6 +126,7 @@ class AgentConfig:
|
||||
system_prompt: str = "You are a helpful, friendly voice assistant."
|
||||
greeting: str | None = None
|
||||
greeting_mode: str = "generated"
|
||||
fastgpt_reconnect_greeting: str = "欢迎回来继续对话"
|
||||
response_state: ResponseStateConfig = field(default_factory=ResponseStateConfig)
|
||||
|
||||
|
||||
@@ -134,7 +135,7 @@ class LLMConfig:
|
||||
"""LLM backend selection via ``provider``.
|
||||
|
||||
Set ``provider`` to ``"openai"`` (alias ``"llm"``) for OpenAI-compatible chat
|
||||
completions, or ``"fastgpt"`` for FastGPT server-side memory via ``chat_id``.
|
||||
completions, or ``"fastgpt"`` for FastGPT server-side memory via runtime ``chatId``.
|
||||
"""
|
||||
|
||||
provider: str = "openai"
|
||||
|
||||
Reference in New Issue
Block a user