From 40d47406d0ddd2adcaa8fb79ece14406a4975c17 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 13 Dec 2025 14:06:24 +0100 Subject: [PATCH] Update. --- CHANGELOG.md | 6 +++--- rgithook.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afc5cc1..046c6c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,10 @@ ## Version 0.10.0 - 2025-12-13 -This release adds new functions for executing Python code asynchronously (`py_exec_async`) and synchronously (`py_exec`), analyzing images via base64 encoding (`vision_analyze`), and interacting with users (`talk_with_user`). It also introduces file system operations including listing directories (`list_directory`), reading files, and writing files, and improves HTTP request handling to return content as strings. +Generation now uses a lower temperature, resulting in more predictable and focused outputs. This change improves the consistency of generated content. -**Changes:** 1 files, 571 lines -**Languages:** Python (571 lines) +**Changes:** 1 files, 2 lines +**Languages:** Python (2 lines) ## Version 0.9.0 - 2025-11-16 diff --git a/rgithook.py b/rgithook.py index f4618c3..208e4de 100755 --- a/rgithook.py +++ b/rgithook.py @@ -2,7 +2,7 @@ API_URL = "https://static.molodetz.nl/rp.cgi/api/v1/chat/completions" MODEL = "google/gemma-3-12b-it:free" -TEMPERATURE = 1.0 +TEMPERATURE = 0.1 MAX_TOKENS = None HOOK_PATH_PRECOMMIT = ".git/hooks/pre-commit" HOOK_PATH_PREPAREMSG = ".git/hooks/prepare-commit-msg"