iop/docs/openai-compatible-api-contract.md
toki 7b90b7e5af refactor(chronos): IOP 경계를 분리한다
Chronos 이전 완료 증거를 보존하면서 IOP에는 provider 실행 책임만 남기기 위해 검토된 마일스톤 변경을 하나의 승격 커밋으로 고정한다.
2026-08-02 19:29:30 +09:00

804 B

OpenAI-Compatible API Guide

Edge supports model discovery, Chat Completions, Responses, legacy Completions, streaming, standard tools, reasoning fields, and compatible error envelopes.

The request model selects a configured route. Edge then uses normalized provider execution or an OpenAI-compatible provider tunnel according to the selected provider capability. Caller metadata remains an ordinary bounded string map and is passed through according to the selected public API behavior.

Provider-native tool calls remain structured. A text fallback is attempted only when a backend explicitly rejects native tool fields. Cancellation follows the active run id, and correlation values do not resume local execution state.

The canonical contract is agent-contract/outer/openai-compatible-api.md.