freegpt-webui / g4f /typing.py
Sourcery AI
'Refactored by Sourcery'
5684fd5
raw
history blame
407 Bytes
from typing import Dict, NewType, Union, Optional, List, get_type_hints
sha256 = NewType('sha_256_hash', str)
class MetaModels(type):
def __str__(self):
output: List = [
f'class Engines:\n',
f' class {self.gpt_35_turbo.__name__}:',
' ...',
f' class {self.gpt_4.__name__}:',
' ...',
]
return '\n'.join(output)