frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Gemini-heal – rate limiting and MALFORMED_FUNCTION_CALL recovery for Gemini API

https://github.com/emotix/gemini-heal
3•emotixco•1h ago

Comments

emotixco•1h ago
We've been running Gemini in production at Emotix (AI research platform) for a few months. Three issues kept hitting us:

1. MALFORMED_FUNCTION_CALL — Gemini's function calling silently breaks when tool arguments contain large strings. Google acknowledged it as a P2 bug, still open. Adding a JSON-escaping instruction to the prompt cuts it by ~90%. When that's not enough, falling back to responseMimeType + responseSchema bypasses the broken code path entirely.

2. 429s with no backoff — The SDK throws but doesn't help you recover. We built an adaptive token-bucket that halves RPM on each 429 and slowly recovers, plus a circuit breaker for when the queue gets too deep.

3. JSON in markdown blocks — Even with responseMimeType: 'application/json', Gemini sometimes wraps output in ```json``` blocks. Small thing but breaks JSON.parse in production.

We extracted all three fixes into a standalone library.

Zero dependencies. TypeScript. MIT.

GitHub: https://github.com/emotix/gemini-heal npm: npm install gemini-heal

Show HN: My API was leaking its full database schema. I found out by accident

https://github.com/brakit-ai/brakit
1•speak2aditya•1m ago•1 comments

Show HN: Vynix – Mobile app with 100 AI models for image/video/audio generation

https://www.vynix.app
1•cosmicmeta•1m ago•0 comments

Show HN: I built a serverless wrapper for the EU VIES with caching and webhooks

https://vatflow.net
1•QuiCreatDev•1m ago•1 comments

"bunnie" Huang prepares a dev board for Baochip's "mostly-open" X1 RISC-V MCU

https://www.hackster.io/news/andrew-bunnie-huang-prepares-the-dabao-a-dev-board-for-baochip-s-mos...
1•MassPikeMike•1m ago•0 comments

Anthropic's AI model Claude gets popularity boost after US Military feud

https://www.theguardian.com/technology/2026/mar/02/claude-anthropic-ai-pentagon
1•beardyw•2m ago•0 comments

Gimp 3.2 RC3: Third Release Candidate for Gimp 3.2

https://www.gimp.org/news/2026/03/02/gimp-3-2-RC3-released/
1•marcodiego•3m ago•0 comments

Tetris alleviates PTSD symptoms in nursing staff

https://www.thelancet.com/journals/lanpsy/article/PIIS2215-0366(25)00397-9/fulltext
1•doener•4m ago•0 comments

The New Postman Is Here: AI-Native and Built for the Agentic Era

https://blog.postman.com/new-postman-is-here
1•johnhamlin•8m ago•0 comments

Show HN: AISH – PTY-first shell wrapper that shows signal, not noise

https://origo-labs.github.io/aish/
1•mrorigo•10m ago•0 comments

Show HN: Yaw – A terminal built around the Claude Code/Codex CLI workflow

https://yaw.sh
1•tkjef•12m ago•0 comments

Porn depicting sex between step-relatives set to be banned in the UK

https://www.lbc.co.uk/article/pornography-sexual-relationships-step-relatives-5HjdTkd_2/
13•GaryBluto•14m ago•3 comments

Ask HN: What will OpenAI employees do now who have signed notdividedorg petition

1•Imustaskforhelp•14m ago•2 comments

Show HN: Dice Jaga – A simple Yahtzee x Roguelike inspired web game

1•bryanhogan•16m ago•1 comments

The Federalist Papers No 1

https://avalon.law.yale.edu/18th_century/fed01.asp
1•tyleo•16m ago•1 comments

Show HN: Dream Pruning – biologically-inspired SVD consolidation for LLMs

https://medium.com/towards-artificial-intelligence/dream-pruning-what-happens-when-ai-models-slee...
1•dexmac221•17m ago•0 comments

Debugging reproducible build issues in Rust

https://notes.8pit.net/notes/iqfs.html
3•fanf2•17m ago•0 comments

Stolen Gemini API key racks up $82,000 in 48 hours

https://llmhorrors.com/all/gemini-stolen-api-key-82k/
4•salkahfi•18m ago•0 comments

Show HN: Finclaw, Openclaw for financial information

https://github.com/martinpmm/Finclaw
1•Martinmm•20m ago•0 comments

Building an Autonomous SRE Team with AI Agents: A 5-Day Experiment

https://medium.com/@beniamin.calota/building-an-autonomous-sre-team-with-ai-agents-a-5-day-experi...
1•b3n1amin•21m ago•0 comments

Upgrading OpenClaw to Latest on Jetson Nano with Node 22

https://brtkwr.com/posts/2026-03-02-upgrading-openclaw-to-latest-node22-on-jetson-nano/
1•thunderbong•24m ago•0 comments

Qwen 3.5: small models with impressive performance

https://twitter.com/Alibaba_Qwen/status/2028460046510965160
2•moondistance•24m ago•0 comments

Show HN: OpenClaw Horror Stories – leaderboard of worst AI agent incidents

https://openclaw-horror-leaderboard.vercel.app
1•bhekanik•28m ago•1 comments

SteptronOss: Lightweight, AI-native training framework for large language models

https://github.com/stepfun-ai/SteptronOss
1•limoce•29m ago•0 comments

Ask HN: How are you structuring Markdown-based context for AI coding agents?

1•lepuski•29m ago•0 comments

Nobody Gets Promoted for Simplicity

https://terriblesoftware.org/2026/03/03/nobody-gets-promoted-for-simplicity/
1•matheusml•30m ago•0 comments

VoxCSS – CSS voxel engine for the DOM

https://voxcss.com
3•robin_reala•31m ago•1 comments

Show HN: LynxPrompt – Self-hostable, federated AI config rules manager

https://github.com/GeiserX/LynxPrompt
2•geiser•31m ago•0 comments

Algorithmic Feeds Need to Be Banned

https://shubhamjain.co/2026/02/25/algorithmic-feeds-need-to-be-banned/
2•shubhamjain•32m ago•0 comments

Addicted to the algorithm – Big Tech lobbies to keep us hooked on social media

https://corporateeurope.org/en/2026/02/addicted-algorithm-0
2•robtherobber•34m ago•0 comments

Show HN: Live Vulnerability Intelligence Dashboard (Trending CVEs)

https://www.leakycreds.com/vulnerability-intelligence
1•saynsec•35m ago•1 comments