-
-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Enhance providers, improve mobile UI, and refactor image handling #2705
Conversation
…uest data structure
Review for Pull Request: fix(g4f/gpt4free/g4f/Provider/Blackbox.py), (session): Update API request data structureThank you for your contribution to the project! Your changes to the API request data structure are clear and well-implemented. Here are my thoughts on the modifications: Changes Overview
Code Quality
Suggestions
Overall, this is a solid update that improves the API's data structure. Great job! Looking forward to seeing more contributions from you! Best, |
…): restructure provider and simplify model handling
Hello @None, Thank you for your contribution to the project! I've reviewed the changes in your pull request titled "Updated Blackbox/CablyAI provider". Here are some observations and comments: General Overview
In Detail Comments:
Recommendations:
Overall, the changes contribute positively to code quality and maintainability. Good job on this refactor! Let me know if you have any questions or further concerns. Once again, thank you for your contribution! Best regards, |
Pull Request Review: Updated Blackbox/CablyAI ProviderReview by g4f copilot Summary of Changes:This pull request introduces key improvements, refactoring, and some breaking changes to the
Feedback:
Suggestions:
Conclusion:This pull request provides necessary advancements and optimizations for the Blackbox and CablyAI providers while introducing some breaking changes. After verifying the suggestions and ensuring comprehensive testing, this can be safely merged. Thank you for your hard work on this update and your valuable contributions to the project! Best regards, |
Pull Request Review for
|
…upport and safer encoding
Review for Pull Request: Updated Blackbox/CablyAI/PollinationsAI providerThank you for contributing to the project! Your pull request introduces several enhancements, bug fixes, and improvements to multiple providers (Blackbox, CablyAI, and PollinationsAI) in the Updates Summary
Recommendations
Action Items
Overall, this is a solid PR that adds meaningful improvements to multiple modules while cleaning up unnecessary complexity. Thank you for your hard work and meticulous attention to detail while tackling these enhancements across providers! Best regards, |
Pull Request Review: Updated Blackbox/CablyAI/PollinationsAI providerThank you for submitting this comprehensive pull request and for contributing to the project! After reviewing the code and the accompanying documentation, here is some feedback and considerations: Summary of Changes in the Pull Request:Blackbox Provider:
CablyAI Provider:
PollinationsAI Provider:
Image Handling (copy_images.py):
Documentation Update:
Review Feedback:Strengths:
Suggestions for Improvement:
Acceptance Criteria Checklist:
Thank you for your hard work on this pull request! With some minor improvements and testing validations, this update looks ready to be merged. Best regards, |
fix(g4f/Provider/Blackbox.py), (session): Update API request data structure
subscriptionStatus
from user object in session dataisPremium
flag to session configurationsubscriptionCache
null field in request payloadfeat(g4f/Provider/Blackbox.py): add premium model support and validation
premium_models
list and integrate withuserSelectedModel
ModelNotSupportedError
import for premium model validationget_models
method to mark premium models in listingsget_model
method to handle premium model parsing and validationclaude-3.5-sonnet
userSelectedModel
listclaude-sonnet-3.5
from original agentMode integrationBREAKING CHANGE: Attempting to use models with "(Premium)" suffix now raises ModelNotSupportedError
fix(g4f/Provider/Blackbox.py): update model handling and premium authentication
vision_models
anduserSelectedModel
get_model()
logic using parent class implementationrefactor(g4f/Provider/CablyAI.py > g4f/Provider/needs_auth/CablyAI.py): restructure provider and simplify model handling
api_key
attribute from classdefault_model
andfallback_models
configurationsmodel_aliases
dictionaryget_models
andget_model
class methodsneeds_auth
subdirectoryfix(g4f/Provider/PollinationsAI.py): Remove duplicate model alias
qwen-2.5-72b
alias from text model mappingsfeat(g4f/image/copy_images.py): improve image handling with Unicode support and safer encoding
unquote
and extended regex patternsurllib.parse.quote
for filenames and source URLs(g4f/gui/client/static/css/style.css): Enhance mobile responsiveness and fix layout issues
feat(styles): enhance mobile responsiveness and adaptive layouts
fix(layout): correct mobile sidebar positioning
refactor(responsive): restructure adaptive styles
feat(g4f/gui/client/static/js/chat.v1.js): enhance sidebar interactions