fix: critical bugs, Gemini 3.5 Flash upgrade, and dependency updates - #1
Open
NanoBotAgent wants to merge 8 commits into
Open
fix: critical bugs, Gemini 3.5 Flash upgrade, and dependency updates#1NanoBotAgent wants to merge 8 commits into
NanoBotAgent wants to merge 8 commits into
Conversation
The config module used ELEVEN_LABS_API_KEY (with underscore) but api_db.py and the .env template use ELEVENLABS_API_KEY (no underscore). This mismatch meant the ElevenLabs key could never be loaded from .env via the config module.
Replaced the outdated gemini-2.0-flash-lite-preview-02-05 with gemini-2.5-flash for better quality and performance.
Replaced the outdated gemini-2.0-flash-lite-preview-02-05 with gemini-3.5-flash for better quality, speed, and agentic capabilities.
Debian Bullseye reached end of life. Using bookworm for continued security updates and package compatibility.
- openai: align with setup.py (>=1.37.2 instead of ==1.37.0) - httpx: unpin to >=0.27.2 to avoid gradio resolution conflicts - protobuf: remove hardcoded 3.20.3 pin (outdated, not directly used) - pillow: relax to >=10.4.0 to allow security patches - gradio/gradio_client: relax to >= minimum versions
- openai: >=1.37.2 (was ==1.37.2) - pillow: >=10.4.0 (was ==10.4.0) - Bump version to 0.1.32 for this bugfix release
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Critical bug fixes and dependency updates for ShortGPT:
Bug Fixes
config.pyusedELEVEN_LABS_API_KEYbutapi_db.pyand the.envtemplate useELEVENLABS_API_KEY— the ElevenLabs key could never be loaded from.envvia the config moduleFeature Updates
gemini-2.0-flash-lite-preview-02-05withgemini-3.5-flash(stable, GA) for better quality and performanceDependency Fixes
requirements.txt(==1.37.0) withsetup.py(==1.37.2), relaxed to>=1.37.2==0.27.2to>=0.27.2to avoid Gradio resolution conflicts3.20.3pin (outdated, not directly used)==10.4.0to>=10.4.0to allow security patches>=minimum versionsInfrastructure
python:3.10-slim-bullseye(Debian EOL) topython:3.10-slim-bookworm**/__pycache__/patternFiles Changed
shortGPT/config/config.pyELEVEN_LABS_API_KEY→ELEVENLABS_API_KEYshortGPT/gpt/gpt_utils.pygemini-3.5-flashgui/gui_gradio.pyrequirements.txtsetup.pyDockerfile.gitignore**/__pycache__/