mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-12 17:11:04 +08:00
Gemini.of(modelName) returns GeminiSpec exposing a thinking sub-builder that supports both Gemini 2.5's level() and the legacy budget() form. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
liteflow-react-agent-gemini
Google Gemini 模型支持。
使用
// 基础
GeminiChatModel m1 = GeminiModelFactory.of(apiKey, "gemini-3-flash-preview");
// 带 thinking level
GeminiChatModel m2 = GeminiModelFactory.of(apiKey, "gemini-3-flash-preview", "high");