-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: backend support mistral model * feat: added test cases for mistral model support * chore: removed the print for debugging * chore: house keeping debugging records * chore: removed the unecessary langchain * chore: fallback the trace_to_root retrieve messages * feat: support Mistral models * fix: update CORS in case with custom domain associated * fix: fixed the MISTRAL_GENERATION_CONFIG type and updated the mistral model config * feat: ignore .pyc files under __pycache__/ for cdk * Mistral models support debug (#1) * chore: see if format affects the type checking for parent_id * chore: ignore type checking * chore: using black formatting * chore: fix one more testing script formatting with black format * fix: updated the mistral models stop_sequence * refactor: moved the function get_bedrock_response to bedrock.py and updated input/output type * refactor: removed is_mistral_model from utils, keep is_anthropic_model only. * refactor: added invocation metrics model * fix: cdk ignore changes from tests files change from backend/tests * fix: fixed the typing * refactor: integrate the mistral models testing script to test_chat * feat: added option enableMistral to cdk.json to support toggling Misgtral models * chore: fixed the cdk test due to introduced stack props - , and added the verification in default stack testing case. * fix: fixed the frontend lint for availableModels * feat: added support for Mistral large models when enable Mistral * chore: removed some debuging logs entry * refactor: keep the enableMistral option to boolean until it passed to the frontend building stage * refactor: moved the InvocationMetrics model from conversation.py to bedrock.py * refactor: inegrated mistral models test to existing ones * chore: updated the pricing mapping variable to BEDROCK_PRICING.
- Loading branch information
Showing
17 changed files
with
496 additions
and
123 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
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
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
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
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
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.