This repository was archived by the owner on Apr 12, 2026. It is now read-only.
Merged
Conversation
Updated the project dependencies to include langchain-openai and langchain-google-genai, and incremented the project version from 2.0.1 to 2.0.2 in pyproject.toml.
Added the "Gemini-Pro" chat model to the dictionary of available chat models. This model integrates with Google Generative AI and includes specific parameters for response generation, such as temperature, top_k, top_p, and system message conversion to human-readable format. The addition of this model expands the range of chatbot options available for selection within the application.
…rameters Updated the LANGCHAIN_PROJECT environment variable to "FreeStream-v2.0.2" and adjusted the temperature and top_p parameters for the Gemini-Pro model in the main.py file. Added a conditional statement to force-display the response when the selected model is "Gemini-Pro".
- Updated set_llm function to accept selected_model and model_names as parameters, allowing for dynamic model switching. Added success alerts for GPT-3.5 Turbo and Gemini-Pro models. Implemented error handling for unsupported models, logging detailed errors and displaying informative messages to the user.
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What's changed
model_names#4