一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
In order to better add and optimize other LLM services in the future, like #559, I've rewritten and optimized the LLM-related services. The main content includes:
Added a LLM service base class LLMStreamService.
Modified BaseOpenAIService to inherit from LLMStreamService.
Refactored and modified GeminiService to inherit from LLMStreamService.
Updated swiftlint.yml, and remove unnecessary swiftlint:disable code.
This PR has no functional changes.
In order to better add and optimize other LLM services in the future, like #559, I've rewritten and optimized the LLM-related services. The main content includes:
LLMStreamService
.BaseOpenAIService
to inherit fromLLMStreamService
.GeminiService
to inherit fromLLMStreamService
.swiftlint:disable
code.