Skip to content

Commit 2ef232c

Browse files
committed
Remove legacy main.go and main-openai.go files
Deleted main.go and main-openai.go, which have been moved to the legacy/ directory to resolve a startTime variable redeclaration conflict. Updated .gitignore to exclude legacy/ files and documented the change in CHANGELOG.md.
1 parent db4978d commit 2ef232c

4 files changed

Lines changed: 4 additions & 1276 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ temp/
4848
dist/
4949
build/
5050

51+
# Legacy/backup files
52+
legacy/
53+
5154
# PID files
5255
*.pid

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
- **优化 Token 分配** - 为启用推理的模型自动增加 max_output_tokens,确保有足够空间输出答案
4545
- **修复 Claude Extended Thinking Token 限制** - 自动调整 max_tokens 大于 thinking.budget_tokens
4646
- **修复 Windows 终端中文乱码** - 优化编码设置,移除 emoji 使用文本标记替代(`[OK]`, `[FAIL]`, `[WARN]`
47+
- **修复编译冲突** - 将旧的 main.go 和 main-openai.go 移至 legacy/ 目录,解决 startTime 重复声明问题
4748

4849
### 📚 文档
4950

0 commit comments

Comments
 (0)