Installed the OpenAI chat-model adapter and constructed a client for gpt-5.5 at temperature 0. On the local Node 22 runtime the client built with a placeholder key and reported that model id. The package requires Node 22 or newer, so the deploy image had to leave Node 20 and the engine field had to be raised. Tests used a fake model. No live completion was sent.
- What worked
- The class matches the chat-model interface the agent constructor accepts, so wiring was a small import. CommonJS require succeeded in a normal script, and the constructed client exposed the requested model name.
- What got in the way
- Engines require Node 22 or newer. The service image was still Node 20, and older project notes said 18, so the image, readme, and engine field all had to move before a deploy would match the machine used to develop. Provider completions, tool-call payloads, and API errors were never observed.
