58 Commits

Author SHA1 Message Date
ee1796ee47 docs: update README with comprehensive documentation 2025-05-24 16:39:29 -04:00
3c0956b518 fix: use correct PostgreSQL interval units in date_trunc 2025-05-24 16:32:30 -04:00
1d195363eb feat: adding the endpoint 2025-05-24 16:30:38 -04:00
82728ec2f9 feat: add time-based expense summaries - Add granularity support (daily/monthly/yearly) to stats endpoint - Implement time period grouping in expense calculations - Add proper date validation and error handling - Update API documentation with new parameters 2025-05-24 16:27:29 -04:00
5dda8d29db fix: implement proper token tracking and cost calculations - Add Prompt model import and update token tracking in generate.js - Update savePrompt to handle token data - Fix token calculations for both streaming and non-streaming responses - Add proper error handling for token updates 2025-05-24 16:23:06 -04:00
f001c55da7 fix: fixing prompt endpoint 2025-05-24 16:18:49 -04:00
583f6b2c9d feat: adding dependency 2025-05-24 16:15:49 -04:00
8551b05aef feat: adding cost on the prompts 2025-05-24 16:11:23 -04:00
0ce4af8833 fix: fixing multiple files on one 2025-05-24 15:58:45 -04:00
9a78ec0c7c fix: fixing the multi files 2025-05-24 15:49:11 -04:00
34b5a54daf fix: fixing the prompt in one 2025-05-24 15:34:21 -04:00
c1bfbf2eef fix: fixing the request data on file attached 2025-05-24 15:18:37 -04:00
6c7c4e0829 fix: fixing the file injection 2025-05-24 15:08:09 -04:00
4deb7e60da feat: adding delete prompts and errors 2025-05-24 14:37:45 -04:00
e2df2533f8 feat: adding request data table 2025-05-24 14:25:46 -04:00
0e7222fba3 feat: adding more context on my prompts 2025-05-24 14:23:04 -04:00
3936256ece fix: fixing paths 2025-05-24 14:09:01 -04:00
8d8638f131 feat: fixing the path 2025-05-24 14:00:01 -04:00
fd32c6dfa9 refactor: migrate to Sequelize ORM and improve project structure - Add Sequelize ORM for PostgreSQL - Restructure project into modular layers (routes, network, controller) - Add database initialization and models - Update server.js with graceful shutdown - Add comprehensive README 2025-05-24 13:37:19 -04:00
27c2181aff adding more robust answers 2025-05-10 13:22:07 -04:00
c4df425c8c feat: adding new server 2025-04-18 23:31:13 -04:00
b0563abc99 feat: adding only the key 2025-04-18 23:28:08 -04:00
504b5ba04e adding 2025-04-14 00:16:47 -04:00
281200c5c5 adding 2025-04-14 00:16:20 -04:00
d541ce6bb9 adding 2025-04-14 00:14:56 -04:00
a006ba64f4 fix 2025-04-12 12:57:35 -04:00
812e60011d adding 2025-04-12 12:56:25 -04:00
36a7b2b036 addign 2025-04-12 12:45:08 -04:00
bde988c01e adding 2025-04-12 12:42:50 -04:00
cbbabe3c7b adding 2025-04-12 12:41:32 -04:00
e62ba8670a adding 2025-04-12 12:37:50 -04:00
8f9960b5cf adding 2025-04-12 12:34:41 -04:00
dadccc21be adding 2025-04-10 22:58:33 -04:00
50d79b825c adding 2025-04-10 22:57:04 -04:00
a488c377ce adding 2025-04-10 01:34:31 -04:00
728068fd84 adding 2025-04-10 01:29:25 -04:00
f93ab4a887 adding 2025-04-10 01:26:23 -04:00
f55c365e39 adding 2025-04-10 01:26:05 -04:00
7547a69969 adding 2025-04-10 01:21:13 -04:00
66fb26ff50 adding 2025-04-10 01:19:04 -04:00
baa4486c79 adding 2025-04-10 01:16:49 -04:00
17e3f2bbed adding 2025-04-10 01:08:22 -04:00
a29911c727 adding right pattern 2025-04-10 01:02:47 -04:00
f2a59def86 addng 2025-04-10 00:53:48 -04:00
2a8e019ea7 modifying endpoint 2025-04-10 00:50:33 -04:00
537c62f808 fixing console 2025-04-10 00:40:22 -04:00
a9ebaee9aa adding other log 2025-04-10 00:35:24 -04:00
063efc4d1c adding fixes 2025-04-10 00:33:28 -04:00
c54e4197f2 fixing undefined variable 2025-04-10 00:32:12 -04:00
267c90eca6 adding check on bearer 2025-04-10 00:30:49 -04:00