🔴 Required Information
Describe the Bug:
GenerateContentConfig(seed=42) is not forwarded by LiteLlm. The seed is still present in the request config, but missing from parameters passed to LiteLLM.
Steps to Reproduce:
- install
google-adk==2.5.0
- run code:
import asyncio
from google.adk.models.lite_llm import _get_completion_inputs
from google.adk.models.llm_request import LlmRequest
from google.genai import types
async def main():
req = LlmRequest(
model="openai/gpt-4o-mini",
config=types.GenerateContentConfig(temperature=0.0, seed=42),
)
result = await _get_completion_inputs(req, model=req.model)
print(result[3])
asyncio.run(main())
Expected Behaviour:
{"temperature": 0.0, "seed": 42}
Observed Behaviour:
There is no error, seed is just silently dropped.
Environment Details:
- ADK: 2.5.0
- OS: macOS
- Python: 3.13
Model Information:
- LiteLLM: Yes
- Model:
openai/gpt-4o-mini, but repro does not call the model
🟡 Optional Information
Additional Context:
Looks like seed is missing from explicit parameter mapping in lite_llm.py. I also checked current main and it seems to have the same problem. I can submit a small fix and test if the approach is ok.
How often has this issue occurred?:
🔴 Required Information
Describe the Bug:
GenerateContentConfig(seed=42)is not forwarded byLiteLlm. The seed is still present in the request config, but missing from parameters passed to LiteLLM.Steps to Reproduce:
google-adk==2.5.0Expected Behaviour:
{"temperature": 0.0, "seed": 42}Observed Behaviour:
{"temperature": 0.0}There is no error, seed is just silently dropped.
Environment Details:
Model Information:
openai/gpt-4o-mini, but repro does not call the model🟡 Optional Information
Additional Context:
Looks like
seedis missing from explicit parameter mapping inlite_llm.py. I also checked currentmainand it seems to have the same problem. I can submit a small fix and test if the approach is ok.How often has this issue occurred?: