2
0
Commit Graph

3 Commits

Author SHA1 Message Date
Baptiste Arnaud
aa4c16dad7 Regroup database queries of /sendMessage in one place
Potentially reduces the total queries to database and it will help to migrate to Edge runtime
2023-07-18 14:31:20 +02:00
Baptiste Arnaud
dcdf870308 (openai) Retry OpenAI call if status code is 503
Closes #529
2023-06-16 19:31:28 +02:00
Baptiste Arnaud
83f2a29faa (openai) Add new models and remove tiktoken
Instead of computing total tokens with tiktoken we just attempt retries after trimming the first message
2023-06-16 16:50:32 +02:00