Files
openteam/.gitignore
T
Sakurasan 0939f98fb5 修复流式请求记账为 0 消耗:支持 SSE 多行块 usage 提取 + 无上游 usage 时 tiktoken 估算
- sseContentText/scanUsage 兼容 event:+data: 多行块(转换器 eventLine 产出)
- usageFromMap 新增 delta.usage 支持(Anthropic message_delta 标准格式)
- finishUsage: 流式成功但上游不返回 usage(如火山方舟)时按内容 tiktoken 估算,in/out 独立估算
- .gitignore 忽略 server/web 本地静态托管软链
2026-08-19 20:59:04 +08:00

41 lines
511 B
Plaintext

# 依赖与产物
node_modules/
dist/
*.local
.DS_Store
# Go
server/bin/
server/data/
server/web/ # 本地静态托管软链(指向 ../web/dist),不入库
scripts/mockupstream/bin/
# TypeScript 增量构建产物
*.tsbuildinfo
web/vite.config.js
web/vite.config.d.ts
web/node_modules/.tmp/
# 环境与密钥
.env
.env.*
!.env.example
# 数据库
*.db
*.db-shm
*.db-wal
# 日志与临时
*.log
/tmp/
nohup.out
# 编辑器
.idea/
.vscode/
*.swp
# 测试结果记录(参考用, 不入库)
docs/*.txt