-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: add build-in gemini key (#282)
* chore: add library SwiftShell * refactor: rewrite FontSizeHintView with SnapKit * perf: remove deprecated OpenAI API * refactor: parse OpenAI result to model EZOpenAIChatResponse * perf: improve chat completion request * perf: improve removing quotes when request finished * refactor: move prompt messages to category EZPromptMessages * refactor: improve custom config, add apiKey and endPoint * refactor: improve OpenAI error handling * perf: add a build-in key for gemini-pro * perf: do not allow to modify default model if no private key * perf: use different defaut key for debug and release * perf: adjust dict prompt * chore: add missed swiftpm * fix: add missed EZPromptMessages to Easydict target
- Loading branch information
Showing
8 changed files
with
1,096 additions
and
1,347 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.