Repository navigation
feat(ai): add personal Gemini parsing and shared time validation - #31
Merged
Merged
Conversation
release: merge dev into main (v0.3.1)
release: v0.4.0 — 週期性提醒
Support encrypted personal keys, provider adapters, bounded fallback, and semantic parsing with persisted clarification state. Show metadata-backed model names on confirmation cards. Keep draft confirmation and schema migrations atomic, and align user and agent docs. Verify with 280 tests, Ruff, smoke flow, and dependency export checks.
Constrain time corrections and literal title replies using draft state. Preserve unresolved questions across native and semantic updates, and reject negated times as replacements. Record four original Gemini responses, including malformed time rejection. Cover correction intent variants, boundary actions, ordinary titles, draft preservation, and confirmation safety.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
變更
加入選用的個人 Gemini 語意解析,支援建立提醒、草稿追問/修正與修改下次時間;未設定 Key 或關閉 AI 時沿用內建解析,建立提醒仍須使用者確認。
/ai管理加密保存的個人 Key、啟用狀態、排序及備援;最多三組 Key 共用 18 秒等待預算,保存標準化失敗原因並依錯誤停用或冷卻。驗證
make check通過:Ruff、368 個 unittest、smoke flow。git diff --check origin/dev...HEAD通過。ResourceWarning;測試皆成功。部署注意
啟用 AI 需設定並妥善備份固定的
AI_ENCRYPTION_KEY。AI 啟用後,一般私聊文字、群組觸發訊息與必要上下文會傳給供應商。合併前尚未部署,正式 Telegram 流程仍待實測。