123456789101112 |
- from __future__ import annotations
- from .OpenaiChat import OpenaiChat
- class OpenaiAccount(OpenaiChat):
- needs_auth = True
- parent = "OpenaiChat"
- image_models = ["dall-e-3", "gpt-4", "gpt-4o"]
- default_vision_model = "gpt-4o"
- default_image_model = "dall-e-3"
- models = [*OpenaiChat.fallback_models, default_image_model]
- model_aliases = {default_image_model: default_vision_model}
|