selfrelease
|
c011f2eae8
|
refactor: 法治日报改为法治网 + 删除无用conversations/messages表
- 删除 conversations 和 messages 表(未被代码使用)
- 迁移文件:000017_drop_conversations_messages.up/down.sql
- 种子文件改名:seed_fazhiribao_* → seed_fazhiwang_*
- 组织数据:法治日报 → 法治网(slug: fazhiwang)
- 用户数据:法治日报管理员等 → 法治网管理员等
- 演示数据重构:使用 app_usage_logs 而非 conversations/messages
- 本地数据已更新:1个组织、15个应用、3个用户、5条示例对话
|
2026-06-25 21:57:38 +08:00 |
|
selfrelease
|
c1cd6bc18d
|
feat: 添加 conversations 和 messages 表用于存储应用示例对话数据
- 创建 conversations 表(对话记录)
- 创建 messages 表(对话消息)
- 添加必要的索引和外键约束
- 为 seed_fazhiribao_demo_data.sql 准备表结构
|
2026-06-25 21:38:48 +08:00 |
|
selfrelease
|
da64551c92
|
feat: 法制→法治改名 + 15个应用示例数据
- 组织名称:法制日报→法治日报,法制网→法治网
- 更新所有种子文件中的法制→法治
- 新增 seed_fazhiribao_demo_data.sql
- 为15个应用创建真实示例对话数据
* 对话型应用(5个):新闻摘要、案例解读、法规查询、舆情监测、写作润色
* 补全型应用(4个):案件报道、宣传文案、采访提纲、评论撰写
* 工作流应用(4个):选题策划、调查报告、专题框架、法律专题
* 智能体应用(2个):选题助手、内容创作助手
- 每个应用包含1-3条完整示例对话,展示真实使用场景
|
2026-06-25 21:29:06 +08:00 |
|
selfrelease
|
e65da6f294
|
feat: 接入法制日报机构并新增 15 应用 Playwright 回归测试
- 新增法制日报机构种子数据(机构/用户/分类/15应用/知识库),登录页默认账号预填
- 引入 Playwright e2e:登录复用 storageState,覆盖对话/补全/工作流/智能体四类交互
- 配置测试脚本与产物 gitignore
Co-authored-by: Cursor <cursor@cursor.com>
|
2026-06-25 19:47:15 +08:00 |
|
selfrelease
|
fe2c6fb2e4
|
fix: 修正 OpenAI/Anthropic Provider 初始化参数顺序
修复 manager.go 中两处调用 NewOpenAIProvider 和 NewAnthropicProvider
时参数顺序错误的问题。原代码将 baseURL 和 apiKey 参数传反,导致
API key 被当作 URL 使用,引发 "unsupported protocol scheme" 错误。
Changed:
- LoadProvidersFromDB: 调整参数顺序为 (apiKey, baseURL, "")
- GetActiveProvider: 调整参数顺序为 (apiKey, baseURL, "")
|
2026-06-22 18:02:23 +08:00 |
|
freedakgmail
|
0f490f72a9
|
Initial commit: GovAI 政务AI平台
|
2026-06-15 23:48:37 +08:00 |
|