gpt4free/g4f/Provider/base_provider.py
H Lohaus ffb4b0d162
Improve download of generated images, serve images in the api (#2391)
* Improve download of generated images, serve images in the api
Add support for conversation handling in the api

* Add orginal prompt to image response

* Add download images option in gui, fix loading model list in Airforce

* Add download images option in gui, fix loading model list in Airforce
2024-11-20 19:58:16 +01:00

4 lines
199 B
Python

from ..providers.base_provider import *
from ..providers.types import Streaming
from ..providers.response import BaseConversation, Sources, FinishReason
from .helper import get_cookies, format_prompt