bf1faf8842
The helper guarded `model.api === "openai-completions"` and returned undefined for openai-responses models. The discoverable-custom-compat test sets `api: "openai-responses"` on a custom model with `compat.extraBody`, so the post-refresh assertion saw `undefined` instead of the configured proxy hint. The OpenAICompatSchema gates user-facing custom-model compat regardless of the underlying api wire format, so reading the field as OpenAICompat for any api matches what the registry actually stores.
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: