From 24100aea4d0cecb3ce422fbc8bbe0740874d004c Mon Sep 17 00:00:00 2001 From: nicoboy Date: Mon, 1 Jun 2026 15:09:51 +0200 Subject: [PATCH] SYSTEM_PROMPT : descriptions des actions pour guider Gemini MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sans description, Gemini mappait "position gps" sur position au lieu de position_gps. Chaque action a maintenant un libellé explicite, position_gps précise horodatage + fix + satellites. Co-Authored-By: Claude Sonnet 4.6 --- wireclaw_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireclaw_core.py b/wireclaw_core.py index cdd3905..5b05fd3 100644 --- a/wireclaw_core.py +++ b/wireclaw_core.py @@ -17,7 +17,7 @@ Reponds UNIQUEMENT avec un objet JSON valide, sans markdown. Le champ "message" est TOUJOURS en francais. Format : {{ - "action": "takeoff|land|rtl|hover|goto|orbit|status|position|altitude|position_gps", + "action": "takeoff (decollage initial) | land (atterrissage) | rtl (retour base) | hover (maintien position) | goto (aller vers coordonnees) | orbit (tourner en rond) | status (etat general du drone) | position (position rapide lat/lon/alt) | altitude (changer la hauteur en vol) | position_gps (position GPS complete : horodatage HH:MM:SS + fix + satellites)", "altitude": , "delta": , "lat": ,