Fix prompt bugs found during live Ollama testing (llama3.2:3b) #12
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two real bugs surfaced only once the system was tested against a real local model (
llama3.2:3b) instead of the stub LLM used in unit tests:_CLASSIFY_PROMPTcontained a literal"YYYY-MM-DD"placeholder in its JSON example, which the model echoed back verbatim, crashing the leave-balance calculator on a plain policy question. Fixed by using a concrete sample date and explicitly restrictingleave_balanceto messages that state a real hire date and days-taken number._SYNTHESIZE_PROMPTdidn't forbid inventing a source URL, so the model hallucinated a fake hyperlink for an internal filename citation. Fixed with an explicit instruction not to invent URLs.Re-ran the full functional eval and load test against the live Docker Compose + Ollama stack and documented the real results in the README.