williamandClaude Sonnet 5 a0f4d9df1e fix(agents): accept spelled-out small numbers in duration parsing
"1 semaine" reformulated by the LLM as "une semaine" was wrongly
rejected as an invalid duration (parseDurationHours only accepted a
leading digit), even though 168h is well within the 1h-12-weeks range.
Found via real user testing: "apprends-moi la trigonometrie en 1
semaine" was rejected with the generic out-of-range message.

Fix is two-layered: the prompt now explicitly tells the model to
always write duration as "<digit> <unit>", and the parser accepts
common French spelled-out numbers (un/une through douze) as a
defense-in-depth fallback since prompts are not a hard guarantee.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-01 09:46:24 +01:00

forge-scaffold

An Electron application with React and TypeScript

Project Setup

Le code de l'application vit dans le sous-dossier Max Avatar/ (la racine du depot ne contient que la documentation et la configuration partagee : CLAUDE.md, docs/, .gitea/, .husky/). Toutes les commandes ci-dessous s'executent depuis Max Avatar/.

Install

$ cd "Max Avatar"
$ npm install

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux
S
Description
No description provided
Readme
29 MiB
Languages
TypeScript 95.8%
JavaScript 3.8%
CSS 0.2%
HTML 0.1%