add zeus-Vercel and update html (#46)

This commit is contained in:
Dmitry Afanasyev
2023-10-27 18:37:25 +03:00
committed by GitHub
parent 2e7d4880e0
commit 11cfccbb01
10 changed files with 594 additions and 441 deletions

View File

@@ -59,6 +59,7 @@ class ChatGptModelsEnum(StrEnum):
gpt_3_5_turbo_stream_FakeGpt = "gpt-3.5-turbo-stream-FakeGpt"
gpt_3_5_turbo_stream_GeekGpt = "gpt-3.5-turbo-stream-GeekGpt"
gpt_3_5_turbo_stream_gptforlove = "gpt-3.5-turbo-stream-gptforlove"
gpt_3_5_turbo_stream_Vercel = "gpt-3.5-turbo-stream-Vercel"
@classmethod
def values(cls) -> set[str]:

View File

@@ -22,7 +22,7 @@ class ChatGptAdmin(ModelView, model=ChatGpt):
def create_admin(application: "Application") -> Admin:
admin = Admin(
title='Chat GPT admin',
title="Chat GPT admin",
app=application.fastapi_app,
engine=application.db.async_engine,
base_url=os.path.join(settings.URL_PREFIX, "admin"),