Commit Graph

526 Commits

Author SHA1 Message Date
Petr Branberger 736869454b Fix /cs.ts to include the option 2023-05-10 12:50:12 +02:00
Petr Branberger db9084b0dc Fix redefined "DE" in /index.ts 2023-05-10 12:39:33 +02:00
crim50n 71a546dd44 Adding Russian translation
Adding a Russian translation and fixing other language files to make them look the same.
2023-05-10 10:16:40 +03:00
PaRaD1SE98 96e3d3a22c 给所有select元素添加一个右侧下拉按钮 2023-05-10 07:14:49 +00:00
ShengYan, Zhang a80dcaa1c3 fix: row count logic 2023-05-10 09:27:33 +08:00
Yidadaa cb55ce084c feat: add model and time info to prompts 2023-05-10 00:51:43 +08:00
Yidadaa e4630e6a0f fixup 2023-05-09 23:38:34 +08:00
Yidadaa 6d9abf11b8 fix: #1363 session index after deleting 2023-05-09 23:36:30 +08:00
Yidadaa 7e8def50aa feat: close #444 use env var to disable gpt-4 2023-05-09 23:20:03 +08:00
Yidadaa 2b7f72deec feat: close #1055 cmd/alt/ctrl + arrow up/down to switch window 2023-05-09 23:01:17 +08:00
Yidadaa 9b1f25140e fix: #1359 empty line wrap count 2023-05-09 22:46:06 +08:00
Yidadaa 222301307f feat: close #1301 support message actions 2023-05-09 00:39:00 +08:00
Yidadaa 1b19fdfe11 feat: #1303 improve long text input ux and mobile modal 2023-05-08 22:49:51 +08:00
Yidadaa 1f2ef1cdb7 fix: #1307 empty messages 2023-05-08 22:21:06 +08:00
Yidadaa c394b21423 fix: #1294 fallback while mermaid render fails 2023-05-08 22:18:19 +08:00
Yifei Zhang 696e84ea88
Merge pull request #1315 from binh234/vi_translation
Add Vietnamese translation
2023-05-08 11:51:28 +08:00
ShengYan, Zhang 9bcfe6461d chore: remove an unused css name 2023-05-08 08:48:47 +08:00
ShengYan, Zhang 4a82a91f2d fix: styles on .user-prompt-buttons 2023-05-08 08:27:10 +08:00
Mokou 6d62ab4257 feat: mobile chat overscroll-behavior none 2023-05-07 18:33:40 +08:00
Binh Le f6ff32f339 Add Vietnamese translation 2023-05-07 14:54:09 +07:00
LaChimere 1facbb2906 fix typo 2023-05-07 13:52:26 +08:00
ShengYan, Zhang 96545bd523 fix: show Loading Icon when checking repo update 2023-05-06 20:12:26 +08:00
Yidadaa d88da1f6ab feat: close #951 support mermaid 2023-05-05 23:32:35 +08:00
Yidadaa fe8e3f2bcf fix: #1273 overlap detecting 2023-05-05 22:59:21 +08:00
Yidadaa 4b9d753254 fix: #1251 use google fonts mirror 2023-05-05 22:49:41 +08:00
Yifei Zhang ec655f5182
Merge pull request #1248 from wsw2000/main
refactor: determine userInput by trimming
2023-05-04 23:26:02 +08:00
Yifei Zhang 093df395c7
Merge pull request #1235 from xesrc/main
resolve problem about basic auth when the app is behind a proxy server
2023-05-04 23:25:49 +08:00
wsw 319959ad6e refactor: determine userInput by trimming 2023-05-04 22:53:22 +08:00
Yidadaa c2e79d22d2 fix: #1233 detect api key with custom prefix 2023-05-04 22:50:07 +08:00
Yidadaa 596c9b1d27 feat: close #887 import masks 2023-05-04 22:33:13 +08:00
Yidadaa 40223e6b3f fix: #1237 can not delete cloned mask 2023-05-04 22:31:10 +08:00
Yidadaa eec1dd6448 fix: proxy api request 2023-05-04 22:18:03 +08:00
xesrc a5fe9bc6d6 resolve problem about basic auth when the app is behind a proxy server 2023-05-04 16:11:44 +08:00
Yidadaa fce3b3ce7b feat: use commit time as version id 2023-05-04 00:12:00 +08:00
Yidadaa 074bd9f045 feat: close #663 allow disable user api key input 2023-05-03 23:49:33 +08:00
Yidadaa b1ea26467d refactor: extract client side openai url 2023-05-03 23:25:17 +08:00
Yidadaa 48ebd74859 refactor: merge token and access code 2023-05-03 23:08:37 +08:00
Yidadaa ef5b7ce853 refactor: merge /api/chat-stream to /api/openai 2023-05-03 17:07:09 +08:00
Yidadaa 06268543d0 fixup 2023-05-03 16:24:25 +08:00
Yidadaa 58eadd6d7b feat: close #782 select prompt with arrow down / up 2023-05-03 16:22:37 +08:00
Yidadaa f250594e97 Merge branch 'main' into bugfix-0503 2023-05-03 15:56:02 +08:00
Yidadaa c1b6828ed4 fix: #1201 wont close prompt list when blur 2023-05-03 15:55:46 +08:00
Yidadaa 328ecd1cfb fix: #1210 change default lang to en 2023-05-03 15:22:44 +08:00
Clarence Dan aeda7520fe
fix: Resolve markdown link issue
Resolved Markdown Issue
This pull request also resolves an issue where internal links were not redirecting properly in markdown, and optimizes the behavior for external links to open in a new window.
2023-05-02 11:18:18 +08:00
Yidadaa 717c123b82 feat: improve mask ui 2023-05-02 03:10:13 +08:00
Yidadaa 132f6c8420 feat: improve mask ui 2023-05-02 03:01:42 +08:00
Yidadaa 116e16e30d fixup 2023-05-02 02:52:25 +08:00
Yidadaa ae8050a3f7 fixup 2023-05-02 02:45:15 +08:00
Yidadaa f5a5cffdec fixup 2023-05-02 02:38:30 +08:00
Yidadaa 220c622f8f fixup 2023-05-02 02:37:15 +08:00
Yidadaa e509749421 perf: improve prompt list performance 2023-05-02 02:26:43 +08:00
Yidadaa a69cec89fb perf: close #909 reduce message items render time 2023-05-02 00:31:44 +08:00
Yidadaa 8f5c289818 fix: #751 do not cache request 2023-05-01 23:48:23 +08:00
Yidadaa 1aaf4ae5bc fix: #1126 can not select prompt 2023-05-01 23:39:54 +08:00
Yidadaa 9f3188fe45 fix: #1124 mask model config does not works 2023-05-01 23:37:02 +08:00
Yidadaa b2fc7d476a fix: #1147 edit mask after creating a new mask 2023-05-01 23:23:39 +08:00
Yidadaa c37885e743 fix: #1130 #1131 delete right session 2023-05-01 23:21:28 +08:00
Yidadaa 0209ace221 fix: #1154 wrong date range when query usage 2023-05-01 22:53:33 +08:00
Zhenyu Zhu ba0753c418 fix: mask download not working 2023-04-28 19:25:03 +08:00
Yidadaa 6419ce345f fix: hot fix for data migration 2023-04-28 01:54:57 +08:00
Yidadaa ace3f7f532 Merge branch 'main' into session-config 2023-04-28 00:35:04 +08:00
Yidadaa fb32770486 feat: i18n refactor and style adjustment 2023-04-28 00:34:37 +08:00
Yidadaa 6c1144f6f4 fixup 2023-04-27 02:14:38 +08:00
Yidadaa 59edcc3e2e feat: add side bar mask entry 2023-04-27 02:12:09 +08:00
Yidadaa 30040a0366 feat: migrate state from v1 to v2 2023-04-27 02:00:22 +08:00
Yifei Zhang a604644da7
Merge pull request #1102 from BaiMeow/main
fix: use innerHTML may leads unexpected script execution
2023-04-27 01:21:36 +08:00
Yidadaa 401c1364be fix: merge conflict 2023-04-27 01:18:09 +08:00
Yidadaa c7c58ef031 feat: add i18n for mask 2023-04-27 01:16:21 +08:00
Shi Liang 0f9fe92fa3
修复在聊天很短没有覆盖整个区域时显示回到底部按钮的bug 2023-04-26 21:42:43 +08:00
柏喵Sakura bbf3d044cb
Merge branch 'Yidadaa:main' into main 2023-04-26 21:25:21 +08:00
BaiMeow 7ed8517771 fix: innerHTML may leads to script execution 2023-04-26 21:24:14 +08:00
Yifei Zhang 2deb5cbc9e
fix: #1094 try to disable zoom on ios safari 2023-04-26 14:43:43 +08:00
Yidadaa 3cda44e05b fixup 2023-04-26 02:05:35 +08:00
Yidadaa a7a8aad9bc feat: add mask crud 2023-04-26 02:02:46 +08:00
Yidadaa ffa7302571 feat: add mask page 2023-04-25 00:49:27 +08:00
Peter Dave Hello e5e2f6c2e1 Improve tw locale 2023-04-24 04:11:12 +08:00
Yidadaa 708c6829f7 fixup 2023-04-24 01:17:28 +08:00
Yidadaa aeb986243c feat: add mask screen 2023-04-24 01:15:44 +08:00
Yidadaa e654cee3c8 fixup: request params 2023-04-23 21:54:18 +08:00
Yidadaa b23adf9d5d fixup 2023-04-23 01:37:47 +08:00
Yidadaa 7345639af3 feat: add session config modal 2023-04-23 01:27:15 +08:00
Yidadaa 4cdb2f0fa3 feat: session-level model config 2023-04-22 01:13:23 +08:00
雲霧 79f58f5c6a
fix: typo 2023-04-22 00:47:15 +08:00
Yifei Zhang 56d098c317
Merge pull request #980 from 0x9be00ff1/fix-presence-penalty-step
[Fix] adjust presence_penalty step 0.1
2023-04-22 00:43:44 +08:00
Yidadaa a3ca8ea5c4 feat: new chat-item avatar 2023-04-22 00:35:50 +08:00
Yidadaa ae479f4a92 fix: #963 config not work 2023-04-22 00:12:07 +08:00
Yidadaa ab826363ea fix: #965 improve loading animation 2023-04-21 23:37:25 +08:00
Yidadaa e1ce1f2f40 feat: close #976 esc to close modal 2023-04-21 23:28:53 +08:00
Yidadaa 209a727fe9 feat: close #928 summarize with gpt3.5 2023-04-21 23:22:02 +08:00
Zhenyu Zhu 4d45c07bf2 fix: adjust presence_penalty step 0.1 2023-04-21 18:52:32 +08:00
Shi Liang ffb0fa25f1
Merge pull request #1 from shih-liang/patch-1
chat-stream: runtime = "experimental-edge";
2023-04-21 13:08:01 +08:00
Shi Liang 8966fd3b23
openai runtime = "experimental-edge"; 2023-04-21 13:03:38 +08:00
Shi Liang b6a7104b60
chat-stream: runtime = "experimental-edge"; 2023-04-21 13:03:02 +08:00
Yidadaa 82ad0573be feat: close #380 collapse side bar 2023-04-21 02:52:53 +08:00
pBrambi 6a74d62e98 Czech 2023-04-20 19:26:31 +02:00
Yidadaa 5185166e3b fixup 2023-04-21 01:18:49 +08:00
Yidadaa 693dcf12d6 refactor: close #643 use react router 2023-04-21 01:12:39 +08:00
Yidadaa 55281ed548 feat: reactive isMobileScreen 2023-04-20 23:20:25 +08:00
Yidadaa 2390da1165 fix: #930 wont show delete for first message 2023-04-20 23:09:42 +08:00
Yidadaa 06d503152b feat: close #928 summarize with gpt-3.5 2023-04-20 23:04:58 +08:00
Yidadaa 2e9e69d66c fixup 2023-04-20 22:58:19 +08:00
Yidadaa 7e8973c9ff feat: close #291 gpt-4 model uses black icon 2023-04-20 22:52:14 +08:00
pBrambi 35ccfb14c2 Create cs.ts
Czech language translation
2023-04-20 01:02:43 +02:00
Yin Min 21da781350 Update common.ts
Add OrgID
2023-04-19 19:28:33 +08:00
Yifei Zhang 072a35b4ee
fix: #915 allow send 0 history messages 2023-04-19 11:20:07 +08:00
Yifei Zhang e68f17b463
Merge pull request #902 from ClarenceYk/for_test
Update app/components/chat.tsx
2023-04-18 19:10:30 +08:00
Ma Yuke dfcae92ae0 Update app/components/chat.tsx
fix: chat-body flickers when click-and-hold the scroll bar using mouse
2023-04-18 18:01:09 +08:00
aooyoo d1653ded9a fix user prompt translation 2023-04-18 08:13:32 +00:00
Yifei Zhang 8da581695f
Merge pull request #893 from L1468999760/add_alpha
fix:delete user.svg
2023-04-18 11:55:28 +08:00
Yifei Zhang 9e46ca31dd
Merge pull request #892 from Yidadaa/improve-memory
feat: close #864 improve long term history
2023-04-18 11:54:24 +08:00
Yidadaa ad1c8ffe21 fixup 2023-04-18 11:44:15 +08:00
Yifei Zhang d75b7d49b8
feat: close #864 improve long term history 2023-04-18 11:42:08 +08:00
jtung4 53173d9053
Optimize topic and summary prompts in tw.ts 2023-04-18 11:38:26 +08:00
L1468999760 e68207be2c fix:delete user.svg 2023-04-18 11:34:33 +08:00
Yidadaa 789a779775 feat: user prompts 2023-04-18 01:34:12 +08:00
Yidadaa fdc8278b90 feat: check usage throttle 2023-04-17 23:12:27 +08:00
Yidadaa 525a2ff9a7 fix: #866 remove unused retry messages 2023-04-17 22:51:14 +08:00
Ma Yuke 64e78329ec Update app/requests.ts
fix: displaying the number of subscription beyond two decimal places.
2023-04-17 11:53:09 +08:00
Yifei Zhang b79845fcaa
fixup 2023-04-17 11:36:32 +08:00
Yifei Zhang 76ef5ef9a9
fixup 2023-04-17 11:34:33 +08:00
Yifei Zhang cc053b148d
fix: #853 fetch duplex errors 2023-04-17 11:27:31 +08:00
Yidadaa 12d4081311 feat: close #539 add delete message button 2023-04-16 18:55:29 +08:00
Yidadaa ea3e8a7459 fix: #829 filter empty prompt 2023-04-16 18:11:09 +08:00
Yidadaa dc3883ed1a feat: close #118 add stop all button 2023-04-16 18:07:43 +08:00
tscherrie tscherru f9906aba7f found typo 2023-04-16 07:43:38 +00:00
tscherrie tscherru 410695d823 some final language quality improvements 2023-04-16 07:11:36 +00:00
tscherrie tscherru 2c35c26749 fixed typo 2023-04-16 05:32:55 +00:00
tscherrie tscherru f042d07ee7 added de to index and other files 2023-04-16 05:07:54 +00:00
tscherrie tscherru 4ce5f89c66 fixed german language translations 2023-04-16 04:16:04 +00:00
tscherrie tscherru e0fa0d1936 Add german language translation de.tss 2023-04-16 04:00:31 +00:00
ilarioscandurra 98fd08d9e5 fix IT translation 2023-04-15 16:33:04 +02:00
Yidadaa 0a79df3670 refactor: remove protocol env vars 2023-04-15 02:50:04 +08:00
Yidadaa 47a2911ee2 feat: edit session title button 2023-04-15 02:37:24 +08:00
Yidadaa fb14785cad fix: #804 disable auto scroll in textarea 2023-04-15 02:28:30 +08:00
jtung4 73216513dd Update tw.ts 2023-04-14 19:49:48 +08:00
Peanuts 7fc43b4745
Fix wrong spelling 2023-04-13 11:07:42 +08:00
Yifei Zhang f6f07abf1d
Update markdown.tsx 2023-04-13 02:16:21 +08:00
Yidadaa 8363cdd9fa feat: close #680 lazy rendering markdown 2023-04-13 02:07:24 +08:00
Yidadaa d790b0b372 feat: close #680 lazy load markdown dom 2023-04-12 23:27:28 +08:00
Yidadaa 9146b98285 fix: *.scss *.svg types 2023-04-12 23:04:45 +08:00
Yifei Zhang c1bb53c4e3
Revert "fix: autoscroll conflict" 2023-04-12 19:48:12 +08:00
Yifei Zhang a15bd3ce33
Merge pull request #715 from betgo/bugfix-scrollthumb
fix: autoscroll conflict
2023-04-12 11:05:53 +08:00
helloworld_xy d8ef4a1031 fix:修复正常响应结果后额外追加‘出错了,请稍后再试’bug 2023-04-11 19:03:09 +08:00
Yifei Zhang 5a56bc3465
Merge pull request #688 from aooyoo/main
add Japanese
2023-04-11 15:37:23 +08:00
betgo 4269775665 fix: autoscroll conflict 2023-04-11 14:27:34 +08:00
peanut996 a1c709bb58 [refactor] rename ChatResponse. 2023-04-11 12:06:12 +08:00
Yidadaa 6841846613 fixup 2023-04-11 02:56:48 +08:00
Yidadaa d6e6dd09f0 feat: dynamic config 2023-04-11 02:54:31 +08:00
Yidadaa 9b61cb1335 refactor: build/runtime/client configs 2023-04-11 01:21:34 +08:00
Yidadaa 7aee53ea05 fix: #507 break cjk chars in stream mode 2023-04-10 23:13:20 +08:00