8 Commits

Author SHA1 Message Date
Octopus e6325fd8b7 refactor: derive API server URL from client.base_url for error message
Address Sourcery review feedback - use client.base_url instead of
hardcoding http://127.0.0.1:8005 so the error message stays in sync
if the base URL configuration changes.
2026-04-24 13:02:10 +08:00
octo-patch d8d2c673f4 fix: check API server availability before running test-model (fixes #115)
Add _check_api_server() that probes GET /v1/models before the test loop
starts. When the server is not running, the user now gets a clear error
message with the exact command to start it instead of a cryptic
connection-refused traceback.

Co-Authored-By: Octopus <liyuan851277048@icloud.com>
2026-04-24 12:19:52 +08:00
xming521 38113a2524 翻译注释日志为英文 2025-07-01 20:00:34 +08:00
xming521 e239893884 feat(tests): 添加测试模型参数配置,允许自定义测试集文件 2025-06-13 15:49:02 +08:00
xming521 53fc844403 refactor(config): 移除configV2,整合配置加载逻辑至config.py,更新相关引用 2025-06-13 12:02:27 +08:00
pre-commit-ci[bot] cf30258091 🎈 auto fixes by pre-commit hooks 2025-06-09 03:27:38 +00:00
xming521 9827a24929 更新依赖项版本,提升torch和torchaudio至2.6.0,更新openai至1.52.0 相应更新test_model,调整pytorch源为cu124。 2025-04-29 22:47:02 +08:00
xming521 10c6890795 重构项目 2025-04-21 20:30:55 +08:00