Skip to content

Commit 6e6691c

Browse files
anmarquesmarkurtz
authored andcommitted
Ignore EOS
1 parent 036917e commit 6e6691c

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
@@ -94,7 +94,9 @@ async def make_request(
9494
{
9595
"max_tokens": request.output_token_count,
9696
"stop": None,
97-
"ignore_eos": True,
97+
"extra_body": {
98+
"ignore_eos": True,
99+
}
98100
}
99101
)
100102
elif settings.openai.max_gen_tokens and settings.openai.max_gen_tokens > 0:

0 commit comments

Comments
 (0)