You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 3, 2026. It is now read-only.
This is a tracking issue / reminder - not a bug or problem. The current implementation works correctly.
When @google/gemini-cli-core upgrades its dependency on @google/genai to a version that exports the ThinkingLevel enum (v1.34.0+), we should migrate from our locally-defined enum to the official one.
Current State
In PR #28 / commit c120533, we added thinkingConfig support for Gemini 3's thinking mode. Because @google/gemini-cli-core (all versions through 0.22.0-preview.2) depends on @google/genai v1.30.0, which does not export the ThinkingLevel enum, we defined our own:
Summary
This is a tracking issue / reminder - not a bug or problem. The current implementation works correctly.
When
@google/gemini-cli-coreupgrades its dependency on@google/genaito a version that exports theThinkingLevelenum (v1.34.0+), we should migrate from our locally-defined enum to the official one.Current State
In PR #28 / commit c120533, we added
thinkingConfigsupport for Gemini 3's thinking mode. Because@google/gemini-cli-core(all versions through 0.22.0-preview.2) depends on@google/genaiv1.30.0, which does not export theThinkingLevelenum, we defined our own:This enum is re-exported from
src/index.tsfor users.When to Act
Monitor these dependencies:
@google/gemini-cli-coreupgrades to use@google/genai>= 1.34.0@google/genaiv1.34.0+ exportsThinkingLevelenum (confirmed it does)Migration Steps
When the time comes:
Update dependencies
Update imports in
src/gemini-language-model.ts:Update re-export in
src/index.ts:Remove type workarounds:
ExtendedThinkingConfigtype aliasas GenerateContentConfig['thinkingConfig']Verify enum values match - The official enum uses:
Our local enum matches (minus UNSPECIFIED which we don't need).
Run tests to ensure nothing breaks
Files Affected
src/gemini-language-model.ts- Local enum definition + type workaroundssrc/index.ts- Re-export sourceLabels
enhancementgood first issuedependencies