generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 396
chore: integrate backend API and remove hardcoded model options #2419
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 all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1d6fb47
cooprate with list avalibale models, remove model options
evanliu048 a282fcb
add model name mapping method
evanliu048 0a73763
Merge branch 'main' into list_model
evanliu048 5c31dcb
Merge branch 'main' into list_model
evanliu048 a57a0b0
cooperate with default model in response
evanliu048 3aff859
add cache in apiclient for model
evanliu048 3d3be47
update the model cache structure
evanliu048 f6d48b7
remove model id mapping in client
evanliu048 e746f9f
remove model id mapping in client
evanliu048 4f5d017
merge with main
evanliu048 b0d6177
merge main
evanliu048 4bcd58e
combine api res and openai model
evanliu048 33c2537
change the default model to be a required field
evanliu048 cb27bf9
change modelid in conversationstate into model info
evanliu048 73049e9
merge main
evanliu048 8853786
remove unused import
evanliu048 fbca06b
CI
evanliu048 2c959d0
add a fallback model when api failed
evanliu048 c4bfb19
resolve merge conflict
evanliu048 72a95a4
replace tuple with ModelListResult struct; cache struct; keep tuple A…
evanliu048 bff90b6
checking model name instead of model id
evanliu048 7ca9531
clippy
evanliu048 a92bb9c
merge main
evanliu048 a0af47e
add both modelid and model infor in conversation state
evanliu048 b5d07df
delete manul Deserialize for modelInfo
evanliu048 3067317
delete manul Deserialize for modelInfo
evanliu048 d42ca1d
add import
evanliu048 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
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.
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.