Skip to content

chore(env): sync .env.example non-secret config with current settings - #374

Merged
LUPENGHAN merged 3 commits into
1024XEngineer:mainfrom
yyy-router:chore/env-example-sync
Aug 25, 2026
Merged

LUPENGHAN merged 3 commits into
1024XEngineer:mainfrom
yyy-router:chore/env-example-sync

Conversation

@yyy-router

Copy link
Copy Markdown
Contributor

概述

把 .env.example 里过期的非密钥配置对齐到当前实际值。逐 key 对比 .env 后,键无缺失,仅 3 处非密钥值过期。

改动

  • TIMEFLOW_OPENAI_MODEL:qwen-flash → qwen3.6-flash
  • TIMEFLOW_VOICE_AGENT_MODE:1 → 2(注释沿用 upstream 的措辞)
  • TIMEFLOW_ALIYUN_ASR_VAD_THRESHOLD:0.0 → 0.9(补注释)

未改(刻意保留模板默认)

  • 密钥全部留空(*_API_KEY / JWT_SECRET / TENCENT_MAP_KEY)
  • workspace ID 与带 ID 的端点保持 {WorkspaceId} 占位或留空
  • DATABASE_URL、CORS 保持模板默认(不写入本机 pc@、5500 端口等本地值)

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查了 .env.example 中三个默认值与运行时配置、应用组合和中英文上手文档之间的契约。模型名与 ASR VAD 值没有发现可证明的回归;语音模式默认值会破坏文档中的首次启动流程。静态验证依据 create_app、组合层配置校验及现有的 mode-2 缺失凭据回归测试;当前运行器未安装 uv,因此未执行测试套件。

Comment thread backend/.env.example Outdated

@LUPENGHAN LUPENGHAN left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@LUPENGHAN
LUPENGHAN merged commit f1a16a2 into 1024XEngineer:main Aug 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants