fix: rename gemini provider from 'geminiai' to 'google' to match backend#289
fix: rename gemini provider from 'geminiai' to 'google' to match backend#289cbeatty8 wants to merge 1 commit intogenlayerlabs:mainfrom
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 15 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe provider identifier for Gemini was changed from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
a13c4ba to
0a0fa48
Compare
Fixes genlayerlabs#271 The backend's llm_provider table uses 'google' for Gemini provider, but the CLI was sending 'geminiai'. This caused init to fail with: 'Requested providers {geminiai} do not match any stored providers.' Changes: - Rename provider key from 'geminiai' to 'google' in AI_PROVIDERS_CONFIG - Update AiProviders type to use 'google' instead of 'geminiai' - cliOptionValue now sends 'google' to match backend expectations
0a0fa48 to
cfdf8b6
Compare
Fixes #271
Problem
When running
genlayer initand selecting Gemini as the LLM provider, initialization fails with:Root Cause
geminiaigoogleVerified in genlayer-studio:
backend/node/create_nodes/default_providers/google_gemini-*.json:"provider": "google"tests/integration/test_llm_providers_registry.py:"google": "GEMINI_API_KEY"frontend/src/assets/schemas/providers_schema.json: enum includes"google"Changes
geminiaitogoogleinAI_PROVIDERS_CONFIGAiProviderstype to usegoogleinstead ofgeminiaicliOptionValuenow sendsgoogleto match backend expectationsFiles Changed
src/lib/config/simulator.ts(3 lines)Summary by CodeRabbit