Commit graph

5 commits

Author SHA1 Message Date
7225739527 Update eslintrc.json to also make it consider typings
note that I've marked Promises awaiting as a warn,
because I don't want to be bothered with it for now.

I also edited all files to accomodate with the new rules.

I should also think find a way to type-safely import Commands directory,
another time
2023-07-30 22:28:13 +02:00
0e3962e110 Handle unregistered function calls 2023-07-30 01:51:40 +02:00
000641bcfc Do not catch function execution error when catching errors of json parsing.
Errors from model function calling should propagate up instead of being catched there.
2023-07-30 01:43:41 +02:00
56869a2dc2 Make error of function json parsing more descriptive 2023-07-30 01:21:19 +02:00
0df05e2f06 Add function handling for OpenAI model
for now it's querying only time, but in the future there will be more commands
2023-07-23 05:50:16 +02:00