Add Gemini 3.1 Pro and Inception Mercury-2 model support by suchintan · Pull Request #4847 · Skyvern-AI/skyvern · GitHub
Skip to content

Add Gemini 3.1 Pro and Inception Mercury-2 model support - #4847

Merged
suchintan merged 3 commits into
mainfrom
repo-sync/suchintan/add-gemini-and-inception
Feb 23, 2026
Merged

suchintan merged 3 commits into
mainfrom
repo-sync/suchintan/add-gemini-and-inception

Conversation

@suchintan

Copy link
Copy Markdown
Member

Synced from cloud PR: https://github.com/Skyvern-AI/skyvern-cloud/pull/8926
Author: @suchintan

Summary

  • Gemini 3.1 Pro: Added direct Gemini API config (GEMINI_3.1_PRO) and Vertex AI config (VERTEX_GEMINI_3.1_PRO) with thinking_level support, router fallback configs with GPT-5 (GEMINI_3_1_PRO_WITH_FALLBACK), cloud fallback overrides in cloud/config.py, and handler map entries for both primary and secondary handlers
  • Inception Mercury-2: Added OpenAI-compatible API integration (INCEPTION_MERCURY_2) at api.inceptionlabs.ai/v1 with 128K max completion tokens. New settings: ENABLE_INCEPTION, INCEPTION_API_KEY, INCEPTION_API_BASE
  • Added model-name-to-LLM-key mappings for both models in get_model_name_to_llm_key()

Test plan

  • All modified files pass py_compile
  • All pre-commit hooks pass
  • Tested Inception Mercury-2 locally — ran a task against Hacker News with avg LLM request time of 1.72s

🤖 Generated with Claude Code

Suchintan Singh added 3 commits February 23, 2026 02:09
Synced from cloud PR: https://github.com/Skyvern-AI/skyvern-cloud/pull/8926
Author: @suchintan

## Summary
- **Gemini 3.1 Pro**: Added direct Gemini API config (`GEMINI_3.1_PRO`) and Vertex AI config (`VERTEX_GEMINI_3.1_PRO`) with `thinking_level` support, router fallback configs with GPT-5 (`GEMINI_3_1_PRO_WITH_FALLBACK`), cloud fallback overrides in `cloud/config.py`, and handler map entries for both primary and secondary handlers
- **Inception Mercury-2**: Added OpenAI-compatible API integration (`INCEPTION_MERCURY_2`) at `api.inceptionlabs.ai/v1` with 128K max completion tokens. New settings: `ENABLE_INCEPTION`, `INCEPTION_API_KEY`, `INCEPTION_API_BASE`
- Added model-name-to-LLM-key mappings for both models in `get_model_name_to_llm_key()`

## Test plan
- [x] All modified files pass `py_compile`
- [x] All pre-commit hooks pass
- [x] Tested Inception Mercury-2 locally — ran a task against Hacker News with avg LLM request time of 1.72s

🤖 Generated with [Claude Code](https://claude.ai/code)
Synced from cloud PR: https://github.com/Skyvern-AI/skyvern-cloud/pull/8926
Author: @suchintan

## Summary
- **Gemini 3.1 Pro**: Added direct Gemini API config (`GEMINI_3.1_PRO`) and Vertex AI config (`VERTEX_GEMINI_3.1_PRO`) with `thinking_level` support, router fallback configs with GPT-5 (`GEMINI_3_1_PRO_WITH_FALLBACK`), cloud fallback overrides in `cloud/config.py`, and handler map entries for both primary and secondary handlers
- **Inception Mercury-2**: Added OpenAI-compatible API integration (`INCEPTION_MERCURY_2`) at `api.inceptionlabs.ai/v1` with 128K max completion tokens. New settings: `ENABLE_INCEPTION`, `INCEPTION_API_KEY`, `INCEPTION_API_BASE`
- Added model-name-to-LLM-key mappings for both models in `get_model_name_to_llm_key()`

## Test plan
- [x] All modified files pass `py_compile`
- [x] All pre-commit hooks pass
- [x] Tested Inception Mercury-2 locally — ran a task against Hacker News with avg LLM request time of 1.72s

🤖 Generated with [Claude Code](https://claude.ai/code)
Synced from cloud PR: https://github.com/Skyvern-AI/skyvern-cloud/pull/8926
Author: @suchintan

## Summary
- **Gemini 3.1 Pro**: Added direct Gemini API config (`GEMINI_3.1_PRO`) and Vertex AI config (`VERTEX_GEMINI_3.1_PRO`) with `thinking_level` support, router fallback configs with GPT-5 (`GEMINI_3_1_PRO_WITH_FALLBACK`), cloud fallback overrides in `cloud/config.py`, and handler map entries for both primary and secondary handlers
- **Inception Mercury-2**: Added OpenAI-compatible API integration (`INCEPTION_MERCURY_2`) at `api.inceptionlabs.ai/v1` with 128K max completion tokens. New settings: `ENABLE_INCEPTION`, `INCEPTION_API_KEY`, `INCEPTION_API_BASE`
- Added model-name-to-LLM-key mappings for both models in `get_model_name_to_llm_key()`

## Test plan
- [x] All modified files pass `py_compile`
- [x] All pre-commit hooks pass
- [x] Tested Inception Mercury-2 locally — ran a task against Hacker News with avg LLM request time of 1.72s

🤖 Generated with [Claude Code](https://claude.ai/code)
@suchintan
suchintan merged commit e1c5e5c into main Feb 23, 2026
12 checks passed
@suchintan
suchintan deleted the repo-sync/suchintan/add-gemini-and-inception branch February 23, 2026 02:13
AronPerez pushed a commit to AronPerez/skyvern that referenced this pull request Feb 25, 2026
…4847)

Co-authored-by: Suchintan Singh <suchintan@skyvern.com>

This branch was successfully deployed

1 active deployment
staging - docs — 6c46cf7c Deployed Feb 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant