fix/hard-code #62

Merged
cfy777 merged 10 commits from fix/hard-code into develop 2026-06-14 12:31:55 +08:00
Owner
No description provided.
cfy777 added 10 commits 2026-06-14 12:31:51 +08:00
- 版本号支持 -ldflags 构建时注入
- Session TTL/maxHistory 从配置读取
- 优雅关闭超时从配置读取
- AI 服务构造函数传入 HTTP Client 超时参数
- 心跳间隔和超时从 config.Server 读取
- ServerVersion 从 config.App.Version 读取
- CheckOrigin 通过 config.Server.AllowedOrigins 控制
- GetHistory limit 从 config.Session.MaxHistory 读取
- Deepgram/MiMo STT 超时从 config 传入
- 去除 model/endpoint 的 fallback 默认值,由 config 层保证
- 去除 model/endpoint 的 fallback 默认值
- HTTP Client 超时从 config 传入
- 去除 model/voice/endpoint 的 fallback 默认值
- HTTP Client 超时从 config 传入
- New() 改为接收 *config.Config 参数
- OutputFmt/SampleRate 从 config.AI.TTS 读取
cfy777 merged commit 563ca12790 into develop 2026-06-14 12:31:55 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: XEngineers/CamTalk#62