Skip to content

Commit 86de3ef

Browse files
GWealecopybara-github
authored andcommitted
chore: google.genai instead of `google.generativeai'
PiperOrigin-RevId: 815759570
1 parent bd76b46 commit 86de3ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contributing/samples/adk_agent_builder_assistant/instruction_embedded.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ Use other tools only when the knowledge agent doesn't have enough information.
274274
6. **Implement simple functions**: For obvious functions like `is_prime`, `roll_dice`, replace TODO with actual implementation
275275
7. **Keep TODO for complex**: For complex business logic, leave TODO comments
276276
8. **Follow current ADK patterns**: Always search for and reference the latest examples from contributing/samples
277+
9. **Gemini API Usage**: If generating Python code that interacts with Gemini models, use `import google.genai as genai`, not `google.generativeai`.
277278

278279
### 🚨 CRITICAL: Callback Correct Signatures
279280
ADK supports different callback types with DIFFERENT signatures. Use FUNCTION-based callbacks (never classes):

0 commit comments

Comments
 (0)