qzl
|
c74e3f688c
|
fix: 修复 basedpyright 类型错误和语言设置同步问题
runner.py: 将 user_text 解构从 tuple 第二元素改为第一元素(str),
消除 str | list[dict[str,Any]] 与 Msg.content 的类型不兼容问题。
简化了始终为 true 的 user_blocks 条件分支。
repository.py: 将 result.rowcount 的 type: ignore 替换为基于
pyright: ignore[reportAttributeAccessIssue],消除 basedpyright 错误。
app.dart: 保存 profile 时同步 _locale 和 session store 中的语言标记。
|
2026-04-14 12:42:35 +08:00 |
|
qzl
|
dc66afb5a8
|
perf: reduce LLM input tokens by ~50% via prompt deduplication
- Remove JSON appendix from user_prompt (saves ~3000 chars, 85% reduction)
- Consolidate identity: remove English system_prompt identity, merge into agent_prompt Chinese identity
- Simplify system_prompt output rules: keep only Language Requirement, remove Answer Rules (duplicate with agent_prompt)
- Enhance follow-up context: include more divination_derived fields (changing_yaos, fushen, wu_xing, etc.)
- Fix bug: lowerName -> lower_name in user_prompt (Pydantic snake_case)
- Update tests to reflect new prompt structure
|
2026-04-14 11:18:59 +08:00 |
|
qzl
|
17a1303f00
|
fix: 修复 pre-commit hook 基于pyright 配置
|
2026-04-08 18:00:08 +08:00 |
|
qzl
|
e80a82bef4
|
docs: 更新协议文档,删除废弃计划文档
- 更新 http-error-codes, user-points-chat-data-protocol
- 更新 divination-run-protocol, profile-protocol
- 删除废弃的后端和前端设计计划文档
|
2026-04-08 17:23:02 +08:00 |
|
qzl
|
a65d041436
|
refactor(agentscope): 重构提示词模块和运行时任务处理
|
2026-04-07 18:43:24 +08:00 |
|
ZL-Q
|
8a18b3528b
|
feat: 实现用户画像、占卜历史与后端用户管理模块
|
2026-04-06 01:28:10 +08:00 |
|
qzl
|
d87b2e1e3a
|
feat: 接入起卦后端流程并完善积分扣减链路
|
2026-04-03 19:04:46 +08:00 |
|
qzl
|
f245eec5f6
|
feat: 实现起卦、设置与积分系统
|
2026-04-03 16:56:47 +08:00 |
|