feat: add OpenAI generation stats

This commit is contained in:
Jun Siang Cheah
2024-05-27 10:11:53 +01:00
parent b6b71c08f3
commit 99b1661638
6 changed files with 61 additions and 7 deletions

View File

@@ -574,6 +574,7 @@ ENABLE_COMMUNITY_SHARING = PersistentConfig(
os.environ.get("ENABLE_COMMUNITY_SHARING", "True").lower() == "true",
)
class BannerModel(BaseModel):
id: str
type: str