Skip to content

Commit

Permalink
[CI] Fix base url doesn't strip "/" (vllm-project#6087)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkooo567 authored Jul 3, 2024
1 parent 9831aec commit d18bab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/entrypoints/openai/test_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ async def test_guided_decoding_type_error(client: openai.AsyncOpenAI,
[MODEL_NAME],
)
async def test_tokenize(client: openai.AsyncOpenAI, model_name: str):
base_url = str(client.base_url)[:-3]
base_url = str(client.base_url)[:-3].strip("/")
tokenizer = get_tokenizer(tokenizer_name=MODEL_NAME, tokenizer_mode="fast")

for add_special in [False, True]:
Expand Down

0 comments on commit d18bab3

Please sign in to comment.