72be45a21a
chore: minor subscription change
2023-05-21 18:29:22 +08:00
2cb848056f
feat: use connection pooling
2023-05-19 21:53:04 +08:00
9053a42293
chore: add schema drawer ( #100 )
2023-05-19 20:48:08 +08:00
a126e630c8
chore: add eslint-config-prettier dependency
2023-05-19 20:09:00 +08:00
3c057cfa8b
chore: add prettier and format code files
2023-05-19 20:05:38 +08:00
9f6d50f4c8
chore: add tianzhou and boojack as code owner ( #99 )
2023-05-19 11:24:19 +08:00
374824e281
fix: tables cannot be selected when there is no conversation ( #98 )
2023-05-19 11:08:31 +08:00
8c5ddc37e1
chore: add created_at to users table
2023-05-19 00:57:01 +08:00
9aaaef80ba
chore: remove quota overflow banner
2023-05-18 23:35:22 +08:00
d75da665e1
chore: update setting page style
2023-05-18 23:30:05 +08:00
570e40a4d1
chore: re-enable klarna as it’s approved
2023-05-18 23:20:38 +08:00
7054abe13a
chore: reenable account, payment and quota
2023-05-18 22:51:06 +08:00
8d5fbc3b64
fix: use new stripe api to fetch receipt from latest charge ( #97 )
2023-05-18 22:50:33 +08:00
b4cfc6defc
chore: disable account, payment, quota feature.
2023-05-18 22:27:26 +08:00
4139dcf5de
chore: disable klarna as it requires reivew
2023-05-18 22:20:48 +08:00
b49249e2c4
chore: disable alipay and wechat for now as it requires review
2023-05-18 22:17:19 +08:00
d198b5bc25
chore: disable debug in production
2023-05-18 22:08:01 +08:00
b0b6caaffa
feat: implement subscription ( #92 )
2023-05-18 22:04:27 +08:00
666e2091f6
docs: sync doc ( #93 )
2023-05-18 01:51:09 +08:00
8ec209330f
feat: readme add tidb into databases list ( #91 )
2023-05-17 16:16:48 +08:00
b45e9d9e56
fix: some multiple select style problem ( #90 )
...
* fix: some multiple style problem
* eslint
2023-05-14 13:28:54 +08:00
368ad85044
feat:set a default port when creating a connection ( #89 )
2023-05-14 11:38:27 +08:00
e0bec6732f
feat: check the title name ( #87 )
2023-05-13 17:03:02 +08:00
79d02af91c
feat: support multiple select table ( #82 )
2023-05-13 15:01:42 +08:00
d423ce7a06
fix: correct response message
2023-05-12 11:43:35 +08:00
700c4bf8d1
feat: tidb cloud serverless tier support ( #85 )
...
* feat: tidb cloud serverless tier support
* clearify: check the engine type before call the tidb connection change function
* delete: unused type declare
2023-05-12 10:39:00 +08:00
4323b19562
fix: update response body type
2023-05-09 00:37:32 +08:00
fdda5ca142
chore: update error message response
2023-05-09 00:12:36 +08:00
0840aa584a
chore: remove openai api key check temporarily
2023-05-08 23:47:54 +08:00
cd265a5c47
chore: add dark mode styles to setting page ( #83 )
2023-05-08 23:29:33 +08:00
698eff0978
chore: fix document target jump ( #81 )
2023-05-06 22:41:16 +08:00
cfbdf5cced
chore: update doc to make DATABASE_URL required
2023-05-06 01:49:15 +08:00
8e3d220d0d
chore: update doc to make DATABASE_URL required
2023-05-06 01:44:55 +08:00
5bb8a232e2
chore: re-arrange addMessage to avoid returning partial error
...
Strange I can only observe this in prod. Not in local env even using `next build && next start`
2023-05-06 00:07:51 +08:00
ab80b67521
fix: show table list only if it’s bound with a connection
2023-05-05 23:17:48 +08:00
691edcca2a
chore: delete unused import ( #80 )
2023-05-05 23:04:28 +08:00
a80b0d71ac
chore: only keep english, chinese simplified and spanish
...
We are iterating very fast, just don’t have bandwith to handle many languages at this point
2023-05-05 22:58:27 +08:00
fa2ea2ada8
chore: fix some error format in Chinese document ( #79 )
2023-05-05 22:54:38 +08:00
c8d6fafdfa
feat: account and payment ( #75 )
2023-05-05 18:56:14 +08:00
fa16f8fd48
feat: add a table select to choose a table as prompt ( #74 )
2023-05-05 16:46:29 +08:00
07a10fb5c6
feat: add a Chinese document ( #76 )
2023-05-05 16:18:13 +08:00
40e86fbdaf
fix: too many connect error ( #71 )
...
* add fetch all struct
* add other database implement
* rename method name
* adjust the order of functions
* eslint
* eslint
* eslint
* eslint
* eslint
* fix error end when fetch schema batch
2023-05-04 23:36:48 +08:00
498bf156c0
chore: update on Spanish locale file ( #73 )
...
* 🎨 style(es.json): add new keys and values for connection and assistant
🚀 chore(es.json): add new banner messages
The connection object now has new keys and values for the database type, title, host, port, database name, username, and password. The assistant object now has a new key and value for creating a new bot. The banner object now has two new messages, one for warning non-select SQL statements and another for promoting the product launch on Product Hunt.
* 🎨 style(es.json): fix typo in banner.product-hunt message
The message in banner.product-hunt contained a typo. The word "de" was removed to make the message grammatically correct.
* 🌟 feat(es.json): add new translations for edit and execute
🐛 fix(es.json): update conversation title translation
🐛 fix(es.json): add new translations for OpenAI quota overflow
The new translations for "edit" and "execute" have been added to the language file. The translation for "conversation-title" has been updated to "title" for consistency with the application. The translations for "quota-overflow" and "use-my-key" have been added to handle OpenAI quota overflow.
2023-05-03 19:22:10 +08:00
eb4cda6081
chore: reinit schema
2023-05-02 19:46:35 +08:00
5c2410cfba
fix: add model seed data
2023-05-02 17:51:04 +08:00
6ce7d9862c
chore: change USAGE_DATABASE_URL to DATABASE_URL
2023-05-02 17:47:57 +08:00
0306b10902
chore: add enduser column to record enduser info
...
Also pass the enduser info to OpenAI for abuse detection.
2023-05-02 16:51:19 +08:00
5259222b92
chore: add model info to the chat table
2023-05-02 16:22:41 +08:00
69fd60ce76
feat: refactor to consolidate usage collection
...
Also only record the current system prompt instead of recording all previous exchange.
2023-05-02 14:48:54 +08:00
2479521e8d
chore: default upvote should be false
2023-05-02 12:28:30 +08:00