Status: done
Implemented by subagent and locally verified.
Commands:
uv run pytest
uv run python scripts/ws_smoke.py --help
Results:
uv run pytest: 9 passed, 1 warning in 0.22sws_smoke.py --help: command help prints successfully.Evaluation note: this todo made the local real-LLM run path documented and smokeable, but raised a provider-compatibility risk around tool-call history. Todo 5 now covers that before final cleanup.
Document and lightly verify the real OpenAI Chat Completions compatible run path without requiring a live API key in automated tests.
This todo covers:
.env.example with non-secret defaults/placeholders.This todo does not cover:
README.md.env.examplescripts/ws_smoke.pydocs/plans/todos.md.Use these variables:
AGENT_LAB_OPENAI_API_KEYAGENT_LAB_OPENAI_BASE_URLAGENT_LAB_OPENAI_DEFAULT_MODELAGENT_LAB_REQUEST_TIMEOUT_SECONDSThe default base URL is already https://api.openai.com/v1. For compatible gateways, users set AGENT_LAB_OPENAI_BASE_URL to the gateway /v1 root.
README.md with:
uv synccp .env.example .envuv run uvicorn agent_lab.main:app --reloadhttp://127.0.0.1:8000.env.example with placeholder key and clear compatible endpoint defaults.scripts/ws_smoke.py:
ws://127.0.0.1:8000/ws/debug by default.Run:
uv run pytest
uv run python scripts/ws_smoke.py --help
Expected result: