A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 8, 05:00 UTC
[Bugfix][CI] Fix flaky `entrypoints/openai/test_response_api_with_harmony.py::test_function_calling[openai/gpt-oss-20b]` (#34624)
Signed-off-by: NickLucche <nlucches@redhat.com>
Nicolò Lucchesi committed
Feb 16, 2026 at 17:11 UTC
6cc403e67d9ca8b4fc8c93a84096ed98161c938b
1 file changed
+3
-6
tests/entrypoints/openai/responses/test_harmony.py
+3
-6
@@ -6,7 +6,6 @@ import time
6
7
import pytest
8
import pytest_asyncio
9
-import requests
9
from openai import BadRequestError, NotFoundError, OpenAI
10
from openai_harmony import (
11
Message,
@@ -513,11 +512,9 @@ async def test_code_interpreter(client: OpenAI, model_name: str):
512
513
514
def get_weather(latitude, longitude):
516
- response = requests.get(
517
- f"https://api.open-meteo.com/v1/forecast?latitude={latitude}&longitude={longitude}¤t=temperature_2m,wind_speed_10m&hourly=temperature_2m,relative_humidity_2m,wind_speed_10m" # noqa
518
- )
519
- data = response.json()
520
- return data["current"]["temperature_2m"]
515
+ # Return a static temperature value to avoid flaky SSL/network errors
516
+ # from calling the external api.open-meteo.com API in CI.
517
+ return 15.0
518
519
520
def get_place_to_travel():