korexil
4445aa7510
fix: FunASR 识别结果以 JSON 原样进入对话历史 ( #3411 )
...
FunASR 返回 {"content","language","emotion"} 时,startToChat 只在含 speaker
字段时才解包,否则整段 JSON 字符串会作为用户消息交给 LLM 并写入对话历史。
现在没有 speaker 时只取 content。
2026-10-13 16:44:13 +08:00
wengzh
dc86a780a2
Merge pull request #3418 from xinnan-tech/py-test
...
Py test
2026-10-13 15:47:30 +08:00
Sakura-RanChen
2057b99aeb
迁移测试用例,优化相关注释
2026-10-13 14:31:21 +08:00
Sakura-RanChen
b8f23ffa66
调整相关代码
2026-10-13 10:40:47 +08:00
hrz
741ec299c0
fix(tts): edge-tts 失声改走 msedgeservices ( #3420 )
...
* fix(tts): edge-tts 失声改走 msedgeservices
微软 2026-10 起对 legacy 消费者接口返回 403,
edge-tts 7.2.8 仍走 speech.platform.bing.com 走不通。
上游 PR rany2/edge-tts#491 切到 api.msedgeservices.com 修好,
但 7.2.8 仍是 PyPI 最新版本。
仓库在 edge.py 顶部临时把 WSS_URL 顶住,等 7.2.9 出了删掉。
* fix(tts): patch 还要写 communicate.WSS_URL
edge-tts 7.2.8 仍指 legacy bing 接口,10 月起微软 403。
上游 PR #491 已切到 msedgeservices.com,7.2.9 才进 PyPI,先顶住。
上次只改 constants.WSS_URL 不够,communicate 用 from import 是模块局部名,
LEGB 找不到新值。这次同时改 communicate.WSS_URL 才生效。
2026-10-13 09:58:30 +08:00
Sakura-RanChen
e5f326285e
update: 优化client 生命周期对齐业务请求——重试内连接复用、锁外构造、safe_close 可打断重试
2026-10-12 15:42:51 +08:00
Yanhan Ruan
ef1d24e40d
fix(server): 修复临时事件循环结束后 HTTP 客户端未释放的问题 ( #3416 )
2026-10-12 10:00:28 +08:00
Sakura-RanChen
199c4ce365
chore(deps): batch bump 允许升级的依赖
2026-10-10 14:53:30 +08:00
hrz
eb51f420a2
Bump to 0.9.7
2026-09-29 09:13:14 +08:00
hrz
1211f8202b
Merge pull request #3376 from googio/feat/serply-search
...
feat(web_search): 新增Serply搜索源
2026-09-28 09:36:42 +08:00
Sakura-RanChen
edad16aedf
fix(deps): 移除 chardet 直接依赖
2026-09-20 15:55:21 +08:00
serply
65a3fae9fc
feat(web_search): 新增Serply搜索源
...
联网搜索插件在秘塔和Tavily之外增加Serply,返回谷歌搜索结果。
通过 provider: "serply" 选用,未配置时行为不变。
2026-09-17 16:45:28 -04:00
Sakura-RanChen
6c3f89cae1
chore(deps): 批量升级 4 个允许的依赖 ( #3374 )
...
* chore(deps): batch bump 允许升级的依赖
* test: 添加 5 条核心链路测试 + 默认 mock 模式
参照 PR #3370 的整体结构,新增 STT/LLM/TTS/RAG/Memory 五个 test_*.py
覆盖关键链路。conftest.py 默认 mock 模式:
- PYTEST_CONFIG_FILE 指向单模块配置文件(不入库)
- RUN_LIVE_API_TESTS=1 走真请求(必须配齐密钥)
- 真实存在的第三方包(openai/httpx)保留,仅 patch httpx 网络层
- 装了一半会炸的本地模型(torch/funasr/modelscope)强制 shim
- mock load_config / init_service,避免触发远程 manager-api
mock 模式目标:dep-upgrade orchestrator / CI 不需要任何密钥即可跑通。
---------
Co-authored-by: Sakura-RanChen <Sakura-RanChen@local>
2026-09-17 15:57:43 +08:00
wengzh
6afc54a17d
Merge pull request #3366 from xinnan-tech/feat-tts-alibl
...
Feat tts alibl
2026-09-11 17:35:08 +08:00
Sakura-RanChen
1846d3e935
调整相关逻辑
2026-09-09 16:17:13 +08:00
Sakura-RanChen
b1a7607dd5
Merge pull request #3345 from apexlsai/feature/alibl-workspace-streaming
...
feat(tts): 完善阿里百炼 Workspace 流式语音合成
2026-09-09 14:22:59 +08:00
Sakura-RanChen
d6d2da3d76
fix: 记忆模式为nomem时错误生成标题
2026-09-09 10:33:37 +08:00
CGD
5aa46538d5
Merge pull request #3358 from xinnan-tech/fix-audio-delay
...
fix: 修复固定延迟不生效,调整相关逻辑
2026-09-08 10:53:25 +08:00
Sakura-RanChen
79a95af399
fix: 修复固定延迟不生效,调整相关逻辑
2026-09-07 11:38:06 +08:00
3030332422
32cba36237
fix: 修复 ManageApiClient 关闭期间的连接池创建竞态
2026-09-07 11:14:50 +08:00
CGD
82e3c1874f
Merge pull request #3353 from muxinshijie/feature/manage-api-client-toctou
...
fix: 根治ManageApiClient单例TOCTOU竞态,锁保护+统一防护 #3339
2026-09-07 10:31:58 +08:00
hrz
8a3c2c51a0
Merge pull request #3351 from taiwan-dog/pm/disable-default-websocket-keepalive
...
fix: disable library WebSocket keepalive for device server
2026-09-05 00:37:23 +08:00
hrz
046fdc8aa4
Merge pull request #3350 from taiwan-dog/pm/hello-before-mcp-initialize
...
fix: send server hello before MCP initialize
2026-09-05 00:26:15 +08:00
muxinshijie
61e4879826
fix: 根治ManageApiClient单例TOCTOU竞态,锁保护+统一防护 #3339
2026-09-05 00:14:09 +08:00
yillkid
eda3c23d51
fix: disable library WebSocket keepalive for device server
...
websockets.serve() defaults to ping_interval=20 and ping_timeout=20.
ESP32 clients that do not answer those pings are dropped with
1011 keepalive ping timeout roughly 40 seconds into a healthy session.
The application-level ping is configured separately via
enable_websocket_ping.
Refs #3348
2026-09-04 19:00:24 +08:00
yillkid
a03a0a73db
fix: send server hello before MCP initialize
...
The MCP initialize task was scheduled before the server hello was sent,
so the MCP frame could reach the device first. ESP32 firmware waits for
the server hello before it treats the channel as ready, so the device
never answered the initialize request.
Refs #3347
2026-09-04 19:00:24 +08:00
欣南科技
27e780e4c1
Merge pull request #3342 from xinnan-tech/test-infrastructure
...
test: 新增三语测试基建(Python/Java/Vue)+ CI
2026-09-04 13:54:31 +08:00
hrz
4b1ccce575
Merge pull request #3346 from taiwan-dog/pm/fix-funasr-result-type
...
fix: normalize FunASR result type
2026-09-04 13:40:00 +08:00
yillkid
323c2248b4
[pm] fix: normalize FunASR result type
2026-09-04 13:10:58 +08:00
Jacob
a31ba7ef6d
fix(tts): synchronize Bailian streaming subtitles
2026-09-04 12:05:34 +08:00
Jacob
935184b1d0
feat(tts): support Bailian workspace endpoints
2026-09-04 12:05:09 +08:00
hrz
caab6a145d
加插件包导入冒烟测试,1 例
2026-09-02 22:24:35 +08:00
hrz
7ac454a1b9
加意图/模型/记忆工厂测试,6 例
2026-09-02 22:24:35 +08:00
hrz
ba20bebaeb
加对话消息测试 11 例,含异步
2026-09-02 22:24:35 +08:00
hrz
922adbb290
加配置合并函数测试,7 例
2026-09-02 22:24:35 +08:00
hrz
6eca417534
加 current_time 测试 7 例,冻结时间
2026-09-02 22:24:35 +08:00
hrz
93d54f175a
加 output_counter 测试,7 例
2026-09-02 22:24:35 +08:00
hrz
34ab39ba69
加 textUtils 行为测试,11 例
2026-09-02 22:24:35 +08:00
hrz
a0dd138e93
配 pytest 与 conftest,修模块路径
2026-09-02 22:24:35 +08:00
hrz
b90dd01826
加 Python 冒烟测试,验证 pytest 流水线
2026-09-02 22:24:35 +08:00
muxinshijie
74cc31d1cc
服务关闭时主线程调用safe_close()将instance置None,与守护线程存在竞态条件,因此必须先判空
2026-08-27 00:13:21 +08:00
hrz
ced7103639
Merge branch 'main' into fix-model-name
2026-08-18 16:31:21 +08:00
3030332422
59b51e021b
update:暂时撤回对gemini模型的更替
2026-08-14 20:08:51 +08:00
Tyke Chen
04b3ad5aae
fix(tts): validate timeout range
2026-08-13 15:59:41 +08:00
Tyke Chen
2c43a13d6e
fix(tts): unify configurable request timeouts
2026-08-13 15:02:17 +08:00
henson957
db7db3de67
fix(tts): reuse base tts_timeout config instead of hardcoded 15
2026-08-13 13:28:17 +08:00
henson957
d03d0d0982
fix(tts): add HTTP timeout and error handling to SiliconFlow provider
...
- requests.request() had no timeout: when the SiliconFlow API slows down,
the request hangs forever and the device produces no audio intermittently
- non-200 responses (rate limit, error page) were written to disk as audio;
now the status code is checked and an exception is raised with the body
2026-08-12 17:37:04 +08:00
3030332422
2a465f0fb5
fix: 修复 performance_tester 异步配置加载错误
2026-08-07 10:23:25 +08:00
3030332422
ea6b0c3746
update:豆包模型更换为doubao-seed-2-0-lite-260215,Gemini模型更换为gemini-3.6-flash
2026-08-07 09:09:53 +08:00
3030332422
88eed86dc2
update:关闭deepseek的思考模式
2026-08-06 13:07:04 +08:00