MCPcopy Create free account
hub / github.com/google/adk-python / llm_request

Function llm_request

tests/integration/models/test_google_llm.py:30–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29@pytest.fixture
30def llm_request():
31 return LlmRequest(
32 model="gemini-2.5-flash",
33 contents=[Content(role="user", parts=[Part.from_text(text="Hello")])],
34 config=types.GenerateContentConfig(
35 temperature=0.1,
36 response_modalities=[types.Modality.TEXT],
37 system_instruction="You are a helpful assistant",
38 ),
39 )
40
41
42@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

LlmRequestClass · 0.90

Tested by

no test coverage detected