Commit Graph

249 Commits

Author SHA1 Message Date
VolunPotest
0aaa7a46fb pop message from self.last_message 2023-03-28 22:02:53 +02:00
VolunPotest
01638d3756 Add resend command 2023-03-28 21:57:51 +02:00
ned
e43103a838 update token counting function 2023-03-28 13:59:46 +02:00
ned
3e11492448 Merge pull request #126 from n3d1117/feature/continuous-typing-indicator
Initial support for continuous chat indicators
2023-03-28 13:00:33 +02:00
ned
77a500a1ff some refactoring 2023-03-28 12:59:19 +02:00
ned
bd4fe58551 initial support for continuous chat indicators 2023-03-28 10:44:34 +02:00
ned
8c70d96cc4 bump python-telegram-bot to 20.2 2023-03-27 22:55:21 +02:00
ned
f55ff46a6c handle exceptions with markdown 2023-03-27 17:22:05 +02:00
ned
f8f3c229c3 minor improvements 2023-03-27 17:14:50 +02:00
ned
bf6de710af Merge pull request #121 from JokerQyou/fix/replace-leftover
Trim all bot commands from message text
2023-03-27 17:13:27 +02:00
Joker
c7c836c12e Trim all bot commands from message text 2023-03-27 22:23:21 +08:00
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
90365c6d9e update README.md 2023-03-26 12:54:18 +02:00
ned
cf890d929f update README.md 2023-03-26 12:53:05 +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
00dfa80dc7 Merge pull request #110 from n3d1117/feature/stream-support
Initial stream support
2023-03-26 12:30:56 +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
ned
38e372115b update README.md 2023-03-24 00:11:22 +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
ned
c9ea373e5c Merge pull request #91 from carlsverre/gpt-4-support
gpt-4 model support
2023-03-22 21:01:41 +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
ned
7e6720f657 Merge pull request #87 from gparrello/new-feature
Allow setting system content on reset
2023-03-20 22:49:16 +01: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
b7d07f5023 Update docker-compose.yml 2023-03-19 00:32:59 +01:00
ned
d768908bfb update README.md 2023-03-19 00:30:42 +01:00
ned
ba4ba91c94 update README.md 2023-03-19 00:09:01 +01:00
ned
ea0738d967 Update publish.yaml 2023-03-19 00:00:35 +01:00
ned
a20afa67a7 Update publish.yaml 2023-03-18 23:51:12 +01:00