Gemini exposes its OpenAI-compatible endpoint at https://generativelanguage.googleapis.com/v1beta/openai. Google's own docs (https://ai.google.dev/gemini-api/docs/openai) list the supported parameters and inherit OpenAI's 4-entry stop cap. Without an explicit `stop_max=4` on the registry the default 16 leaks through and the upstream silently drops the overflow. Add the backend registry entry, mirror it in the frontend `PROVIDER_STOP_MAX` map, and pin the cap with a focused unit test. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _html_to_md.py | ||
| anthropic_compat.py | ||
| audio_codecs.py | ||
| chat_template_helpers.py | ||
| defaults.py | ||
| external_provider.py | ||
| inference.py | ||
| key_exchange.py | ||
| llama_cpp.py | ||
| llama_server_args.py | ||
| mlx_inference.py | ||
| orchestrator.py | ||
| pricing.py | ||
| providers.py | ||
| safetensors_agentic.py | ||
| tool_call_parser.py | ||
| tools.py | ||
| worker.py | ||