feat: scaffolding for logit_bias

This commit is contained in:
dannyl1u
2025-02-19 10:33:49 -08:00
parent 82189066e8
commit 4a2a12fd21
3 changed files with 48 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ def apply_model_params_to_body_openai(params: dict, form_data: dict) -> dict:
"reasoning_effort": str,
"seed": lambda x: x,
"stop": lambda x: [bytes(s, "utf-8").decode("unicode_escape") for s in x],
"logit_bias": lambda x: x,
}
return apply_model_params_to_body(params, form_data, mappings)