g4f 6.9.1__tar.gz → 6.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. {g4f-6.9.1/g4f.egg-info → g4f-6.9.2}/PKG-INFO +1 -1
  2. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Yupp.py +9 -10
  3. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/AIBadgr.py +1 -0
  4. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/yupp/models.py +9 -6
  5. {g4f-6.9.1 → g4f-6.9.2/g4f.egg-info}/PKG-INFO +1 -1
  6. {g4f-6.9.1 → g4f-6.9.2}/LICENSE +0 -0
  7. {g4f-6.9.1 → g4f-6.9.2}/MANIFEST.in +0 -0
  8. {g4f-6.9.1 → g4f-6.9.2}/README.md +0 -0
  9. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/ApiAirforce.py +0 -0
  10. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Chatai.py +0 -0
  11. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Cloudflare.py +0 -0
  12. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Copilot.py +0 -0
  13. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/CopilotSession.py +0 -0
  14. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/DeepInfra.py +0 -0
  15. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/EasyChat.py +0 -0
  16. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/GLM.py +0 -0
  17. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/GradientNetwork.py +0 -0
  18. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/ItalyGPT.py +0 -0
  19. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/LambdaChat.py +0 -0
  20. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Mintlify.py +0 -0
  21. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/OIVSCodeSer.py +0 -0
  22. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/OperaAria.py +0 -0
  23. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Perplexity.py +0 -0
  24. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/PollinationsAI.py +0 -0
  25. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/PollinationsImage.py +0 -0
  26. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Qwen.py +0 -0
  27. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Startnest.py +0 -0
  28. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/StringableInference.py +0 -0
  29. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/TeachAnything.py +0 -0
  30. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/WeWordle.py +0 -0
  31. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/Yqcloud.py +0 -0
  32. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/__init__.py +0 -0
  33. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/audio/EdgeTTS.py +0 -0
  34. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/audio/MarkItDown.py +0 -0
  35. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/audio/OpenAIFM.py +0 -0
  36. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/audio/__init__.py +0 -0
  37. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/audio/gTTS.py +0 -0
  38. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/base_provider.py +0 -0
  39. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/helper.py +0 -0
  40. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/BAAI_Ling.py +0 -0
  41. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/BlackForestLabs_Flux1Dev.py +0 -0
  42. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/BlackForestLabs_Flux1KontextDev.py +0 -0
  43. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/CohereForAI_C4AI_Command.py +0 -0
  44. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/DeepseekAI_JanusPro7b.py +0 -0
  45. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/Microsoft_Phi_4_Multimodal.py +0 -0
  46. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/Qwen_Qwen_2_5.py +0 -0
  47. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/Qwen_Qwen_2_5M.py +0 -0
  48. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/Qwen_Qwen_2_5_Max.py +0 -0
  49. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/Qwen_Qwen_2_72B.py +0 -0
  50. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/Qwen_Qwen_3.py +0 -0
  51. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/StabilityAI_SD35Large.py +0 -0
  52. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/__init__.py +0 -0
  53. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/hf_space/raise_for_status.py +0 -0
  54. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/local/Local.py +0 -0
  55. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/local/Ollama.py +0 -0
  56. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/local/__init__.py +0 -0
  57. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Anthropic.py +0 -0
  58. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Azure.py +0 -0
  59. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/BingCreateImages.py +0 -0
  60. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/BlackboxPro.py +0 -0
  61. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/CablyAI.py +0 -0
  62. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Cerebras.py +0 -0
  63. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Claude.py +0 -0
  64. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Cohere.py +0 -0
  65. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/CopilotAccount.py +0 -0
  66. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Custom.py +0 -0
  67. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/DeepSeek.py +0 -0
  68. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/DeepSeekAPI.py +0 -0
  69. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/FenayAI.py +0 -0
  70. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Gemini.py +0 -0
  71. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/GeminiCLI.py +0 -0
  72. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/GeminiPro.py +0 -0
  73. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/GigaChat.py +0 -0
  74. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/GithubCopilot.py +0 -0
  75. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/GithubCopilotAPI.py +0 -0
  76. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/GlhfChat.py +0 -0
  77. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Grok.py +0 -0
  78. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Groq.py +0 -0
  79. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/LMArena.py +0 -0
  80. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/MetaAI.py +0 -0
  81. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/MetaAIAccount.py +0 -0
  82. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/MicrosoftDesigner.py +0 -0
  83. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Nvidia.py +0 -0
  84. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/OpenRouter.py +0 -0
  85. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/OpenaiAPI.py +0 -0
  86. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/OpenaiAccount.py +0 -0
  87. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/OpenaiChat.py +0 -0
  88. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/PerplexityApi.py +0 -0
  89. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Pi.py +0 -0
  90. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/PuterJS.py +0 -0
  91. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Reka.py +0 -0
  92. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Replicate.py +0 -0
  93. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/ThebApi.py +0 -0
  94. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Together.py +0 -0
  95. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/Video.py +0 -0
  96. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/WhiteRabbitNeo.py +0 -0
  97. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/You.py +0 -0
  98. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/__init__.py +0 -0
  99. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/bing/__init__.py +0 -0
  100. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/bing/create_images.py +0 -0
  101. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/hf/HuggingChat.py +0 -0
  102. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/hf/HuggingFaceAPI.py +0 -0
  103. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/hf/HuggingFaceInference.py +0 -0
  104. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/hf/HuggingFaceMedia.py +0 -0
  105. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/hf/__init__.py +0 -0
  106. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/hf/models.py +0 -0
  107. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/mini_max/HailuoAI.py +0 -0
  108. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/mini_max/MiniMax.py +0 -0
  109. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/mini_max/__init__.py +0 -0
  110. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/mini_max/crypt.py +0 -0
  111. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/needs_auth/xAI.py +0 -0
  112. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/openai/__init__.py +0 -0
  113. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/openai/crypt.py +0 -0
  114. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/openai/har_file.py +0 -0
  115. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/openai/models.py +0 -0
  116. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/openai/new.py +0 -0
  117. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/openai/proofofwork.py +0 -0
  118. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/QwenCode.py +0 -0
  119. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/__init__.py +0 -0
  120. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/cookie_generator.py +0 -0
  121. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/fingerprint.py +0 -0
  122. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/generate_ua.py +0 -0
  123. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/oauthFlow.py +0 -0
  124. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/qwenContentGenerator.py +0 -0
  125. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/qwenOAuth2.py +0 -0
  126. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/sharedTokenManager.py +0 -0
  127. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/qwen/stubs.py +0 -0
  128. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/search/CachedSearch.py +0 -0
  129. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/search/DDGS.py +0 -0
  130. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/search/GoogleSearch.py +0 -0
  131. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/search/SearXNG.py +0 -0
  132. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/search/YouTube.py +0 -0
  133. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/search/__init__.py +0 -0
  134. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/template/BackendApi.py +0 -0
  135. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/template/OpenaiTemplate.py +0 -0
  136. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/template/__init__.py +0 -0
  137. {g4f-6.9.1 → g4f-6.9.2}/g4f/Provider/yupp/__init__.py +0 -0
  138. {g4f-6.9.1 → g4f-6.9.2}/g4f/__init__.py +0 -0
  139. {g4f-6.9.1 → g4f-6.9.2}/g4f/__main__.py +0 -0
  140. {g4f-6.9.1 → g4f-6.9.2}/g4f/api/__init__.py +0 -0
  141. {g4f-6.9.1 → g4f-6.9.2}/g4f/api/_logging.py +0 -0
  142. {g4f-6.9.1 → g4f-6.9.2}/g4f/api/_tokenizer.py +0 -0
  143. {g4f-6.9.1 → g4f-6.9.2}/g4f/api/run.py +0 -0
  144. {g4f-6.9.1 → g4f-6.9.2}/g4f/api/stubs.py +0 -0
  145. {g4f-6.9.1 → g4f-6.9.2}/g4f/cli/__init__.py +0 -0
  146. {g4f-6.9.1 → g4f-6.9.2}/g4f/cli/__main__.py +0 -0
  147. {g4f-6.9.1 → g4f-6.9.2}/g4f/cli/client.py +0 -0
  148. {g4f-6.9.1 → g4f-6.9.2}/g4f/client/__init__.py +0 -0
  149. {g4f-6.9.1 → g4f-6.9.2}/g4f/client/helper.py +0 -0
  150. {g4f-6.9.1 → g4f-6.9.2}/g4f/client/models.py +0 -0
  151. {g4f-6.9.1 → g4f-6.9.2}/g4f/client/service.py +0 -0
  152. {g4f-6.9.1 → g4f-6.9.2}/g4f/client/stubs.py +0 -0
  153. {g4f-6.9.1 → g4f-6.9.2}/g4f/client/types.py +0 -0
  154. {g4f-6.9.1 → g4f-6.9.2}/g4f/config.py +0 -0
  155. {g4f-6.9.1 → g4f-6.9.2}/g4f/cookies.py +0 -0
  156. {g4f-6.9.1 → g4f-6.9.2}/g4f/debug.py +0 -0
  157. {g4f-6.9.1 → g4f-6.9.2}/g4f/errors.py +0 -0
  158. {g4f-6.9.1 → g4f-6.9.2}/g4f/files.py +0 -0
  159. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/__init__.py +0 -0
  160. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/gui_parser.py +0 -0
  161. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/run.py +0 -0
  162. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/__init__.py +0 -0
  163. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/api.py +0 -0
  164. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/app.py +0 -0
  165. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/backend_api.py +0 -0
  166. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/config.py +0 -0
  167. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/crypto.py +0 -0
  168. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/internet.py +0 -0
  169. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/js_api.py +0 -0
  170. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/server/website.py +0 -0
  171. {g4f-6.9.1 → g4f-6.9.2}/g4f/gui/webview.py +0 -0
  172. {g4f-6.9.1 → g4f-6.9.2}/g4f/image/__init__.py +0 -0
  173. {g4f-6.9.1 → g4f-6.9.2}/g4f/image/copy_images.py +0 -0
  174. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/__init__.py +0 -0
  175. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/langchain.py +0 -0
  176. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/__init__.py +0 -0
  177. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/_audio_converter.py +0 -0
  178. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/_base_converter.py +0 -0
  179. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/_image_converter.py +0 -0
  180. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/_llm_caption.py +0 -0
  181. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/_transcribe_audio.py +0 -0
  182. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/markitdown/_youtube_converter.py +0 -0
  183. {g4f-6.9.1 → g4f-6.9.2}/g4f/integration/pydantic_ai.py +0 -0
  184. {g4f-6.9.1 → g4f-6.9.2}/g4f/local/__init__.py +0 -0
  185. {g4f-6.9.1 → g4f-6.9.2}/g4f/locals/__init__.py +0 -0
  186. {g4f-6.9.1 → g4f-6.9.2}/g4f/locals/models.py +0 -0
  187. {g4f-6.9.1 → g4f-6.9.2}/g4f/locals/provider.py +0 -0
  188. {g4f-6.9.1 → g4f-6.9.2}/g4f/mcp/__init__.py +0 -0
  189. {g4f-6.9.1 → g4f-6.9.2}/g4f/mcp/__main__.py +0 -0
  190. {g4f-6.9.1 → g4f-6.9.2}/g4f/mcp/server.py +0 -0
  191. {g4f-6.9.1 → g4f-6.9.2}/g4f/mcp/tools.py +0 -0
  192. {g4f-6.9.1 → g4f-6.9.2}/g4f/models.py +0 -0
  193. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/__init__.py +0 -0
  194. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/any_model_map.py +0 -0
  195. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/any_provider.py +0 -0
  196. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/asyncio.py +0 -0
  197. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/base_provider.py +0 -0
  198. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/create_images.py +0 -0
  199. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/helper.py +0 -0
  200. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/response.py +0 -0
  201. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/retry_provider.py +0 -0
  202. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/tool_support.py +0 -0
  203. {g4f-6.9.1 → g4f-6.9.2}/g4f/providers/types.py +0 -0
  204. {g4f-6.9.1 → g4f-6.9.2}/g4f/requests/__init__.py +0 -0
  205. {g4f-6.9.1 → g4f-6.9.2}/g4f/requests/aiohttp.py +0 -0
  206. {g4f-6.9.1 → g4f-6.9.2}/g4f/requests/curl_cffi.py +0 -0
  207. {g4f-6.9.1 → g4f-6.9.2}/g4f/requests/defaults.py +0 -0
  208. {g4f-6.9.1 → g4f-6.9.2}/g4f/requests/raise_for_status.py +0 -0
  209. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/__init__.py +0 -0
  210. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/auth.py +0 -0
  211. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/fetch_and_scrape.py +0 -0
  212. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/files.py +0 -0
  213. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/media.py +0 -0
  214. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/run_tools.py +0 -0
  215. {g4f-6.9.1 → g4f-6.9.2}/g4f/tools/web_search.py +0 -0
  216. {g4f-6.9.1 → g4f-6.9.2}/g4f/typing.py +0 -0
  217. {g4f-6.9.1 → g4f-6.9.2}/g4f/version.py +0 -0
  218. {g4f-6.9.1 → g4f-6.9.2}/g4f.egg-info/SOURCES.txt +0 -0
  219. {g4f-6.9.1 → g4f-6.9.2}/g4f.egg-info/dependency_links.txt +0 -0
  220. {g4f-6.9.1 → g4f-6.9.2}/g4f.egg-info/entry_points.txt +0 -0
  221. {g4f-6.9.1 → g4f-6.9.2}/g4f.egg-info/requires.txt +0 -0
  222. {g4f-6.9.1 → g4f-6.9.2}/g4f.egg-info/top_level.txt +0 -0
  223. {g4f-6.9.1 → g4f-6.9.2}/setup.cfg +0 -0
  224. {g4f-6.9.1 → g4f-6.9.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: g4f
3
- Version: 6.9.1
3
+ Version: 6.9.2
4
4
  Summary: The official gpt4free repository | various collection of powerful language models
5
5
  Home-page: https://github.com/xtekky/gpt4free
6
6
  Author: Tekky
@@ -223,7 +223,7 @@ class Yupp(AsyncGeneratorProvider, ProviderModelMixin):
223
223
  api_key = get_cookies("yupp.ai", False).get("__Secure-yupp.session-token")
224
224
  if not api_key:
225
225
  raise MissingAuthError("No Yupp accounts configured. Set YUPP_API_KEY environment variable.")
226
- manager = YuppModelManager(api_key=api_key)
226
+ manager = YuppModelManager(api_key=api_key, session=create_scraper())
227
227
  models = manager.client.fetch_models()
228
228
  if models:
229
229
  cls.models_tags = {model.get("name"): manager.processor.generate_tags(model) for model in models}
@@ -610,15 +610,14 @@ class Yupp(AsyncGeneratorProvider, ProviderModelMixin):
610
610
  else:
611
611
  continue
612
612
 
613
- if b"<think>" in line:
614
- m = line_pattern.match(line)
615
- if m:
616
- capturing_ref_id = m.group(1).decode()
617
- capturing_lines = [line]
618
- continue
619
-
620
613
  match = line_pattern.match(line)
621
614
  if not match:
615
+ if b"<think>" in line:
616
+ m = line_pattern.match(line)
617
+ if m:
618
+ capturing_ref_id = m.group(1).decode()
619
+ capturing_lines = [line]
620
+ continue
622
621
  continue
623
622
 
624
623
  chunk_id, chunk_data = match.groups()
@@ -747,7 +746,7 @@ class Yupp(AsyncGeneratorProvider, ProviderModelMixin):
747
746
  ):
