create-gentiq-app 0.15.1 → 0.16.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# 🚀 Gentiq AI Application
|
|
2
2
|
|
|
3
|
-
A production-ready conversational AI application built with the [Gentiq framework](https://github.com/arxyzan/gentiq): a FastAPI + PydanticAI backend and a React frontend, with authentication, streaming, chat history, an admin panel and per-user
|
|
3
|
+
A production-ready conversational AI application built with the [Gentiq framework](https://github.com/arxyzan/gentiq): a FastAPI + PydanticAI backend and a React frontend, with authentication, streaming, chat history, an admin panel and per-user usage limits already wired together.
|
|
4
4
|
|
|
5
5
|
## ✨ What you get
|
|
6
6
|
|
|
7
7
|
- **⚡ Real-time streaming** — PydanticAI on the backend, the Vercel AI SDK protocol on the wire.
|
|
8
|
-
- **🛠️ Admin panel** — users, chat-history auditing, analytics,
|
|
9
|
-
- **💰 Usage & cost tracking** — per-user
|
|
8
|
+
- **🛠️ Admin panel** — users and their plans, chat-history auditing, analytics, and maintenance operations at `/admin`.
|
|
9
|
+
- **💰 Usage & cost tracking** — per-user plans or credits (or no limit at all), with every turn priced per model against live provider rates.
|
|
10
10
|
- **📂 Pluggable persistence** — SQLite + local filesystem out of the box; MongoDB + MinIO/S3 for production.
|
|
11
11
|
- **🔒 JWT auth** — signup/login, argon2id password hashing, and role-based admin permissions.
|
|
12
12
|
- **🌍 i18n & RTL** — the template ships English and Persian; add a language by extending `i18n.resources`.
|
|
@@ -33,9 +33,12 @@ ADMIN_JWT_EXPIRATION_HOURS=8
|
|
|
33
33
|
# no token Logfire stays local, so leave this commented out until you have one.
|
|
34
34
|
# LOGFIRE_TOKEN=pylf_...
|
|
35
35
|
|
|
36
|
-
# ---
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
# --- Usage limits -----------------------------------------------------------
|
|
37
|
+
# Users are unlimited unless the app sets a default plan or default credits, or an
|
|
38
|
+
# admin does under Settings > Usage & access. Daily limits reset at midnight here:
|
|
39
|
+
# QUOTA_TIMEZONE=UTC
|
|
40
|
+
# Calendar for monthly limits and plan lengths: gregorian or persian. Unset follows the timezone.
|
|
41
|
+
# QUOTA_CALENDAR=
|
|
39
42
|
|
|
40
43
|
# --- Uploads ----------------------------------------------------------------
|
|
41
44
|
# MAX_ATTACHMENT_SIZE=10485760
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Backend
|
|
2
2
|
|
|
3
|
-
The FastAPI + [PydanticAI](https://ai.pydantic.dev/) half of the application. `main.py` defines an agent, its tools and its context; `GentiqApp` turns that into a full API — auth, chat streaming, history, attachments,
|
|
3
|
+
The FastAPI + [PydanticAI](https://ai.pydantic.dev/) half of the application. `main.py` defines an agent, its tools and its context; `GentiqApp` turns that into a full API — auth, chat streaming, history, attachments, plans and usage limits, and the admin endpoints.
|
|
4
4
|
|
|
5
5
|
## Run it
|
|
6
6
|
|