Archived
1
0
Fork 0
Commit graph

121 commits

Author SHA1 Message Date
067f58e757
Fix 急急急 (#1075)
* Fix!!!

* Fix another openai_api_key
2024-01-10 09:31:36 +08:00
3554d69fc2
Fix ask module loading error (#1074)
When openai_api_key is empty:
> openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

See-also: https://github.com/Teahouse-Studios/akari-bot/pull/1037
2024-01-09 21:16:30 +08:00
多羅狼
87b6bf44dd
Update locale 2024-01-05 15:38:37 +08:00
Dianliang233
9def9cca65 Add logging 2024-01-05 14:27:20 +08:00
Dianliang233
f2abcc1383 ask: handle rate limits gracefully 2024-01-05 14:25:08 +08:00
Dianliang233
6856b23904 Detect failure 2024-01-03 14:49:34 +08:00
Dianliang233
576e7d9de0 Add gpt-4-1106-preview support
but it's not available on the account yet
2024-01-03 09:15:18 +08:00
Dianliang233
b863783905 Rewrite ask 2024-01-03 09:01:42 +08:00
多羅狼
c6d03a87df
update 2023-12-29 15:52:53 +08:00
yzhh
a9b1755cdd update 2023-12-28 15:19:21 +08:00
yzhh
c62006550b fix several bugs by someone 2023-12-26 14:32:19 +08:00
yzhh
af833b82d0 update 2023-12-19 13:55:37 +08:00
多羅狼
1161ece88c
fix 2023-12-07 21:58:40 +08:00
多羅狼
cf92540903
Update rickroll() 2023-12-07 21:21:58 +08:00
1f319c6373
fix: try fix restart error when ask is not configured (#1037)
Signed-off-by: xtex <xtexchooser@duck.com>
2023-12-02 15:27:01 +08:00
多羅狼
4ed9508172
standardized naming 2023-11-10 21:49:49 +08:00
多羅狼
6b82a93004
fix 2023-11-09 13:26:15 +08:00
多羅狼
1e3cb3b89e
update (#1012) 2023-11-09 13:12:48 +08:00
多羅狼
c5806cd983
Update __init__.py 2023-11-08 23:55:43 +08:00
多羅狼
729b4ff704
Update __init__.py 2023-11-08 23:53:54 +08:00
多羅狼
0c545b4ec1
Update 2023-11-06 21:27:45 +08:00
多羅狼
5fb6d8416d
upd 2023-11-06 15:39:38 +08:00
多羅狼
18a37c877f
prompt petal cost when output blocked 2023-11-06 15:32:22 +08:00
多羅狼
fcbeb342a1
upd 2023-11-06 02:07:37 +08:00
多羅狼
5dc88cbf8b
import 2023-11-05 16:44:06 +08:00
多羅狼
3eddb75c81
move petal to core 2023-11-05 16:41:30 +08:00
yzhh
156f669df4 try to fix a bug in ask module 2023-10-29 01:49:18 +08:00
Dorobot
19e6df7c1e
New Crowdin updates (#994) 2023-10-26 16:35:33 +08:00
yzhh
a158e4feb5 update 2023-10-21 16:41:05 +08:00
多羅狼
941073f07c
optimization locale (#995) 2023-10-21 15:09:45 +08:00
Dorobot
7c00fbb6ab
New Crowdin updates (#989) 2023-10-19 17:48:25 +08:00
多羅狼
8dc6bc1272
Update zh_cn.json 2023-10-11 17:33:21 +08:00
多羅狼
bcfecc143b
Update zh_cn.json 2023-10-11 17:27:53 +08:00
yzhh
2617d3257c try to fix unidentified image error 2023-10-11 16:51:20 +08:00
yzhh
9effcc46f7 use built in cooldown 2023-09-13 09:43:19 +08:00
Dianliang233
910308b100 Try to use WA more often 2023-09-11 18:06:02 +08:00
Dianliang233
5a330609ab Add langsmith 2023-09-11 17:46:54 +08:00
Dianliang233
f516194089 Fix ask 2023-09-08 07:49:30 +08:00
yzhh
2d6f82b68c downgrade langchain and disable renovate automerge
tank u revonate :)
2023-09-05 00:46:43 +08:00
yzhh
f9ecd0f987 autoformat code 2023-09-03 16:50:12 +08:00
yzhh
bd5c88e6da update 2023-09-03 16:39:03 +08:00
yzhh
55b075c56e update 2023-09-01 22:38:32 +08:00
多羅狼
bbc774ccb4
rev 2023-08-21 14:09:16 +08:00
Dorobot
d1bfee8775
New Crowdin updates (#854) 2023-08-21 14:08:04 +08:00
多羅狼
9042a605cc
Update formatting.py 2023-08-21 13:42:55 +08:00
多羅狼
ca1d5540a1
fix 2023-08-21 02:30:50 +08:00
多羅狼
96ad7f09bf
uodate i18n 2023-08-21 02:28:30 +08:00
多羅狼
173d3fecd4
Update __init__.py 2023-08-17 22:10:36 +08:00
多羅狼
c835a5399d
Update i18n 2023-08-15 01:13:09 +08:00
多羅狼
64c0ac498d
Update __init__.py 2023-08-12 00:27:35 +08:00