748
747
  stream["quick"].append(chunk)
749
748
  quick_content += content
750
- yield VariantResponse(content)
749
+ yield PreviewResponse(content)
751
750
 
752
751
  elif chunk_id in [turn_id, persisted_turn_id]:
753
752
  pass
@@ -776,7 +775,7 @@ class Yupp(AsyncGeneratorProvider, ProviderModelMixin):
776
775
  if variant_image is not None:
777
776
  yield variant_image
778
777
  elif variant_text:
779
- yield PreviewResponse(variant_text)
778
+ yield VariantResponse(variant_text)
780
779
  yield JsonResponse(**stream)
781
780
  log_debug(f"Finished processing {line_count} lines")
782
781
 
@@ -9,6 +9,7 @@ class AIBadgr(OpenaiTemplate):
9
9
  base_url = "https://aibadgr.com/api/v1"
10
10
  working = True
11
11
  needs_auth = True
12
+ models_needs_auth = True
12
13
  supports_stream = True
13
14
  supports_system_message = True
14
15
  supports_message_history = True
@@ -17,16 +17,19 @@ class ModelConfig:
17
17
  class YuppAPIClient:
18
18
  """Yupp API client for fetching model data"""
19
19
 
20
- def __init__(self, config: ModelConfig = None, api_key: str = None):
20
+ def __init__(self, config: ModelConfig = None, api_key: str = None, session=None):
21
21
  self.config = config or ModelConfig()
