From e0fb68d6597c80edb75d5c0b3adb2c558227f4dd Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 13 Dec 2025 14:14:46 +0100 Subject: [PATCH] Upgraded to retoor/code. --- CHANGELOG.md | 6 +++--- rgithook.py | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 652b525..ef05a4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,10 @@ ## Version 0.10.0 - 2025-12-13 -Updates the model in the Git hook to x-ai/grok-code-fast-1, enhancing code generation capabilities. +Adds a docstring with usage instructions to rgithook.py, improving developer guidance on its functionality. -**Changes:** 1 files, 2 lines -**Languages:** Python (2 lines) +**Changes:** 1 files, 9 lines +**Languages:** Python (9 lines) ## Version 0.9.0 - 2025-11-16 diff --git a/rgithook.py b/rgithook.py index 19786fc..da8b003 100755 --- a/rgithook.py +++ b/rgithook.py @@ -1,5 +1,14 @@ #!/usr/bin/env python3 +""" +How to have a hapii life: + +1. Execute this on a generic place, where you don't delete it: +`wget https://retoor.molodetz.nl/retoor/gists/raw/branch/main/rgithook.py` +2. Navigate to a repository +`python3 [the path of your rgithook.py file]` +3. All done, never write a commit message again, it'll be always accurate.""" + API_URL = "https://static.molodetz.nl/rp.cgi/api/v1/chat/completions" MODEL = "retoor/code" TEMPERATURE = 0.1