forked from niuniu/llm-intelligence
- 将 fetch_openrouter.go 的 summarize() 实现为 PostgreSQL upsert - 新增 -db 参数和 DATABASE_URL 环境变量支持 - 打通 models + model_prices 表的最小可运行链路 - 创建 llm_intelligence 数据库并运行 migration - 前端 Explorer 验证 T-3.2~T-3.5 全部通过 - 日报生成器正常产出 Markdown 和 latest_models.json
6 lines
153 B
Bash
Executable File
6 lines
153 B
Bash
Executable File
#!/bin/bash
|
|
# scripts/test.sh - 执行 fetch_openrouter 单元测试
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
go test -v fetch_openrouter.go fetch_openrouter_test.go
|