about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2026-10-19server: say why Gemini classification is not available HEAD masterPjotr
The stress view collapsed three very different failures into one heading, "All related sentences (Gemini classification not available or no specific stress types found)", so a key that lists a model but may not call it, a missing key file and a model that returned no usable labels all looked alike -- and looked like "nothing to classify" rather than an error. Track the outcome as gemini_kind (no-key / error / no-labels) and say which one it was, on the page and in the log: - no-key: "no API key at ~/.config/gemini/credentials (missing, unreadable or not mode 0400)"; heading "... (not classified: no Gemini API key)". - error: the exception type and text, the model and the attempt count, plus where the full request/response/traceback is (/var/log/genecup.log) and where the container's boot-time key and model check is (/var/log/gemini-check.log); heading "... (classification failed, listed unclassified)". - no-labels: the model answered but no Cellular Stress / Organismal Stress label came back, quoting the raw response; heading "... (no Cellular/Organismal labels returned, listed unclassified)". Also: the model is a single GEMINI_MODEL constant (kept in sync with the container's boot check), non-JSON replies raise a RuntimeError that quotes what came back instead of a bare JSONDecodeError, every retry logs the exception type, the final failure logs the traceback, and the number of labelled sentences is logged per request. Checked in a container against the live API: a good key classifies, a missing key file reports no-key, and a bogus key reports "gemini-3-flash-preview call failed after 3 attempts (ClientError): 400 INVALID_ARGUMENT ... API key not valid".
2026-10-04doc: RELEASE_NOTES 1.9.2 (container deployment); bump VERSIONPjotr
Documents the Guix system container deployment (services and container definition in gn-machines, pointing at the new documents), the genecup-gemini package in guix-bioinformatics now fetched from this repository at build time, the four packaging fixes found by the container smoke test (curl/wget/xargs on the wrapper PATH, CA bundle environment, EDIRECT_LOCAL_ARCHIVE export with the pubmed symlink archive layout, and the tolerant archive-existence check), the 11-check smoke test and the operational notes (datadir, optional Gemini credentials, optional shared PubMed archive). VERSION bumped to 1.9.2 (the version the /about page reports).
2026-04-06Add findutils to propagated inputs (guix.scm)Pjotr Prins
2026-04-06Merge branch 'master' of /home/git/public/genecupPjotr Prins
2026-04-06Add curl to propagated inputs (guix.scm)Pjotr Prins
2026-04-06Propagate (guix.scm) xargsPjotr Prins
2026-04-06Combine pubmed online search to a single queryPjotr Prins
2026-04-06Only 3 letter abbreviationsPjotr Prins
2026-04-06Add form feedbackPjotr Prins
2026-04-06Getting ontology resultsPjotr Prins
2026-04-06Create templatePjotr Prins
2026-04-06Add aliasesPjotr Prins
2026-04-06Added a test that creates an ontologyPjotr Prins
2026-04-051.9.1 releasePjotr Prins
2026-04-05Get rid of outdated errorPjotr Prins
2026-04-05Use template to show intermediate phasePjotr Prins
2026-04-05Show page when calling GEMINI APIPjotr Prins
2026-04-05Some cleanup and make GEMINI API cache workPjotr Prins
2026-04-05The Gemini call now retries up to 3 times with a backoff delay (2s, then 4s) ↵Pjotr Prins
between attempts.
2026-04-05Also cache gemini resultsPjotr Prins
2026-04-05Cache PMID search hitsPjotr Prins
2026-04-05Make it more DRYPjotr Prins
2026-04-05Add hybrid search finds us more abstractsPjotr Prins
2026-04-05Add hybrid searchPjotr Prins
2026-04-05Add local search testPjotr Prins
2026-04-05Add a test for a network fetchPjotr Prins
2026-04-05Added test for esearchPjotr Prins
2026-04-05Settings now use edirect updated EDIRECT_LOCAL_ARCHIVEPjotr Prins
2026-04-05Use the short fetch-pubmed -path /path/to/archive → xfetch -db pubmed ↵Pjotr Prins
replacement instead!
2026-04-05Add test frameworkPjotr Prins
2026-04-05Unpacking XML files as an alternative for fetch-pubmed works, but not ↵Pjotr Prins
complete I think
2026-04-05Update (README)Pjotr Prins
2026-04-05Add examples using local fethchPjotr Prins
2026-04-05Example (guix.scm) add load pathPjotr Prins
2026-04-03Patch (edirect) to avoid panic during indexingPjotr Prins
2026-04-03Fix edirect (guix) with unzipPjotr Prins
2026-04-01add (edirect) gzipPjotr Prins
2026-04-01fix (edirect)Pjotr Prins
2026-04-01fix (edirect)Pjotr Prins
2026-04-01Path fixes (edirect) and renamed package to edirect-25Pjotr Prins
2026-04-01Still fixing edirectPjotr Prins
2026-04-01Fix (edirect) pubmed.iniPjotr Prins
2026-04-01Fixing edirectPjotr Prins
2026-04-01Fix edirect error ERROR: No data supplied to stdin or file, mode: ↵Pjotr Prins
'Dcrw--w----', unrecognized argument: 'x'
2026-03-31Added recent edirect tooling (guix.scm)Pjotr Prins
2026-03-30Add systemd example for fetching the archivePjotr Prins
2026-03-29Update READMEPjotr Prins
2026-03-29Add example searchPjotr Prins
2026-03-29Move API key into credentials file [AI]Pjotr Prins
2026-03-29Split pipe commands, so we can see how long they takePjotr Prins