matrix-gptbot/src/gptbot
Kumi eccca2a624
Handle max tokens exception in chat response generation
Introduced error handling for the 'max_tokens' exception during chat response generation. In cases where the maximum token count is exceeded, the bot now falls back to a no-tools response, avoiding the halt of conversation. This ensures a smoother chat experience and persistence in responding, even when a limit is reached. Any other exceptions will still be raised as before, maintaining error transparency.
2023-11-30 14:18:47 +01:00
..
assets Make it an importable module 2023-05-25 07:28:28 +00:00
callbacks Handle key upload errors and refine tool flow responses 2023-11-29 20:31:07 +01:00
classes Handle max tokens exception in chat response generation 2023-11-30 14:18:47 +01:00
commands feat: Add voice input and output support 2023-11-26 07:58:10 +01:00
migrations Fix type hints in migrations 2023-06-01 06:23:48 +00:00
tools Handle key upload errors and refine tool flow responses 2023-11-29 20:31:07 +01:00
__init__.py Make it an importable module 2023-05-25 07:28:28 +00:00
__main__.py Version bump to 0.1.1 2023-06-01 06:34:09 +00:00