feat: 整合 oMLX 本地推理加速 AI enrichment#2
Open
JaplinChen wants to merge 3 commits into
Open
Conversation
- 新增 content-cleaner:cleanAdSpeak 過濾 body 廣告詞,cleanTitle 預清洗標題 - GitHub extractor 提取 stars/language/topics 結構化元資料 - AI enricher 增加平台感知,GitHub 專屬深度分析 prompt(用途、技術棧、同類對比、優缺點) - formatter 整合 body 清洗,GitHub 新增項目概覽/項目資訊區塊 - reprocess 支援 --all 全量處理 + --refetch 重新抓取模式 - 新增 admin-command(/logs /health /restart)修復預存 TS 錯誤 - note-parser 升級:解析 stars/language/body/extraTags 欄位 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
iOS/macOS 鍵盤自動將 -- 轉換為 — (U+2014),導致 --all 被當作檔案路徑。 新增 Unicode em-dash/en-dash → double hyphen 正規化。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
新增 oMLX 作為 LLM 推理首選 provider,三層自動降級: oMLX (本地) → OpenCode CLI (遠端) → DDG Chat (備援)。 支援 text (flash/standard/deep) 與 vision (VLM) 模型路由。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
變更內容
src/utils/omlx-client.ts— HTTP fetch wrapper(text + vision + health check)src/utils/local-llm.ts— 加入 oMLX 作為首選 providersrc/utils/vision-llm.ts— 加入 oMLX VLM 支援.env.example— 新增 oMLX 設定區塊CLAUDE.md— 放寬本地 LLM 規則(僅限 oMLX)README.md— 反映三層降級架構模型對應
Test plan
npx tsc --noEmit零錯誤🤖 Generated with Claude Code