Repository navigation
Commit 9d63543
fix(litellm): forward GenerateContentConfig.seed to LiteLLM
`seed` was absent from the generation-parameter allowlist in
`_get_completion_inputs`, so `GenerateContentConfig(seed=...)` was
silently dropped and never reached LiteLLM (which supports `seed`
natively). Add `seed` to the forwarded params.
Closes google#6513
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>1 parent 2c6a7ff commit 9d63543
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2419 | 2419 | | |
2420 | 2420 | | |
2421 | 2421 | | |
| 2422 | + | |
2422 | 2423 | | |
2423 | 2424 | | |
2424 | 2425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4758 | 4758 | | |
4759 | 4759 | | |
4760 | 4760 | | |
| 4761 | + | |
4761 | 4762 | | |
4762 | 4763 | | |
4763 | 4764 | | |
| |||
4771 | 4772 | | |
4772 | 4773 | | |
4773 | 4774 | | |
| 4775 | + | |
4774 | 4776 | | |
4775 | 4777 | | |
4776 | 4778 | | |
| |||
0 commit comments