396 Commits

Author SHA1 Message Date
4ae03c9b9d Added cog for fitness activity logging feature.
At its starting state it would accept following commands:
- !getunits <activity>: Would send a JSON file with activity units via Discord message. Those files are responsible for setting up a fitness activity to log.
- !getlog <activity>: Would send a CSV file with fitness activity log. Those files contain records with timestamp, username, and reported activity measurements.
- !<activity> <value> <unit (optional)>: Would create a record with your fitness activity in corresponding CSV log file. If you choose to report different unit (feet, for example), it is going to convert as specified in its corresponding JSON file with units (to meters, for example) if the activity specified as convertable. Non-convertable activities' units are ignored.
2026-01-11 10:03:55 +05:00
074ff8bbb4 Merge pull request 'Made improvements in AI Agent's tool get_forecast_weather' (#8) from dev into master
Reviewed-on: #8
Reviewed-by: AllfatherHatt <allfatherhatt@noreply.localhost>
2025-06-18 17:13:22 +02:00
4e22274f9b - Removed unused debug import 2025-06-18 20:10:05 +05:00
a5ed9f9e1c Applied changes made in GitHub 2025-06-17 10:57:19 +05:00
f35a18c84b Merge pull request 'development' (#1) from development into master
Reviewed-on: #1
2025-06-14 15:47:22 +02:00
22767ad398 Added command aliases 2025-05-18 13:24:16 +02:00
88ecf7911f Attempting to make set channel behavior be nice 2025-05-18 13:18:50 +02:00
1a390c3d25 Attempting to make recruitment channel behave 2025-05-18 13:12:25 +02:00
7a9313d5a5 Removing unsupported escape character 2025-05-18 13:07:11 +02:00
a5ef741ad7 wtf questions 2025-05-18 13:03:21 +02:00
9a3e5860a7 Attempting to fix questions 2025-05-18 12:58:41 +02:00
38414027ec Updated recruitment cog 2025-05-18 12:51:52 +02:00
0483c2d8e6
Merge pull request #29 from T-BENZIN/development
+ Added openai_completion.py for later use as a external script for working with ChatGPT
2025-03-18 16:22:46 +01:00
b93ae09b69 + Applied debug decorator to some functions and methods 2025-03-18 19:54:34 +05:00
881ef42f42 + Added debug decorator 2025-03-18 19:50:12 +05:00
d35110a83b + Added openai_completion.py for later use as a external script for working with ChatGPT 2025-03-17 21:43:15 +05:00
ae866894a3 Trying to update messages 2025-03-16 14:25:10 +01:00
dc5bce9ca4 Re-adding max tokens 2025-03-16 14:14:56 +01:00
f22c77e2a1 Merge branch 'development' of https://github.com/Kanium/KaniumCogs into development 2025-03-16 14:11:00 +01:00
1a34585d33 No max tokens, this is surely safe 2025-03-16 14:10:49 +01:00
39039fe188
Merge pull request #28 from T-BENZIN/development
- Removed some condition check that some guy put in there
2025-03-16 14:00:45 +01:00
6e34f36b8b - Removed some condition check that some guy put in there 2025-03-16 17:58:51 +05:00
b843a4ef58 Adding debug stuff 2025-03-16 13:48:36 +01:00
341a68c045 Trying to debug the weather, so many mayflies 2025-03-16 13:41:15 +01:00
ac14895381 I can spell, don't check 2025-03-16 13:33:02 +01:00
62972399a6 STARES AT FORECAST - info 2025-03-16 13:30:48 +01:00
cc4e7ae528 No more naughty, all is fine 2025-03-16 13:22:48 +01:00
931d1b7298 Doing naughty stuff, don't look 2025-03-16 13:18:11 +01:00
de39425587 Merge branch 'development' of https://github.com/Kanium/KaniumCogs into development 2025-03-16 13:09:24 +01:00
c5b7ea3419 moving api key init 2025-03-16 13:09:21 +01:00
ed1995d7f2
Merge pull request #27 from T-BENZIN/development
~ Changed time_now function to return string instead of datetime object
2025-03-16 13:05:24 +01:00
52113f93ae ~ Changed time_now function to return string instead of datetime object 2025-03-16 17:03:55 +05:00
866b94bb1e Merge branch 'development' of https://github.com/Kanium/KaniumCogs into development 2025-03-16 12:57:21 +01:00
ea391f7104
Merge pull request #26 from T-BENZIN/development
- Removed tool call from tool role message
2025-03-16 12:45:12 +01:00
e3c931650b - Removed tool call from tool role message 2025-03-16 16:41:14 +05:00
d6196e2ac2 Merge branch 'development' of https://github.com/Kanium/KaniumCogs into development 2025-03-16 12:40:49 +01:00
7b04c6f82a COmmenting on stuff 2025-03-16 12:40:47 +01:00
d083039a75
Merge pull request #25 from T-BENZIN/development
~ Fixed the lack of tool calls in assistant message
2025-03-16 12:37:07 +01:00
c1cfbfa02d ~ Fixed the lack of tool calls in assistant message 2025-03-16 16:26:22 +05:00
a25c9dd4bb
Merge pull request #24 from T-BENZIN/development
~ Fixed the initial assistant response with tool calls not being appended
2025-03-16 12:23:08 +01:00
d078b60f8f ~ Fixed the initial assistant response with tool calls not being appended 2025-03-16 16:19:18 +05:00
2a206f6a23
Merge pull request #23 from T-BENZIN/development
Development
2025-03-16 12:05:29 +01:00
90b1640242 ~ Slightly changed tools_description.py to address change the name of the now function to time_now 2025-03-16 15:23:05 +05:00
661bad8409 + Added OpenAI function calling
+ Added weather tools for ChatGPT
2025-03-16 12:06:12 +05:00
5e7bbafbc9 Reducing short term memory to 50 2025-03-15 19:32:44 +01:00
c289e1d323 Turning to AI in desperation 2025-03-15 19:05:28 +01:00
b8cea3f961 Come on, read config you stupid memory! 2025-03-15 18:32:12 +01:00
728ce2aee4 AAAAAAAAAAA! Documentation why 2025-03-15 18:26:36 +01:00
5645b88677 Stop crying about positional argument! 2025-03-15 18:19:11 +01:00
3bf7d221a0 Screw properties, direct injection baby! 2025-03-15 18:12:57 +01:00