mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: Add ADK examples for litellm with add_function_to_prompt
Add examples for for https://github.com/google/adk-python/issues/1273 PiperOrigin-RevId: 775352677
This commit is contained in:
committed by
Copybara-Service
parent
abc89d2c81
commit
f33e0903b2
@@ -17,11 +17,8 @@ from google.adk.models.lite_llm import LiteLlm
|
||||
from google.genai import types
|
||||
from google.genai.types import Content
|
||||
from google.genai.types import Part
|
||||
import litellm
|
||||
import pytest
|
||||
|
||||
litellm.add_function_to_prompt = True
|
||||
|
||||
_TEST_MODEL_NAME = "vertex_ai/meta/llama-3.1-405b-instruct-maas"
|
||||
|
||||
_SYSTEM_PROMPT = """
|
||||
|
||||
Reference in New Issue
Block a user