22
- self.session = requests.Session()
23
22
  self.api_key = api_key
24
- self._setup_session()
23
+ if session is None:
24
+ self.session = requests.Session()
25
+ self._setup_session()
26
+ else:
27
+ self.session = session
28
+ self._set_cookies()
25
29
 
26
30
  def _setup_session(self) -> None:
27
31
  """Setup session with headers and cookies"""
28
32
  self.session.headers.update(self._get_headers())
29
- self._set_cookies()
30
33
 
31
34
  def _get_headers(self) -> Dict[str, str]:
32
35
  """Get request headers"""
@@ -224,9 +227,9 @@ class DataManager:
224
227
  class YuppModelManager:
225
228
  """Main manager class for Yupp model operations"""
226
229
 
227
- def __init__(self, config: ModelConfig = None, api_key: str = None):
230
+ def __init__(self, config: ModelConfig = None, api_key: str = None, session=None):
228
231
  self.config = config or ModelConfig()
229
- self.client = YuppAPIClient(config, api_key)
232
+ self.client = YuppAPIClient(config, api_key, session)
230
233
  self.processor = ModelProcessor()
231
234
  self.data_manager = DataManager()
232
235
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: g4f
3
- Version: 6.9.1
3
+ Version: 6.9.2
4
4
  Summary: The official gpt4free repository | various collection of powerful language models
5
5
  Home-page: https://github.com/xtekky/gpt4free
6
6
  Author: Tekky
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes