Commit Graph

1945 Commits

Author SHA1 Message Date
k88936 88368cd900 prepare info display to user for review 2026-07-10 20:46:27 +08:00
k88936 ffde522b1e 合并画布 Agent 工具计价实现 2026-07-10 20:27:52 +08:00
k88936 c623ffed9c price compute 2026-07-10 20:25:21 +08:00
k88936 7077557d8c update video component to use poster attribute 2026-07-10 19:48:57 +08:00
k88936 c55a90d23e centralize data key query instead of using obj key. 2026-07-10 19:06:39 +08:00
k88936 532b6434bd fix context logic 2026-07-10 18:04:05 +08:00
k88936 5411965762 fix mut borrow 2026-07-10 17:50:10 +08:00
k88936 a3f7332dfe extend media display 2026-07-10 17:35:08 +08:00
k88936 0911c825d4 inject prompt 2026-07-10 17:32:47 +08:00
k88936 e652563c23 impl image gen tools 2026-07-10 17:32:43 +08:00
k88936 5444b5cb39 fix title display mistake 2026-07-10 17:16:04 +08:00
k88936 79b21bc073 adjust toolLabel 2026-07-10 16:25:09 +08:00
k88936 10d7f09cbf impl image gen tool 2026-07-10 16:15:38 +08:00
k88936 e1ae49f114 fix re enter problem 2026-07-10 15:56:41 +08:00
k88936 c077767e0d include attachments 2026-07-10 15:38:52 +08:00
k88936 2b7f4ffe19 fix terminate cond 2026-07-10 15:07:32 +08:00
k88936 337d358ede move context to tool own. fix memory not update. 2026-07-10 14:21:58 +08:00
k88936 e5eee1dd4e impl confirm cancel flow 2026-07-10 11:51:13 +08:00
k88936 74361af6bd replace onEditorAgentGenerationResult with onEditorAgentCanvasRefreshRequested and update related logic 2026-07-10 11:42:41 +08:00
k88936 365ada84e3 remove SSE-based implementation for editor agent 2026-07-10 11:42:36 +08:00
k88936 084214e2ed provide thumbnail for audio and adjust style 2026-07-10 11:42:12 +08:00
k88936 48f165c16c Refactor: move editor agent hook 2026-07-10 11:40:20 +08:00
k88936 eeaa0f4766 Refactor: reuse existing ResolvedAssetVideo 2026-07-10 11:40:04 +08:00
k88936 5fb7ec03d1 Refactor: split EditorAgent conversation components 2026-07-10 11:39:47 +08:00
k88936 19e6da8ff3 clean code 2026-07-10 11:36:04 +08:00
k88936 d7d888a20d update prompt logic in editor_agent to clarify tool call behavior and user interaction 2026-07-10 10:57:46 +08:00
k88936 2709563c60 clean data structure 2026-07-10 10:45:20 +08:00
k88936 37b4329fee remove old editor_agent.rs 2026-07-10 10:26:08 +08:00
k88936 c2b25e9ca0 confirm / cancel api 2026-07-10 10:25:42 +08:00
k88936 a2babca6a6 migrate the api usage 2026-07-10 09:10:33 +08:00
k88936 db2e8cca8d reimpl the agent 2026-07-10 08:46:58 +08:00
k88936 97d340ad4c change EditorAgentMessage.id type from String to usize 2026-07-10 08:40:51 +08:00
k88936 5499af9ac1 remove llm_chat_agent example and unused dependencies from module-editor-agent 2026-07-10 06:02:18 +08:00
k88936 73d2b07d52 refactor: simplify agent memory handling and improve message flow logic 2026-07-10 05:43:06 +08:00
k88936 36ac392fdc fix return value 2026-07-09 22:16:16 +08:00
k88936 476a555f22 refactor: rename flow enums and improve tool interaction logic 2026-07-09 21:55:23 +08:00
k88936 71a00056bf improve tool call logging and error messaging 2026-07-09 20:02:59 +08:00
k88936 4149d35e2d add "System" role to EditorAgentMessageRole enum 2026-07-09 19:52:14 +08:00
k88936 d3c4b3fe0c refactor: simplify memory trait requirements and remove unused tool hooks 2026-07-09 19:40:36 +08:00
k88936 c3493d5458 refactor: enhance system prompt handling and tool integration in LlmChatAgent 2026-07-09 18:24:33 +08:00
k88936 ae4538a59a refactor editor agent structures 2026-07-09 18:06:40 +08:00
k88936 b1851c0ab8 improve error handling for tools: add classification and handling for recoverable and fatal tool failures 2026-07-09 17:51:16 +08:00
k88936 d0a4581683 continue and retry instead of crash encounter invalid json output 2026-07-09 16:49:50 +08:00
k88936 6d13239c1c tool out put include id 2026-07-09 16:49:25 +08:00
k88936 d639f0207f agent module 2026-07-09 16:43:07 +08:00
k88936 964e7e040a at least it runs 2026-07-09 11:49:28 +08:00
kdletters 2cf3953bad 收紧外部生成任务租约和超时保护
缩短 worker lease 并新增普通和长任务执行预算配置

让 worker 超过执行预算后写失败并释放槽位

降低 BgFilter 默认超时并加入连续失败熔断兜底

补充资产计费 future 取消时的退款补偿保护

同步生产 env 示例、部署脚本和运维文档
2026-07-09 01:32:23 +08:00
kdletters f1ca3e79c1 轻量化外部生成队列进程
worker 和 controller 改为订阅 external_generation_job 队列变更来唤醒 claim 与扩缩容评估
非 HTTP 角色关闭 API 读模型订阅并将 SpacetimeDB 连接池收敛为 1
更新 worker/controller 环境模板和运维记忆,明确 poll interval 只作兜底
2026-07-08 22:16:51 +08:00
kdletters 542fb09365 接入微信 Native 充值与订单过期处理
调整网页端充值渠道,微信内浏览器在开放平台接入前走 Native 支付。

拆分 Native 支付二维码弹窗,展示金额和充值内容并取消无效 code_url 跳转。

修复微信 Native 下单 time_expire 秒级 RFC3339 格式,避免小数秒参数错误。

新增充值订单 5 分钟过期调度,过期前查询微信真实订单状态。

补充微信授权绑定、路由加载恢复和后台表时间显示等配套逻辑。

更新 SpacetimeDB schema、绑定和相关文档测试。
2026-07-08 21:35:02 +08:00
kdletters 2721fec51c Merge remote-tracking branch 'origin/codex/gray-release' 2026-07-08 20:44:29 +08:00