Commit Graph

32 Commits

Author SHA1 Message Date
ned
e4ea02ae23 minor improvements 2023-03-27 11:32:21 +02:00
ned
bc6a4e48f0 handle streaming responses over 4096 characters 2023-03-27 00:46:19 +02:00
ned
ff188ce1c2 lower stream latency and added some backoff 2023-03-26 15:58:11 +02:00
ned
463ffb4ded increase MAX_HISTORY_SIZE to 15 2023-03-26 15:54:43 +02:00
ned
d549584c53 fix transcript prompt when stream is enabled 2023-03-26 15:26:22 +02:00
ned
50647ffdc0 also handle generic error while streaming response 2023-03-26 13:04:16 +02:00
ned
789d6cd0bc made is_admin not async 2023-03-26 12:46:46 +02:00
ned
1a87a44421 Merge pull request #103 from AlexHTW/add-balance-function
Add balance functions to stats command
2023-03-26 12:46:05 +02:00
ned
1841bb58fc do not fail if total_tokens is not set 2023-03-26 12:28:38 +02:00
ned
26322b7bd9 initial stream message replies to original message 2023-03-25 19:47:59 +01:00
ned
99d98d2048 initial stream support 2023-03-25 19:36:56 +01:00
ned
1a28b6b683 minor improvements 2023-03-25 14:53:00 +01:00
AlexHTW
be35c811c9 added admin_user_ids variable to env
updated functions accordingly
improved (?) stats output look
2023-03-25 00:12:14 +01:00
AlexHTW
17028b8e57 Merge branch 'main' into add-balance-function 2023-03-24 11:32:16 +01:00
ned
5d2c288789 update gpt-4 token counting 2023-03-24 00:25:08 +01:00
AlexHTW
29ecd1723c removed balance from botcommands 2023-03-23 01:08:28 +01:00
AlexHTW
57edb16000 added grant balance and openAI usage to stats 2023-03-23 00:56:02 +01:00
AlexHTW
3b2fabd188 added functions is_admin and get_remaining_budget 2023-03-23 00:37:31 +01:00
deanxizian
e0974f80fe Add balance inquiry function 2023-03-23 00:37:31 +01:00
ned
649f486fdb Merge pull request #99 from kamil-malinski/main
makes bot reply to quotes of its own messages in a group
2023-03-22 21:03:51 +01:00
root
f9cb4faf19 makes bot reply to quotes of its own messages in a group 2023-03-22 12:00:05 +00:00
Carl Sverre
5e9dd9a846 added current conversation stats to /stats 2023-03-21 09:43:51 -07:00
Carl Sverre
792d9c2432 added longer context lengths and gpt-4-32k 2023-03-21 09:03:48 -07:00
Carl Sverre
b52d3ffe12 formatting 2023-03-20 17:50:12 -07:00
Carl Sverre
db6f15bc48 gpt-4 model support 2023-03-20 17:47:23 -07:00
Gerardo Parrello
421b7212bb add default value 2023-03-19 21:27:51 +01:00
Gerardo Parrello
a1e854a279 extend command description 2023-03-19 21:23:13 +01:00
Gerardo Parrello
7d62305444 allow content passed by system role to be customized on reset 2023-03-19 21:18:15 +01:00
ned
af3dec1bf5 use async version of openai methods 2023-03-18 23:03:56 +01:00
ned
03a317efe4 improve Dockerfile and bug fixes 2023-03-18 22:53:04 +01:00
ned
178e640e92 support python 3.9 (fix #80) 2023-03-18 22:49:30 +01:00
ned
256369ca90 reorganize folders 2023-03-18 22:22:55 +01:00