mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-27 18:20:28 +08:00
Add new default HuggingFace provider Add format_image_prompt and get_last_user_message helper Add stop_browser callable to get_nodriver function Fix content type response in images route
14 lines
421 B
Python
14 lines
421 B
Python
from __future__ import annotations
|
|
|
|
from .template import OpenaiTemplate
|
|
|
|
class OIVSCode(OpenaiTemplate):
|
|
label = "OI VSCode Server"
|
|
url = "https://oi-vscode-server.onrender.com"
|
|
api_base = "https://oi-vscode-server.onrender.com/v1"
|
|
working = True
|
|
needs_auth = False
|
|
|
|
default_model = "gpt-4o-mini"
|
|
default_vision_model = default_model
|
|
vision_models = [default_model, "gpt-4o-mini"] |