v0.3.42
RightNow-AI/openfangv0.3.42Mar 10, 2026by jaberjaber23
AI Summary
Fixes Gemini schema compatibility issues and adds a catalog of free models to OpenRouter, while also correcting temperature settings for reasoning models.
Key Highlights
- Gemini schema normalizer strips non-standard fields like $defs and $ref.
- Temperature fix for reasoning models (gpt-5-mini, o1, o3, o4).
- OpenRouter free models catalog added (gemma-2-9b-it:free, etc.).
- Claude Code CLI fix replaces `env_clear()` with targeted `env_remove()`.
- Tool schema fix for non-object input_schema values.
New Features
- OpenRouter free models (gemma-2-9b-it:free, llama-3.1-8b-instruct:free, etc.) added.
- Temperature parameter omitted for reasoning models to prevent 400 errors.
Full Release Notes
Fix Gemini tool schema rejection (#483) + temperature fix + OpenRouter free models + Claude Code CLI fix **Gemini schema fix (#483):** Gemini rejects JSON Schema fields like $defs, $ref, additionalProperties, default, title, $id, $comment, examples. The schema normalizer now strips all of these and resolves $ref references by inlining definitions from $defs. This fixes "400 INVALID_ARGUMENT" errors on Gemini agent turns with tools/MCP enabled. 3 new tests. **Temperature fix (v0.3.41):** Reasoning models (gpt-5-mini, o1, o3, o4) reject custom temperature. Driver now omits it for these models with runtime fallback retry. 11 new tests. **OpenRouter free models (v0.3.41):** Added 6 free model variants to the catalog: gemma-2-9b-it:free, llama-3.1-8b-instruct:free, qwen-2.5-7b-instruct:free, mistral-7b-instruct:free, zephyr-7b-beta:free, deepseek-r1:free. **Claude Code CLI fix (v0.3.40):** Replaced env_clear() with targeted env_remove() so Node.js runtime works. Removed --dangerously-skip-permissions. Actionable error messages. **Tool schema fix (#481, v0.3.39):** String/null/non-object input_schema values now parsed or defaulted to valid empty schemas. All live tested with real Groq LLM calls.