g4f 7.0.0__py3-none-any.whl → 7.0.1__py3-none-any.whl

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.
g4f/Provider/DeepInfra.py CHANGED
@@ -17,8 +17,6 @@ class DeepInfra(OpenaiTemplate):
17
17
  vision_models = [
18
18
  default_vision_model,
19
19
  'meta-llama/Llama-3.2-90B-Vision-Instruct',
20
- 'openai/gpt-oss-120b',
21
- 'openai/gpt-oss-20b',
22
20
  ]
23
21
 
24
22
  model_aliases = {
@@ -381,7 +381,7 @@ class PollinationsAI(AsyncGeneratorProvider, ProviderModelMixin):
381
381
  return f"{url}&seed={seed}" if seed else url
382
382
 
383
383
  headers = None
384
- if api_key and (api_key.startswith("g4f_") or api_key.startswith("gfs_")):
384
+ if api_key:
385
385
  headers = {"authorization": f"Bearer {api_key}"}
386
386
  async with ClientSession(
387
387
  headers=DEFAULT_HEADERS,