Four Myths About Free Model Endpoints, and the Four-Check Probe That Broke Them
Описание и применение
Автор обнаружил, что бесплатный эндпоинт модели и бесплатный сервер скрывают изменения, влияющие на качество выводов. Создана проверка, которая логирует модель, статус и среду, выявляя несоответствия.
Задача
A digest job that calls a free model endpoint on a free server experienced silent degradation of summaries without crashes, revealing hidden assumptions about the endpoint and environment.
Результат
The probe identified that the free endpoint was not a single fixed model and that the free server’s environment differed from CI, causing silent failures. Logging and fingerprinting enabled detection and mitigation of these issues.
Рабочий процесс
- 1. Write a probe that sends requests to the model endpoint and logs response metadata to a SQLite database.
- 2. Include the expected model name in the request payload and capture the returned model name.
- 3. Store HTTP status, model, finish reason, and latency for each call.
- 4. Query the log to verify that only one model is returned and that finish reasons are consistent.
- 5. Capture environment fingerprints (OS, Python version, CPU flags, timezone) on the free server and CI environments.
- 6. Compare fingerprints to detect discrepancies that may affect execution.
- 7. Use the probe results to adjust assumptions and improve reliability.
Доказательства
I run a small digest job. It summarizes a handful of repos every morning. It calls a free model endpoint and runs on a free server. Last month it broke twice.
So log the echo. Every call, every time.
A script passed on the free server. It failed in CI forty minutes later. Nothing about the code changed.
- Дата записи: 2026-10-17T08:41:15.683Z