Skip to content

Commit d9819e9

Browse files
committed
Ignore EOS
1 parent 43f14d4 commit d9819e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/guidellm/backend/openai.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ async def make_request(
9292
{
9393
"max_tokens": request.output_token_count,
9494
"stop": None,
95-
"ignore_eos": True,
95+
"extra_body": {
96+
"ignore_eos": True,
97+
}
9698
}
9799
)
98100
elif settings.openai.max_gen_tokens and settings.openai.max_gen_tokens > 0:

0 commit comments

Comments
 (0)