-
Notifications
You must be signed in to change notification settings - Fork 517
feat: add new models for gemini translation #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
b189683
perf: update gemini package
Jerry23011 9661e35
feat: add new models for gemini translation
Jerry23011 6d2e66b
fix: type in openai service
Jerry23011 93fd77b
fix: type in ezconstkey annotation
Jerry23011 e32fa30
fix: type in a few files
Jerry23011 659fa9c
perf: update chatgpt link
Jerry23011 930e7e5
fix: build error
Jerry23011 a9b784e
perf: remove gemini keys in ezschemeparser
Jerry23011 53f7ada
format: add back empty line
Jerry23011 a13034a
Merge branch 'openai-type-fix' into gemini-update
Jerry23011 8df4ebb
perf: rename opanaiusagestatus to serviceusagestatus
Jerry23011 a0d3fa7
perf: remove queryTextType since gemini supports all type
Jerry23011 cff774a
perf: update xcstring state
Jerry23011 cc78117
perf: enable LLMStreamService to change models quickly
tisfeng 8446f11
fix: typo in gemini service
Jerry23011 2d5b9ae
perf: support dictionary and sentence query
Jerry23011 e65b2f7
perf: implement results handle for gemini
Jerry23011 cbbda54
docs: update sponsor list
tisfeng 6cd291e
Merge branch 'dev' into gemini-update
tisfeng 7e6c7a6
perf: remove unused annotation
Jerry23011 ad879a4
perf: remove unused code
Jerry23011 fcde137
perf: implement systemInstruction and role/model prompt
Jerry23011 f6e92b7
perf: remove redundant code
Jerry23011 f26ec5c
fix: gemini stream ui
Jerry23011 b8bbbcd
Merge branch 'dev' into gemini-update
tisfeng e68b614
Merge branch 'dev' into gemini-update
tisfeng 74d919d
perf: move promptContent to extension GeminiService
Jerry23011 f0c9bb2
Merge branch 'dev' into gemini-update
Jerry23011 9c8c34b
perf: optimize usage of handleResult
Jerry23011 adff638
perf: add bool argument to opt out LLM systemPrompt
Jerry23011 19c31d4
Merge branch 'dev' into gemini-update
tisfeng 5c0082d
fix: use dict system prompt when querying a word
tisfeng 6301f08
perf: add dynamic variable for gemini available models
Jerry23011 a6dcd5d
refactor: replace all AI const stored keys with dynamic variables
tisfeng 22bf492
fix: gemini-1.0-pro model cannot use system instruction
tisfeng 67a63f1
perf: change system prompt to user prompt for gemini-1.0-pro model
tisfeng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.