mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 00:29:27 -04:00
~ | add version (g4f.version
)
This commit is contained in:
parent
faf55f7bc2
commit
cc3f0bce72
@ -2,9 +2,9 @@ from __future__ import annotations
|
||||
from g4f import models
|
||||
from .Provider import BaseProvider, AsyncProvider
|
||||
from .typing import Any, CreateResult, Union
|
||||
import random
|
||||
|
||||
logging = False
|
||||
version = '0.1.3.6'
|
||||
|
||||
def get_model_and_provider(model: Union[models.Model, str], provider: type[BaseProvider], stream: bool):
|
||||
if isinstance(model, str):
|
||||
|
Loading…
Reference in New Issue
Block a user