Skip to content

Commit d642f7d

Browse files
felipefl142S1M0N38
authored andcommitted
fix: remove seed from DEFAULT_MODEL_CONFIG
Google's OpenAI-compatible API rejects requests that include the `seed` parameter with 400 INVALID_ARGUMENT. The `seed` field is not part of the OpenAI-compatible spec that Google implements. Removing it from the defaults fixes compatibility with Google's Generative Language API while not affecting providers that do support it (users can still set it via model_config in YAML).
1 parent 20282ff commit d642f7d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/balatrollm/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
################################################################################
1717

1818
DEFAULT_MODEL_CONFIG: dict[str, bool | int | str | dict] = {
19-
"seed": 1,
2019
"parallel_tool_calls": False,
2120
"tool_choice": "auto",
2221
"extra_headers": {

0 commit comments

Comments
 (0)