Upgraded to retoor/code.

This commit is contained in:
retoor 2025-12-13 14:14:46 +01:00
parent 6fc4ab020c
commit e0fb68d659
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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