mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Update docs: Using the OpenAI Library
Add sse function to requests sessions Small improvments in OpenaiChat and ARTA provider
This commit is contained in:
parent
fa2344b031
commit
8f6efd5366
17 changed files with 291 additions and 86 deletions
|
|
@ -16,7 +16,7 @@ from .base_provider import AsyncGeneratorProvider, ProviderModelMixin
|
|||
from .helper import format_image_prompt
|
||||
|
||||
class ARTA(AsyncGeneratorProvider, ProviderModelMixin):
|
||||
url = "https://img-gen-prod.ai-arta.com"
|
||||
url = "https://ai-arta.com"
|
||||
auth_url = "https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=AIzaSyB3-71wG0fIt0shj0ee4fvx1shcjJHGrrQ"
|
||||
token_refresh_url = "https://securetoken.googleapis.com/v1/token?key=AIzaSyB3-71wG0fIt0shj0ee4fvx1shcjJHGrrQ"
|
||||
image_generation_url = "https://img-gen-prod.ai-arta.com/api/v1/text2image"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue