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

Function llm_request

tests/integration/models/test_litellm_no_function.py:48–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47@pytest.fixture
48def llm_request():
49 return LlmRequest(
50 model=_TEST_MODEL_NAME,
51 contents=[Content(role="user", parts=[Part.from_text(text="hello")])],
52 config=types.GenerateContentConfig(
53 temperature=0.1,
54 response_modalities=[types.Modality.TEXT],
55 system_instruction=_SYSTEM_PROMPT,
56 ),
57 )
58
59
60@pytest.fixture

Callers

nothing calls this directly

Calls 1

LlmRequestClass · 0.90

Tested by

no test coverage detected