Commit Graph

55 Commits (main)

Author SHA1 Message Date
Yiyang Kang bbf085c76b
change: reduce error severity 2024-05-07 22:26:55 +09:00
Yiyang Kang 2617881130 feat!: update models and prompts 2024-05-07 22:25:46 +09:00
Yiyang Kang 9ffde82094 build: update dependencies 2024-05-07 22:04:21 +09:00
Yiyang Kang 09cb31eda9
feat: introduce gpt-4 model 2023-04-28 13:18:10 +08:00
Yiyang Kang 68075ff53d
chore: update button text 2023-04-21 15:43:44 +08:00
Yiyang Kang 2a8605631b feat: add kanji command 2023-04-21 15:43:05 +08:00
Yiyang Kang f6f8563aba
update license 2023-03-25 21:36:33 +08:00
Yiyang Kang b60be9ae7e
feat(AI): add salted user id 2023-03-21 13:38:33 +08:00
Yiyang Kang 816ae68aeb chore: update readme and makefile 2023-03-21 13:38:07 +08:00
Yiyang Kang 39868f4f07 feat(AI): add done channel for faster response 2023-03-21 13:38:07 +08:00
Yiyang Kang 5e65a2ce32
feat: slow down message updates to avoid rate limit 2023-03-21 02:03:44 +08:00
Yiyang Kang 206c1326f6 change(AI): assistant prompt 2023-03-21 02:01:51 +08:00
Yiyang Kang 89286b7e73
refactor: cleanup redundant code 2023-03-20 21:49:56 +08:00
Yiyang Kang 9e7432a1a1 refactor: remove unused return value 2023-03-20 21:19:53 +08:00
Yiyang Kang 7e9d4e5052
feat(assistant): add retry when requesting completion 2023-03-20 19:50:54 +08:00
Yiyang Kang 08985f6936 fix: message not cached correctly 2023-03-20 19:49:59 +08:00
Yiyang Kang dcb251d2ad
feat: integrate the AI assistant. 2023-03-20 18:12:57 +08:00
Yiyang Kang 522d253410 refactor: move functions 2023-03-20 15:22:46 +08:00
Yiyang Kang 658a041ff8 build: update dependencies 2023-03-20 15:08:17 +08:00
Yiyang Kang fbe9c3d004 refactor: rename cmds -> hostcmds 2023-03-20 15:08:02 +08:00
Yiyang Kang bd5e8112a1
feat(AI): streaming response 2023-03-19 14:45:50 +08:00
Yiyang Kang 7b2d3c31e5
feat: improve translate prompt 2023-03-09 14:16:13 +08:00
Yiyang Kang daa0c86d09
feat: add retry button 2023-03-08 16:20:22 +08:00
Yiyang Kang 672cd8b575 feat: update translate prompt 2023-03-08 16:04:20 +08:00
Yiyang Kang f672ae43ac
change: translate prompt 2023-03-08 11:56:53 +08:00
Yiyang Kang 3af6f0a18d
chore: adjust log level 2023-03-08 04:49:41 +08:00
Yiyang Kang 89ddf89052 feat: adjustable log level 2023-03-08 04:46:00 +08:00
Yiyang Kang ed46c2b274 feat: adjust prompt for translation 2023-03-08 04:25:20 +08:00
Yiyang Kang 899491e867
feat: add translate command 2023-03-08 02:28:38 +08:00
Yiyang Kang eecbaf18b3 build: update go mod 2023-03-07 16:09:55 +08:00
Yiyang Kang 03702a0eac chore: update makefile 2023-03-07 16:07:50 +08:00
Yiyang Kang 6971098753 refactor: rewrite cfg.go 2023-03-07 16:07:14 +08:00
Yiyang Kang b872b73ebf
feat: add inline buttons to traffic command 2022-12-09 14:50:28 +08:00
Yiyang Kang 6919626580 fix: typo 2022-12-07 13:50:15 +08:00
Yiyang Kang 7df9c44910
build: update dependencies 2022-12-07 11:02:12 +08:00
Yiyang Kang 730bda35fe feat: /xr command for currency exchange rates 2022-12-07 11:01:21 +08:00
Yiyang Kang 3122a971bf build: update dependencies 2022-12-06 21:03:05 +08:00
Yiyang Kang afc70788b6 change: shorten progress bar to fit iPhone screen
poor iPhone user :(
2022-11-26 21:05:25 +08:00
Yiyang Kang ce171109c8 change: reply quietly 2022-11-26 21:03:48 +08:00
Yiyang Kang 0c70dc976a
build: update go.mod 2022-11-23 05:10:22 +08:00
Yiyang Kang 2e6cd26cec fix: domain name validation
hopefully
2022-11-23 05:09:54 +08:00
Yiyang Kang 440d36b291
feat: announce command list 2022-11-23 04:33:32 +08:00
Yiyang Kang 37dffe56ce feat: add dig command
Other changes:
- use middleware for permission checking
- able to respond with emoji
- log incoming requests
2022-11-23 04:05:39 +08:00
Yiyang Kang 412725c6b9 feat: use simple chars for bar 2022-11-22 20:35:18 +08:00
Yiyang Kang 18cb9715e4 fix: handle exit signal properly 2022-11-22 20:33:50 +08:00
Yiyang Kang b73e378de7
feat: minor changes to text responces 2022-11-21 23:50:46 +08:00
Yiyang Kang f9ae020243
feat: add /year_progress command
yeah i'm bored
2022-11-21 15:44:55 +08:00
Yiyang Kang d037f57560
build: update makefile 2022-11-21 15:17:20 +08:00
Yiyang Kang 3fc427fae4 feat: add bar for traffic usage 2022-11-21 15:17:02 +08:00
Yiyang Kang b429137d20
build: update makefile 2022-11-21 13:55:25 +08:00